Pull request #146 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 gao270615179 for edgexfoundry/go-mod-secrets Loading trusted files from base branch main at 8f104b71a102e4674541637bb48d3aebbae959de rather than 5b8052dfcdec35940675e7ac5434078c98c9e4af Obtained Jenkinsfile from 8f104b71a102e4674541637bb48d3aebbae959de 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-ssh3279034255804384785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1086476802846324454.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-146/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-secrets/branches/PR-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7252167626399825494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6321377678777621090.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-secrets/branches/PR-146/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-secrets/branches/PR-146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh862154539861767566.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-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21887 in /w/workspace/gexfoundry_go-mod-secrets_PR-146 [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-146 # 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/main commit 8f104b71a102e4674541637bb48d3aebbae959de into PR head commit 5b8052dfcdec35940675e7ac5434078c98c9e4af Merge succeeded, producing 5b8052dfcdec35940675e7ac5434078c98c9e4af Checking out Revision 5b8052dfcdec35940675e7ac5434078c98c9e4af (PR-146) > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # 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 8f104b71a102e4674541637bb48d3aebbae959de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # timeout=10 Commit message: "fix: close response Body when the returned error is nil" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:37:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:37:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:37:16 ========================================================= 08:37:16 EdgeX Global Pipelines Version Info 08:37:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0379d1ceefd8ad146fce7fba6de06d0366c32c3e # timeout=10 08:37:17 ------------------- 08:37:17 stable info: 08:37:17 ------------------- 08:37:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:37:17 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:37:17 Message: update stable to v1.0.221 08:37:17 ------------------- 08:37:17 experimental info: 08:37:17 ------------------- 08:37:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:37:17 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:37:17 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b8052d [Pipeline] echo 08:37:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:37:18 + git rev-list -1 --merges 5b8052dfcdec35940675e7ac5434078c98c9e4af~1..5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo 08:37:18 -----------> git rev-list -1 --merges 5b8052dfcdec35940675e7ac5434078c98c9e4af~1..5b8052dfcdec35940675e7ac5434078c98c9e4af 5b8052dfcdec35940675e7ac5434078c98c9e4af [false] [Pipeline] sh 08:37:19 + git log --format=format:%s -1 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo 08:37:19 ========================================================= 08:37:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:37:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:19 + git log --format=format:%s -1 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo 08:37:19 [semverPrep] GIT_COMMIT: 5b8052dfcdec35940675e7ac5434078c98c9e4af, Commit Message: fix: close response Body when the returned error is nil [Pipeline] echo 08:37:19 [semverPrep] This is not a build commit. [Pipeline] sh 08:37:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:37:20 + grep -v github /etc/ssh/ssh_known_hosts 08:37:20 + [ -e /tmp/ssh_known_hosts ] 08:37:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:37:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:37:20 + sudo tee -a /etc/ssh/ssh_known_hosts 08:37:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:20 08:37:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:37:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:21 latest: Pulling from edgex-devops/git-semver 08:37:21 a0d0a0d46f8b: Pulling fs layer 08:37:21 3e5f54012d9b: Pulling fs layer 08:37:21 4c7163046ea9: Pulling fs layer 08:37:21 0c2d73faf560: Pulling fs layer 08:37:21 0c2d73faf560: Waiting 08:37:21 3e5f54012d9b: Verifying Checksum 08:37:21 3e5f54012d9b: Download complete 08:37:21 a0d0a0d46f8b: Download complete 08:37:21 0c2d73faf560: Verifying Checksum 08:37:21 0c2d73faf560: Download complete 08:37:21 4c7163046ea9: Verifying Checksum 08:37:21 4c7163046ea9: Download complete 08:37:21 a0d0a0d46f8b: Pull complete 08:37:21 3e5f54012d9b: Pull complete 08:37:21 4c7163046ea9: Pull complete 08:37:21 0c2d73faf560: Pull complete 08:37:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:37:21 prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container 08:37:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-146 -v /w/workspace/gexfoundry_go-mod-secrets_PR-146:/w/workspace/gexfoundry_go-mod-secrets_PR-146:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-146@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:10004/edgex-devops/git-semver:latest cat 08:37:22 $ docker top 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:22 [ssh-agent] Looking for ssh-agent implementation... 08:37:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:22 $ docker exec 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent 08:37:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNAbIEh/agent.13 08:37:23 SSH_AGENT_PID=19 08:37:23 Running ssh-add (command line suppressed) 08:37:23 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/private_key_8568400219667813165.key (/w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/private_key_8568400219667813165.key) 08:37:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:23 + git tag --points-at HEAD [Pipeline] } 08:37:23 $ docker exec --env ******** --env ******** 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent -k 08:37:23 unset SSH_AUTH_SOCK; 08:37:23 unset SSH_AGENT_PID; 08:37:23 echo Agent pid 19 killed; 08:37:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:37:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:23 [ssh-agent] Looking for ssh-agent implementation... 08:37:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:23 $ docker exec 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent 08:37:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXandndl/agent.52 08:37:23 SSH_AGENT_PID=59 08:37:23 Running ssh-add (command line suppressed) 08:37:24 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/private_key_1439673191811265030.key (/w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/private_key_1439673191811265030.key) 08:37:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:24 + git semver init 08:37:24 # -> Open(): unable to determine branch for HEAD 08:37:24 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-146/.git 08:37:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-146 08:37:24 # $SEMVER_REMOTE_NAME = origin 08:37:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:37:24 # $SEMVER_USER_NAME = edgex-jenkins 08:37:24 # $SEMVER_BRANCH = PR-146 08:37:24 # $SEMVER_TEMP = /tmp/semver-956965245 08:37:24 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 08:37:24 # '/tmp/semver-956965245' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-146/.semver' 08:37:24 # -> Force: false 08:37:24 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-146/.semver [Pipeline] } 08:37:24 $ docker exec --env ******** --env ******** 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent -k 08:37:25 unset SSH_AUTH_SOCK; 08:37:25 unset SSH_AGENT_PID; 08:37:25 echo Agent pid 59 killed; 08:37:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:25 + git semver [Pipeline] } 08:37:25 $ docker stop --time=1 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b 08:37:26 $ docker rm -f 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b [Pipeline] // withDockerContainer [Pipeline] sh 08:37:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:37:27 Stashed 1 file(s) [Pipeline] echo 08:37:27 [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 08:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:37:27 ========================================================= 08:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:37:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 08:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:37:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:37:27 59bf1c3509f3: Pulling fs layer 08:37:27 666ba61612fd: Pulling fs layer 08:37:27 8ed8ca486205: Pulling fs layer 08:37:27 4fe6c5a15a65: Pulling fs layer 08:37:27 22a0e8bec74d: Pulling fs layer 08:37:27 ca2b28591e48: Pulling fs layer 08:37:27 a51346096db8: Pulling fs layer 08:37:27 daebc70d1ce1: Pulling fs layer 08:37:27 0e18a0eac166: Pulling fs layer 08:37:27 a51346096db8: Waiting 08:37:27 ca2b28591e48: Waiting 08:37:27 4fe6c5a15a65: Waiting 08:37:27 0e18a0eac166: Waiting 08:37:27 8ed8ca486205: Verifying Checksum 08:37:27 8ed8ca486205: Download complete 08:37:27 666ba61612fd: Download complete 08:37:27 22a0e8bec74d: Verifying Checksum 08:37:27 22a0e8bec74d: Download complete 08:37:27 ca2b28591e48: Download complete 08:37:27 a51346096db8: Download complete 08:37:27 59bf1c3509f3: Verifying Checksum 08:37:27 59bf1c3509f3: Download complete 08:37:27 daebc70d1ce1: Verifying Checksum 08:37:27 daebc70d1ce1: Download complete 08:37:28 59bf1c3509f3: Pull complete 08:37:28 666ba61612fd: Pull complete 08:37:28 8ed8ca486205: Pull complete 08:37:28 0e18a0eac166: Verifying Checksum 08:37:28 4fe6c5a15a65: Verifying Checksum 08:37:28 4fe6c5a15a65: Download complete 08:37:32 4fe6c5a15a65: Pull complete 08:37:32 22a0e8bec74d: Pull complete 08:37:32 ca2b28591e48: Pull complete 08:37:32 a51346096db8: Pull complete 08:37:32 daebc70d1ce1: Pull complete 08:37:35 0e18a0eac166: Pull complete 08:37:35 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:37:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:37:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 08:37:35 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 08:37:36 + docker inspect -f . ci-base-image-x86_64 08:37:36 . [Pipeline] withDockerContainer 08:37:36 prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container 08:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-146 -v /w/workspace/gexfoundry_go-mod-secrets_PR-146:/w/workspace/gexfoundry_go-mod-secrets_PR-146:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-146@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 ******** ci-base-image-x86_64 cat 08:37:38 $ docker top d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:38 + go version 08:37:38 go version go1.17.6 linux/amd64 [Pipeline] } 08:37:38 $ docker stop --time=1 d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 08:37:39 $ docker rm -f d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:37:40 + docker inspect -f . ci-base-image-x86_64 08:37:40 . [Pipeline] withDockerContainer 08:37:40 prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container 08:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-146 -v /w/workspace/gexfoundry_go-mod-secrets_PR-146:/w/workspace/gexfoundry_go-mod-secrets_PR-146:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-146@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 ******** ci-base-image-x86_64 cat 08:37:40 $ docker top 9c945a04ec02fe0e4e301108cffa2c6632d293ab75d47ddeb03c862047ddbfde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:37:41 + make test 08:37:41 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 08:37:41 go: downloading github.com/stretchr/testify v1.7.1 08:37:41 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 08:37:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 08:37:41 go: downloading github.com/zeebo/errs v1.2.2 08:37:41 go: downloading google.golang.org/grpc v1.42.0 08:37:41 go: downloading github.com/go-kit/kit v0.11.0 08:37:41 go: downloading github.com/go-playground/validator/v10 v10.9.0 08:37:41 go: downloading github.com/google/uuid v1.3.0 08:37:41 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 08:37:41 go: downloading google.golang.org/protobuf v1.27.1 08:37:41 go: downloading github.com/go-logfmt/logfmt v0.5.0 08:37:41 go: downloading github.com/davecgh/go-spew v1.1.1 08:37:41 go: downloading github.com/pmezard/go-difflib v1.0.0 08:37:41 go: downloading github.com/stretchr/objx v0.1.1 08:37:41 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 08:37:41 go: downloading github.com/go-playground/universal-translator v0.18.0 08:37:41 go: downloading github.com/leodido/go-urn v1.2.1 08:37:41 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 08:37:41 go: downloading golang.org/x/text v0.3.7 08:37:41 go: downloading github.com/go-playground/locales v0.14.0 08:37:41 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 08:37:41 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 08:37:41 go: downloading github.com/golang/protobuf v1.5.2 08:37:41 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 08:37:42 Still waiting to schedule task 08:37:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:37:59 --- FAIL: TestHttpSecretStoreManager_GetValue (0.00s) 08:37:59 --- FAIL: TestHttpSecretStoreManager_GetValue/Handle_non-200_HTTP_response (0.00s) 08:37:59 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 08:37:59 panic: runtime error: invalid memory address or nil pointer dereference 08:37:59 [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x8b1fb5] 08:37:59 08:37:59 goroutine 215 [running]: 08:37:59 testing.tRunner.func1.2({0x8ff400, 0xc78b40}) 08:37:59 /usr/local/go/src/testing/testing.go:1209 +0x36c 08:37:59 testing.tRunner.func1() 08:37:59 /usr/local/go/src/testing/testing.go:1212 +0x3b6 08:37:59 panic({0x8ff400, 0xc78b40}) 08:37:59 /usr/local/go/src/runtime/panic.go:1047 +0x266 08:37:59 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys.func1() 08:37:59 /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:374 +0x55 08:37:59 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys(0xc0003cfd38, {0x959817, 0x5}) 08:37:59 /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:378 +0xb13 08:37:59 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).GetSecrets(0x135, {0x959817, 0x5}, {0xc00005ca80, 0x1, 0x6ed314}) 08:37:59 /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:56 +0x8c 08:37:59 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.TestHttpSecretStoreManager_GetValue.func1(0xc000519520) 08:37:59 /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets_test.go:531 +0x1ed 08:37:59 testing.tRunner(0xc000519520, 0xc000399000) 08:37:59 /usr/local/go/src/testing/testing.go:1259 +0x230 08:37:59 created by testing.(*T).Run 08:37:59 /usr/local/go/src/testing/testing.go:1306 +0x727 08:37:59 FAIL github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 0.203s 08:37:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.058s coverage: 57.1% of statements 08:37:59 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.073s coverage: 96.7% of statements 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.048s coverage: 89.5% of statements 08:38:06 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.047s coverage: 100.0% of statements 08:38:06 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.057s coverage: 55.8% of statements 08:38:06 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.026s coverage: 75.0% of statements 08:38:06 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.085s coverage: 100.0% of statements 08:38:06 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 08:38:06 FAIL 08:38:06 make: *** [Makefile:16: unittest] Error 1 [Pipeline] } 08:38:06 $ docker stop --time=1 9c945a04ec02fe0e4e301108cffa2c6632d293ab75d47ddeb03c862047ddbfde 08:38:08 $ docker rm -f 9c945a04ec02fe0e4e301108cffa2c6632d293ab75d47ddeb03c862047ddbfde [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 08:38:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:09 08:38:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:38:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:09 latest: Pulling from edgex-lftools-log-publisher 08:38:09 5eb5b503b376: Pulling fs layer 08:38:09 5c69ac0246d0: Pulling fs layer 08:38:09 ec43610c2a17: Pulling fs layer 08:38:09 3a2ae6a8a46f: Pulling fs layer 08:38:09 33b1e0a273af: Pulling fs layer 08:38:09 5d3b04190fa2: Pulling fs layer 08:38:09 2f39f015ded8: Pulling fs layer 08:38:09 5d3b04190fa2: Waiting 08:38:09 33b1e0a273af: Waiting 08:38:09 2f39f015ded8: Waiting 08:38:09 3a2ae6a8a46f: Waiting 08:38:09 5c69ac0246d0: Download complete 08:38:09 3a2ae6a8a46f: Download complete 08:38:09 33b1e0a273af: Verifying Checksum 08:38:09 33b1e0a273af: Download complete 08:38:09 5d3b04190fa2: Verifying Checksum 08:38:09 5d3b04190fa2: Download complete 08:38:09 ec43610c2a17: Verifying Checksum 08:38:09 ec43610c2a17: Download complete 08:38:10 5eb5b503b376: Verifying Checksum 08:38:10 5eb5b503b376: Download complete 08:38:10 2f39f015ded8: Verifying Checksum 08:38:10 2f39f015ded8: Download complete 08:38:11 5eb5b503b376: Pull complete 08:38:11 5c69ac0246d0: Pull complete 08:38:12 ec43610c2a17: Pull complete 08:38:12 3a2ae6a8a46f: Pull complete 08:38:12 33b1e0a273af: Pull complete 08:38:12 5d3b04190fa2: Pull complete 08:38:17 2f39f015ded8: Pull complete 08:38:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:38:17 prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container 08:38:17 $ 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-146 -v /w/workspace/gexfoundry_go-mod-secrets_PR-146:/w/workspace/gexfoundry_go-mod-secrets_PR-146:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-146@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-lftools-log-publisher:latest cat 08:38:19 $ docker top 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> job-cost.sh 08:38:20 lf-activate-venv: SKIPPING 08:38:20 INFO: No Stack... 08:38:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:20 INFO: Archiving Costs [Pipeline] sh 08:38:21 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives/cost.csv 08:38:21 + cut -d, -f6 [Pipeline] lock 08:38:21 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] 08:38:21 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] did not exist. Created. 08:38:21 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:38:21 + echo total: 0.2199999988079071 [Pipeline] stash 08:38:21 Stashed 1 file(s) [Pipeline] } 08:38:21 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:38:21 $ docker stop --time=1 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 08:38:22 $ docker rm -f 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:38:22 Failed in branch amd64 08:39:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21888 in /w/workspace/gexfoundry_go-mod-secrets_PR-146 [Pipeline] { [Pipeline] ws 08:39:24 Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout 08:39:24 Selected Git installation does not exist. Using Default 08:39:24 The recommended git tool is: NONE 08:39:30 using credential edgex-jenkins-ssh 08:39:30 Cloning the remote Git repository 08:39:30 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 08:39:30 > git init /w/workspace/go-mod-secrets/2 # timeout=10 08:39:30 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 08:39:30 > git --version # timeout=10 08:39:30 > git --version # 'git version 2.25.1' 08:39:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:39:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:39:31 Merging remotes/origin/main commit 8f104b71a102e4674541637bb48d3aebbae959de into PR head commit 5b8052dfcdec35940675e7ac5434078c98c9e4af 08:39:32 Merge succeeded, producing 5b8052dfcdec35940675e7ac5434078c98c9e4af 08:39:32 Checking out Revision 5b8052dfcdec35940675e7ac5434078c98c9e4af (PR-146) 08:39:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 08:39:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:39:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 08:39:31 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 08:39:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:39:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:39:31 > git config core.sparsecheckout # timeout=10 08:39:31 > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # timeout=10 08:39:32 > git remote # timeout=10 08:39:32 > git config --get remote.origin.url # timeout=10 08:39:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:39:32 > git merge 8f104b71a102e4674541637bb48d3aebbae959de # timeout=10 08:39:32 > git rev-parse HEAD^{commit} # timeout=10 08:39:32 > git config core.sparsecheckout # timeout=10 08:39:32 > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # timeout=10 08:39:36 Commit message: "fix: close response Body when the returned error is nil" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:39:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:39:37 % Total % Received % Xferd Average Speed Time Time Time Current 08:39:37 Dload Upload Total Spent Left Speed 08:39:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 80564 0 --:--:-- --:--:-- --:--:-- 80564 [Pipeline] sh 08:39:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:39:38 + sudo tee /etc/docker/daemon.new 08:39:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:39:38 { 08:39:38 "registry-mirrors": [ 08:39:38 "https://nexus3.edgexfoundry.org:10001" 08:39:38 ], 08:39:38 "bip": "10.250.0.254/24", 08:39:38 "hosts": [ 08:39:38 "tcp://0.0.0.0:5555", 08:39:38 "unix:///var/run/docker.sock" 08:39:38 ], 08:39:38 "mtu": 1458, 08:39:38 "selinux-enabled": true, 08:39:38 "seccomp-profile": "/etc/docker/seccomp.json" 08:39:38 } [Pipeline] sh 08:39:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:39:38 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 08:39:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:39:57 ========================================================= 08:39:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:39:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 08:39:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:39:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:39:58 9b3977197b4f: Pulling fs layer 08:39:58 1a89e8eeedd5: Pulling fs layer 08:39:58 94645a83ff95: Pulling fs layer 08:39:58 3f3a8bcf1eab: Pulling fs layer 08:39:58 0c92f367c5e7: Pulling fs layer 08:39:58 3096ccb668a1: Pulling fs layer 08:39:58 e8cf19c19ddd: Pulling fs layer 08:39:58 a4caa8a26152: Pulling fs layer 08:39:58 3096ccb668a1: Waiting 08:39:58 3f3a8bcf1eab: Waiting 08:39:58 0c92f367c5e7: Waiting 08:39:58 e8cf19c19ddd: Waiting 08:39:58 a4caa8a26152: Waiting 08:39:58 94645a83ff95: Verifying Checksum 08:39:58 94645a83ff95: Download complete 08:39:58 1a89e8eeedd5: Verifying Checksum 08:39:58 1a89e8eeedd5: Download complete 08:39:58 0c92f367c5e7: Verifying Checksum 08:39:58 0c92f367c5e7: Download complete 08:39:58 3096ccb668a1: Verifying Checksum 08:39:58 3096ccb668a1: Download complete 08:39:58 9b3977197b4f: Verifying Checksum 08:39:58 9b3977197b4f: Download complete 08:39:59 e8cf19c19ddd: Verifying Checksum 08:39:59 e8cf19c19ddd: Download complete 08:39:59 9b3977197b4f: Pull complete 08:40:00 1a89e8eeedd5: Pull complete 08:40:00 94645a83ff95: Pull complete 08:40:00 a4caa8a26152: Verifying Checksum 08:40:00 a4caa8a26152: Download complete 08:40:01 3f3a8bcf1eab: Verifying Checksum 08:40:01 3f3a8bcf1eab: Download complete 08:40:13 3f3a8bcf1eab: Pull complete 08:40:13 0c92f367c5e7: Pull complete 08:40:13 3096ccb668a1: Pull complete 08:40:14 e8cf19c19ddd: Pull complete 08:40:20 a4caa8a26152: Pull complete 08:40:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:40:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:40:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 08:40:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 08:40:21 + docker inspect -f . ci-base-image-arm64 08:40:21 . [Pipeline] withDockerContainer 08:40:21 prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container 08:40:21 $ 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 ******** ci-base-image-arm64 cat 08:40:24 $ docker top a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:25 + go version 08:40:25 go version go1.17.6 linux/arm64 [Pipeline] } 08:40:25 $ docker stop --time=1 a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 08:40:27 $ docker rm -f a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:40:27 + docker inspect -f . ci-base-image-arm64 08:40:27 . [Pipeline] withDockerContainer 08:40:28 prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container 08:40:28 $ 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 ******** ci-base-image-arm64 cat 08:40:29 $ docker top fb1a0037dd50144a4d718eefc85f75f6a7afbc79ca353c154276b6ca8929a482 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:40:30 + make test 08:40:30 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 08:40:30 go: downloading github.com/stretchr/testify v1.7.1 08:40:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 08:40:30 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 08:40:31 go: downloading github.com/davecgh/go-spew v1.1.1 08:40:31 go: downloading github.com/pmezard/go-difflib v1.0.0 08:40:31 go: downloading github.com/stretchr/objx v0.1.1 08:40:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 08:40:31 go: downloading github.com/go-kit/kit v0.11.0 08:40:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 08:40:31 go: downloading github.com/google/uuid v1.3.0 08:40:31 go: downloading github.com/zeebo/errs v1.2.2 08:40:31 go: downloading google.golang.org/grpc v1.42.0 08:40:32 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 08:40:32 go: downloading google.golang.org/protobuf v1.27.1 08:40:32 go: downloading github.com/go-playground/universal-translator v0.18.0 08:40:32 go: downloading github.com/leodido/go-urn v1.2.1 08:40:32 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 08:40:32 go: downloading golang.org/x/text v0.3.7 08:40:32 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 08:40:32 go: downloading github.com/go-logfmt/logfmt v0.5.0 08:40:32 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 08:40:33 go: downloading github.com/go-playground/locales v0.14.0 08:40:34 go: downloading github.com/golang/protobuf v1.5.2 08:40:34 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 08:41:56 --- FAIL: TestHttpSecretStoreManager_GetValue (0.02s) 08:41:56 --- FAIL: TestHttpSecretStoreManager_GetValue/Handle_non-200_HTTP_response (0.00s) 08:41:56 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 08:41:56 panic: runtime error: invalid memory address or nil pointer dereference 08:41:56 [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x44e3f0] 08:41:56 08:41:56 goroutine 164 [running]: 08:41:56 testing.tRunner.func1.2({0x4a9820, 0x815c00}) 08:41:56 /usr/local/go/src/testing/testing.go:1209 +0x348 08:41:56 testing.tRunner.func1(0xc000504ea0) 08:41:56 /usr/local/go/src/testing/testing.go:1212 +0x2ec 08:41:56 panic({0x4a9820, 0x815c00}) 08:41:56 /usr/local/go/src/runtime/panic.go:1052 +0x2b4 08:41:56 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys.func1(0xc0004fbd40) 08:41:56 /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:374 +0x60 08:41:56 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys(0xc000471d68, {0x501560, 0x5}) 08:41:56 /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:378 +0xa5c 08:41:56 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).GetSecrets(0xc000486d68, {0x501560, 0x5}, {0xc000411780, 0x1, 0x1}) 08:41:56 /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:56 +0x64 08:41:56 github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.TestHttpSecretStoreManager_GetValue.func1(0xc000504ea0) 08:41:56 /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets_test.go:531 +0x178 08:41:56 testing.tRunner(0xc000504ea0, 0xc000112f10) 08:41:56 /usr/local/go/src/testing/testing.go:1259 +0x19c 08:41:56 created by testing.(*T).Run 08:41:56 /usr/local/go/src/testing/testing.go:1306 +0x5c4 08:41:56 FAIL github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 1.209s 08:41:56 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.213s coverage: 57.1% of statements 08:41:56 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 08:41:56 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.244s coverage: 96.7% of statements 08:41:56 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.072s coverage: 89.5% of statements 08:41:56 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 08:41:56 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.078s coverage: 100.0% of statements 08:41:56 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 08:42:23 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.197s coverage: 55.8% of statements 08:42:23 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 08:42:23 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.067s coverage: 75.0% of statements 08:42:23 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.211s coverage: 100.0% of statements 08:42:23 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 08:42:23 FAIL 08:42:23 make: *** [Makefile:16: unittest] Error 1 [Pipeline] } 08:42:23 $ docker stop --time=1 fb1a0037dd50144a4d718eefc85f75f6a7afbc79ca353c154276b6ca8929a482 08:42:25 $ docker rm -f fb1a0037dd50144a4d718eefc85f75f6a7afbc79ca353c154276b6ca8929a482 [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 08:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:27 08:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:28 arm64: Pulling from edgex-lftools-log-publisher 08:42:28 8998bd30e6a1: Pulling fs layer 08:42:28 04944245beec: Pulling fs layer 08:42:28 699f458cf7ca: Pulling fs layer 08:42:28 765212b225bb: Pulling fs layer 08:42:28 f23df028b6ca: Pulling fs layer 08:42:28 d65c8cfc05b1: Pulling fs layer 08:42:28 2437ff75d9bd: Pulling fs layer 08:42:28 f23df028b6ca: Waiting 08:42:28 d65c8cfc05b1: Waiting 08:42:28 2437ff75d9bd: Waiting 08:42:28 765212b225bb: Waiting 08:42:28 04944245beec: Verifying Checksum 08:42:28 04944245beec: Download complete 08:42:28 765212b225bb: Verifying Checksum 08:42:28 765212b225bb: Download complete 08:42:28 f23df028b6ca: Verifying Checksum 08:42:28 f23df028b6ca: Download complete 08:42:28 d65c8cfc05b1: Verifying Checksum 08:42:28 d65c8cfc05b1: Download complete 08:42:28 699f458cf7ca: Verifying Checksum 08:42:28 699f458cf7ca: Download complete 08:42:29 8998bd30e6a1: Verifying Checksum 08:42:29 8998bd30e6a1: Download complete 08:42:31 2437ff75d9bd: Verifying Checksum 08:42:31 2437ff75d9bd: Download complete 08:42:33 8998bd30e6a1: Pull complete 08:42:33 04944245beec: Pull complete 08:42:35 699f458cf7ca: Pull complete 08:42:35 765212b225bb: Pull complete 08:42:36 f23df028b6ca: Pull complete 08:42:36 d65c8cfc05b1: Pull complete 08:42:51 2437ff75d9bd: Pull complete 08:42:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:42:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:42:51 prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container 08:42:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:42:54 $ docker top 6b4dc1a07e77e950e9deaa21b553fd74aacd1f02162966dd6b37fe9c1087e757 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:55 ---> job-cost.sh 08:42:55 lf-activate-venv: SKIPPING 08:42:55 INFO: No Stack... 08:42:55 INFO: Retrieving Pricing Info for: v3-standard-4 08:42:56 INFO: Archiving Costs [Pipeline] sh 08:42:57 + + cat /w/workspace/go-mod-secrets/2/archives/cost.csv 08:42:57 cut -d, -f6 [Pipeline] lock 08:42:57 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] 08:42:57 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] did not exist. Created. 08:42:57 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:42:58 /w/workspace/go-mod-secrets/2@tmp/durable-0bd0f87b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:42:58 + echo total: 0.10999999940395355 [Pipeline] stash 08:42:58 Warning: overwriting stash ‘stack-cost’ 08:42:59 Stashed 1 file(s) [Pipeline] } 08:42:59 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:42:59 $ docker stop --time=1 6b4dc1a07e77e950e9deaa21b553fd74aacd1f02162966dd6b37fe9c1087e757 08:43:00 $ docker rm -f 6b4dc1a07e77e950e9deaa21b553fd74aacd1f02162966dd6b37fe9c1087e757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:43:01 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 08:43:01 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives ] 08:43:01 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives 08:43:01 total 16 08:43:01 drwxr-xr-x 3 root root 4096 Apr 24 08:38 . 08:43:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 08:38 .. 08:43:01 drwxr-xr-x 2 root root 4096 Apr 24 08:38 cost 08:43:01 -rw-r--r-- 1 root root 85 Apr 24 08:38 cost.csv 08:43:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives 08:43:01 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives 08:43:01 total 16 08:43:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 08:38 . 08:43:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 08:38 .. 08:43:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 08:38 cost 08:43:01 -rw-r--r-- 1 jenkins jenkins 85 Apr 24 08:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:43:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:43:02 ---> package-listing.sh 08:43:02 ++ facter osfamily 08:43:02 ++ tr '[:upper:]' '[:lower:]' 08:43:03 + OS_FAMILY=debian 08:43:03 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-146 08:43:03 + START_PACKAGES=/tmp/packages_start.txt 08:43:03 + END_PACKAGES=/tmp/packages_end.txt 08:43:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:43:03 + PACKAGES=/tmp/packages_start.txt 08:43:03 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-146 ']' 08:43:03 + PACKAGES=/tmp/packages_end.txt 08:43:03 + case "${OS_FAMILY}" in 08:43:03 + dpkg -l 08:43:03 + grep '^ii' 08:43:03 + '[' -f /tmp/packages_start.txt ']' 08:43:03 + '[' -f /tmp/packages_end.txt ']' 08:43:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:43:03 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-146 ']' 08:43:03 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives/ 08:43:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives/ [Pipeline] echo 08:43:03 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:43:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:04 . [Pipeline] withDockerContainer 08:43:04 prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container 08:43:04 $ 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-146/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-146 -v /w/workspace/gexfoundry_go-mod-secrets_PR-146:/w/workspace/gexfoundry_go-mod-secrets_PR-146:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-146@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:latest cat 08:43:04 $ docker top 31de56a19633a8962a8a1add2e7c3f4cd2af9410f23d345a59c75df4baf68536 -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:04 + touch /tmp/pre-build-complete [Pipeline] sh 08:43:05 + mkdir -p /var/log/sysstat [Pipeline] sh 08:43:05 + ls /var/log/sa-host 08:43:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:05 provisioning config files... 08:43:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/config7178119017109718204tmp [Pipeline] { [Pipeline] echo 08:43:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:43:05 ---> create-netrc.sh [Pipeline] } 08:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:43:06 ---> python-tools-install.sh [Pipeline] echo 08:43:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:43:06 ---> sudo-logs.sh 08:43:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:43:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:43:06 ---> job-cost.sh 08:43:06 lf-activate-venv: SKIPPING 08:43:06 DEBUG: total: 0.2199999988079071 08:43:06 INFO: Retrieving Stack Cost... 08:43:07 INFO: Retrieving Pricing Info for: v3-standard-8 08:43:07 INFO: Archiving Costs [Pipeline] echo 08:43:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:43:07 ---> logs-deploy.sh 08:43:07 lf-activate-venv: SKIPPING 08:43:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-146/2 08:43:07 INFO: archiving workspace using pattern(s): 08:43:08 Archives upload complete. 08:43:08 INFO: archiving logs to Nexus