Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06873e81a089729e5a3d6af8bc49c449c2f88cf5+d782c4d625d7b267303ff1fbcd6dbbbf7629934f (0a02c7e964a0dad73afddf0b3c34e839f4dcd224) 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-ssh378196530630612550.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8351017076801374412.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14918399880249423464.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh8416140294035397839.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/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3976290734751595213.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:go-mod-configuration, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: go-mod-configuration-settings PROJECT: go-mod-configuration 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: go-mod-configuration DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false 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: false 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-44835 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.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/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d782c4d625d7b267303ff1fbcd6dbbbf7629934f into PR head commit 06873e81a089729e5a3d6af8bc49c449c2f88cf5 Merge succeeded, producing 1f0615e2387335c3524780d4be2edd05efe5a119 Checking out Revision 1f0615e2387335c3524780d4be2edd05efe5a119 (PR-56) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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/go-mod-configuration.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # 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 d782c4d625d7b267303ff1fbcd6dbbbf7629934f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f0615e2387335c3524780d4be2edd05efe5a119 # timeout=10 Commit message: "Merge commit 'd782c4d625d7b267303ff1fbcd6dbbbf7629934f' into HEAD" > git rev-list --no-walk 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:46:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:46:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:46:20 ========================================================= 05:46:20 EdgeX Global Pipelines Version Info 05:46:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:46:21 ------------------- 05:46:21 stable info: 05:46:21 ------------------- 05:46:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:46:21 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:46:21 Message: update stable to v1.0.227 05:46:22 ------------------- 05:46:22 experimental info: 05:46:22 ------------------- 05:46:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:46:22 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 05:46:22 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f0615e2387335c3524780d4be2edd05efe5a119 [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f0615e [Pipeline] echo 05:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:46:23 + git rev-list -1 --merges 1f0615e2387335c3524780d4be2edd05efe5a119~1..1f0615e2387335c3524780d4be2edd05efe5a119 [Pipeline] echo 05:46:23 -----------> git rev-list -1 --merges 1f0615e2387335c3524780d4be2edd05efe5a119~1..1f0615e2387335c3524780d4be2edd05efe5a119 1f0615e2387335c3524780d4be2edd05efe5a119 05:46:23 1f0615e2387335c3524780d4be2edd05efe5a119 [false] [Pipeline] sh 05:46:23 + git log --format=format:%s -1 1f0615e2387335c3524780d4be2edd05efe5a119 [Pipeline] echo 05:46:23 ========================================================= 05:46:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:46:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:23 + git log --format=format:%s -1 1f0615e2387335c3524780d4be2edd05efe5a119 [Pipeline] echo 05:46:24 [semverPrep] GIT_COMMIT: 1f0615e2387335c3524780d4be2edd05efe5a119, Commit Message: Merge commit 'd782c4d625d7b267303ff1fbcd6dbbbf7629934f' into HEAD [Pipeline] echo 05:46:24 [semverPrep] This is not a build commit. [Pipeline] sh 05:46:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:24 + grep -v github /etc/ssh/ssh_known_hosts 05:46:24 + [ -e /tmp/ssh_known_hosts ] 05:46:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:46:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:46:24 + sudo tee -a /etc/ssh/ssh_known_hosts 05:46:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:46:25 05:46:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:46:26 latest: Pulling from edgex-devops/py-git-semver 05:46:26 1fe172e4850f: Pulling fs layer 05:46:26 caf521ccaac6: Pulling fs layer 05:46:26 3ead6fa29328: Pulling fs layer 05:46:26 5c2a1cbceb83: Pulling fs layer 05:46:26 a8d5f1318db7: Pulling fs layer 05:46:26 c427282e49a2: Pulling fs layer 05:46:26 1827001aaf11: Pulling fs layer 05:46:26 0714d37db230: Pulling fs layer 05:46:26 ac28cf19c067: Pulling fs layer 05:46:26 ca983d60f3e2: Pulling fs layer 05:46:26 9f894cec8388: Pulling fs layer 05:46:26 1827001aaf11: Waiting 05:46:26 0714d37db230: Waiting 05:46:26 ac28cf19c067: Waiting 05:46:26 ca983d60f3e2: Waiting 05:46:26 9f894cec8388: Waiting 05:46:26 5c2a1cbceb83: Waiting 05:46:26 a8d5f1318db7: Waiting 05:46:26 c427282e49a2: Waiting 05:46:26 caf521ccaac6: Verifying Checksum 05:46:26 caf521ccaac6: Download complete 05:46:26 5c2a1cbceb83: Verifying Checksum 05:46:26 5c2a1cbceb83: Download complete 05:46:26 a8d5f1318db7: Verifying Checksum 05:46:26 a8d5f1318db7: Download complete 05:46:26 c427282e49a2: Verifying Checksum 05:46:26 c427282e49a2: Download complete 05:46:26 3ead6fa29328: Verifying Checksum 05:46:26 3ead6fa29328: Download complete 05:46:26 0714d37db230: Download complete 05:46:26 ac28cf19c067: Verifying Checksum 05:46:26 ac28cf19c067: Download complete 05:46:26 9f894cec8388: Verifying Checksum 05:46:26 9f894cec8388: Download complete 05:46:26 1fe172e4850f: Download complete 05:46:26 1827001aaf11: Verifying Checksum 05:46:26 1827001aaf11: Download complete 05:46:28 1fe172e4850f: Pull complete 05:46:28 caf521ccaac6: Pull complete 05:46:28 3ead6fa29328: Pull complete 05:46:28 5c2a1cbceb83: Pull complete 05:46:29 a8d5f1318db7: Pull complete 05:46:29 c427282e49a2: Pull complete 05:46:30 1827001aaf11: Pull complete 05:46:31 0714d37db230: Pull complete 05:46:31 ac28cf19c067: Pull complete 05:46:31 ca983d60f3e2: Pull complete 05:46:31 9f894cec8388: Pull complete 05:46:31 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:46:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:46:31 prd-ubuntu20.04-docker-8c-8g-44835 does not seem to be running inside a container 05:46:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:46:33 $ docker top 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e -eo pid,comm 05:46:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:46:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:33 [ssh-agent] Looking for ssh-agent implementation... 05:46:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:33 $ docker exec 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e ssh-agent 05:46:33 SSH_AUTH_SOCK=/tmp/ssh-sLwsONPzd9oN/agent.33 05:46:33 SSH_AGENT_PID=39 05:46:33 Running ssh-add (command line suppressed) 05:46:33 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_6563139786229034874.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_6563139786229034874.key) 05:46:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:34 + git tag --points-at HEAD [Pipeline] } 05:46:34 $ docker exec --env ******** --env ******** 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e ssh-agent -k 05:46:34 unset SSH_AUTH_SOCK; 05:46:34 unset SSH_AGENT_PID; 05:46:34 echo Agent pid 39 killed; 05:46:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:34 [ssh-agent] Looking for ssh-agent implementation... 05:46:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:34 $ docker exec 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e ssh-agent 05:46:34 SSH_AUTH_SOCK=/tmp/ssh-dxqJWYwRbhj7/agent.73 05:46:34 SSH_AGENT_PID=79 05:46:34 Running ssh-add (command line suppressed) 05:46:34 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_8040093931102620762.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_8040093931102620762.key) 05:46:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:35 + git semver init 05:46:35 2022-05-10 05:46:35,271 [run_init] DEBUG init version:0.0.0 force:False 05:46:35 2022-05-10 05:46:35,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-configuration_PR-56/.semver 05:46:35 2022-05-10 05:46:35,273 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-configuration.git /w/workspace/undry_go-mod-configuration_PR-56/.semver 05:46:35 2022-05-10 05:46:35,273 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-configuration.git', '/w/workspace/undry_go-mod-configuration_PR-56/.semver'], cwd=/w/workspace/undry_go-mod-configuration_PR-56, universal_newlines=False, shell=None, istream=None) 05:46:36 2022-05-10 05:46:36,057 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-configuration_PR-56/.git/info/exclude 05:46:36 2022-05-10 05:46:36,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 with force:False 05:46:36 2022-05-10 05:46:36,058 [write_file] DEBUG write to file:/w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 05:46:36 2022-05-10 05:46:36,062 [execute] INFO git cat-file --batch-check 05:46:36 2022-05-10 05:46:36,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_go-mod-configuration_PR-56/.semver, universal_newlines=False, shell=None, istream=) 05:46:36 2022-05-10 05:46:36,070 [execute] INFO git cat-file --batch 05:46:36 2022-05-10 05:46:36,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_go-mod-configuration_PR-56/.semver, universal_newlines=False, shell=None, istream=) 05:46:36 2022-05-10 05:46:36,076 [read_version] DEBUG read version from /w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 05:46:36 0.0.0 [Pipeline] } 05:46:36 $ docker exec --env ******** --env ******** 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e ssh-agent -k 05:46:36 unset SSH_AUTH_SOCK; 05:46:36 unset SSH_AGENT_PID; 05:46:36 echo Agent pid 79 killed; 05:46:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:36 + git semver [Pipeline] } 05:46:36 $ docker stop --time=1 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e 05:46:38 $ docker rm -f 8f136697f3d30d566186dd041328eb9abf7a56d1b7582e00f730c5f606d13d0e [Pipeline] // withDockerContainer [Pipeline] sh 05:46:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:38 Stashed 1 file(s) [Pipeline] echo 05:46:38 [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] unstash [Pipeline] echo 05:46:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:46:39 ========================================================= 05:46:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:46:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:46:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:46:39 59bf1c3509f3: Pulling fs layer 05:46:39 666ba61612fd: Pulling fs layer 05:46:39 8ed8ca486205: Pulling fs layer 05:46:39 4fe6c5a15a65: Pulling fs layer 05:46:39 22a0e8bec74d: Pulling fs layer 05:46:39 ca2b28591e48: Pulling fs layer 05:46:39 a51346096db8: Pulling fs layer 05:46:39 daebc70d1ce1: Pulling fs layer 05:46:39 4fe6c5a15a65: Waiting 05:46:39 ca2b28591e48: Waiting 05:46:39 22a0e8bec74d: Waiting 05:46:39 a51346096db8: Waiting 05:46:39 daebc70d1ce1: Waiting 05:46:39 0e18a0eac166: Pulling fs layer 05:46:39 0e18a0eac166: Waiting 05:46:39 8ed8ca486205: Verifying Checksum 05:46:39 8ed8ca486205: Download complete 05:46:39 666ba61612fd: Verifying Checksum 05:46:39 666ba61612fd: Download complete 05:46:39 22a0e8bec74d: Verifying Checksum 05:46:39 22a0e8bec74d: Download complete 05:46:39 ca2b28591e48: Verifying Checksum 05:46:39 ca2b28591e48: Download complete 05:46:39 a51346096db8: Verifying Checksum 05:46:39 a51346096db8: Download complete 05:46:39 59bf1c3509f3: Verifying Checksum 05:46:39 59bf1c3509f3: Download complete 05:46:39 daebc70d1ce1: Verifying Checksum 05:46:39 daebc70d1ce1: Download complete 05:46:39 59bf1c3509f3: Pull complete 05:46:39 666ba61612fd: Pull complete 05:46:39 8ed8ca486205: Pull complete 05:46:40 0e18a0eac166: Verifying Checksum 05:46:40 0e18a0eac166: Download complete 05:46:40 4fe6c5a15a65: Verifying Checksum 05:46:40 4fe6c5a15a65: Download complete 05:46:44 4fe6c5a15a65: Pull complete 05:46:44 22a0e8bec74d: Pull complete 05:46:44 ca2b28591e48: Pull complete 05:46:44 a51346096db8: Pull complete 05:46:44 daebc70d1ce1: Pull complete 05:46:46 0e18a0eac166: Pull complete 05:46:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:46:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 05:46:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 05:46:46 + docker inspect -f . ci-base-image-x86_64 05:46:46 . [Pipeline] withDockerContainer 05:46:47 prd-ubuntu20.04-docker-8c-8g-44835 does not seem to be running inside a container 05:46:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** ci-base-image-x86_64 cat 05:46:49 $ docker top a0cd3460b0cf6147fb708ac89a77d85e6d32c57fd76b30b06a24e2e6391a8d0e -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:49 + go version 05:46:49 go version go1.17.6 linux/amd64 [Pipeline] } 05:46:49 $ docker stop --time=1 a0cd3460b0cf6147fb708ac89a77d85e6d32c57fd76b30b06a24e2e6391a8d0e 05:46:50 $ docker rm -f a0cd3460b0cf6147fb708ac89a77d85e6d32c57fd76b30b06a24e2e6391a8d0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:51 + docker inspect -f . ci-base-image-x86_64 05:46:51 . [Pipeline] withDockerContainer 05:46:51 prd-ubuntu20.04-docker-8c-8g-44835 does not seem to be running inside a container 05:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** ci-base-image-x86_64 cat 05:46:51 $ docker top 05bff3dbfe885fffcfdd2c2d7c81d69317df644340c3eddfdb8dc66e926e257a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:46:52 + make test 05:46:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:46:52 go: downloading github.com/stretchr/testify v1.7.0 05:46:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:46:52 go: downloading github.com/hashicorp/consul/api v1.12.0 05:46:52 go: downloading github.com/pelletier/go-toml v1.9.4 05:46:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:46:52 go: downloading github.com/mitchellh/copystructure v1.0.0 05:46:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:46:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:46:52 go: downloading github.com/davecgh/go-spew v1.1.1 05:46:52 go: downloading github.com/pmezard/go-difflib v1.0.0 05:46:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 05:46:52 go: downloading github.com/hashicorp/serf v0.9.6 05:46:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:46:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:46:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:46:52 go: downloading github.com/mattn/go-isatty v0.0.12 05:46:52 go: downloading github.com/fatih/color v1.9.0 05:46:52 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 05:46:52 go: downloading github.com/mattn/go-colorable v0.1.6 05:46:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:46:52 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:46:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:46:54 Still waiting to schedule task 05:46:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44836’ is offline 05:46:57 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.004s coverage: 85.7% of statements 05:47:04 2022/05/10 05:46:57 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:47:04 2022/05/10 05:46:57 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:47:04 2022/05/10 05:46:57 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:47:04 2022/05/10 05:46:58 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:47:04 2022/05/10 05:46:59 edgex/core/1.0/consulUnitTest297789432/Logging/ changed 05:47:04 --- FAIL: TestAccessToken (0.00s) 05:47:04 client_test.go:606: 05:47:04 Error Trace: client_test.go:606 05:47:04 Error: Error message not equal: 05:47:04 expected: "unable to get value for edgex/core/1.0/consulUnitTest803350090/testAccess from Consul: Unexpected response code: 403" 05:47:04 actual : "unable to get value for edgex/core/1.0/consulUnitTest803350090/testAccess from Consul: Unexpected response code: 403 ()" 05:47:04 Test: TestAccessToken 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 2022/05/10 05:46:59 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:47:04 2022/05/10 05:47:00 edgex/core/1.0/consulUnitTest297789432/Logging/ changed 05:47:04 2022/05/10 05:47:00 edgex/core/1.0/RenewAccessToken-Test/ changed 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 RenewAccessToken called 05:47:04 WatchForChanges update received 05:47:04 2022/05/10 05:47:01 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 05:47:04 2022/05/10 05:47:02 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 05:47:04 FAIL 05:47:04 coverage: 88.3% of statements 05:47:04 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.577s 05:47:04 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.004s coverage: 100.0% of statements 05:47:04 FAIL 05:47:04 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 05:47:04 $ docker stop --time=1 05bff3dbfe885fffcfdd2c2d7c81d69317df644340c3eddfdb8dc66e926e257a 05:47:05 $ docker rm -f 05bff3dbfe885fffcfdd2c2d7c81d69317df644340c3eddfdb8dc66e926e257a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:06 05:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:47:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:06 latest: Pulling from edgex-lftools-log-publisher 05:47:06 5eb5b503b376: Pulling fs layer 05:47:06 5c69ac0246d0: Pulling fs layer 05:47:06 ec43610c2a17: Pulling fs layer 05:47:06 3a2ae6a8a46f: Pulling fs layer 05:47:06 33b1e0a273af: Pulling fs layer 05:47:06 5d3b04190fa2: Pulling fs layer 05:47:06 2f39f015ded8: Pulling fs layer 05:47:06 3a2ae6a8a46f: Waiting 05:47:06 33b1e0a273af: Waiting 05:47:06 5d3b04190fa2: Waiting 05:47:06 2f39f015ded8: Waiting 05:47:06 3a2ae6a8a46f: Download complete 05:47:06 33b1e0a273af: Verifying Checksum 05:47:06 33b1e0a273af: Download complete 05:47:06 5d3b04190fa2: Verifying Checksum 05:47:06 5d3b04190fa2: Download complete 05:47:06 ec43610c2a17: Verifying Checksum 05:47:06 ec43610c2a17: Download complete 05:47:07 5eb5b503b376: Download complete 05:47:07 2f39f015ded8: Download complete 05:47:08 5eb5b503b376: Pull complete 05:47:08 5c69ac0246d0: Pull complete 05:47:09 ec43610c2a17: Pull complete 05:47:09 3a2ae6a8a46f: Pull complete 05:47:09 33b1e0a273af: Pull complete 05:47:09 5d3b04190fa2: Pull complete 05:47:13 2f39f015ded8: Pull complete 05:47:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:47:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:47:13 prd-ubuntu20.04-docker-8c-8g-44835 does not seem to be running inside a container 05:47:13 $ 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/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:47:16 $ docker top 4ba445a7c08c76c3681b46e8f8d7881700601c81a266357b2478810c46eebbb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:16 ---> job-cost.sh 05:47:16 lf-activate-venv: SKIPPING 05:47:16 INFO: No Stack... 05:47:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:47:17 INFO: Archiving Costs [Pipeline] sh 05:47:17 + cut -d, -f6 05:47:17 + cat /w/workspace/undry_go-mod-configuration_PR-56/archives/cost.csv [Pipeline] lock 05:47:17 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] 05:47:17 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] did not exist. Created. 05:47:17 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:47:17 + echo total: 0.2199999988079071 [Pipeline] stash 05:47:17 Stashed 1 file(s) [Pipeline] } 05:47:17 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } 05:47:17 $ docker stop --time=1 4ba445a7c08c76c3681b46e8f8d7881700601c81a266357b2478810c46eebbb3 05:47:19 $ docker rm -f 4ba445a7c08c76c3681b46e8f8d7881700601c81a266357b2478810c46eebbb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:47:19 Failed in branch amd64 05:49:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44838 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] ws 05:49:43 Running in /w/workspace/go-mod-configuration/8 [Pipeline] { [Pipeline] checkout 05:49:43 Selected Git installation does not exist. Using Default 05:49:43 The recommended git tool is: NONE 05:49:51 using credential edgex-jenkins-ssh 05:49:51 Cloning the remote Git repository 05:49:51 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 05:49:51 > git init /w/workspace/go-mod-configuration/8 # timeout=10 05:49:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 05:49:51 > git --version # timeout=10 05:49:51 > git --version # 'git version 2.25.1' 05:49:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:53 Merging remotes/origin/main commit d782c4d625d7b267303ff1fbcd6dbbbf7629934f into PR head commit 06873e81a089729e5a3d6af8bc49c449c2f88cf5 05:49:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 05:49:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 05:49:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 05:49:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:49:53 > git config core.sparsecheckout # timeout=10 05:49:53 > git checkout -f 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # timeout=10 05:49:53 > git remote # timeout=10 05:49:53 Merge succeeded, producing 4ebc83bdce0efaaaeb735d29c7f14a4460ceb0cc 05:49:53 Checking out Revision 4ebc83bdce0efaaaeb735d29c7f14a4460ceb0cc (PR-56) 05:49:53 > git config --get remote.origin.url # timeout=10 05:49:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:53 > git merge d782c4d625d7b267303ff1fbcd6dbbbf7629934f # timeout=10 05:49:53 > git rev-parse HEAD^{commit} # timeout=10 05:49:53 > git config core.sparsecheckout # timeout=10 05:49:54 > git checkout -f 4ebc83bdce0efaaaeb735d29c7f14a4460ceb0cc # timeout=10 05:49:58 Commit message: "Merge commit 'd782c4d625d7b267303ff1fbcd6dbbbf7629934f' into HEAD" 05:49:58 > git rev-list --no-walk 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:49:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:49:59 Dload Upload Total Spent Left Speed 05:49:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 05:49:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:50:00 + + sudo teesudo /etc/docker/daemon.new jq 05:50:00 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:50:00 { 05:50:00 "registry-mirrors": [ 05:50:00 "https://nexus3.edgexfoundry.org:10001" 05:50:00 ], 05:50:00 "bip": "10.250.0.254/24", 05:50:00 "hosts": [ 05:50:00 "tcp://0.0.0.0:5555", 05:50:00 "unix:///var/run/docker.sock" 05:50:00 ], 05:50:00 "mtu": 1458, 05:50:00 "selinux-enabled": true, 05:50:00 "seccomp-profile": "/etc/docker/seccomp.json" 05:50:00 } [Pipeline] sh 05:50:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:50:00 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:50:19 ========================================================= 05:50:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:50:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:50:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:50:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:50:20 9b3977197b4f: Pulling fs layer 05:50:20 1a89e8eeedd5: Pulling fs layer 05:50:20 94645a83ff95: Pulling fs layer 05:50:20 3f3a8bcf1eab: Pulling fs layer 05:50:20 0c92f367c5e7: Pulling fs layer 05:50:20 3096ccb668a1: Pulling fs layer 05:50:20 e8cf19c19ddd: Pulling fs layer 05:50:20 a4caa8a26152: Pulling fs layer 05:50:20 3f3a8bcf1eab: Waiting 05:50:20 0c92f367c5e7: Waiting 05:50:20 e8cf19c19ddd: Waiting 05:50:20 3096ccb668a1: Waiting 05:50:20 94645a83ff95: Verifying Checksum 05:50:20 94645a83ff95: Download complete 05:50:20 1a89e8eeedd5: Verifying Checksum 05:50:20 0c92f367c5e7: Verifying Checksum 05:50:20 0c92f367c5e7: Download complete 05:50:20 3096ccb668a1: Verifying Checksum 05:50:20 3096ccb668a1: Download complete 05:50:20 9b3977197b4f: Verifying Checksum 05:50:20 9b3977197b4f: Download complete 05:50:20 e8cf19c19ddd: Verifying Checksum 05:50:20 e8cf19c19ddd: Download complete 05:50:21 9b3977197b4f: Pull complete 05:50:22 1a89e8eeedd5: Pull complete 05:50:22 94645a83ff95: Pull complete 05:50:22 a4caa8a26152: Verifying Checksum 05:50:22 a4caa8a26152: Download complete 05:50:23 3f3a8bcf1eab: Verifying Checksum 05:50:23 3f3a8bcf1eab: Download complete 05:50:35 3f3a8bcf1eab: Pull complete 05:50:35 0c92f367c5e7: Pull complete 05:50:35 3096ccb668a1: Pull complete 05:50:35 e8cf19c19ddd: Pull complete 05:50:42 a4caa8a26152: Pull complete 05:50:42 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:50:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:50:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 05:50:42 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 05:50:43 + docker inspect -f . ci-base-image-arm64 05:50:43 . [Pipeline] withDockerContainer 05:50:43 prd-ubuntu20.04-docker-arm64-4c-16g-44838 does not seem to be running inside a container 05:50:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/8 -v /w/workspace/go-mod-configuration/8:/w/workspace/go-mod-configuration/8:rw,z -v /w/workspace/go-mod-configuration/8@tmp:/w/workspace/go-mod-configuration/8@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 ******** ci-base-image-arm64 cat 05:50:46 $ docker top 09e5b0ac2abef9fd48c610cd69027778575fca4ad32148e9ee855018a6cc243e -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:47 + go version 05:50:47 go version go1.17.6 linux/arm64 [Pipeline] } 05:50:47 $ docker stop --time=1 09e5b0ac2abef9fd48c610cd69027778575fca4ad32148e9ee855018a6cc243e 05:50:48 $ docker rm -f 09e5b0ac2abef9fd48c610cd69027778575fca4ad32148e9ee855018a6cc243e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:49 + docker inspect -f . ci-base-image-arm64 05:50:49 . [Pipeline] withDockerContainer 05:50:49 prd-ubuntu20.04-docker-arm64-4c-16g-44838 does not seem to be running inside a container 05:50:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/8 -v /w/workspace/go-mod-configuration/8:/w/workspace/go-mod-configuration/8:rw,z -v /w/workspace/go-mod-configuration/8@tmp:/w/workspace/go-mod-configuration/8@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 ******** ci-base-image-arm64 cat 05:50:51 $ docker top 995c91318e334ddf8b5c3957bdbfa20140ce4c8087c8bf14fb40053f16faf5e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:50:52 + make test 05:50:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:50:52 go: downloading github.com/stretchr/testify v1.7.0 05:50:52 go: downloading github.com/pelletier/go-toml v1.9.4 05:50:52 go: downloading github.com/hashicorp/consul/api v1.12.0 05:50:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:50:52 go: downloading github.com/davecgh/go-spew v1.1.1 05:50:52 go: downloading github.com/pmezard/go-difflib v1.0.0 05:50:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 05:50:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:50:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:50:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:50:52 go: downloading github.com/hashicorp/serf v0.9.6 05:50:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:50:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:50:52 go: downloading github.com/mitchellh/copystructure v1.0.0 05:50:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:50:53 go: downloading github.com/fatih/color v1.9.0 05:50:53 go: downloading github.com/mattn/go-isatty v0.0.12 05:50:53 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 05:50:53 go: downloading github.com/mattn/go-colorable v0.1.6 05:50:53 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:50:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:50:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:51:32 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.017s coverage: 85.7% of statements 05:51:33 2022/05/10 05:51:26 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:51:33 2022/05/10 05:51:26 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:51:33 2022/05/10 05:51:26 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:51:33 2022/05/10 05:51:27 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:51:33 2022/05/10 05:51:28 edgex/core/1.0/consulUnitTest659009468/Logging/ changed 05:51:33 --- FAIL: TestAccessToken (0.00s) 05:51:33 client_test.go:606: 05:51:33 Error Trace: client_test.go:606 05:51:33 Error: Error message not equal: 05:51:33 expected: "unable to get value for edgex/core/1.0/consulUnitTest171302583/testAccess from Consul: Unexpected response code: 403" 05:51:33 actual : "unable to get value for edgex/core/1.0/consulUnitTest171302583/testAccess from Consul: Unexpected response code: 403 ()" 05:51:33 Test: TestAccessToken 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 2022/05/10 05:51:29 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 05:51:33 2022/05/10 05:51:29 edgex/core/1.0/consulUnitTest659009468/Logging/ changed 05:51:33 2022/05/10 05:51:30 edgex/core/1.0/RenewAccessToken-Test/ changed 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 RenewAccessToken called 05:51:33 WatchForChanges update received 05:51:33 2022/05/10 05:51:31 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 05:51:33 2022/05/10 05:51:31 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 05:51:33 2022/05/10 05:51:32 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 05:51:33 FAIL 05:51:33 coverage: 88.3% of statements 05:51:33 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.747s 05:51:33 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.014s coverage: 100.0% of statements 05:51:33 FAIL 05:51:33 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 05:51:33 $ docker stop --time=1 995c91318e334ddf8b5c3957bdbfa20140ce4c8087c8bf14fb40053f16faf5e3 05:51:35 $ docker rm -f 995c91318e334ddf8b5c3957bdbfa20140ce4c8087c8bf14fb40053f16faf5e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:36 05:51:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:36 arm64: Pulling from edgex-lftools-log-publisher 05:51:36 8998bd30e6a1: Pulling fs layer 05:51:36 04944245beec: Pulling fs layer 05:51:36 699f458cf7ca: Pulling fs layer 05:51:36 765212b225bb: Pulling fs layer 05:51:36 f23df028b6ca: Pulling fs layer 05:51:36 d65c8cfc05b1: Pulling fs layer 05:51:36 2437ff75d9bd: Pulling fs layer 05:51:36 765212b225bb: Waiting 05:51:36 f23df028b6ca: Waiting 05:51:36 d65c8cfc05b1: Waiting 05:51:36 2437ff75d9bd: Waiting 05:51:37 04944245beec: Verifying Checksum 05:51:37 04944245beec: Download complete 05:51:37 765212b225bb: Download complete 05:51:37 f23df028b6ca: Download complete 05:51:37 d65c8cfc05b1: Verifying Checksum 05:51:37 d65c8cfc05b1: Download complete 05:51:37 699f458cf7ca: Verifying Checksum 05:51:37 699f458cf7ca: Download complete 05:51:37 8998bd30e6a1: Verifying Checksum 05:51:37 8998bd30e6a1: Download complete 05:51:40 2437ff75d9bd: Verifying Checksum 05:51:40 2437ff75d9bd: Download complete 05:51:41 8998bd30e6a1: Pull complete 05:51:42 04944245beec: Pull complete 05:51:43 699f458cf7ca: Pull complete 05:51:44 765212b225bb: Pull complete 05:51:45 f23df028b6ca: Pull complete 05:51:45 d65c8cfc05b1: Pull complete 05:52:00 2437ff75d9bd: Pull complete 05:52:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:52:00 prd-ubuntu20.04-docker-arm64-4c-16g-44838 does not seem to be running inside a container 05:52:00 $ 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/go-mod-configuration/8 -v /w/workspace/go-mod-configuration/8:/w/workspace/go-mod-configuration/8:rw,z -v /w/workspace/go-mod-configuration/8@tmp:/w/workspace/go-mod-configuration/8@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:10003/edgex-lftools-log-publisher:arm64 cat 05:52:02 $ docker top 8a96b51739e201cc3abece5061ee9521af9835441b540bc505c333d1f9b2de71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:03 ---> job-cost.sh 05:52:03 lf-activate-venv: SKIPPING 05:52:03 INFO: No Stack... 05:52:04 INFO: Retrieving Pricing Info for: v3-standard-4 05:52:05 INFO: Archiving Costs [Pipeline] sh 05:52:05 + + catcut /w/workspace/go-mod-configuration/8/archives/cost.csv 05:52:05 -d, -f6 [Pipeline] lock 05:52:05 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] 05:52:05 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] did not exist. Created. 05:52:05 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:06 /w/workspace/go-mod-configuration/8@tmp/durable-860d600b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:52:07 + echo total: 0.10999999940395355 [Pipeline] stash 05:52:07 Warning: overwriting stash ‘stack-cost’ 05:52:07 Stashed 1 file(s) [Pipeline] } 05:52:07 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } 05:52:07 $ docker stop --time=1 8a96b51739e201cc3abece5061ee9521af9835441b540bc505c333d1f9b2de71 05:52:09 $ docker rm -f 8a96b51739e201cc3abece5061ee9521af9835441b540bc505c333d1f9b2de71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:52:09 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:52:10 + [ -d /w/workspace/undry_go-mod-configuration_PR-56/archives ] 05:52:10 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 05:52:10 total 16 05:52:10 drwxr-xr-x 3 root root 4096 May 10 05:47 . 05:52:10 drwxrwxr-x 9 jenkins jenkins 4096 May 10 05:47 .. 05:52:10 drwxr-xr-x 2 root root 4096 May 10 05:47 cost 05:52:10 -rw-r--r-- 1 root root 90 May 10 05:47 cost.csv 05:52:10 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-56/archives 05:52:10 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 05:52:10 total 16 05:52:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 05:47 . 05:52:10 drwxrwxr-x 9 jenkins jenkins 4096 May 10 05:47 .. 05:52:10 drwxr-xr-x 2 jenkins jenkins 4096 May 10 05:47 cost 05:52:10 -rw-r--r-- 1 jenkins jenkins 90 May 10 05:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:52:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:11 ---> package-listing.sh 05:52:11 ++ facter osfamily 05:52:11 ++ tr '[:upper:]' '[:lower:]' 05:52:11 + OS_FAMILY=debian 05:52:11 + workspace=/w/workspace/undry_go-mod-configuration_PR-56 05:52:11 + START_PACKAGES=/tmp/packages_start.txt 05:52:11 + END_PACKAGES=/tmp/packages_end.txt 05:52:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:11 + PACKAGES=/tmp/packages_start.txt 05:52:11 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 05:52:11 + PACKAGES=/tmp/packages_end.txt 05:52:11 + case "${OS_FAMILY}" in 05:52:11 + grep '^ii' 05:52:11 + dpkg -l 05:52:11 + '[' -f /tmp/packages_start.txt ']' 05:52:11 + '[' -f /tmp/packages_end.txt ']' 05:52:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:11 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 05:52:11 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-56/archives/ 05:52:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-56/archives/ [Pipeline] echo 05:52:11 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/undry_go-mod-configuration_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:52:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:52:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:12 . [Pipeline] withDockerContainer 05:52:12 prd-ubuntu20.04-docker-8c-8g-44835 does not seem to be running inside a container 05:52:12 $ 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/undry_go-mod-configuration_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:52:13 $ docker top c59cb3760287778a0e3269ea9f5c0ef824709382cd09e0c34912c9c6fac0b9dc -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:13 + touch /tmp/pre-build-complete [Pipeline] sh 05:52:13 + mkdir -p /var/log/sysstat [Pipeline] sh 05:52:14 + ls /var/log/sa-host 05:52:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:14 provisioning config files... 05:52:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-56@tmp/config4308641307510012774tmp [Pipeline] { [Pipeline] echo 05:52:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:14 ---> create-netrc.sh [Pipeline] } 05:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:52:14 ---> python-tools-install.sh [Pipeline] echo 05:52:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:52:15 ---> sudo-logs.sh 05:52:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:52:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:52:15 ---> job-cost.sh 05:52:15 lf-activate-venv: SKIPPING 05:52:15 DEBUG: total: 0.2199999988079071 05:52:15 INFO: Retrieving Stack Cost... 05:52:15 INFO: Retrieving Pricing Info for: v3-standard-8 05:52:16 INFO: Archiving Costs [Pipeline] echo 05:52:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:16 ---> logs-deploy.sh 05:52:16 lf-activate-venv: SKIPPING 05:52:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-56/8 05:52:16 INFO: archiving workspace using pattern(s): 05:52:17 Archives upload complete. 05:52:17 INFO: archiving logs to Nexus