Pull request #507 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from f2a648b29f579d4153126791da5bf0f295f423cd+a297faecba2e479c84256204d88875266373bb25 (9487ccd2b83a66ad3dc78bc26c9f446923fcb50e) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7939349143614233851.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2637548033004103023.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-507/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-507/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7248414126773656610.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12684173242945001890.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-507/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-507/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4837333452751085470.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9407 in /w/workspace/edgexfoundry_edgex-ui-go_PR-507 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-507 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit f2a648b29f579d4153126791da5bf0f295f423cd Merge succeeded, producing f2a648b29f579d4153126791da5bf0f295f423cd Checking out Revision f2a648b29f579d4153126791da5bf0f295f423cd (PR-507) > git config core.sparsecheckout # timeout=10 > git checkout -f f2a648b29f579d4153126791da5bf0f295f423cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a297faecba2e479c84256204d88875266373bb25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2a648b29f579d4153126791da5bf0f295f423cd # timeout=10 Commit message: "feat: add security response header and cache control header and remove Authorization request header under unsecure mode" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:59 ========================================================= 08:14:59 EdgeX Global Pipelines Version Info 08:14:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d376048168253692306016dbde5d052d0ac71a23 # timeout=10 08:15:00 ------------------- 08:15:00 stable info: 08:15:00 ------------------- 08:15:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:15:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:15:00 Message: update stable to v1.0.221 08:15:01 ------------------- 08:15:01 experimental info: 08:15:01 ------------------- 08:15:01 Commited By: **** collab-it+edgex@linuxfoundation.org 08:15:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:15:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2a648b29f579d4153126791da5bf0f295f423cd [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2a648b [Pipeline] echo 08:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:01 provisioning config files... 08:15:01 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config1028226205299205310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:01 ---> docker-login.sh 08:15:01 nexus3.edgexfoundry.org:10001 08:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:02 Configure a credential helper to remove this warning. See 08:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:02 08:15:02 Login Succeeded 08:15:02 nexus3.edgexfoundry.org:10002 08:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:02 Configure a credential helper to remove this warning. See 08:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:02 08:15:02 Login Succeeded 08:15:02 nexus3.edgexfoundry.org:10003 08:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:02 Configure a credential helper to remove this warning. See 08:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:02 08:15:02 Login Succeeded 08:15:02 nexus3.edgexfoundry.org:10004 08:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:02 Configure a credential helper to remove this warning. See 08:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:02 08:15:02 Login Succeeded 08:15:02 docker.io 08:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:03 Configure a credential helper to remove this warning. See 08:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:03 08:15:03 Login Succeeded 08:15:03 ---> docker-login.sh ends [Pipeline] } 08:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:15:03 + git rev-list -1 --merges f2a648b29f579d4153126791da5bf0f295f423cd~1..f2a648b29f579d4153126791da5bf0f295f423cd [Pipeline] echo 08:15:03 -----------> git rev-list -1 --merges f2a648b29f579d4153126791da5bf0f295f423cd~1..f2a648b29f579d4153126791da5bf0f295f423cd f2a648b29f579d4153126791da5bf0f295f423cd [false] [Pipeline] sh 08:15:04 + git log --format=format:%s -1 f2a648b29f579d4153126791da5bf0f295f423cd [Pipeline] echo 08:15:04 ========================================================= 08:15:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:15:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:04 + git log --format=format:%s -1 f2a648b29f579d4153126791da5bf0f295f423cd [Pipeline] echo 08:15:04 [semverPrep] GIT_COMMIT: f2a648b29f579d4153126791da5bf0f295f423cd, Commit Message: feat: add security response header and cache control header and remove Authorization request header under unsecure mode [Pipeline] echo 08:15:04 [semverPrep] This is not a build commit. [Pipeline] sh 08:15:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:04 + grep -v github /etc/ssh/ssh_known_hosts 08:15:04 + [ -e /tmp/ssh_known_hosts ] 08:15:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:15:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:15:04 + sudo tee -a /etc/ssh/ssh_known_hosts 08:15:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:15:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:15:05 08:15:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:15:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:15:05 latest: Pulling from edgex-devops/git-semver 08:15:05 a0d0a0d46f8b: Pulling fs layer 08:15:05 3e5f54012d9b: Pulling fs layer 08:15:05 4c7163046ea9: Pulling fs layer 08:15:05 0c2d73faf560: Pulling fs layer 08:15:05 0c2d73faf560: Waiting 08:15:05 3e5f54012d9b: Verifying Checksum 08:15:05 3e5f54012d9b: Download complete 08:15:05 a0d0a0d46f8b: Verifying Checksum 08:15:05 a0d0a0d46f8b: Download complete 08:15:05 4c7163046ea9: Download complete 08:15:05 0c2d73faf560: Verifying Checksum 08:15:05 0c2d73faf560: Download complete 08:15:05 a0d0a0d46f8b: Pull complete 08:15:05 3e5f54012d9b: Pull complete 08:15:06 4c7163046ea9: Pull complete 08:15:06 0c2d73faf560: Pull complete 08:15:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:15:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:15:06 prd-ubuntu20.04-docker-8c-8g-9407 does not seem to be running inside a container 08:15:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:15:07 $ docker top a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:07 [ssh-agent] Looking for ssh-agent implementation... 08:15:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:07 $ docker exec a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 ssh-agent 08:15:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJhNCMb/agent.14 08:15:07 SSH_AGENT_PID=20 08:15:07 Running ssh-add (command line suppressed) 08:15:07 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_8562891614456797356.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_8562891614456797356.key) 08:15:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:08 + git tag --points-at HEAD [Pipeline] } 08:15:08 $ docker exec --env ******** --env ******** a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 ssh-agent -k 08:15:08 unset SSH_AUTH_SOCK; 08:15:08 unset SSH_AGENT_PID; 08:15:08 echo Agent pid 20 killed; 08:15:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:15:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:08 [ssh-agent] Looking for ssh-agent implementation... 08:15:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:08 $ docker exec a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 ssh-agent 08:15:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCjKhLD/agent.54 08:15:08 SSH_AGENT_PID=60 08:15:08 Running ssh-add (command line suppressed) 08:15:08 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_7444795661629233881.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_7444795661629233881.key) 08:15:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:08 + git semver init 08:15:08 # -> Open(): unable to determine branch for HEAD 08:15:08 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-507/.git 08:15:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-507 08:15:08 # $SEMVER_REMOTE_NAME = origin 08:15:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:15:08 # $SEMVER_USER_NAME = edgex-jenkins 08:15:08 # $SEMVER_BRANCH = PR-507 08:15:08 # $SEMVER_TEMP = /tmp/semver-617193630 08:15:08 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 08:15:11 # '/tmp/semver-617193630' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-507/.semver' 08:15:11 # -> Force: false 08:15:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-507/.semver [Pipeline] } 08:15:11 $ docker exec --env ******** --env ******** a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 ssh-agent -k 08:15:11 unset SSH_AUTH_SOCK; 08:15:11 unset SSH_AGENT_PID; 08:15:11 echo Agent pid 60 killed; 08:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:11 + git semver [Pipeline] } 08:15:11 $ docker stop --time=1 a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 08:15:13 $ docker rm -f a97f4e376f157f7527635267623c8b5710f46bacf036dd5545e4664447d78757 [Pipeline] // withDockerContainer [Pipeline] sh 08:15:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:15:14 Stashed 1 file(s) [Pipeline] echo 08:15:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:14 provisioning config files... 08:15:14 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config2856978298786242869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:14 ---> docker-login.sh 08:15:14 nexus3.edgexfoundry.org:10001 08:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:14 Configure a credential helper to remove this warning. See 08:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:14 08:15:14 Login Succeeded 08:15:14 nexus3.edgexfoundry.org:10002 08:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:14 Configure a credential helper to remove this warning. See 08:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:14 08:15:14 Login Succeeded 08:15:14 nexus3.edgexfoundry.org:10003 08:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:14 Configure a credential helper to remove this warning. See 08:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:14 08:15:14 Login Succeeded 08:15:14 nexus3.edgexfoundry.org:10004 08:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:15 Configure a credential helper to remove this warning. See 08:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:15 08:15:15 Login Succeeded 08:15:15 docker.io 08:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:15 Configure a credential helper to remove this warning. See 08:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:15 08:15:15 Login Succeeded 08:15:15 ---> docker-login.sh ends [Pipeline] } 08:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:15:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:15:15 ========================================================= 08:15:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:15:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:15:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:15:15 Sending build context to Docker daemon 43.44MB 08:15:15 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 08:15:15 Step 2/15 : FROM ${BASE} AS builder 08:15:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:15:15 59bf1c3509f3: Pulling fs layer 08:15:15 666ba61612fd: Pulling fs layer 08:15:15 8ed8ca486205: Pulling fs layer 08:15:15 4fe6c5a15a65: Pulling fs layer 08:15:15 22a0e8bec74d: Pulling fs layer 08:15:15 640e595b4fbd: Pulling fs layer 08:15:15 763cafe07f6e: Pulling fs layer 08:15:15 0c0b528cf693: Pulling fs layer 08:15:15 4fe6c5a15a65: Waiting 08:15:15 10935f4eaf8b: Pulling fs layer 08:15:15 22a0e8bec74d: Waiting 08:15:15 640e595b4fbd: Waiting 08:15:15 0c0b528cf693: Waiting 08:15:15 10935f4eaf8b: Waiting 08:15:15 763cafe07f6e: Waiting 08:15:15 8ed8ca486205: Verifying Checksum 08:15:15 8ed8ca486205: Download complete 08:15:15 666ba61612fd: Verifying Checksum 08:15:15 666ba61612fd: Download complete 08:15:15 22a0e8bec74d: Download complete 08:15:15 59bf1c3509f3: Verifying Checksum 08:15:15 59bf1c3509f3: Download complete 08:15:15 640e595b4fbd: Verifying Checksum 08:15:15 640e595b4fbd: Download complete 08:15:15 763cafe07f6e: Verifying Checksum 08:15:15 763cafe07f6e: Download complete 08:15:16 0c0b528cf693: Verifying Checksum 08:15:16 0c0b528cf693: Download complete 08:15:16 59bf1c3509f3: Pull complete 08:15:16 666ba61612fd: Pull complete 08:15:16 8ed8ca486205: Pull complete 08:15:16 10935f4eaf8b: Verifying Checksum 08:15:16 10935f4eaf8b: Download complete 08:15:16 4fe6c5a15a65: Verifying Checksum 08:15:16 4fe6c5a15a65: Download complete 08:15:20 4fe6c5a15a65: Pull complete 08:15:20 22a0e8bec74d: Pull complete 08:15:20 640e595b4fbd: Pull complete 08:15:20 763cafe07f6e: Pull complete 08:15:20 0c0b528cf693: Pull complete 08:15:23 10935f4eaf8b: Pull complete 08:15:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:15:23 ---> 99d49a6021b9 08:15:23 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:15:24 ---> Running in e1d7ab6e6b19 08:15:24 Removing intermediate container e1d7ab6e6b19 08:15:24 ---> 363490e6f59a 08:15:24 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 08:15:25 ---> Running in eb5ce1484b1b 08:15:25 Removing intermediate container eb5ce1484b1b 08:15:25 ---> 7be0c18d9df2 08:15:25 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 08:15:25 ---> Running in cbd19f52467d 08:15:25 Removing intermediate container cbd19f52467d 08:15:25 ---> 9ec8fa03c358 08:15:25 Step 6/15 : LABEL Name=edgex-ui-go 08:15:25 ---> Running in c9d2a6dd894a 08:15:25 Removing intermediate container c9d2a6dd894a 08:15:25 ---> 603267f1dbc6 08:15:25 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:15:25 ---> Running in 0bf2f8ca30c6 08:15:25 Removing intermediate container 0bf2f8ca30c6 08:15:25 ---> 22bc6d366f93 08:15:25 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:25 ---> Running in 93bbcc1c0f6c 08:15:26 Removing intermediate container 93bbcc1c0f6c 08:15:26 ---> 19645e29074f 08:15:26 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:26 ---> Running in 2186cc9c2a3e 08:15:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:15:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:15:27 OK: 221 MiB in 52 packages 08:15:27 Removing intermediate container 2186cc9c2a3e 08:15:27 ---> c2ee83ca114b 08:15:27 Step 10/15 : ENV GO111MODULE=on 08:15:27 ---> Running in f1abc6fecf63 08:15:27 Removing intermediate container f1abc6fecf63 08:15:27 ---> 772d88c181a3 08:15:27 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:15:27 ---> Running in 6784c0413975 08:15:28 Removing intermediate container 6784c0413975 08:15:28 ---> 611d01687167 08:15:28 Step 12/15 : COPY go.mod vendor* ./ 08:15:28 ---> 69f70ce80d47 08:15:28 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:28 ---> Running in cb5ef033dbc3 08:15:29 Still waiting to schedule task 08:15:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:15:54 Removing intermediate container cb5ef033dbc3 08:15:54 ---> 775e01ef94fc 08:15:54 Step 14/15 : COPY . . 08:15:54 ---> 52b74cf92f14 08:15:54 Step 15/15 : RUN ${MAKE} 08:15:54 ---> Running in 342202de64fb 08:15:54 noop 08:15:54 Removing intermediate container 342202de64fb 08:15:54 ---> d555943fb305 08:15:54 Successfully built d555943fb305 08:15:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:15:55 + docker inspect -f . ci-base-image-x86_64 08:15:55 . [Pipeline] withDockerContainer 08:15:55 prd-ubuntu20.04-docker-8c-8g-9407 does not seem to be running inside a container 08:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:55 $ docker top 0b90200d7cfb1def3f3c1aa38e43f14acb768a3c677f2848e8ae902fcbc49d9c -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:55 + go version 08:15:55 go version go1.17.6 linux/amd64 [Pipeline] } 08:15:55 $ docker stop --time=1 0b90200d7cfb1def3f3c1aa38e43f14acb768a3c677f2848e8ae902fcbc49d9c 08:15:57 $ docker rm -f 0b90200d7cfb1def3f3c1aa38e43f14acb768a3c677f2848e8ae902fcbc49d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:15:57 + docker inspect -f . ci-base-image-x86_64 08:15:57 . [Pipeline] withDockerContainer 08:15:57 prd-ubuntu20.04-docker-8c-8g-9407 does not seem to be running inside a container 08:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:58 $ docker top 57a2f7f5f7301b15fce523cde1e8e0e1d463948b8433e863142f2a5dd7dd059a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:15:58 + make test 08:15:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:15:58 ? github.com/edgexfoundry/edgex-ui-go [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 08:16:04 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 08:16:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:16:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:16:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 08:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:16:06 $ docker stop --time=1 57a2f7f5f7301b15fce523cde1e8e0e1d463948b8433e863142f2a5dd7dd059a 08:16:08 $ docker rm -f 57a2f7f5f7301b15fce523cde1e8e0e1d463948b8433e863142f2a5dd7dd059a [Pipeline] // withDockerContainer [Pipeline] sh 08:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:16:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:16:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:16:10 + ls -al . 08:16:10 total 160 08:16:10 drwxrwxr-x 14 jenkins jenkins 4096 Mar 30 08:15 . 08:16:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:14 .. 08:16:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 08:14 .git 08:16:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:14 .github 08:16:10 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 08:14 .gitignore 08:16:10 drwx------ 3 jenkins jenkins 4096 Mar 30 08:15 .semver 08:16:10 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 30 08:14 CONTRIBUTING.md 08:16:10 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 30 08:14 Dockerfile 08:16:10 -rw-rw-r-- 1 jenkins jenkins 652 Mar 30 08:14 Jenkinsfile 08:16:10 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 30 08:14 LICENSE 08:16:10 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 30 08:14 Makefile 08:16:10 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 30 08:14 README.md 08:16:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 08:15 VERSION 08:16:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:14 assets 08:16:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:14 bin 08:16:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:14 cmd 08:16:10 -rw-r--r-- 1 jenkins jenkins 10 Mar 30 08:15 coverage.out 08:16:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:14 docs 08:16:10 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 30 08:14 go.mod 08:16:10 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 30 08:14 go.sum 08:16:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 08:14 internal 08:16:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:14 pkg 08:16:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:14 snap 08:16:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:14 testing 08:16:10 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 08:14 version.go 08:16:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:14 web [Pipeline] isUnix [Pipeline] sh 08:16:10 + docker build -t edgex-ui -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f2a648b29f579d4153126791da5bf0f295f423cd --label arch=amd64 --label version=0.0.0 . 08:16:10 Sending build context to Docker daemon 43.44MB 08:16:10 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 08:16:10 Step 2/23 : FROM ${BASE} AS builder 08:16:10 ---> d555943fb305 08:16:10 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:16:10 ---> Running in 726e874d161b 08:16:10 Removing intermediate container 726e874d161b 08:16:10 ---> 14def433edad 08:16:10 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 08:16:10 ---> Running in 806183d0128e 08:16:10 Removing intermediate container 806183d0128e 08:16:10 ---> b1e7dcb4b416 08:16:10 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 08:16:10 ---> Running in 64d327f23a19 08:16:11 Removing intermediate container 64d327f23a19 08:16:11 ---> b6b24b8cb562 08:16:11 Step 6/23 : LABEL Name=edgex-ui-go 08:16:11 ---> Running in f5df7b9b3d6f 08:16:11 Removing intermediate container f5df7b9b3d6f 08:16:11 ---> dfcfebe4fa9c 08:16:11 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:16:11 ---> Running in 620be3594c1a 08:16:11 Removing intermediate container 620be3594c1a 08:16:11 ---> a98000307a10 08:16:11 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:16:11 ---> Running in 8d47c0d37e47 08:16:12 Removing intermediate container 8d47c0d37e47 08:16:12 ---> 24359aceaf1d 08:16:12 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:12 ---> Running in 5e0aeaa18774 08:16:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:16:13 OK: 221 MiB in 52 packages 08:16:13 Removing intermediate container 5e0aeaa18774 08:16:13 ---> a5e40eadabfb 08:16:13 Step 10/23 : ENV GO111MODULE=on 08:16:13 ---> Running in cad9f7adf05c 08:16:13 Removing intermediate container cad9f7adf05c 08:16:13 ---> 43cbf784a3a6 08:16:13 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:16:13 ---> Running in e2b5a650ba03 08:16:13 Removing intermediate container e2b5a650ba03 08:16:13 ---> 7772258d34d6 08:16:13 Step 12/23 : COPY go.mod vendor* ./ 08:16:14 ---> c192dd47cba8 08:16:14 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:14 ---> Running in 8bc6498d528f 08:16:15 Removing intermediate container 8bc6498d528f 08:16:15 ---> 734da9632749 08:16:15 Step 14/23 : COPY . . 08:16:16 ---> 900446d76f37 08:16:16 Step 15/23 : RUN ${MAKE} 08:16:16 ---> Running in 4cf84d5b0d81 08:16:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 08:16:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:16:23 Removing intermediate container 4cf84d5b0d81 08:16:23 ---> 1d06160dc87f 08:16:23 Step 16/23 : FROM alpine:3.14 08:16:23 3.14: Pulling from library/alpine 08:16:23 cfab2db72209: Pulling fs layer 08:16:23 cfab2db72209: Verifying Checksum 08:16:23 cfab2db72209: Download complete 08:16:23 cfab2db72209: Pull complete 08:16:23 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 08:16:23 Status: Downloaded newer image for alpine:3.14 08:16:23 ---> 84b07dd2d1fd 08:16:23 Step 17/23 : EXPOSE 4000 08:16:23 ---> Running in fad1f30155d8 08:16:24 Removing intermediate container fad1f30155d8 08:16:24 ---> 2948863aeb41 08:16:24 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:16:24 ---> 2175510e021c 08:16:24 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:16:24 ---> Running in 69209aec03ae 08:16:24 Removing intermediate container 69209aec03ae 08:16:24 ---> 5947a2e2bf4a 08:16:24 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 08:16:24 ---> Running in ab7cf5a932f9 08:16:24 Removing intermediate container ab7cf5a932f9 08:16:24 ---> ad69a49ea9ff 08:16:24 Step 21/23 : LABEL arch=amd64 08:16:24 ---> Running in 669fd2833096 08:16:24 Removing intermediate container 669fd2833096 08:16:24 ---> 1ff566a24b2d 08:16:24 Step 22/23 : LABEL git_sha=f2a648b29f579d4153126791da5bf0f295f423cd 08:16:24 ---> Running in 9160bae2c22f 08:16:24 Removing intermediate container 9160bae2c22f 08:16:24 ---> 8723575268e2 08:16:24 Step 23/23 : LABEL version=0.0.0 08:16:25 ---> Running in dcc15b8ccc56 08:16:25 Removing intermediate container dcc15b8ccc56 08:16:25 ---> b0b0fa8fa708 08:16:25 [Warning] One or more build-args [ARCH] were not consumed 08:16:25 Successfully built b0b0fa8fa708 08:16:25 Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:25 08:16:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:25 latest: Pulling from edgex-lftools-log-publisher 08:16:25 5eb5b503b376: Pulling fs layer 08:16:25 5c69ac0246d0: Pulling fs layer 08:16:25 ec43610c2a17: Pulling fs layer 08:16:25 3a2ae6a8a46f: Pulling fs layer 08:16:25 33b1e0a273af: Pulling fs layer 08:16:25 5d3b04190fa2: Pulling fs layer 08:16:25 2f39f015ded8: Pulling fs layer 08:16:25 3a2ae6a8a46f: Waiting 08:16:25 33b1e0a273af: Waiting 08:16:25 5d3b04190fa2: Waiting 08:16:25 2f39f015ded8: Waiting 08:16:25 5c69ac0246d0: Download complete 08:16:25 3a2ae6a8a46f: Verifying Checksum 08:16:25 3a2ae6a8a46f: Download complete 08:16:25 33b1e0a273af: Verifying Checksum 08:16:25 33b1e0a273af: Download complete 08:16:25 5d3b04190fa2: Download complete 08:16:25 ec43610c2a17: Verifying Checksum 08:16:25 ec43610c2a17: Download complete 08:16:26 5eb5b503b376: Verifying Checksum 08:16:26 5eb5b503b376: Download complete 08:16:26 2f39f015ded8: Download complete 08:16:27 5eb5b503b376: Pull complete 08:16:27 5c69ac0246d0: Pull complete 08:16:27 ec43610c2a17: Pull complete 08:16:28 3a2ae6a8a46f: Pull complete 08:16:28 33b1e0a273af: Pull complete 08:16:28 5d3b04190fa2: Pull complete 08:16:32 2f39f015ded8: Pull complete 08:16:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:16:32 prd-ubuntu20.04-docker-8c-8g-9407 does not seem to be running inside a container 08:16:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:16:34 $ docker top 7b078239dd638dec61e8d7cfa5525b09ec583555c3f6a61d80126c42e3bcf862 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:35 ---> job-cost.sh 08:16:35 lf-activate-venv: SKIPPING 08:16:35 INFO: No Stack... 08:16:35 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:35 INFO: Archiving Costs [Pipeline] sh 08:16:36 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/cost.csv 08:16:36 + cut -d, -f6 [Pipeline] lock 08:16:36 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] 08:16:36 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] did not exist. Created. 08:16:36 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:36 + echo total: 0.2199999988079071 [Pipeline] stash 08:16:36 Stashed 1 file(s) [Pipeline] } 08:16:36 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:36 $ docker stop --time=1 7b078239dd638dec61e8d7cfa5525b09ec583555c3f6a61d80126c42e3bcf862 08:16:37 $ docker rm -f 7b078239dd638dec61e8d7cfa5525b09ec583555c3f6a61d80126c42e3bcf862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:17:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9408 in /w/workspace/edgexfoundry_edgex-ui-go_PR-507 [Pipeline] { [Pipeline] ws 08:17:07 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 08:17:08 The recommended git tool is: git 08:17:15 using credential edgex-jenkins-ssh 08:17:15 Cloning the remote Git repository 08:17:15 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 08:17:15 > git init /w/workspace/edgex-ui-go/2 # timeout=10 08:17:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 08:17:15 > git --version # timeout=10 08:17:15 > git --version # 'git version 2.25.1' 08:17:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 08:17:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 08:17:19 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit f2a648b29f579d4153126791da5bf0f295f423cd 08:17:20 Merge succeeded, producing f2a648b29f579d4153126791da5bf0f295f423cd 08:17:20 Checking out Revision f2a648b29f579d4153126791da5bf0f295f423cd (PR-507) 08:17:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 08:17:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:17:19 > git config core.sparsecheckout # timeout=10 08:17:19 > git checkout -f f2a648b29f579d4153126791da5bf0f295f423cd # timeout=10 08:17:20 > git remote # timeout=10 08:17:20 > git config --get remote.origin.url # timeout=10 08:17:20 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:20 > git merge a297faecba2e479c84256204d88875266373bb25 # timeout=10 08:17:20 > git rev-parse HEAD^{commit} # timeout=10 08:17:20 > git config core.sparsecheckout # timeout=10 08:17:20 > git checkout -f f2a648b29f579d4153126791da5bf0f295f423cd # timeout=10 08:17:24 Commit message: "feat: add security response header and cache control header and remove Authorization request header under unsecure mode" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:17:25 % Total % Received % Xferd Average Speed Time Time Time Current 08:17:25 Dload Upload Total Spent Left Speed 08:17:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45375 0 --:--:-- --:--:-- --:--:-- 45550 [Pipeline] sh 08:17:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:17:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:17:26 + sudo tee /etc/docker/daemon.new 08:17:26 { 08:17:26 "registry-mirrors": [ 08:17:26 "https://nexus3.edgexfoundry.org:10001" 08:17:26 ], 08:17:26 "bip": "10.250.0.254/24", 08:17:26 "hosts": [ 08:17:26 "tcp://0.0.0.0:5555", 08:17:26 "unix:///var/run/docker.sock" 08:17:26 ], 08:17:26 "mtu": 1458, 08:17:26 "selinux-enabled": true, 08:17:26 "seccomp-profile": "/etc/docker/seccomp.json" 08:17:26 } [Pipeline] sh 08:17:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:17:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:45 provisioning config files... 08:17:45 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config993204936614877816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:46 ---> docker-login.sh 08:17:46 nexus3.edgexfoundry.org:10001 08:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:46 Configure a credential helper to remove this warning. See 08:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:46 08:17:46 Login Succeeded 08:17:46 nexus3.edgexfoundry.org:10002 08:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:47 Configure a credential helper to remove this warning. See 08:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:47 08:17:47 Login Succeeded 08:17:47 nexus3.edgexfoundry.org:10003 08:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:47 Configure a credential helper to remove this warning. See 08:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:47 08:17:47 Login Succeeded 08:17:47 nexus3.edgexfoundry.org:10004 08:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:48 Configure a credential helper to remove this warning. See 08:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:48 08:17:48 Login Succeeded 08:17:48 docker.io 08:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:48 Configure a credential helper to remove this warning. See 08:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:48 08:17:48 Login Succeeded 08:17:48 ---> docker-login.sh ends [Pipeline] } 08:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:17:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:17:49 ========================================================= 08:17:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:17:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:17:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:17:50 Sending build context to Docker daemon 27.35MB 08:17:50 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 08:17:50 Step 2/15 : FROM ${BASE} AS builder 08:17:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:17:50 9b3977197b4f: Pulling fs layer 08:17:50 1a89e8eeedd5: Pulling fs layer 08:17:50 94645a83ff95: Pulling fs layer 08:17:50 3f3a8bcf1eab: Pulling fs layer 08:17:50 0c92f367c5e7: Pulling fs layer 08:17:50 f7c0051592d6: Pulling fs layer 08:17:50 a227ed2f7395: Pulling fs layer 08:17:50 7b1c46037f91: Pulling fs layer 08:17:50 3f3a8bcf1eab: Waiting 08:17:50 0c92f367c5e7: Waiting 08:17:50 f7c0051592d6: Waiting 08:17:50 a227ed2f7395: Waiting 08:17:50 7b1c46037f91: Waiting 08:17:50 94645a83ff95: Verifying Checksum 08:17:50 94645a83ff95: Download complete 08:17:50 1a89e8eeedd5: Verifying Checksum 08:17:50 1a89e8eeedd5: Download complete 08:17:50 0c92f367c5e7: Download complete 08:17:50 9b3977197b4f: Verifying Checksum 08:17:50 9b3977197b4f: Download complete 08:17:50 f7c0051592d6: Verifying Checksum 08:17:50 f7c0051592d6: Download complete 08:17:50 a227ed2f7395: Verifying Checksum 08:17:50 a227ed2f7395: Download complete 08:17:51 9b3977197b4f: Pull complete 08:17:52 1a89e8eeedd5: Pull complete 08:17:52 94645a83ff95: Pull complete 08:17:53 7b1c46037f91: Verifying Checksum 08:17:53 7b1c46037f91: Download complete 08:17:53 3f3a8bcf1eab: Verifying Checksum 08:17:53 3f3a8bcf1eab: Download complete 08:18:06 3f3a8bcf1eab: Pull complete 08:18:06 0c92f367c5e7: Pull complete 08:18:06 f7c0051592d6: Pull complete 08:18:06 a227ed2f7395: Pull complete 08:18:12 7b1c46037f91: Pull complete 08:18:12 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:18:12 ---> f79e39bc4007 08:18:12 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:18:13 ---> Running in b43668096ba8 08:18:14 Removing intermediate container b43668096ba8 08:18:14 ---> 1d1fc4b04380 08:18:14 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 08:18:14 ---> Running in a9dd50dda59b 08:18:14 Removing intermediate container a9dd50dda59b 08:18:14 ---> 591ee0b67eeb 08:18:14 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 08:18:14 ---> Running in 961def056c0d 08:18:14 Removing intermediate container 961def056c0d 08:18:14 ---> 461665b2ab15 08:18:14 Step 6/15 : LABEL Name=edgex-ui-go 08:18:14 ---> Running in 61c3d57cf60d 08:18:15 Removing intermediate container 61c3d57cf60d 08:18:15 ---> 2bee5e54fa1c 08:18:15 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:18:15 ---> Running in 34bdf4f37f3b 08:18:15 Removing intermediate container 34bdf4f37f3b 08:18:15 ---> e56c5d700253 08:18:15 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:18:15 ---> Running in a8e58b2b0f71 08:18:17 Removing intermediate container a8e58b2b0f71 08:18:17 ---> 87953539c1e0 08:18:17 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:17 ---> Running in eb7c883f0c38 08:18:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:18:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:18:20 OK: 220 MiB in 52 packages 08:18:21 Removing intermediate container eb7c883f0c38 08:18:21 ---> d53efaa6d986 08:18:21 Step 10/15 : ENV GO111MODULE=on 08:18:21 ---> Running in e9191f4fa84a 08:18:21 Removing intermediate container e9191f4fa84a 08:18:21 ---> cb3ac7d8db93 08:18:21 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:18:21 ---> Running in 057757472cbc 08:18:22 Removing intermediate container 057757472cbc 08:18:22 ---> 1e7a7cb7ad41 08:18:22 Step 12/15 : COPY go.mod vendor* ./ 08:18:24 ---> f6f74c0b4b2f 08:18:24 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:18:24 ---> Running in c4c79e7f7402 08:19:45 Removing intermediate container c4c79e7f7402 08:19:45 ---> e0cc1869b057 08:19:45 Step 14/15 : COPY . . 08:19:45 ---> cd03e410c1dd 08:19:45 Step 15/15 : RUN ${MAKE} 08:19:45 ---> Running in 4d884f14c532 08:19:45 noop 08:19:45 Removing intermediate container 4d884f14c532 08:19:45 ---> be096a42c9c5 08:19:45 Successfully built be096a42c9c5 08:19:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:19:46 + docker inspect -f . ci-base-image-arm64 08:19:46 . [Pipeline] withDockerContainer 08:19:46 prd-ubuntu20.04-docker-arm64-4c-16g-9408 does not seem to be running inside a container 08:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:19:47 $ docker top 153718cd8baf48c8d2c15f1f0c22fb96c9d448bbad656fccbd957846f71bd266 -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:48 + go version 08:19:48 go version go1.17.6 linux/arm64 [Pipeline] } 08:19:48 $ docker stop --time=1 153718cd8baf48c8d2c15f1f0c22fb96c9d448bbad656fccbd957846f71bd266 08:19:50 $ docker rm -f 153718cd8baf48c8d2c15f1f0c22fb96c9d448bbad656fccbd957846f71bd266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:19:51 + docker inspect -f . ci-base-image-arm64 08:19:51 . [Pipeline] withDockerContainer 08:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-9408 does not seem to be running inside a container 08:19:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:19:52 $ docker top 8bbdc6e64ccf6733faf9a51e4c5e9f8c7644ee55c42984555cd4e83cac3096d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:19:53 + make test 08:19:53 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:19:55 ? github.com/edgexfoundry/edgex-ui-go [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 08:20:34 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 08:20:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:20:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:20:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 08:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:20:52 $ docker stop --time=1 8bbdc6e64ccf6733faf9a51e4c5e9f8c7644ee55c42984555cd4e83cac3096d6 08:20:54 $ docker rm -f 8bbdc6e64ccf6733faf9a51e4c5e9f8c7644ee55c42984555cd4e83cac3096d6 [Pipeline] // withDockerContainer [Pipeline] sh 08:20:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:20:54 Warning: overwriting stash ‘coverage-report’ 08:20:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:20:56 + ls -al . 08:20:56 total 156 08:20:56 drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 08:19 . 08:20:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:17 .. 08:20:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 08:17 .git 08:20:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:17 .github 08:20:56 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 08:17 .gitignore 08:20:56 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 30 08:17 CONTRIBUTING.md 08:20:56 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 30 08:17 Dockerfile 08:20:56 -rw-rw-r-- 1 jenkins jenkins 652 Mar 30 08:17 Jenkinsfile 08:20:56 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 30 08:17 LICENSE 08:20:56 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 30 08:17 Makefile 08:20:56 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 30 08:17 README.md 08:20:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 08:15 VERSION 08:20:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:17 assets 08:20:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:17 bin 08:20:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:17 cmd 08:20:56 -rw-r--r-- 1 jenkins jenkins 10 Mar 30 08:19 coverage.out 08:20:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:17 docs 08:20:56 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 30 08:17 go.mod 08:20:56 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 30 08:17 go.sum 08:20:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 08:17 internal 08:20:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:17 pkg 08:20:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:17 snap 08:20:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:17 testing 08:20:56 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 08:17 version.go 08:20:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:17 web [Pipeline] isUnix [Pipeline] sh 08:20:56 + docker build -t edgex-ui-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f2a648b29f579d4153126791da5bf0f295f423cd --label arch=arm64 --label version=0.0.0 . 08:20:57 Sending build context to Docker daemon 27.35MB 08:20:57 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 08:20:57 Step 2/23 : FROM ${BASE} AS builder 08:20:57 ---> be096a42c9c5 08:20:57 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:20:57 ---> Running in a2f494dd6074 08:20:58 Removing intermediate container a2f494dd6074 08:20:58 ---> dc6e68a2a057 08:20:58 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 08:20:58 ---> Running in 632e877110ce 08:20:58 Removing intermediate container 632e877110ce 08:20:58 ---> 53238ae1a833 08:20:58 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 08:20:58 ---> Running in 972018c87bdb 08:20:59 Removing intermediate container 972018c87bdb 08:20:59 ---> 4483f701fa18 08:20:59 Step 6/23 : LABEL Name=edgex-ui-go 08:20:59 ---> Running in e1190ac92b0a 08:20:59 Removing intermediate container e1190ac92b0a 08:20:59 ---> fd5ae22ad44a 08:20:59 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:20:59 ---> Running in 965f8748e25e 08:20:59 Removing intermediate container 965f8748e25e 08:20:59 ---> 3dda365a32ae 08:20:59 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:59 ---> Running in f3599c4880ac 08:21:01 Removing intermediate container f3599c4880ac 08:21:01 ---> 079f1f67ffac 08:21:01 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:21:01 ---> Running in 738e402f0eb1 08:21:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:21:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:21:04 OK: 220 MiB in 52 packages 08:21:05 Removing intermediate container 738e402f0eb1 08:21:05 ---> c0cbbd0edc20 08:21:05 Step 10/23 : ENV GO111MODULE=on 08:21:05 ---> Running in e46656cb6ea0 08:21:06 Removing intermediate container e46656cb6ea0 08:21:06 ---> 3066aff9ce11 08:21:06 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:21:06 ---> Running in f44f40ea8ab3 08:21:06 Removing intermediate container f44f40ea8ab3 08:21:06 ---> c6a7564dda94 08:21:06 Step 12/23 : COPY go.mod vendor* ./ 08:21:07 ---> a87d5d73e874 08:21:07 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:21:07 ---> Running in 7e90b438683b 08:21:09 Removing intermediate container 7e90b438683b 08:21:09 ---> 600b6a9617b7 08:21:09 Step 14/23 : COPY . . 08:21:12 ---> 0a985b130028 08:21:12 Step 15/23 : RUN ${MAKE} 08:21:12 ---> Running in 94f3b5260f72 08:21:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 08:21:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:21:49 Removing intermediate container 94f3b5260f72 08:21:49 ---> 5ca7ed7b591d 08:21:49 Step 16/23 : FROM alpine:3.14 08:21:49 3.14: Pulling from library/alpine 08:21:49 810d54c7e01b: Pulling fs layer 08:21:49 810d54c7e01b: Download complete 08:21:50 810d54c7e01b: Pull complete 08:21:50 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 08:21:50 Status: Downloaded newer image for alpine:3.14 08:21:50 ---> cc3d11fa2d52 08:21:50 Step 17/23 : EXPOSE 4000 08:21:50 ---> Running in 0c13d2fe02e7 08:21:51 Removing intermediate container 0c13d2fe02e7 08:21:51 ---> b8d71ae562a3 08:21:51 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:21:52 ---> 8d15abae5385 08:21:52 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:21:52 ---> Running in 367fc390f02e 08:21:52 Removing intermediate container 367fc390f02e 08:21:52 ---> c31b28e79674 08:21:52 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 08:21:52 ---> Running in 54e5b4843390 08:21:53 Removing intermediate container 54e5b4843390 08:21:53 ---> 6ec06bb01386 08:21:53 Step 21/23 : LABEL arch=arm64 08:21:53 ---> Running in 6379f215d103 08:21:53 Removing intermediate container 6379f215d103 08:21:53 ---> b5b97972ed7d 08:21:53 Step 22/23 : LABEL git_sha=f2a648b29f579d4153126791da5bf0f295f423cd 08:21:53 ---> Running in 96701b267785 08:21:53 Removing intermediate container 96701b267785 08:21:53 ---> a4e93f10c975 08:21:53 Step 23/23 : LABEL version=0.0.0 08:21:53 ---> Running in aced5d8a2fce 08:21:54 Removing intermediate container aced5d8a2fce 08:21:54 ---> 75642531e9d1 08:21:54 [Warning] One or more build-args [ARCH] were not consumed 08:21:54 Successfully built 75642531e9d1 08:21:54 Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:21:54 08:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:21:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:21:55 arm64: Pulling from edgex-lftools-log-publisher 08:21:55 8998bd30e6a1: Pulling fs layer 08:21:55 04944245beec: Pulling fs layer 08:21:55 699f458cf7ca: Pulling fs layer 08:21:55 765212b225bb: Pulling fs layer 08:21:55 f23df028b6ca: Pulling fs layer 08:21:55 d65c8cfc05b1: Pulling fs layer 08:21:55 2437ff75d9bd: Pulling fs layer 08:21:55 765212b225bb: Waiting 08:21:55 f23df028b6ca: Waiting 08:21:55 d65c8cfc05b1: Waiting 08:21:55 2437ff75d9bd: Waiting 08:21:55 04944245beec: Verifying Checksum 08:21:55 04944245beec: Download complete 08:21:55 765212b225bb: Verifying Checksum 08:21:55 765212b225bb: Download complete 08:21:55 f23df028b6ca: Verifying Checksum 08:21:55 f23df028b6ca: Download complete 08:21:55 d65c8cfc05b1: Verifying Checksum 08:21:55 d65c8cfc05b1: Download complete 08:21:55 699f458cf7ca: Verifying Checksum 08:21:55 699f458cf7ca: Download complete 08:21:55 8998bd30e6a1: Verifying Checksum 08:21:55 8998bd30e6a1: Download complete 08:21:58 2437ff75d9bd: Verifying Checksum 08:21:58 2437ff75d9bd: Download complete 08:21:59 8998bd30e6a1: Pull complete 08:22:00 04944245beec: Pull complete 08:22:01 699f458cf7ca: Pull complete 08:22:02 765212b225bb: Pull complete 08:22:03 f23df028b6ca: Pull complete 08:22:03 d65c8cfc05b1: Pull complete 08:22:18 2437ff75d9bd: Pull complete 08:22:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:22:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:22:18 prd-ubuntu20.04-docker-arm64-4c-16g-9408 does not seem to be running inside a container 08:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:22:21 $ docker top 3554b02688aa004fce6102714f1f2fe42e58588b124c7f06809f08bb8f0966ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:21 ---> job-cost.sh 08:22:21 lf-activate-venv: SKIPPING 08:22:21 INFO: No Stack... 08:22:22 INFO: Retrieving Pricing Info for: v3-standard-4 08:22:23 INFO: Archiving Costs [Pipeline] sh 08:22:23 + cat /w/workspace/edgex-ui-go/2/archives/cost.csv 08:22:23 + cut -d, -f6 [Pipeline] lock 08:22:23 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] 08:22:23 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] did not exist. Created. 08:22:23 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:22:24 /w/workspace/edgex-ui-go/2@tmp/durable-29f0f1cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:22:25 + echo total: 0.10999999940395355 [Pipeline] stash 08:22:25 Warning: overwriting stash ‘stack-cost’ 08:22:25 Stashed 1 file(s) [Pipeline] } 08:22:25 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:22:25 $ docker stop --time=1 3554b02688aa004fce6102714f1f2fe42e58588b124c7f06809f08bb8f0966ee 08:22:26 $ docker rm -f 3554b02688aa004fce6102714f1f2fe42e58588b124c7f06809f08bb8f0966ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:22:27 provisioning config files... 08:22:27 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config8065926755474855063tmp [Pipeline] { [Pipeline] sh 08:22:27 + set +x 08:22:27 + curl -s https://codecov.io/bash 08:22:27 + bash -s -- 08:22:27 08:22:27 _____ _ 08:22:27 / ____| | | 08:22:27 | | ___ __| | ___ ___ _____ __ 08:22:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:22:27 | |___| (_) | (_| | __/ (_| (_) \ V / 08:22:27 \_____\___/ \__,_|\___|\___\___/ \_/ 08:22:27 Bash-1.0.6 08:22:27 08:22:27 08:22:27 ==> git version 2.25.1 found 08:22:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:22:27 Release-Date: 2020-01-08 08:22:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:22:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:22:27 ==> Jenkins CI detected. 08:22:27 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-507 08:22:27 project root: . 08:22:27 --> token set from env 08:22:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:22:27 ==> Running gcov in . (disable via -X gcov) 08:22:27 ==> Python coveragepy not found 08:22:27 ==> Searching for coverage reports in: 08:22:27 + . 08:22:27 -> Found 1 reports 08:22:27 ==> Detecting git/mercurial file structure 08:22:27 ==> Reading reports 08:22:27 + ./coverage.out bytes=10 08:22:27 ==> Appending adjustments 08:22:27 https://docs.codecov.io/docs/fixing-reports 08:22:28 + Found adjustments 08:22:28 ==> Gzipping contents 08:22:28 4.0K /tmp/codecov.KlYNA4.gz 08:22:28 ==> Uploading reports 08:22:28 url: https://codecov.io 08:22:28 query: branch=PR-507&commit=f2a648b29f579d4153126791da5bf0f295f423cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=507&job=&cmd_args= 08:22:28 -> Pinging Codecov 08:22:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-507&commit=f2a648b29f579d4153126791da5bf0f295f423cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=507&job=&cmd_args= 08:22:28 -> Uploading to 08:22:28 https://storage.googleapis.com/codecov/v4/raw/2022-03-30/FB506323287CE973F263BFD2A0EB1F37/f2a648b29f579d4153126791da5bf0f295f423cd/18487b59-9d97-458c-a75c-b007b9cb8a47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220330T082228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=904e7e574e296721718d48903fa9d8f0b23d05d46711ce10a500fa243bb0d4a6 08:22:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:22:28 Dload Upload Total Spent Left Speed 08:22:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4058 0 0 100 4058 0 17720 --:--:-- --:--:-- --:--:-- 17720 08:22:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/f2a648b29f579d4153126791da5bf0f295f423cd [Pipeline] } 08:22:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:22:29 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives ] 08:22:29 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 08:22:29 total 16 08:22:29 drwxr-xr-x 3 root root 4096 Mar 30 08:16 . 08:22:29 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 08:16 .. 08:22:29 drwxr-xr-x 2 root root 4096 Mar 30 08:16 cost 08:22:29 -rw-r--r-- 1 root root 82 Mar 30 08:16 cost.csv 08:22:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 08:22:29 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 08:22:29 total 16 08:22:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 08:16 . 08:22:29 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 08:16 .. 08:22:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 08:16 cost 08:22:29 -rw-r--r-- 1 jenkins jenkins 82 Mar 30 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:22:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:22:30 ---> package-listing.sh 08:22:30 ++ facter osfamily 08:22:30 ++ tr '[:upper:]' '[:lower:]' 08:22:30 + OS_FAMILY=debian 08:22:30 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-507 08:22:30 + START_PACKAGES=/tmp/packages_start.txt 08:22:30 + END_PACKAGES=/tmp/packages_end.txt 08:22:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:22:30 + PACKAGES=/tmp/packages_start.txt 08:22:30 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-507 ']' 08:22:30 + PACKAGES=/tmp/packages_end.txt 08:22:30 + case "${OS_FAMILY}" in 08:22:30 + dpkg -l 08:22:30 + grep '^ii' 08:22:30 + '[' -f /tmp/packages_start.txt ']' 08:22:30 + '[' -f /tmp/packages_end.txt ']' 08:22:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:22:30 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-507 ']' 08:22:30 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/ 08:22:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/ [Pipeline] echo 08:22:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:22:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:22:31 . [Pipeline] withDockerContainer 08:22:31 prd-ubuntu20.04-docker-8c-8g-9407 does not seem to be running inside a container 08:22:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:22:32 $ docker top 344afbb001a2df78303c98cb7befcb7cd0d60ca29e077d51bd8c0a5fba131820 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:32 + touch /tmp/pre-build-complete [Pipeline] sh 08:22:32 + mkdir -p /var/log/sysstat [Pipeline] sh 08:22:33 + ls /var/log/sa-host 08:22:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:33 provisioning config files... 08:22:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config4993713147932132386tmp [Pipeline] { [Pipeline] echo 08:22:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:22:33 ---> create-netrc.sh [Pipeline] } 08:22:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:22:33 ---> python-tools-install.sh [Pipeline] echo 08:22:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:22:34 ---> sudo-logs.sh 08:22:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:22:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:22:34 ---> job-cost.sh 08:22:34 lf-activate-venv: SKIPPING 08:22:34 DEBUG: total: 0.2199999988079071 08:22:34 INFO: Retrieving Stack Cost... 08:22:34 INFO: Retrieving Pricing Info for: v3-standard-8 08:22:35 INFO: Archiving Costs [Pipeline] echo 08:22:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:22:35 ---> logs-deploy.sh 08:22:35 lf-activate-venv: SKIPPING 08:22:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-507/2 08:22:35 INFO: archiving workspace using pattern(s): 08:22:36 Archives upload complete. 08:22:36 INFO: archiving logs to Nexus