Pull request #56 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ff207feb3b42f270eca607e7ab07e7e08a46a137+c44b94c69ca174849017c79fc7be7c3d2542e424 (8ce73727c41e4dcd4d42ce08a71ef17e0b51ba3a) 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-ssh10730438288450006465.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh126626963177867794.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh2612306972709561729.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4080899051595020971.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-ssh16951819910933749738.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63976 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 c44b94c69ca174849017c79fc7be7c3d2542e424 into PR head commit ff207feb3b42f270eca607e7ab07e7e08a46a137 Merge succeeded, producing ff207feb3b42f270eca607e7ab07e7e08a46a137 Checking out Revision ff207feb3b42f270eca607e7ab07e7e08a46a137 (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 ff207feb3b42f270eca607e7ab07e7e08a46a137 # 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 c44b94c69ca174849017c79fc7be7c3d2542e424 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff207feb3b42f270eca607e7ab07e7e08a46a137 # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:47:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:47:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:47:20 ========================================================= 22:47:20 EdgeX Global Pipelines Version Info 22:47:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a42190b002cb9922a0a253065bf9d11c740be000 # timeout=10 22:47:21 ------------------- 22:47:21 stable info: 22:47:21 ------------------- 22:47:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:47:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:47:21 Message: update stable to v1.0.230 22:47:22 ------------------- 22:47:22 experimental info: 22:47:22 ------------------- 22:47:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:47:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:47:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff207feb3b42f270eca607e7ab07e7e08a46a137 [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff207fe [Pipeline] echo 22:47:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:47:23 + git rev-list -1 --merges ff207feb3b42f270eca607e7ab07e7e08a46a137~1..ff207feb3b42f270eca607e7ab07e7e08a46a137 [Pipeline] echo 22:47:23 -----------> git rev-list -1 --merges ff207feb3b42f270eca607e7ab07e7e08a46a137~1..ff207feb3b42f270eca607e7ab07e7e08a46a137 ff207feb3b42f270eca607e7ab07e7e08a46a137 [false] [Pipeline] sh 22:47:23 + git log --format=format:%s -1 ff207feb3b42f270eca607e7ab07e7e08a46a137 [Pipeline] echo 22:47:23 ========================================================= 22:47:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:47:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:23 + git log --format=format:%s -1 ff207feb3b42f270eca607e7ab07e7e08a46a137 [Pipeline] echo 22:47:23 [semverPrep] GIT_COMMIT: ff207feb3b42f270eca607e7ab07e7e08a46a137, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0 [Pipeline] echo 22:47:23 [semverPrep] This is not a build commit. [Pipeline] sh 22:47:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:47:24 + grep -v github /etc/ssh/ssh_known_hosts 22:47:24 + [ -e /tmp/ssh_known_hosts ] 22:47:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:47:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:47:24 + sudo tee -a /etc/ssh/ssh_known_hosts 22:47:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:47:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:47:24 22:47:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:47:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:47:25 latest: Pulling from edgex-devops/py-git-semver 22:47:25 1fe172e4850f: Pulling fs layer 22:47:25 caf521ccaac6: Pulling fs layer 22:47:25 3ead6fa29328: Pulling fs layer 22:47:25 5c2a1cbceb83: Pulling fs layer 22:47:25 a8d5f1318db7: Pulling fs layer 22:47:25 c427282e49a2: Pulling fs layer 22:47:25 1827001aaf11: Pulling fs layer 22:47:25 0714d37db230: Pulling fs layer 22:47:25 ac28cf19c067: Pulling fs layer 22:47:25 ca983d60f3e2: Pulling fs layer 22:47:25 9f894cec8388: Pulling fs layer 22:47:25 5c2a1cbceb83: Waiting 22:47:25 a8d5f1318db7: Waiting 22:47:25 ca983d60f3e2: Waiting 22:47:25 9f894cec8388: Waiting 22:47:25 ac28cf19c067: Waiting 22:47:25 0714d37db230: Waiting 22:47:25 1827001aaf11: Waiting 22:47:25 caf521ccaac6: Download complete 22:47:25 5c2a1cbceb83: Verifying Checksum 22:47:25 5c2a1cbceb83: Download complete 22:47:25 a8d5f1318db7: Verifying Checksum 22:47:25 a8d5f1318db7: Download complete 22:47:25 c427282e49a2: Verifying Checksum 22:47:25 c427282e49a2: Download complete 22:47:25 3ead6fa29328: Verifying Checksum 22:47:25 3ead6fa29328: Download complete 22:47:25 0714d37db230: Verifying Checksum 22:47:25 0714d37db230: Download complete 22:47:25 ac28cf19c067: Verifying Checksum 22:47:25 ac28cf19c067: Download complete 22:47:25 ca983d60f3e2: Verifying Checksum 22:47:25 ca983d60f3e2: Download complete 22:47:25 9f894cec8388: Download complete 22:47:25 1fe172e4850f: Verifying Checksum 22:47:25 1fe172e4850f: Download complete 22:47:25 1827001aaf11: Verifying Checksum 22:47:25 1827001aaf11: Download complete 22:47:27 1fe172e4850f: Pull complete 22:47:27 caf521ccaac6: Pull complete 22:47:27 3ead6fa29328: Pull complete 22:47:27 5c2a1cbceb83: Pull complete 22:47:27 a8d5f1318db7: Pull complete 22:47:27 c427282e49a2: Pull complete 22:47:30 1827001aaf11: Pull complete 22:47:30 0714d37db230: Pull complete 22:47:30 ac28cf19c067: Pull complete 22:47:30 ca983d60f3e2: Pull complete 22:47:30 9f894cec8388: Pull complete 22:47:30 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:47:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:47:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:47:30 prd-ubuntu20.04-docker-8c-8g-63976 does not seem to be running inside a container 22:47:30 $ 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 22:47:32 $ docker top b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae -eo pid,comm 22:47:32 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). 22:47:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:47:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:47:32 [ssh-agent] Looking for ssh-agent implementation... 22:47:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:47:32 $ docker exec b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae ssh-agent 22:47:32 SSH_AUTH_SOCK=/tmp/ssh-syDs3Sm2IgUV/agent.32 22:47:32 SSH_AGENT_PID=39 22:47:32 Running ssh-add (command line suppressed) 22:47:32 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_415462011907861758.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_415462011907861758.key) 22:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:47:33 + git tag --points-at HEAD [Pipeline] } 22:47:33 $ docker exec --env ******** --env ******** b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae ssh-agent -k 22:47:33 unset SSH_AUTH_SOCK; 22:47:33 unset SSH_AGENT_PID; 22:47:33 echo Agent pid 39 killed; 22:47:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:47:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:47:33 [ssh-agent] Looking for ssh-agent implementation... 22:47:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:47:33 $ docker exec b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae ssh-agent 22:47:33 SSH_AUTH_SOCK=/tmp/ssh-ZYTkzP12Bplq/agent.71 22:47:33 SSH_AGENT_PID=78 22:47:33 Running ssh-add (command line suppressed) 22:47:33 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_6278640903105234913.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_6278640903105234913.key) 22:47:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:47:33 + git semver init 22:47:34 2022-05-17 22:47:34,137 [run_init] DEBUG init version:0.0.0 force:False 22:47:34 2022-05-17 22:47:34,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-configuration_PR-56/.semver 22:47:34 2022-05-17 22:47:34,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-configuration.git /w/workspace/undry_go-mod-configuration_PR-56/.semver 22:47:34 2022-05-17 22:47:34,141 [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) 22:47:35 2022-05-17 22:47:34,820 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-configuration_PR-56/.git/info/exclude 22:47:35 2022-05-17 22:47:34,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 with force:False 22:47:35 2022-05-17 22:47:34,821 [write_file] DEBUG write to file:/w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 22:47:35 2022-05-17 22:47:34,825 [execute] INFO git cat-file --batch-check 22:47:35 2022-05-17 22:47:34,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_go-mod-configuration_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:47:35 2022-05-17 22:47:34,831 [execute] INFO git cat-file --batch 22:47:35 2022-05-17 22:47:34,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_go-mod-configuration_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:47:35 2022-05-17 22:47:34,837 [read_version] DEBUG read version from /w/workspace/undry_go-mod-configuration_PR-56/.semver/PR-56 22:47:35 0.0.0 [Pipeline] } 22:47:35 $ docker exec --env ******** --env ******** b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae ssh-agent -k 22:47:35 unset SSH_AUTH_SOCK; 22:47:35 unset SSH_AGENT_PID; 22:47:35 echo Agent pid 78 killed; 22:47:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:47:35 + git semver [Pipeline] } 22:47:35 $ docker stop --time=1 b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae 22:47:37 $ docker rm -f b28c9a2628bb28bb9ed277fbfea2f0f5b0bc27f420a44bd56d017e5d13547bae [Pipeline] // withDockerContainer [Pipeline] sh 22:47:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:47:37 Stashed 1 file(s) [Pipeline] echo 22:47:37 [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 22:47:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:38 ========================================================= 22:47:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:47:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:47:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:47:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:47:38 59bf1c3509f3: Pulling fs layer 22:47:38 666ba61612fd: Pulling fs layer 22:47:38 8ed8ca486205: Pulling fs layer 22:47:38 4fe6c5a15a65: Pulling fs layer 22:47:38 22a0e8bec74d: Pulling fs layer 22:47:38 ca2b28591e48: Pulling fs layer 22:47:38 a51346096db8: Pulling fs layer 22:47:38 daebc70d1ce1: Pulling fs layer 22:47:38 0e18a0eac166: Pulling fs layer 22:47:38 a51346096db8: Waiting 22:47:38 22a0e8bec74d: Waiting 22:47:38 ca2b28591e48: Waiting 22:47:38 daebc70d1ce1: Waiting 22:47:38 0e18a0eac166: Waiting 22:47:38 4fe6c5a15a65: Waiting 22:47:38 8ed8ca486205: Verifying Checksum 22:47:38 8ed8ca486205: Download complete 22:47:38 666ba61612fd: Verifying Checksum 22:47:38 666ba61612fd: Download complete 22:47:38 22a0e8bec74d: Verifying Checksum 22:47:38 22a0e8bec74d: Download complete 22:47:38 ca2b28591e48: Download complete 22:47:38 59bf1c3509f3: Verifying Checksum 22:47:38 59bf1c3509f3: Download complete 22:47:38 a51346096db8: Verifying Checksum 22:47:38 a51346096db8: Download complete 22:47:38 daebc70d1ce1: Verifying Checksum 22:47:38 daebc70d1ce1: Download complete 22:47:38 59bf1c3509f3: Pull complete 22:47:38 666ba61612fd: Pull complete 22:47:38 8ed8ca486205: Pull complete 22:47:39 0e18a0eac166: Verifying Checksum 22:47:39 0e18a0eac166: Download complete 22:47:39 4fe6c5a15a65: Verifying Checksum 22:47:39 4fe6c5a15a65: Download complete 22:47:43 4fe6c5a15a65: Pull complete 22:47:43 22a0e8bec74d: Pull complete 22:47:43 ca2b28591e48: Pull complete 22:47:43 a51346096db8: Pull complete 22:47:43 daebc70d1ce1: Pull complete 22:47:46 0e18a0eac166: Pull complete 22:47:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:47:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 22:47:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:47:46 + docker inspect -f . ci-base-image-x86_64 22:47:46 . [Pipeline] withDockerContainer 22:47:46 prd-ubuntu20.04-docker-8c-8g-63976 does not seem to be running inside a container 22:47:46 $ 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 22:47:49 $ docker top 29f08eb61cbb8e8e2c002264e1bc45918f93a36754e65e53b1b8196e5ed4414e -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:49 + go version 22:47:49 go version go1.17.6 linux/amd64 [Pipeline] } 22:47:49 $ docker stop --time=1 29f08eb61cbb8e8e2c002264e1bc45918f93a36754e65e53b1b8196e5ed4414e 22:47:51 $ docker rm -f 29f08eb61cbb8e8e2c002264e1bc45918f93a36754e65e53b1b8196e5ed4414e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:51 + docker inspect -f . ci-base-image-x86_64 22:47:51 . [Pipeline] withDockerContainer 22:47:51 prd-ubuntu20.04-docker-8c-8g-63976 does not seem to be running inside a container 22:47: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 22:47:52 $ docker top 829987e171d2e7911eabb037a546f4b2e4dbf539cea61c8302047ed684fc5cd8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:47:52 + make test 22:47:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:47:52 go: downloading github.com/stretchr/testify v1.7.1 22:47:52 go: downloading github.com/pelletier/go-toml v1.9.5 22:47:52 go: downloading github.com/hashicorp/consul/api v1.12.0 22:47:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:47:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:47:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:47:52 go: downloading github.com/mitchellh/copystructure v1.0.0 22:47:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:47:52 go: downloading github.com/davecgh/go-spew v1.1.1 22:47:52 go: downloading github.com/pmezard/go-difflib v1.0.0 22:47:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:47:52 go: downloading github.com/hashicorp/serf v0.9.6 22:47:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:47:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:47:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:47:52 go: downloading github.com/mattn/go-isatty v0.0.12 22:47:52 go: downloading github.com/fatih/color v1.9.0 22:47:52 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 22:47:52 go: downloading github.com/mattn/go-colorable v0.1.6 22:47:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:47:52 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:47:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:47:52 Still waiting to schedule task 22:47:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63973’ is offline 22:47:59 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.005s coverage: 85.7% of statements 22:48:05 2022/05/17 22:47:58 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:48:05 2022/05/17 22:47:58 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:48:05 2022/05/17 22:47:58 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:48:05 2022/05/17 22:47:59 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:48:05 2022/05/17 22:48:00 edgex/core/1.0/consulUnitTest128897021/Logging/ changed 22:48:05 --- FAIL: TestAccessToken (0.00s) 22:48:05 client_test.go:606: 22:48:05 Error Trace: client_test.go:606 22:48:05 Error: Error message not equal: 22:48:05 expected: "unable to get value for edgex/core/1.0/consulUnitTest635294412/testAccess from Consul: Unexpected response code: 403" 22:48:05 actual : "unable to get value for edgex/core/1.0/consulUnitTest635294412/testAccess from Consul: Unexpected response code: 403 ()" 22:48:05 Test: TestAccessToken 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 2022/05/17 22:48:00 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:48:05 2022/05/17 22:48:01 edgex/core/1.0/consulUnitTest128897021/Logging/ changed 22:48:05 2022/05/17 22:48:01 edgex/core/1.0/RenewAccessToken-Test/ changed 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 RenewAccessToken called 22:48:05 WatchForChanges update received 22:48:05 2022/05/17 22:48:02 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:48:05 2022/05/17 22:48:02 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:48:05 2022/05/17 22:48:03 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:48:05 FAIL 22:48:05 coverage: 88.3% of statements 22:48:05 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.599s 22:48:05 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.005s coverage: 100.0% of statements 22:48:05 FAIL 22:48:05 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 22:48:05 $ docker stop --time=1 829987e171d2e7911eabb037a546f4b2e4dbf539cea61c8302047ed684fc5cd8 22:48:07 $ docker rm -f 829987e171d2e7911eabb037a546f4b2e4dbf539cea61c8302047ed684fc5cd8 [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 22:48:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:08 22:48:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:48:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:08 latest: Pulling from edgex-lftools-log-publisher 22:48:08 5eb5b503b376: Pulling fs layer 22:48:08 5c69ac0246d0: Pulling fs layer 22:48:08 ec43610c2a17: Pulling fs layer 22:48:08 3a2ae6a8a46f: Pulling fs layer 22:48:08 33b1e0a273af: Pulling fs layer 22:48:08 5d3b04190fa2: Pulling fs layer 22:48:08 2f39f015ded8: Pulling fs layer 22:48:08 3a2ae6a8a46f: Waiting 22:48:08 33b1e0a273af: Waiting 22:48:08 5d3b04190fa2: Waiting 22:48:08 2f39f015ded8: Waiting 22:48:08 5c69ac0246d0: Verifying Checksum 22:48:08 5c69ac0246d0: Download complete 22:48:08 3a2ae6a8a46f: Download complete 22:48:08 33b1e0a273af: Download complete 22:48:08 5d3b04190fa2: Verifying Checksum 22:48:08 5d3b04190fa2: Download complete 22:48:08 ec43610c2a17: Verifying Checksum 22:48:08 ec43610c2a17: Download complete 22:48:08 5eb5b503b376: Verifying Checksum 22:48:08 5eb5b503b376: Download complete 22:48:09 2f39f015ded8: Download complete 22:48:10 5eb5b503b376: Pull complete 22:48:10 5c69ac0246d0: Pull complete 22:48:10 ec43610c2a17: Pull complete 22:48:10 3a2ae6a8a46f: Pull complete 22:48:11 33b1e0a273af: Pull complete 22:48:11 5d3b04190fa2: Pull complete 22:48:16 2f39f015ded8: Pull complete 22:48:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:48:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:48:16 prd-ubuntu20.04-docker-8c-8g-63976 does not seem to be running inside a container 22:48:16 $ 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 22:48:19 $ docker top d43b3a0165169d954fe566bf55f837f8210dacc4a02b06c4b79e597cc8382a41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:19 ---> job-cost.sh 22:48:19 lf-activate-venv: SKIPPING 22:48:19 INFO: No Stack... 22:48:19 INFO: Retrieving Pricing Info for: v3-standard-8 22:48:20 INFO: Archiving Costs [Pipeline] sh 22:48:20 + cat /w/workspace/undry_go-mod-configuration_PR-56/archives/cost.csv 22:48:20 + cut -d, -f6 [Pipeline] lock 22:48:20 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] 22:48:20 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] did not exist. Created. 22:48:20 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:21 + echo total: 0.2199999988079071 [Pipeline] stash 22:48:21 Stashed 1 file(s) [Pipeline] } 22:48:21 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] [Pipeline] // lock [Pipeline] } 22:48:21 $ docker stop --time=1 d43b3a0165169d954fe566bf55f837f8210dacc4a02b06c4b79e597cc8382a41 22:48:22 $ docker rm -f d43b3a0165169d954fe566bf55f837f8210dacc4a02b06c4b79e597cc8382a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:22 Failed in branch amd64 22:49:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63977 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] ws 22:49:28 Running in /w/workspace/go-mod-configuration/12 [Pipeline] { [Pipeline] checkout 22:49:28 Selected Git installation does not exist. Using Default 22:49:28 The recommended git tool is: NONE 22:49:34 using credential edgex-jenkins-ssh 22:49:34 Cloning the remote Git repository 22:49:34 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:49:34 > git init /w/workspace/go-mod-configuration/12 # timeout=10 22:49:34 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:49:34 > git --version # timeout=10 22:49:34 > git --version # 'git version 2.25.1' 22:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:35 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:49:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:35 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:49:35 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:49:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:35 > 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 22:49:36 Merging remotes/origin/main commit c44b94c69ca174849017c79fc7be7c3d2542e424 into PR head commit ff207feb3b42f270eca607e7ab07e7e08a46a137 22:49:36 Merge succeeded, producing ff207feb3b42f270eca607e7ab07e7e08a46a137 22:49:36 Checking out Revision ff207feb3b42f270eca607e7ab07e7e08a46a137 (PR-56) 22:49:36 > git config core.sparsecheckout # timeout=10 22:49:36 > git checkout -f ff207feb3b42f270eca607e7ab07e7e08a46a137 # timeout=10 22:49:36 > git remote # timeout=10 22:49:36 > git config --get remote.origin.url # timeout=10 22:49:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:36 > git merge c44b94c69ca174849017c79fc7be7c3d2542e424 # timeout=10 22:49:36 > git rev-parse HEAD^{commit} # timeout=10 22:49:36 > git config core.sparsecheckout # timeout=10 22:49:36 > git checkout -f ff207feb3b42f270eca607e7ab07e7e08a46a137 # timeout=10 22:49:40 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:49:41 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:41 Dload Upload Total Spent Left Speed 22:49:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 22:49:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:49:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:49:42 + sudo tee /etc/docker/daemon.new 22:49:42 { 22:49:42 "registry-mirrors": [ 22:49:42 "https://nexus3.edgexfoundry.org:10001" 22:49:42 ], 22:49:42 "bip": "10.250.0.254/24", 22:49:42 "hosts": [ 22:49:42 "tcp://0.0.0.0:5555", 22:49:42 "unix:///var/run/docker.sock" 22:49:42 ], 22:49:42 "mtu": 1458, 22:49:42 "selinux-enabled": true, 22:49:42 "seccomp-profile": "/etc/docker/seccomp.json" 22:49:42 } [Pipeline] sh 22:49:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:49:43 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:50:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:01 ========================================================= 22:50:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:50:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:50:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:50:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:50:02 9b3977197b4f: Pulling fs layer 22:50:02 1a89e8eeedd5: Pulling fs layer 22:50:02 94645a83ff95: Pulling fs layer 22:50:02 3f3a8bcf1eab: Pulling fs layer 22:50:02 0c92f367c5e7: Pulling fs layer 22:50:02 3096ccb668a1: Pulling fs layer 22:50:02 e8cf19c19ddd: Pulling fs layer 22:50:02 a4caa8a26152: Pulling fs layer 22:50:02 0c92f367c5e7: Waiting 22:50:02 3096ccb668a1: Waiting 22:50:02 e8cf19c19ddd: Waiting 22:50:02 a4caa8a26152: Waiting 22:50:02 3f3a8bcf1eab: Waiting 22:50:02 94645a83ff95: Verifying Checksum 22:50:02 94645a83ff95: Download complete 22:50:02 1a89e8eeedd5: Verifying Checksum 22:50:02 1a89e8eeedd5: Download complete 22:50:02 0c92f367c5e7: Verifying Checksum 22:50:02 0c92f367c5e7: Download complete 22:50:03 3096ccb668a1: Verifying Checksum 22:50:03 3096ccb668a1: Download complete 22:50:03 9b3977197b4f: Verifying Checksum 22:50:03 9b3977197b4f: Download complete 22:50:03 e8cf19c19ddd: Verifying Checksum 22:50:03 e8cf19c19ddd: Download complete 22:50:03 9b3977197b4f: Pull complete 22:50:04 1a89e8eeedd5: Pull complete 22:50:04 94645a83ff95: Pull complete 22:50:04 a4caa8a26152: Verifying Checksum 22:50:04 a4caa8a26152: Download complete 22:50:05 3f3a8bcf1eab: Verifying Checksum 22:50:05 3f3a8bcf1eab: Download complete 22:50:17 3f3a8bcf1eab: Pull complete 22:50:17 0c92f367c5e7: Pull complete 22:50:17 3096ccb668a1: Pull complete 22:50:18 e8cf19c19ddd: Pull complete 22:50:24 a4caa8a26152: Pull complete 22:50:24 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:50:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 22:50:25 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 22:50:25 + docker inspect -f . ci-base-image-arm64 22:50:25 . [Pipeline] withDockerContainer 22:50:25 prd-ubuntu20.04-docker-arm64-4c-16g-63977 does not seem to be running inside a container 22:50:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/12 -v /w/workspace/go-mod-configuration/12:/w/workspace/go-mod-configuration/12:rw,z -v /w/workspace/go-mod-configuration/12@tmp:/w/workspace/go-mod-configuration/12@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 22:50:28 $ docker top f16184742b83f11cde8e2ecb20a9c48a2ae4cc894de768ef4267794a74c11f6a -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:29 + go version 22:50:29 go version go1.17.6 linux/arm64 [Pipeline] } 22:50:29 $ docker stop --time=1 f16184742b83f11cde8e2ecb20a9c48a2ae4cc894de768ef4267794a74c11f6a 22:50:31 $ docker rm -f f16184742b83f11cde8e2ecb20a9c48a2ae4cc894de768ef4267794a74c11f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker inspect -f . ci-base-image-arm64 22:50:31 . [Pipeline] withDockerContainer 22:50:32 prd-ubuntu20.04-docker-arm64-4c-16g-63977 does not seem to be running inside a container 22:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/12 -v /w/workspace/go-mod-configuration/12:/w/workspace/go-mod-configuration/12:rw,z -v /w/workspace/go-mod-configuration/12@tmp:/w/workspace/go-mod-configuration/12@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 22:50:33 $ docker top 0bf37838a3cae1423b8a48e62509ce15d65e131822c275d976dd90f85765c6ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:50:34 + make test 22:50:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:50:34 go: downloading github.com/pelletier/go-toml v1.9.5 22:50:34 go: downloading github.com/stretchr/testify v1.7.1 22:50:34 go: downloading github.com/hashicorp/consul/api v1.12.0 22:50:34 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:50:35 go: downloading github.com/davecgh/go-spew v1.1.1 22:50:35 go: downloading github.com/pmezard/go-difflib v1.0.0 22:50:35 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:50:35 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:50:35 go: downloading github.com/mitchellh/copystructure v1.0.0 22:50:35 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:50:35 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:50:35 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:50:35 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:50:35 go: downloading github.com/hashicorp/serf v0.9.6 22:50:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:50:35 go: downloading github.com/fatih/color v1.9.0 22:50:35 go: downloading github.com/mattn/go-isatty v0.0.12 22:50:35 go: downloading github.com/mattn/go-colorable v0.1.6 22:50:35 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 22:50:35 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:50:35 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:50:35 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:51:08 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.019s coverage: 85.7% of statements 22:51:12 2022/05/17 22:51:05 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:51:12 2022/05/17 22:51:05 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:51:12 2022/05/17 22:51:05 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:51:12 2022/05/17 22:51:06 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:51:12 2022/05/17 22:51:07 edgex/core/1.0/consulUnitTest825582199/Logging/ changed 22:51:12 --- FAIL: TestAccessToken (0.00s) 22:51:12 client_test.go:606: 22:51:12 Error Trace: client_test.go:606 22:51:12 Error: Error message not equal: 22:51:12 expected: "unable to get value for edgex/core/1.0/consulUnitTest338086487/testAccess from Consul: Unexpected response code: 403" 22:51:12 actual : "unable to get value for edgex/core/1.0/consulUnitTest338086487/testAccess from Consul: Unexpected response code: 403 ()" 22:51:12 Test: TestAccessToken 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 2022/05/17 22:51:08 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 22:51:12 2022/05/17 22:51:08 edgex/core/1.0/consulUnitTest825582199/Logging/ changed 22:51:12 2022/05/17 22:51:09 edgex/core/1.0/RenewAccessToken-Test/ changed 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 RenewAccessToken called 22:51:12 WatchForChanges update received 22:51:12 2022/05/17 22:51:10 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:51:12 2022/05/17 22:51:10 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:51:12 2022/05/17 22:51:11 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 22:51:12 FAIL 22:51:12 coverage: 88.3% of statements 22:51:12 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.738s 22:51:12 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.021s coverage: 100.0% of statements 22:51:12 FAIL 22:51:12 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 22:51:12 $ docker stop --time=1 0bf37838a3cae1423b8a48e62509ce15d65e131822c275d976dd90f85765c6ed 22:51:14 $ docker rm -f 0bf37838a3cae1423b8a48e62509ce15d65e131822c275d976dd90f85765c6ed [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 22:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:15 22:51:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:16 arm64: Pulling from edgex-lftools-log-publisher 22:51:16 8998bd30e6a1: Pulling fs layer 22:51:16 04944245beec: Pulling fs layer 22:51:16 699f458cf7ca: Pulling fs layer 22:51:16 765212b225bb: Pulling fs layer 22:51:16 f23df028b6ca: Pulling fs layer 22:51:16 d65c8cfc05b1: Pulling fs layer 22:51:16 2437ff75d9bd: Pulling fs layer 22:51:16 f23df028b6ca: Waiting 22:51:16 d65c8cfc05b1: Waiting 22:51:16 2437ff75d9bd: Waiting 22:51:16 765212b225bb: Waiting 22:51:16 04944245beec: Verifying Checksum 22:51:16 04944245beec: Download complete 22:51:16 765212b225bb: Verifying Checksum 22:51:16 765212b225bb: Download complete 22:51:16 f23df028b6ca: Verifying Checksum 22:51:16 f23df028b6ca: Download complete 22:51:16 d65c8cfc05b1: Verifying Checksum 22:51:16 d65c8cfc05b1: Download complete 22:51:16 699f458cf7ca: Verifying Checksum 22:51:16 699f458cf7ca: Download complete 22:51:16 8998bd30e6a1: Verifying Checksum 22:51:19 2437ff75d9bd: Verifying Checksum 22:51:19 2437ff75d9bd: Download complete 22:51:20 8998bd30e6a1: Pull complete 22:51:21 04944245beec: Pull complete 22:51:22 699f458cf7ca: Pull complete 22:51:22 765212b225bb: Pull complete 22:51:23 f23df028b6ca: Pull complete 22:51:24 d65c8cfc05b1: Pull complete 22:51:39 2437ff75d9bd: Pull complete 22:51:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:51:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:51:39 prd-ubuntu20.04-docker-arm64-4c-16g-63977 does not seem to be running inside a container 22:51:39 $ 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/12 -v /w/workspace/go-mod-configuration/12:/w/workspace/go-mod-configuration/12:rw,z -v /w/workspace/go-mod-configuration/12@tmp:/w/workspace/go-mod-configuration/12@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 22:51:42 $ docker top ea5879e2024da6f6f87796e89bebed17e801b834561fed3ed69c4ae0915d2d9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:42 ---> job-cost.sh 22:51:42 lf-activate-venv: SKIPPING 22:51:42 INFO: No Stack... 22:51:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:51:44 INFO: Archiving Costs [Pipeline] sh 22:51:45 + cat /w/workspace/go-mod-configuration/12/archives/cost.csv 22:51:45 + cut -d, -f6 [Pipeline] lock 22:51:45 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] 22:51:45 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] did not exist. Created. 22:51:45 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:45 /w/workspace/go-mod-configuration/12@tmp/durable-86b18555/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:51:46 + echo total: 0.10999999940395355 [Pipeline] stash 22:51:46 Warning: overwriting stash ‘stack-cost’ 22:51:47 Stashed 1 file(s) [Pipeline] } 22:51:47 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-12-stack-cost] [Pipeline] // lock [Pipeline] } 22:51:47 $ docker stop --time=1 ea5879e2024da6f6f87796e89bebed17e801b834561fed3ed69c4ae0915d2d9a 22:51:48 $ docker rm -f ea5879e2024da6f6f87796e89bebed17e801b834561fed3ed69c4ae0915d2d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:51:48 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 22:51:49 + [ -d /w/workspace/undry_go-mod-configuration_PR-56/archives ] 22:51:49 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 22:51:49 total 16 22:51:49 drwxr-xr-x 3 root root 4096 May 17 22:48 . 22:51:49 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:48 .. 22:51:49 drwxr-xr-x 2 root root 4096 May 17 22:48 cost 22:51:49 -rw-r--r-- 1 root root 91 May 17 22:48 cost.csv 22:51:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-56/archives 22:51:49 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 22:51:49 total 16 22:51:49 drwxr-xr-x 3 jenkins jenkins 4096 May 17 22:48 . 22:51:49 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:48 .. 22:51:49 drwxr-xr-x 2 jenkins jenkins 4096 May 17 22:48 cost 22:51:49 -rw-r--r-- 1 jenkins jenkins 91 May 17 22:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:51:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:51:50 ---> package-listing.sh 22:51:50 ++ tr '[:upper:]' '[:lower:]' 22:51:50 ++ facter osfamily 22:51:51 + OS_FAMILY=debian 22:51:51 + workspace=/w/workspace/undry_go-mod-configuration_PR-56 22:51:51 + START_PACKAGES=/tmp/packages_start.txt 22:51:51 + END_PACKAGES=/tmp/packages_end.txt 22:51:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:51:51 + PACKAGES=/tmp/packages_start.txt 22:51:51 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 22:51:51 + PACKAGES=/tmp/packages_end.txt 22:51:51 + case "${OS_FAMILY}" in 22:51:51 + dpkg -l 22:51:51 + grep '^ii' 22:51:51 + '[' -f /tmp/packages_start.txt ']' 22:51:51 + '[' -f /tmp/packages_end.txt ']' 22:51:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:51:51 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 22:51:51 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-56/archives/ 22:51:51 + 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 22:51:51 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 22:51:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:51:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:51 . [Pipeline] withDockerContainer 22:51:51 prd-ubuntu20.04-docker-8c-8g-63976 does not seem to be running inside a container 22:51:52 $ 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 22:51:52 $ docker top f51970b4a793426e8befdf7cb4c4d346a36aaf5a1b9775d056b5d09cbcae3cc8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:52 + touch /tmp/pre-build-complete [Pipeline] sh 22:51:52 + mkdir -p /var/log/sysstat [Pipeline] sh 22:51:53 + ls /var/log/sa-host 22:51:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:53 provisioning config files... 22:51:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-56@tmp/config1888954742677975394tmp [Pipeline] { [Pipeline] echo 22:51:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:51:53 ---> create-netrc.sh [Pipeline] } 22:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:51:53 ---> python-tools-install.sh [Pipeline] echo 22:51:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:51:54 ---> sudo-logs.sh 22:51:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:51:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:51:54 ---> job-cost.sh 22:51:54 lf-activate-venv: SKIPPING 22:51:54 DEBUG: total: 0.2199999988079071 22:51:54 INFO: Retrieving Stack Cost... 22:51:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:51:55 INFO: Archiving Costs [Pipeline] echo 22:51:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:51:55 ---> logs-deploy.sh 22:51:55 lf-activate-venv: SKIPPING 22:51:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-56/12 22:51:55 INFO: archiving workspace using pattern(s): 22:51:56 Archives upload complete. 22:51:56 INFO: archiving logs to Nexus