Pull request #153 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from 55b3eb1d44d77bddd6dc1b88d0918289fba16509+9196965e44b5e65f3a9c7c16b5b2f1121f9b9c90 (9138c32e6846ae00a5339411ec850231c0a75963) 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-ssh7298158438732713537.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-ssh16386148970949168544.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-secrets/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-secrets/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14030147642073486594.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 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-ssh4658841680662604356.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-secrets/branches/PR-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-secrets/branches/PR-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5783069804441548228.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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-secrets, 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-secrets-settings PROJECT: go-mod-secrets 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-secrets 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 ‘prd-ubuntu20.04-docker-8c-8g-651’ is offline Running on prd-ubuntu20.04-docker-8c-8g-653 in /w/workspace/gexfoundry_go-mod-secrets_PR-153 [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-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/jakarta commit 9196965e44b5e65f3a9c7c16b5b2f1121f9b9c90 into PR head commit 55b3eb1d44d77bddd6dc1b88d0918289fba16509 Merge succeeded, producing 55b3eb1d44d77bddd6dc1b88d0918289fba16509 Checking out Revision 55b3eb1d44d77bddd6dc1b88d0918289fba16509 (PR-153) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55b3eb1d44d77bddd6dc1b88d0918289fba16509 # 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 9196965e44b5e65f3a9c7c16b5b2f1121f9b9c90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55b3eb1d44d77bddd6dc1b88d0918289fba16509 # timeout=10 Commit message: "docs: Update change-log for 2.1.1 patch release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:58:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:58:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:58:06 ========================================================= 16:58:06 EdgeX Global Pipelines Version Info 16:58:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 856ecbe34fcb800803f0000136a6b2be0ee7c79e # timeout=10 16:58:06 ------------------- 16:58:06 stable info: 16:58:06 ------------------- 16:58:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:58:06 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:58:06 Message: update stable to v1.0.230 16:58:07 ------------------- 16:58:07 experimental info: 16:58:07 ------------------- 16:58:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:58:07 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 16:58:07 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55b3eb1d44d77bddd6dc1b88d0918289fba16509 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55b3eb1 [Pipeline] echo 16:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:58:08 + git rev-list -1 --merges 55b3eb1d44d77bddd6dc1b88d0918289fba16509~1..55b3eb1d44d77bddd6dc1b88d0918289fba16509 [Pipeline] echo 16:58:08 -----------> git rev-list -1 --merges 55b3eb1d44d77bddd6dc1b88d0918289fba16509~1..55b3eb1d44d77bddd6dc1b88d0918289fba16509 55b3eb1d44d77bddd6dc1b88d0918289fba16509 [false] [Pipeline] sh 16:58:08 + git log --format=format:%s -1 55b3eb1d44d77bddd6dc1b88d0918289fba16509 [Pipeline] echo 16:58:08 ========================================================= 16:58:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:58:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:08 + git log --format=format:%s -1 55b3eb1d44d77bddd6dc1b88d0918289fba16509 [Pipeline] echo 16:58:09 [semverPrep] GIT_COMMIT: 55b3eb1d44d77bddd6dc1b88d0918289fba16509, Commit Message: docs: Update change-log for 2.1.1 patch release [Pipeline] echo 16:58:09 [semverPrep] This is not a build commit. [Pipeline] sh 16:58:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:58:09 + grep -v github /etc/ssh/ssh_known_hosts 16:58:09 + [ -e /tmp/ssh_known_hosts ] 16:58:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:58:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:58:09 + sudo tee -a /etc/ssh/ssh_known_hosts 16:58:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:58:10 16:58:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:58:10 latest: Pulling from edgex-devops/py-git-semver 16:58:10 1fe172e4850f: Pulling fs layer 16:58:10 caf521ccaac6: Pulling fs layer 16:58:10 3ead6fa29328: Pulling fs layer 16:58:10 5c2a1cbceb83: Pulling fs layer 16:58:10 a8d5f1318db7: Pulling fs layer 16:58:10 c427282e49a2: Pulling fs layer 16:58:10 1827001aaf11: Pulling fs layer 16:58:10 0714d37db230: Pulling fs layer 16:58:10 ac28cf19c067: Pulling fs layer 16:58:10 ca983d60f3e2: Pulling fs layer 16:58:10 9f894cec8388: Pulling fs layer 16:58:10 a8d5f1318db7: Waiting 16:58:10 5c2a1cbceb83: Waiting 16:58:10 1827001aaf11: Waiting 16:58:10 c427282e49a2: Waiting 16:58:10 0714d37db230: Waiting 16:58:10 ac28cf19c067: Waiting 16:58:10 9f894cec8388: Waiting 16:58:10 caf521ccaac6: Verifying Checksum 16:58:10 caf521ccaac6: Download complete 16:58:10 5c2a1cbceb83: Verifying Checksum 16:58:10 5c2a1cbceb83: Download complete 16:58:10 a8d5f1318db7: Verifying Checksum 16:58:10 a8d5f1318db7: Download complete 16:58:10 c427282e49a2: Verifying Checksum 16:58:10 c427282e49a2: Download complete 16:58:10 3ead6fa29328: Download complete 16:58:10 0714d37db230: Download complete 16:58:10 ac28cf19c067: Download complete 16:58:10 ca983d60f3e2: Verifying Checksum 16:58:10 ca983d60f3e2: Download complete 16:58:10 9f894cec8388: Download complete 16:58:10 1fe172e4850f: Verifying Checksum 16:58:10 1fe172e4850f: Download complete 16:58:11 1827001aaf11: Verifying Checksum 16:58:11 1827001aaf11: Download complete 16:58:12 1fe172e4850f: Pull complete 16:58:12 caf521ccaac6: Pull complete 16:58:12 3ead6fa29328: Pull complete 16:58:13 5c2a1cbceb83: Pull complete 16:58:13 a8d5f1318db7: Pull complete 16:58:13 c427282e49a2: Pull complete 16:58:15 1827001aaf11: Pull complete 16:58:15 0714d37db230: Pull complete 16:58:15 ac28cf19c067: Pull complete 16:58:15 ca983d60f3e2: Pull complete 16:58:15 9f894cec8388: Pull complete 16:58:15 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 16:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:58:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:16 prd-ubuntu20.04-docker-8c-8g-653 does not seem to be running inside a container 16:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-153 -v /w/workspace/gexfoundry_go-mod-secrets_PR-153:/w/workspace/gexfoundry_go-mod-secrets_PR-153:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 16:58:17 $ docker top cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a -eo pid,comm 16:58:17 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). 16:58:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:17 [ssh-agent] Looking for ssh-agent implementation... 16:58:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:17 $ docker exec cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a ssh-agent 16:58:18 SSH_AUTH_SOCK=/tmp/ssh-DExZD9tx1ac9/agent.27 16:58:18 SSH_AGENT_PID=38 16:58:18 Running ssh-add (command line suppressed) 16:58:18 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/private_key_9069427959822307890.key (/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/private_key_9069427959822307890.key) 16:58:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:18 + git tag --points-at HEAD [Pipeline] } 16:58:18 $ docker exec --env ******** --env ******** cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a ssh-agent -k 16:58:18 unset SSH_AUTH_SOCK; 16:58:18 unset SSH_AGENT_PID; 16:58:18 echo Agent pid 38 killed; 16:58:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:58:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:18 [ssh-agent] Looking for ssh-agent implementation... 16:58:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:18 $ docker exec cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a ssh-agent 16:58:18 SSH_AUTH_SOCK=/tmp/ssh-08ykXuMCwYs3/agent.70 16:58:18 SSH_AGENT_PID=77 16:58:18 Running ssh-add (command line suppressed) 16:58:19 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/private_key_4236932972098315027.key (/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/private_key_4236932972098315027.key) 16:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:19 + git semver init 16:58:19 2022-06-02 16:58:19,586 [run_init] DEBUG init version:0.0.0 force:False 16:58:19 2022-06-02 16:58:19,587 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver 16:58:19 2022-06-02 16:58:19,588 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver 16:58:19 2022-06-02 16:58:19,588 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-153, universal_newlines=False, shell=None, istream=None) 16:58:20 2022-06-02 16:58:20,246 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-153/.git/info/exclude 16:58:20 2022-06-02 16:58:20,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver/PR-153 with force:False 16:58:20 2022-06-02 16:58:20,247 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver/PR-153 16:58:20 2022-06-02 16:58:20,250 [execute] INFO git cat-file --batch-check 16:58:20 2022-06-02 16:58:20,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver, universal_newlines=False, shell=None, istream=) 16:58:20 2022-06-02 16:58:20,257 [execute] INFO git cat-file --batch 16:58:20 2022-06-02 16:58:20,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver, universal_newlines=False, shell=None, istream=) 16:58:20 2022-06-02 16:58:20,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-153/.semver/PR-153 16:58:20 0.0.0 [Pipeline] } 16:58:20 $ docker exec --env ******** --env ******** cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a ssh-agent -k 16:58:20 unset SSH_AUTH_SOCK; 16:58:20 unset SSH_AGENT_PID; 16:58:20 echo Agent pid 77 killed; 16:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:21 + git semver [Pipeline] } 16:58:21 $ docker stop --time=1 cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a 16:58:22 $ docker rm -f cb2309ca2614c814c56b05133fb617af6dc863a8881c320621a1ea0cea1a605a [Pipeline] // withDockerContainer [Pipeline] sh 16:58:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:58:23 Stashed 1 file(s) [Pipeline] echo 16:58:23 [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 16:58:23 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:23 ========================================================= 16:58:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 16:58:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:58:23 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 16:58:23 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 16:58:23 59bf1c3509f3: Pulling fs layer 16:58:23 666ba61612fd: Pulling fs layer 16:58:23 8ed8ca486205: Pulling fs layer 16:58:23 4fe6c5a15a65: Pulling fs layer 16:58:23 22a0e8bec74d: Pulling fs layer 16:58:23 812f408151ee: Pulling fs layer 16:58:23 bab7bd504b26: Pulling fs layer 16:58:23 070449caade9: Pulling fs layer 16:58:23 8f1a5288e3a6: Pulling fs layer 16:58:23 812f408151ee: Waiting 16:58:23 4fe6c5a15a65: Waiting 16:58:23 bab7bd504b26: Waiting 16:58:23 22a0e8bec74d: Waiting 16:58:23 070449caade9: Waiting 16:58:23 8f1a5288e3a6: Waiting 16:58:23 8ed8ca486205: Verifying Checksum 16:58:23 8ed8ca486205: Download complete 16:58:23 666ba61612fd: Verifying Checksum 16:58:23 666ba61612fd: Download complete 16:58:23 22a0e8bec74d: Download complete 16:58:23 812f408151ee: Verifying Checksum 16:58:23 812f408151ee: Download complete 16:58:23 bab7bd504b26: Verifying Checksum 16:58:23 bab7bd504b26: Download complete 16:58:23 59bf1c3509f3: Verifying Checksum 16:58:23 59bf1c3509f3: Download complete 16:58:24 070449caade9: Verifying Checksum 16:58:24 070449caade9: Download complete 16:58:24 59bf1c3509f3: Pull complete 16:58:24 666ba61612fd: Pull complete 16:58:24 8ed8ca486205: Pull complete 16:58:24 4fe6c5a15a65: Verifying Checksum 16:58:24 4fe6c5a15a65: Download complete 16:58:24 8f1a5288e3a6: Verifying Checksum 16:58:24 8f1a5288e3a6: Download complete 16:58:28 4fe6c5a15a65: Pull complete 16:58:28 22a0e8bec74d: Pull complete 16:58:28 812f408151ee: Pull complete 16:58:29 bab7bd504b26: Pull complete 16:58:29 070449caade9: Pull complete 16:58:31 8f1a5288e3a6: Pull complete 16:58:31 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 16:58:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 16:58:31 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [Pipeline] sh 16:58:32 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:32 + docker inspect -f . ci-base-image-x86_64 16:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:32 prd-ubuntu20.04-docker-8c-8g-653 does not seem to be running inside a container 16:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-153 -v /w/workspace/gexfoundry_go-mod-secrets_PR-153:/w/workspace/gexfoundry_go-mod-secrets_PR-153:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:58:36 $ docker top 1bac19a70ca4f78faeaa0eea5cecbb1bb4e214043e8b8413d27af086f71e2ecb -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:36 + go version 16:58:36 go version go1.17.6 linux/amd64 [Pipeline] } 16:58:36 $ docker stop --time=1 1bac19a70ca4f78faeaa0eea5cecbb1bb4e214043e8b8413d27af086f71e2ecb 16:58:38 $ docker rm -f 1bac19a70ca4f78faeaa0eea5cecbb1bb4e214043e8b8413d27af086f71e2ecb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:38 Still waiting to schedule task 16:58:38 + docker inspect -f . ci-base-image-x86_64 16:58:38 . 16:58:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-652’ is offline [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:38 prd-ubuntu20.04-docker-8c-8g-653 does not seem to be running inside a container 16:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-153 -v /w/workspace/gexfoundry_go-mod-secrets_PR-153:/w/workspace/gexfoundry_go-mod-secrets_PR-153:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:58:39 $ docker top 6c9409c90a2d88a2dfb5ac943bbd586bf8ba85cbc1cda2857f54e09f4f4ccdf6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:58:39 + make test 16:58:39 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.451s coverage: 80.8% of statements 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.081s coverage: 57.1% of statements 16:59:01 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.065s coverage: 96.7% of statements 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.041s coverage: 89.5% of statements 16:59:01 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.029s coverage: 100.0% of statements 16:59:01 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.023s coverage: 85.7% of statements 16:59:01 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.057s coverage: 100.0% of statements 16:59:01 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 16:59:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:59:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:59:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 16:59:04 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:59:05 + go mod tidy 16:59:05 go: downloading github.com/stretchr/testify v1.7.0 16:59:05 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 16:59:05 go: downloading github.com/davecgh/go-spew v1.1.1 16:59:05 go: downloading github.com/stretchr/objx v0.1.1 16:59:05 go: downloading github.com/pmezard/go-difflib v1.0.0 16:59:05 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:59:05 go: downloading github.com/google/uuid v1.3.0 16:59:05 go: downloading github.com/go-kit/kit v0.11.0 16:59:05 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:59:05 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:59:05 go: downloading github.com/kr/pretty v0.3.0 16:59:05 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:59:05 go: downloading github.com/kr/text v0.2.0 16:59:05 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:59:05 go: downloading github.com/leodido/go-urn v1.2.1 16:59:05 go: downloading github.com/go-playground/universal-translator v0.18.0 16:59:05 go: downloading golang.org/x/text v0.3.6 16:59:05 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:59:05 go: downloading github.com/go-playground/locales v0.14.0 16:59:05 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:59:05 go: downloading github.com/go-stack/stack v1.8.0 16:59:05 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [Pipeline] } 16:59:06 $ docker stop --time=1 6c9409c90a2d88a2dfb5ac943bbd586bf8ba85cbc1cda2857f54e09f4f4ccdf6 16:59:09 $ docker rm -f 6c9409c90a2d88a2dfb5ac943bbd586bf8ba85cbc1cda2857f54e09f4f4ccdf6 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:59:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:10 16:59:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:10 latest: Pulling from edgex-lftools-log-publisher 16:59:10 5eb5b503b376: Pulling fs layer 16:59:10 5c69ac0246d0: Pulling fs layer 16:59:10 ec43610c2a17: Pulling fs layer 16:59:10 3a2ae6a8a46f: Pulling fs layer 16:59:10 33b1e0a273af: Pulling fs layer 16:59:10 3a2ae6a8a46f: Waiting 16:59:10 5d3b04190fa2: Pulling fs layer 16:59:10 2f39f015ded8: Pulling fs layer 16:59:10 33b1e0a273af: Waiting 16:59:10 5d3b04190fa2: Waiting 16:59:10 5c69ac0246d0: Verifying Checksum 16:59:10 5c69ac0246d0: Download complete 16:59:10 3a2ae6a8a46f: Download complete 16:59:10 33b1e0a273af: Verifying Checksum 16:59:10 33b1e0a273af: Download complete 16:59:10 5d3b04190fa2: Verifying Checksum 16:59:10 5d3b04190fa2: Download complete 16:59:10 ec43610c2a17: Verifying Checksum 16:59:10 ec43610c2a17: Download complete 16:59:10 5eb5b503b376: Verifying Checksum 16:59:10 5eb5b503b376: Download complete 16:59:11 2f39f015ded8: Verifying Checksum 16:59:11 2f39f015ded8: Download complete 16:59:12 5eb5b503b376: Pull complete 16:59:12 5c69ac0246d0: Pull complete 16:59:12 ec43610c2a17: Pull complete 16:59:12 3a2ae6a8a46f: Pull complete 16:59:13 33b1e0a273af: Pull complete 16:59:13 5d3b04190fa2: Pull complete 16:59:18 2f39f015ded8: Pull complete 16:59:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:18 prd-ubuntu20.04-docker-8c-8g-653 does not seem to be running inside a container 16:59:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-153 -v /w/workspace/gexfoundry_go-mod-secrets_PR-153:/w/workspace/gexfoundry_go-mod-secrets_PR-153:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:59:20 $ docker top 09ec5ae940564eb7369193e86d5b8d5091a8eb39a377707ab72a0192a48ddb14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:20 ---> job-cost.sh 16:59:20 lf-activate-venv: SKIPPING 16:59:20 INFO: No Stack... 16:59:21 INFO: Retrieving Pricing Info for: v3-standard-8 16:59:21 INFO: Archiving Costs [Pipeline] sh 16:59:21 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives/cost.csv 16:59:21 + cut -d, -f6 [Pipeline] lock 16:59:21 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] 16:59:21 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] did not exist. Created. 16:59:21 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:59:22 + echo total: 0.2199999988079071 [Pipeline] stash 16:59:22 Stashed 1 file(s) [Pipeline] } 16:59:22 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:59:22 $ docker stop --time=1 09ec5ae940564eb7369193e86d5b8d5091a8eb39a377707ab72a0192a48ddb14 16:59:23 $ docker rm -f 09ec5ae940564eb7369193e86d5b8d5091a8eb39a377707ab72a0192a48ddb14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:00:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-655 in /w/workspace/gexfoundry_go-mod-secrets_PR-153 [Pipeline] { [Pipeline] ws 17:00:15 Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout 17:00:15 Selected Git installation does not exist. Using Default 17:00:15 The recommended git tool is: NONE 17:00:21 using credential edgex-jenkins-ssh 17:00:21 Cloning the remote Git repository 17:00:21 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 17:00:21 > git init /w/workspace/go-mod-secrets/2 # timeout=10 17:00:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 17:00:22 > git --version # timeout=10 17:00:22 > git --version # 'git version 2.25.1' 17:00:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 17:00:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 17:00:23 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 17:00:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 17:00:23 Merging remotes/origin/jakarta commit 9196965e44b5e65f3a9c7c16b5b2f1121f9b9c90 into PR head commit 55b3eb1d44d77bddd6dc1b88d0918289fba16509 17:00:23 Merge succeeded, producing 55b3eb1d44d77bddd6dc1b88d0918289fba16509 17:00:23 Checking out Revision 55b3eb1d44d77bddd6dc1b88d0918289fba16509 (PR-153) 17:00:23 > git config core.sparsecheckout # timeout=10 17:00:23 > git checkout -f 55b3eb1d44d77bddd6dc1b88d0918289fba16509 # timeout=10 17:00:23 > git remote # timeout=10 17:00:23 > git config --get remote.origin.url # timeout=10 17:00:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:23 > git merge 9196965e44b5e65f3a9c7c16b5b2f1121f9b9c90 # timeout=10 17:00:23 > git rev-parse HEAD^{commit} # timeout=10 17:00:23 > git config core.sparsecheckout # timeout=10 17:00:23 > git checkout -f 55b3eb1d44d77bddd6dc1b88d0918289fba16509 # timeout=10 17:00:28 Commit message: "docs: Update change-log for 2.1.1 patch release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:28 Dload Upload Total Spent Left Speed 17:00:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 17:00:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:30 + sudo tee /etc/docker/daemon.new 17:00:30 { 17:00:30 "registry-mirrors": [ 17:00:30 "https://nexus3.edgexfoundry.org:10001" 17:00:30 ], 17:00:30 "bip": "10.250.0.254/24", 17:00:30 "hosts": [ 17:00:30 "tcp://0.0.0.0:5555", 17:00:30 "unix:///var/run/docker.sock" 17:00:30 ], 17:00:30 "mtu": 1458, 17:00:30 "selinux-enabled": true, 17:00:30 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:30 } [Pipeline] sh 17:00:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:30 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:00:49 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:49 ========================================================= 17:00:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 17:00:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:00:49 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 17:00:50 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 17:00:50 9b3977197b4f: Pulling fs layer 17:00:50 1a89e8eeedd5: Pulling fs layer 17:00:50 94645a83ff95: Pulling fs layer 17:00:50 3f3a8bcf1eab: Pulling fs layer 17:00:50 0c92f367c5e7: Pulling fs layer 17:00:50 63b1bc5785f6: Pulling fs layer 17:00:50 626d30ff41c6: Pulling fs layer 17:00:50 de1d54c125be: Pulling fs layer 17:00:50 0c92f367c5e7: Waiting 17:00:50 63b1bc5785f6: Waiting 17:00:50 3f3a8bcf1eab: Waiting 17:00:50 626d30ff41c6: Waiting 17:00:50 94645a83ff95: Verifying Checksum 17:00:50 94645a83ff95: Download complete 17:00:50 1a89e8eeedd5: Verifying Checksum 17:00:50 1a89e8eeedd5: Download complete 17:00:50 0c92f367c5e7: Verifying Checksum 17:00:50 0c92f367c5e7: Download complete 17:00:50 63b1bc5785f6: Verifying Checksum 17:00:50 63b1bc5785f6: Download complete 17:00:50 626d30ff41c6: Verifying Checksum 17:00:50 626d30ff41c6: Download complete 17:00:50 9b3977197b4f: Verifying Checksum 17:00:50 9b3977197b4f: Download complete 17:00:51 9b3977197b4f: Pull complete 17:00:51 1a89e8eeedd5: Pull complete 17:00:52 94645a83ff95: Pull complete 17:00:52 de1d54c125be: Verifying Checksum 17:00:52 de1d54c125be: Download complete 17:00:53 3f3a8bcf1eab: Verifying Checksum 17:00:53 3f3a8bcf1eab: Download complete 17:01:05 3f3a8bcf1eab: Pull complete 17:01:05 0c92f367c5e7: Pull complete 17:01:06 63b1bc5785f6: Pull complete 17:01:06 626d30ff41c6: Pull complete 17:01:13 de1d54c125be: Pull complete 17:01:13 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 17:01:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 17:01:13 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [Pipeline] sh 17:01:13 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:13 + docker inspect -f . ci-base-image-arm64 17:01:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:14 prd-ubuntu20.04-docker-arm64-4c-16g-655 does not seem to be running inside a container 17:01:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:01:16 $ docker top 88e1144fa39bde6e2a52032bd3c43846f8ef5d5a3161531930c8993a5ed05d1e -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:17 + go version 17:01:17 go version go1.17.6 linux/arm64 [Pipeline] } 17:01:17 $ docker stop --time=1 88e1144fa39bde6e2a52032bd3c43846f8ef5d5a3161531930c8993a5ed05d1e 17:01:19 $ docker rm -f 88e1144fa39bde6e2a52032bd3c43846f8ef5d5a3161531930c8993a5ed05d1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:20 + docker inspect -f . ci-base-image-arm64 17:01:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:20 prd-ubuntu20.04-docker-arm64-4c-16g-655 does not seem to be running inside a container 17:01:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:01:21 $ docker top b74f7fe36cf56f3d19e3e62355dd08739ad59e593a1a5c650543d0c8daff9c4a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:01:22 + make test 17:01:22 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.398s coverage: 80.8% of statements 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.231s coverage: 57.1% of statements 17:02:59 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.293s coverage: 96.7% of statements 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.070s coverage: 89.5% of statements 17:02:59 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.073s coverage: 100.0% of statements 17:02:59 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.120s coverage: 85.7% of statements 17:02:59 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.308s coverage: 100.0% of statements 17:02:59 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 17:02:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:03:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:03:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:03:09 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 17:03:10 + go mod tidy 17:03:12 go: downloading github.com/stretchr/testify v1.7.0 17:03:12 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 17:03:12 go: downloading github.com/davecgh/go-spew v1.1.1 17:03:12 go: downloading github.com/pmezard/go-difflib v1.0.0 17:03:12 go: downloading github.com/stretchr/objx v0.1.1 17:03:12 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:03:12 go: downloading github.com/go-playground/validator/v10 v10.9.0 17:03:12 go: downloading github.com/google/uuid v1.3.0 17:03:12 go: downloading github.com/go-kit/kit v0.11.0 17:03:12 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:03:12 go: downloading github.com/kr/pretty v0.3.0 17:03:12 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:03:12 go: downloading github.com/kr/text v0.2.0 17:03:12 go: downloading github.com/go-playground/universal-translator v0.18.0 17:03:12 go: downloading github.com/leodido/go-urn v1.2.1 17:03:12 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 17:03:12 go: downloading golang.org/x/text v0.3.6 17:03:12 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:03:12 go: downloading github.com/go-playground/locales v0.14.0 17:03:15 go: downloading github.com/go-logfmt/logfmt v0.5.0 17:03:15 go: downloading github.com/go-stack/stack v1.8.0 17:03:15 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [Pipeline] } 17:03:16 $ docker stop --time=1 b74f7fe36cf56f3d19e3e62355dd08739ad59e593a1a5c650543d0c8daff9c4a 17:03:18 $ docker rm -f b74f7fe36cf56f3d19e3e62355dd08739ad59e593a1a5c650543d0c8daff9c4a [Pipeline] // withDockerContainer [Pipeline] sh 17:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:20 Warning: overwriting stash ‘coverage-report’ 17:03:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:21 17:03:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:22 arm64: Pulling from edgex-lftools-log-publisher 17:03:22 8998bd30e6a1: Pulling fs layer 17:03:22 04944245beec: Pulling fs layer 17:03:22 699f458cf7ca: Pulling fs layer 17:03:22 765212b225bb: Pulling fs layer 17:03:22 f23df028b6ca: Pulling fs layer 17:03:22 d65c8cfc05b1: Pulling fs layer 17:03:22 2437ff75d9bd: Pulling fs layer 17:03:22 765212b225bb: Waiting 17:03:22 f23df028b6ca: Waiting 17:03:22 d65c8cfc05b1: Waiting 17:03:22 2437ff75d9bd: Waiting 17:03:22 04944245beec: Verifying Checksum 17:03:22 04944245beec: Download complete 17:03:22 765212b225bb: Verifying Checksum 17:03:22 765212b225bb: Download complete 17:03:22 f23df028b6ca: Verifying Checksum 17:03:22 f23df028b6ca: Download complete 17:03:22 d65c8cfc05b1: Verifying Checksum 17:03:22 d65c8cfc05b1: Download complete 17:03:22 699f458cf7ca: Verifying Checksum 17:03:22 699f458cf7ca: Download complete 17:03:23 8998bd30e6a1: Verifying Checksum 17:03:23 8998bd30e6a1: Download complete 17:03:25 2437ff75d9bd: Verifying Checksum 17:03:25 2437ff75d9bd: Download complete 17:03:27 8998bd30e6a1: Pull complete 17:03:28 04944245beec: Pull complete 17:03:29 699f458cf7ca: Pull complete 17:03:29 765212b225bb: Pull complete 17:03:30 f23df028b6ca: Pull complete 17:03:30 d65c8cfc05b1: Pull complete 17:03:45 2437ff75d9bd: Pull complete 17:03:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:46 prd-ubuntu20.04-docker-arm64-4c-16g-655 does not seem to be running inside a container 17:03:46 $ 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-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:03:48 $ docker top 54e9edb61783618f9f4eee0b5e493f883a703d4124fc10e95c779e6229080215 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:49 ---> job-cost.sh 17:03:49 lf-activate-venv: SKIPPING 17:03:49 INFO: No Stack... 17:03:50 INFO: Retrieving Pricing Info for: v3-standard-4 17:03:51 INFO: Archiving Costs [Pipeline] sh 17:03:51 + cat /w/workspace/go-mod-secrets/2/archives/cost.csv 17:03:51 + cut -d, -f6 [Pipeline] lock 17:03:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] 17:03:51 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] did not exist. Created. 17:03:51 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:03:52 /w/workspace/go-mod-secrets/2@tmp/durable-4517c741/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:03:53 + echo total: 0.10999999940395355 [Pipeline] stash 17:03:53 Warning: overwriting stash ‘stack-cost’ 17:03:53 Stashed 1 file(s) [Pipeline] } 17:03:53 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:03:53 $ docker stop --time=1 54e9edb61783618f9f4eee0b5e493f883a703d4124fc10e95c779e6229080215 17:03:55 $ docker rm -f 54e9edb61783618f9f4eee0b5e493f883a703d4124fc10e95c779e6229080215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:03:55 provisioning config files... 17:03:55 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/config3532211794333992796tmp [Pipeline] { [Pipeline] sh 17:03:55 + set +x 17:03:55 + curl -s https://codecov.io/bash 17:03:55 + bash -s -- 17:03:55 17:03:55 _____ _ 17:03:55 / ____| | | 17:03:55 | | ___ __| | ___ ___ _____ __ 17:03:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:03:55 | |___| (_) | (_| | __/ (_| (_) \ V / 17:03:55 \_____\___/ \__,_|\___|\___\___/ \_/ 17:03:55 Bash-1.0.6 17:03:55 17:03:55 17:03:55 ==> git version 2.25.1 found 17:03:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:03:55 Release-Date: 2020-01-08 17:03:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:03:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:03:55 ==> Jenkins CI detected. 17:03:55 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-153 17:03:55 project root: . 17:03:55 --> token set from env 17:03:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:03:55 ==> Running gcov in . (disable via -X gcov) 17:03:55 ==> Python coveragepy not found 17:03:55 ==> Searching for coverage reports in: 17:03:55 + . 17:03:55 -> Found 1 reports 17:03:55 ==> Detecting git/mercurial file structure 17:03:55 ==> Reading reports 17:03:55 + ./coverage.out bytes=27656 17:03:55 ==> Appending adjustments 17:03:55 https://docs.codecov.io/docs/fixing-reports 17:03:56 + Found adjustments 17:03:56 ==> Gzipping contents 17:03:56 8.0K /tmp/codecov.P1avMI.gz 17:03:56 ==> Uploading reports 17:03:56 url: https://codecov.io 17:03:56 query: branch=PR-153&commit=55b3eb1d44d77bddd6dc1b88d0918289fba16509&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-153%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=153&job=&cmd_args= 17:03:56 -> Pinging Codecov 17:03:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-153&commit=55b3eb1d44d77bddd6dc1b88d0918289fba16509&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-153%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=153&job=&cmd_args= 17:03:56 -> Uploading to 17:03:56 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/D63849C06B6B67093493C71CE874ED06/55b3eb1d44d77bddd6dc1b88d0918289fba16509/bcade16b-c79d-4f77-93f2-b96fae4290e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T170356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38a03ff2b297ac9df1bd86c3a46df95d7f29d11117bab9f8d7a3fd34e87b9559 17:03:56 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:56 Dload Upload Total Spent Left Speed 17:03:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7452 0 0 100 7452 0 33719 --:--:-- --:--:-- --:--:-- 33719 17:03:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/55b3eb1d44d77bddd6dc1b88d0918289fba16509 [Pipeline] } 17:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:03:57 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives ] 17:03:57 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives 17:03:57 total 16 17:03:57 drwxr-xr-x 3 root root 4096 Jun 2 16:59 . 17:03:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 16:59 .. 17:03:57 drwxr-xr-x 2 root root 4096 Jun 2 16:59 cost 17:03:57 -rw-r--r-- 1 root root 85 Jun 2 16:59 cost.csv 17:03:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives 17:03:57 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives 17:03:57 total 16 17:03:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 16:59 . 17:03:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 16:59 .. 17:03:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 16:59 cost 17:03:57 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:03:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:03:58 ---> package-listing.sh 17:03:58 ++ facter osfamily 17:03:58 ++ tr '[:upper:]' '[:lower:]' 17:03:58 + OS_FAMILY=debian 17:03:58 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-153 17:03:58 + START_PACKAGES=/tmp/packages_start.txt 17:03:58 + END_PACKAGES=/tmp/packages_end.txt 17:03:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:03:58 + PACKAGES=/tmp/packages_start.txt 17:03:58 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-153 ']' 17:03:58 + PACKAGES=/tmp/packages_end.txt 17:03:58 + case "${OS_FAMILY}" in 17:03:58 + dpkg -l 17:03:58 + grep '^ii' 17:03:58 + '[' -f /tmp/packages_start.txt ']' 17:03:58 + '[' -f /tmp/packages_end.txt ']' 17:03:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:03:58 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-153 ']' 17:03:58 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives/ 17:03:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-153/archives/ [Pipeline] echo 17:03:58 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/gexfoundry_go-mod-secrets_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:03:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:59 prd-ubuntu20.04-docker-8c-8g-653 does not seem to be running inside a container 17:03:59 $ 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/gexfoundry_go-mod-secrets_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-153 -v /w/workspace/gexfoundry_go-mod-secrets_PR-153:/w/workspace/gexfoundry_go-mod-secrets_PR-153:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:03:59 $ docker top 1814bffa10f9c27dee4aa0dd0d5ac39554a7a98a82052a64f6432beb5d5b65ba -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:00 + touch /tmp/pre-build-complete [Pipeline] sh 17:04:00 + mkdir -p /var/log/sysstat [Pipeline] sh 17:04:00 + ls /var/log/sa-host 17:04:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:04:00 provisioning config files... 17:04:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-153@tmp/config2880626876824391696tmp [Pipeline] { [Pipeline] echo 17:04:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:04:01 ---> create-netrc.sh [Pipeline] } 17:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:04:01 ---> python-tools-install.sh [Pipeline] echo 17:04:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:04:01 ---> sudo-logs.sh 17:04:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:04:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:04:02 ---> job-cost.sh 17:04:02 lf-activate-venv: SKIPPING 17:04:02 DEBUG: total: 0.2199999988079071 17:04:02 INFO: Retrieving Stack Cost... 17:04:02 INFO: Retrieving Pricing Info for: v3-standard-8 17:04:02 INFO: Archiving Costs [Pipeline] echo 17:04:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:04:03 ---> logs-deploy.sh 17:04:03 lf-activate-venv: SKIPPING 17:04:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-153/2 17:04:03 INFO: archiving workspace using pattern(s): 17:04:04 Archives upload complete. 17:04:04 INFO: archiving logs to Nexus