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 [2022-04-24T08:37:16.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-24T08:37:16.615Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-24T08:37:16.635Z] ========================================================= [2022-04-24T08:37:16.635Z] EdgeX Global Pipelines Version Info [2022-04-24T08:37:16.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0379d1ceefd8ad146fce7fba6de06d0366c32c3e # timeout=10 [2022-04-24T08:37:17.420Z] ------------------- [2022-04-24T08:37:17.420Z] stable info: [2022-04-24T08:37:17.420Z] ------------------- [2022-04-24T08:37:17.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-24T08:37:17.420Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-24T08:37:17.420Z] Message: update stable to v1.0.221 [2022-04-24T08:37:17.994Z] ------------------- [2022-04-24T08:37:17.994Z] experimental info: [2022-04-24T08:37:17.994Z] ------------------- [2022-04-24T08:37:17.994Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-24T08:37:17.994Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-24T08:37:17.994Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-24T08:37:18.129Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2022-04-24T08:37:18.144Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2022-04-24T08:37:18.162Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-24T08:37:18.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-24T08:37:18.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-24T08:37:18.198Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-24T08:37:18.214Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-24T08:37:18.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-24T08:37:18.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-24T08:37:18.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-24T08:37:18.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-24T08:37:18.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo [2022-04-24T08:37:18.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-24T08:37:18.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-24T08:37:18.328Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-04-24T08:37:18.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-24T08:37:18.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-24T08:37:18.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-24T08:37:18.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-24T08:37:18.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-24T08:37:18.403Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-24T08:37:18.418Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-24T08:37:18.436Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-24T08:37:18.452Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-24T08:37:18.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-04-24T08:37:18.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-24T08:37:18.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2022-04-24T08:37:18.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2022-04-24T08:37:18.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2022-04-24T08:37:18.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo [2022-04-24T08:37:18.533Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b8052d [Pipeline] echo [2022-04-24T08:37:18.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-24T08:37:18.912Z] + git rev-list -1 --merges 5b8052dfcdec35940675e7ac5434078c98c9e4af~1..5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo [2022-04-24T08:37:18.944Z] -----------> git rev-list -1 --merges 5b8052dfcdec35940675e7ac5434078c98c9e4af~1..5b8052dfcdec35940675e7ac5434078c98c9e4af 5b8052dfcdec35940675e7ac5434078c98c9e4af [false] [Pipeline] sh [2022-04-24T08:37:19.248Z] + git log --format=format:%s -1 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo [2022-04-24T08:37:19.265Z] ========================================================= [2022-04-24T08:37:19.265Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-24T08:37:19.265Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-24T08:37:19.591Z] + git log --format=format:%s -1 5b8052dfcdec35940675e7ac5434078c98c9e4af [Pipeline] echo [2022-04-24T08:37:19.605Z] [semverPrep] GIT_COMMIT: 5b8052dfcdec35940675e7ac5434078c98c9e4af, Commit Message: fix: close response Body when the returned error is nil [Pipeline] echo [2022-04-24T08:37:19.614Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-24T08:37:20.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-24T08:37:20.031Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-24T08:37:20.031Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-24T08:37:20.031Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-24T08:37:20.031Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-24T08:37:20.031Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-24T08:37:20.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:37:20.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-24T08:37:20.721Z] [2022-04-24T08:37:20.721Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:37:21.033Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-24T08:37:21.033Z] latest: Pulling from edgex-devops/git-semver [2022-04-24T08:37:21.033Z] a0d0a0d46f8b: Pulling fs layer [2022-04-24T08:37:21.033Z] 3e5f54012d9b: Pulling fs layer [2022-04-24T08:37:21.033Z] 4c7163046ea9: Pulling fs layer [2022-04-24T08:37:21.033Z] 0c2d73faf560: Pulling fs layer [2022-04-24T08:37:21.033Z] 0c2d73faf560: Waiting [2022-04-24T08:37:21.033Z] 3e5f54012d9b: Verifying Checksum [2022-04-24T08:37:21.033Z] 3e5f54012d9b: Download complete [2022-04-24T08:37:21.295Z] a0d0a0d46f8b: Download complete [2022-04-24T08:37:21.295Z] 0c2d73faf560: Verifying Checksum [2022-04-24T08:37:21.295Z] 0c2d73faf560: Download complete [2022-04-24T08:37:21.295Z] 4c7163046ea9: Verifying Checksum [2022-04-24T08:37:21.295Z] 4c7163046ea9: Download complete [2022-04-24T08:37:21.295Z] a0d0a0d46f8b: Pull complete [2022-04-24T08:37:21.295Z] 3e5f54012d9b: Pull complete [2022-04-24T08:37:21.557Z] 4c7163046ea9: Pull complete [2022-04-24T08:37:21.818Z] 0c2d73faf560: Pull complete [2022-04-24T08:37:21.818Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-24T08:37:21.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-24T08:37:21.818Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-24T08:37:21.970Z] prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container [2022-04-24T08:37:22.022Z] $ 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 [2022-04-24T08:37:22.734Z] $ docker top 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-24T08:37:22.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-24T08:37:22.829Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-24T08:37:22.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-24T08:37:22.977Z] $ docker exec 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent [2022-04-24T08:37:23.088Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNAbIEh/agent.13 [2022-04-24T08:37:23.088Z] SSH_AGENT_PID=19 [2022-04-24T08:37:23.096Z] Running ssh-add (command line suppressed) [2022-04-24T08:37:23.231Z] 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) [2022-04-24T08:37:23.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-24T08:37:23.534Z] + git tag --points-at HEAD [Pipeline] } [2022-04-24T08:37:23.555Z] $ docker exec --env ******** --env ******** 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent -k [2022-04-24T08:37:23.665Z] unset SSH_AUTH_SOCK; [2022-04-24T08:37:23.666Z] unset SSH_AGENT_PID; [2022-04-24T08:37:23.666Z] echo Agent pid 19 killed; [2022-04-24T08:37:23.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-24T08:37:23.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-24T08:37:23.696Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-24T08:37:23.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-24T08:37:23.842Z] $ docker exec 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent [2022-04-24T08:37:23.956Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXandndl/agent.52 [2022-04-24T08:37:23.956Z] SSH_AGENT_PID=59 [2022-04-24T08:37:23.961Z] Running ssh-add (command line suppressed) [2022-04-24T08:37:24.092Z] 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) [2022-04-24T08:37:24.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-24T08:37:24.400Z] + git semver init [2022-04-24T08:37:24.400Z] # -> Open(): unable to determine branch for HEAD [2022-04-24T08:37:24.400Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-146/.git [2022-04-24T08:37:24.400Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-146 [2022-04-24T08:37:24.400Z] # $SEMVER_REMOTE_NAME = origin [2022-04-24T08:37:24.400Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-24T08:37:24.400Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-24T08:37:24.400Z] # $SEMVER_BRANCH = PR-146 [2022-04-24T08:37:24.400Z] # $SEMVER_TEMP = /tmp/semver-956965245 [2022-04-24T08:37:24.400Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2022-04-24T08:37:24.971Z] # '/tmp/semver-956965245' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-146/.semver' [2022-04-24T08:37:24.971Z] # -> Force: false [2022-04-24T08:37:24.971Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-146/.semver [Pipeline] } [2022-04-24T08:37:24.990Z] $ docker exec --env ******** --env ******** 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b ssh-agent -k [2022-04-24T08:37:25.115Z] unset SSH_AUTH_SOCK; [2022-04-24T08:37:25.116Z] unset SSH_AGENT_PID; [2022-04-24T08:37:25.116Z] echo Agent pid 59 killed; [2022-04-24T08:37:25.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-24T08:37:25.434Z] + git semver [Pipeline] } [2022-04-24T08:37:25.454Z] $ docker stop --time=1 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b [2022-04-24T08:37:26.838Z] $ docker rm -f 1e8491a9dce9e6903c5589d09af132e833c4e1dc591eafa4b6ed9264ab78e27b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-24T08:37:27.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-24T08:37:27.456Z] Stashed 1 file(s) [Pipeline] echo [2022-04-24T08:37:27.459Z] [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 [2022-04-24T08:37:27.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-24T08:37:27.666Z] ========================================================= [2022-04-24T08:37:27.666Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-24T08:37:27.666Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-24T08:37:27.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-24T08:37:27.972Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-24T08:37:27.972Z] 59bf1c3509f3: Pulling fs layer [2022-04-24T08:37:27.972Z] 666ba61612fd: Pulling fs layer [2022-04-24T08:37:27.972Z] 8ed8ca486205: Pulling fs layer [2022-04-24T08:37:27.972Z] 4fe6c5a15a65: Pulling fs layer [2022-04-24T08:37:27.972Z] 22a0e8bec74d: Pulling fs layer [2022-04-24T08:37:27.972Z] ca2b28591e48: Pulling fs layer [2022-04-24T08:37:27.972Z] a51346096db8: Pulling fs layer [2022-04-24T08:37:27.972Z] daebc70d1ce1: Pulling fs layer [2022-04-24T08:37:27.972Z] 0e18a0eac166: Pulling fs layer [2022-04-24T08:37:27.972Z] a51346096db8: Waiting [2022-04-24T08:37:27.972Z] ca2b28591e48: Waiting [2022-04-24T08:37:27.972Z] 4fe6c5a15a65: Waiting [2022-04-24T08:37:27.972Z] 0e18a0eac166: Waiting [2022-04-24T08:37:27.972Z] 8ed8ca486205: Verifying Checksum [2022-04-24T08:37:27.972Z] 8ed8ca486205: Download complete [2022-04-24T08:37:27.972Z] 666ba61612fd: Download complete [2022-04-24T08:37:27.972Z] 22a0e8bec74d: Verifying Checksum [2022-04-24T08:37:27.972Z] 22a0e8bec74d: Download complete [2022-04-24T08:37:27.972Z] ca2b28591e48: Download complete [2022-04-24T08:37:27.972Z] a51346096db8: Download complete [2022-04-24T08:37:27.972Z] 59bf1c3509f3: Verifying Checksum [2022-04-24T08:37:27.972Z] 59bf1c3509f3: Download complete [2022-04-24T08:37:27.972Z] daebc70d1ce1: Verifying Checksum [2022-04-24T08:37:27.972Z] daebc70d1ce1: Download complete [2022-04-24T08:37:28.232Z] 59bf1c3509f3: Pull complete [2022-04-24T08:37:28.232Z] 666ba61612fd: Pull complete [2022-04-24T08:37:28.492Z] 8ed8ca486205: Pull complete [2022-04-24T08:37:28.752Z] 0e18a0eac166: Verifying Checksum [2022-04-24T08:37:28.752Z] 4fe6c5a15a65: Verifying Checksum [2022-04-24T08:37:28.752Z] 4fe6c5a15a65: Download complete [2022-04-24T08:37:32.947Z] 4fe6c5a15a65: Pull complete [2022-04-24T08:37:32.947Z] 22a0e8bec74d: Pull complete [2022-04-24T08:37:32.947Z] ca2b28591e48: Pull complete [2022-04-24T08:37:32.947Z] a51346096db8: Pull complete [2022-04-24T08:37:32.947Z] daebc70d1ce1: Pull complete [2022-04-24T08:37:35.493Z] 0e18a0eac166: Pull complete [2022-04-24T08:37:35.493Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-24T08:37:35.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-24T08:37:35.493Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-04-24T08:37:35.788Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:37:36.084Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-24T08:37:36.084Z] . [Pipeline] withDockerContainer [2022-04-24T08:37:36.166Z] prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container [2022-04-24T08:37:36.209Z] $ 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 [2022-04-24T08:37:38.112Z] $ docker top d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-24T08:37:38.474Z] + go version [2022-04-24T08:37:38.475Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-24T08:37:38.493Z] $ docker stop --time=1 d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 [2022-04-24T08:37:39.784Z] $ docker rm -f d4c097da398e3bfc0c19937cdc960fc3a5d7740fb95ce1826eb2934ec717e823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:37:40.189Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-24T08:37:40.189Z] . [Pipeline] withDockerContainer [2022-04-24T08:37:40.259Z] prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container [2022-04-24T08:37:40.303Z] $ 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 [2022-04-24T08:37:40.741Z] $ docker top 9c945a04ec02fe0e4e301108cffa2c6632d293ab75d47ddeb03c862047ddbfde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-24T08:37:41.109Z] + make test [2022-04-24T08:37:41.109Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-04-24T08:37:41.109Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-24T08:37:41.109Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-24T08:37:41.109Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-24T08:37:41.369Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-24T08:37:41.369Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-24T08:37:41.369Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-24T08:37:41.369Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-24T08:37:41.369Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-24T08:37:41.369Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-24T08:37:41.369Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-24T08:37:41.369Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-24T08:37:41.629Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-24T08:37:41.629Z] go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 [2022-04-24T08:37:41.629Z] go: downloading golang.org/x/text v0.3.7 [2022-04-24T08:37:41.629Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-24T08:37:41.629Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-24T08:37:41.629Z] go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f [2022-04-24T08:37:41.629Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-24T08:37:41.629Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-24T08:37:42.580Z] Still waiting to schedule task [2022-04-24T08:37:42.580Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-24T08:37:59.743Z] --- FAIL: TestHttpSecretStoreManager_GetValue (0.00s) [2022-04-24T08:37:59.744Z] --- FAIL: TestHttpSecretStoreManager_GetValue/Handle_non-200_HTTP_response (0.00s) [2022-04-24T08:37:59.744Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-04-24T08:37:59.744Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-04-24T08:37:59.744Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x8b1fb5] [2022-04-24T08:37:59.744Z] [2022-04-24T08:37:59.744Z] goroutine 215 [running]: [2022-04-24T08:37:59.744Z] testing.tRunner.func1.2({0x8ff400, 0xc78b40}) [2022-04-24T08:37:59.744Z] /usr/local/go/src/testing/testing.go:1209 +0x36c [2022-04-24T08:37:59.744Z] testing.tRunner.func1() [2022-04-24T08:37:59.744Z] /usr/local/go/src/testing/testing.go:1212 +0x3b6 [2022-04-24T08:37:59.744Z] panic({0x8ff400, 0xc78b40}) [2022-04-24T08:37:59.744Z] /usr/local/go/src/runtime/panic.go:1047 +0x266 [2022-04-24T08:37:59.744Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys.func1() [2022-04-24T08:37:59.744Z] /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:374 +0x55 [2022-04-24T08:37:59.744Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys(0xc0003cfd38, {0x959817, 0x5}) [2022-04-24T08:37:59.744Z] /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:378 +0xb13 [2022-04-24T08:37:59.744Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).GetSecrets(0x135, {0x959817, 0x5}, {0xc00005ca80, 0x1, 0x6ed314}) [2022-04-24T08:37:59.744Z] /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets.go:56 +0x8c [2022-04-24T08:37:59.744Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.TestHttpSecretStoreManager_GetValue.func1(0xc000519520) [2022-04-24T08:37:59.744Z] /w/workspace/gexfoundry_go-mod-secrets_PR-146/internal/pkg/vault/secrets_test.go:531 +0x1ed [2022-04-24T08:37:59.744Z] testing.tRunner(0xc000519520, 0xc000399000) [2022-04-24T08:37:59.744Z] /usr/local/go/src/testing/testing.go:1259 +0x230 [2022-04-24T08:37:59.744Z] created by testing.(*T).Run [2022-04-24T08:37:59.744Z] /usr/local/go/src/testing/testing.go:1306 +0x727 [2022-04-24T08:37:59.744Z] FAIL github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 0.203s [2022-04-24T08:37:59.744Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.058s coverage: 57.1% of statements [2022-04-24T08:37:59.744Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.073s coverage: 96.7% of statements [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.048s coverage: 89.5% of statements [2022-04-24T08:38:06.321Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.047s coverage: 100.0% of statements [2022-04-24T08:38:06.321Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.057s coverage: 55.8% of statements [2022-04-24T08:38:06.321Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.026s coverage: 75.0% of statements [2022-04-24T08:38:06.321Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.085s coverage: 100.0% of statements [2022-04-24T08:38:06.321Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-04-24T08:38:06.321Z] FAIL [2022-04-24T08:38:06.321Z] make: *** [Makefile:16: unittest] Error 1 [Pipeline] } [2022-04-24T08:38:06.342Z] $ docker stop --time=1 9c945a04ec02fe0e4e301108cffa2c6632d293ab75d47ddeb03c862047ddbfde [2022-04-24T08:38:08.833Z] $ 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 [2022-04-24T08:38:09.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-24T08:38:09.535Z] [2022-04-24T08:38:09.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:38:09.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-24T08:38:09.846Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-24T08:38:09.846Z] 5eb5b503b376: Pulling fs layer [2022-04-24T08:38:09.846Z] 5c69ac0246d0: Pulling fs layer [2022-04-24T08:38:09.846Z] ec43610c2a17: Pulling fs layer [2022-04-24T08:38:09.846Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-24T08:38:09.846Z] 33b1e0a273af: Pulling fs layer [2022-04-24T08:38:09.846Z] 5d3b04190fa2: Pulling fs layer [2022-04-24T08:38:09.846Z] 2f39f015ded8: Pulling fs layer [2022-04-24T08:38:09.846Z] 5d3b04190fa2: Waiting [2022-04-24T08:38:09.846Z] 33b1e0a273af: Waiting [2022-04-24T08:38:09.846Z] 2f39f015ded8: Waiting [2022-04-24T08:38:09.846Z] 3a2ae6a8a46f: Waiting [2022-04-24T08:38:09.846Z] 5c69ac0246d0: Download complete [2022-04-24T08:38:09.846Z] 3a2ae6a8a46f: Download complete [2022-04-24T08:38:09.846Z] 33b1e0a273af: Verifying Checksum [2022-04-24T08:38:09.846Z] 33b1e0a273af: Download complete [2022-04-24T08:38:09.846Z] 5d3b04190fa2: Verifying Checksum [2022-04-24T08:38:09.846Z] 5d3b04190fa2: Download complete [2022-04-24T08:38:09.846Z] ec43610c2a17: Verifying Checksum [2022-04-24T08:38:09.846Z] ec43610c2a17: Download complete [2022-04-24T08:38:10.115Z] 5eb5b503b376: Verifying Checksum [2022-04-24T08:38:10.116Z] 5eb5b503b376: Download complete [2022-04-24T08:38:10.683Z] 2f39f015ded8: Verifying Checksum [2022-04-24T08:38:10.683Z] 2f39f015ded8: Download complete [2022-04-24T08:38:11.253Z] 5eb5b503b376: Pull complete [2022-04-24T08:38:11.512Z] 5c69ac0246d0: Pull complete [2022-04-24T08:38:12.077Z] ec43610c2a17: Pull complete [2022-04-24T08:38:12.077Z] 3a2ae6a8a46f: Pull complete [2022-04-24T08:38:12.335Z] 33b1e0a273af: Pull complete [2022-04-24T08:38:12.335Z] 5d3b04190fa2: Pull complete [2022-04-24T08:38:17.612Z] 2f39f015ded8: Pull complete [2022-04-24T08:38:17.612Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-24T08:38:17.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-24T08:38:17.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-24T08:38:17.679Z] prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container [2022-04-24T08:38:17.719Z] $ 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 [2022-04-24T08:38:19.701Z] $ docker top 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:38:20.134Z] ---> job-cost.sh [2022-04-24T08:38:20.134Z] lf-activate-venv: SKIPPING [2022-04-24T08:38:20.134Z] INFO: No Stack... [2022-04-24T08:38:20.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-24T08:38:20.975Z] INFO: Archiving Costs [Pipeline] sh [2022-04-24T08:38:21.271Z] + cat /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives/cost.csv [2022-04-24T08:38:21.271Z] + cut -d, -f6 [Pipeline] lock [2022-04-24T08:38:21.291Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [2022-04-24T08:38:21.297Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] did not exist. Created. [2022-04-24T08:38:21.297Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-24T08:38:21.601Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-24T08:38:21.632Z] Stashed 1 file(s) [Pipeline] } [2022-04-24T08:38:21.641Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-24T08:38:21.668Z] $ docker stop --time=1 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 [2022-04-24T08:38:22.858Z] $ docker rm -f 55234eaf733fe086eea23b3f3862b4a9873715f2a7a3ec15b1c58d6668edd1e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-24T08:38:22.974Z] Failed in branch amd64 [2022-04-24T08:39:24.367Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21888 in /w/workspace/gexfoundry_go-mod-secrets_PR-146 [Pipeline] { [Pipeline] ws [2022-04-24T08:39:24.382Z] Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout [2022-04-24T08:39:24.566Z] Selected Git installation does not exist. Using Default [2022-04-24T08:39:24.566Z] The recommended git tool is: NONE [2022-04-24T08:39:30.004Z] using credential edgex-jenkins-ssh [2022-04-24T08:39:30.024Z] Cloning the remote Git repository [2022-04-24T08:39:30.112Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2022-04-24T08:39:30.199Z] > git init /w/workspace/go-mod-secrets/2 # timeout=10 [2022-04-24T08:39:30.301Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-04-24T08:39:30.302Z] > git --version # timeout=10 [2022-04-24T08:39:30.324Z] > git --version # 'git version 2.25.1' [2022-04-24T08:39:30.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-24T08:39:30.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-24T08:39:31.952Z] Merging remotes/origin/main commit 8f104b71a102e4674541637bb48d3aebbae959de into PR head commit 5b8052dfcdec35940675e7ac5434078c98c9e4af [2022-04-24T08:39:32.174Z] Merge succeeded, producing 5b8052dfcdec35940675e7ac5434078c98c9e4af [2022-04-24T08:39:32.175Z] Checking out Revision 5b8052dfcdec35940675e7ac5434078c98c9e4af (PR-146) [2022-04-24T08:39:31.252Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-04-24T08:39:31.278Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-24T08:39:31.313Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-04-24T08:39:31.357Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-04-24T08:39:31.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-24T08:39:31.376Z] > 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 [2022-04-24T08:39:31.973Z] > git config core.sparsecheckout # timeout=10 [2022-04-24T08:39:31.997Z] > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # timeout=10 [2022-04-24T08:39:32.094Z] > git remote # timeout=10 [2022-04-24T08:39:32.110Z] > git config --get remote.origin.url # timeout=10 [2022-04-24T08:39:32.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-24T08:39:32.136Z] > git merge 8f104b71a102e4674541637bb48d3aebbae959de # timeout=10 [2022-04-24T08:39:32.160Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-24T08:39:32.183Z] > git config core.sparsecheckout # timeout=10 [2022-04-24T08:39:32.208Z] > git checkout -f 5b8052dfcdec35940675e7ac5434078c98c9e4af # timeout=10 [2022-04-24T08:39:36.342Z] 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 [2022-04-24T08:39:37.271Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-24T08:39:37.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-24T08:39:37.271Z] Dload Upload Total Spent Left Speed [2022-04-24T08:39:37.271Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 80564 0 --:--:-- --:--:-- --:--:-- 80564 [Pipeline] sh [2022-04-24T08:39:37.860Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-24T08:39:38.294Z] + sudo tee /etc/docker/daemon.new [2022-04-24T08:39:38.294Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-24T08:39:38.294Z] { [2022-04-24T08:39:38.294Z] "registry-mirrors": [ [2022-04-24T08:39:38.294Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-24T08:39:38.294Z] ], [2022-04-24T08:39:38.294Z] "bip": "10.250.0.254/24", [2022-04-24T08:39:38.294Z] "hosts": [ [2022-04-24T08:39:38.294Z] "tcp://0.0.0.0:5555", [2022-04-24T08:39:38.294Z] "unix:///var/run/docker.sock" [2022-04-24T08:39:38.294Z] ], [2022-04-24T08:39:38.294Z] "mtu": 1458, [2022-04-24T08:39:38.294Z] "selinux-enabled": true, [2022-04-24T08:39:38.294Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-24T08:39:38.294Z] } [Pipeline] sh [2022-04-24T08:39:38.636Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-24T08:39:38.984Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-04-24T08:39:57.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-24T08:39:57.852Z] ========================================================= [2022-04-24T08:39:57.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-24T08:39:57.852Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-24T08:39:58.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-24T08:39:58.802Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-24T08:39:58.802Z] 9b3977197b4f: Pulling fs layer [2022-04-24T08:39:58.802Z] 1a89e8eeedd5: Pulling fs layer [2022-04-24T08:39:58.802Z] 94645a83ff95: Pulling fs layer [2022-04-24T08:39:58.802Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-24T08:39:58.802Z] 0c92f367c5e7: Pulling fs layer [2022-04-24T08:39:58.802Z] 3096ccb668a1: Pulling fs layer [2022-04-24T08:39:58.802Z] e8cf19c19ddd: Pulling fs layer [2022-04-24T08:39:58.802Z] a4caa8a26152: Pulling fs layer [2022-04-24T08:39:58.802Z] 3096ccb668a1: Waiting [2022-04-24T08:39:58.802Z] 3f3a8bcf1eab: Waiting [2022-04-24T08:39:58.802Z] 0c92f367c5e7: Waiting [2022-04-24T08:39:58.802Z] e8cf19c19ddd: Waiting [2022-04-24T08:39:58.802Z] a4caa8a26152: Waiting [2022-04-24T08:39:58.802Z] 94645a83ff95: Verifying Checksum [2022-04-24T08:39:58.802Z] 94645a83ff95: Download complete [2022-04-24T08:39:58.802Z] 1a89e8eeedd5: Verifying Checksum [2022-04-24T08:39:58.802Z] 1a89e8eeedd5: Download complete [2022-04-24T08:39:58.802Z] 0c92f367c5e7: Verifying Checksum [2022-04-24T08:39:58.802Z] 0c92f367c5e7: Download complete [2022-04-24T08:39:58.802Z] 3096ccb668a1: Verifying Checksum [2022-04-24T08:39:58.802Z] 3096ccb668a1: Download complete [2022-04-24T08:39:58.802Z] 9b3977197b4f: Verifying Checksum [2022-04-24T08:39:58.802Z] 9b3977197b4f: Download complete [2022-04-24T08:39:59.081Z] e8cf19c19ddd: Verifying Checksum [2022-04-24T08:39:59.081Z] e8cf19c19ddd: Download complete [2022-04-24T08:39:59.682Z] 9b3977197b4f: Pull complete [2022-04-24T08:40:00.295Z] 1a89e8eeedd5: Pull complete [2022-04-24T08:40:00.573Z] 94645a83ff95: Pull complete [2022-04-24T08:40:00.847Z] a4caa8a26152: Verifying Checksum [2022-04-24T08:40:00.847Z] a4caa8a26152: Download complete [2022-04-24T08:40:01.459Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-24T08:40:01.459Z] 3f3a8bcf1eab: Download complete [2022-04-24T08:40:13.877Z] 3f3a8bcf1eab: Pull complete [2022-04-24T08:40:13.877Z] 0c92f367c5e7: Pull complete [2022-04-24T08:40:13.877Z] 3096ccb668a1: Pull complete [2022-04-24T08:40:14.151Z] e8cf19c19ddd: Pull complete [2022-04-24T08:40:20.871Z] a4caa8a26152: Pull complete [2022-04-24T08:40:20.871Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-24T08:40:20.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-24T08:40:20.871Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-04-24T08:40:21.210Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:40:21.554Z] + docker inspect -f . ci-base-image-arm64 [2022-04-24T08:40:21.554Z] . [Pipeline] withDockerContainer [2022-04-24T08:40:21.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container [2022-04-24T08:40:21.858Z] $ 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 [2022-04-24T08:40:24.673Z] $ docker top a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-24T08:40:25.652Z] + go version [2022-04-24T08:40:25.652Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-24T08:40:25.680Z] $ docker stop --time=1 a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 [2022-04-24T08:40:27.373Z] $ docker rm -f a215665356c8787b3b49a9ed8276971bb449659b25b1a5d35a3340e498105755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:40:27.997Z] + docker inspect -f . ci-base-image-arm64 [2022-04-24T08:40:27.997Z] . [Pipeline] withDockerContainer [2022-04-24T08:40:28.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container [2022-04-24T08:40:28.320Z] $ 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 [2022-04-24T08:40:29.593Z] $ docker top fb1a0037dd50144a4d718eefc85f75f6a7afbc79ca353c154276b6ca8929a482 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-24T08:40:30.536Z] + make test [2022-04-24T08:40:30.536Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-04-24T08:40:30.536Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-24T08:40:30.536Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-04-24T08:40:30.842Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-24T08:40:31.127Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-24T08:40:31.127Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-24T08:40:31.127Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-24T08:40:31.127Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-24T08:40:31.127Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-04-24T08:40:31.127Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-04-24T08:40:31.127Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-24T08:40:31.127Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-24T08:40:31.127Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-24T08:40:32.108Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-24T08:40:32.108Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-24T08:40:32.382Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-24T08:40:32.382Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-24T08:40:32.655Z] go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 [2022-04-24T08:40:32.939Z] go: downloading golang.org/x/text v0.3.7 [2022-04-24T08:40:32.939Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-24T08:40:32.939Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-04-24T08:40:32.939Z] go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f [2022-04-24T08:40:33.217Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-24T08:40:34.208Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-24T08:40:34.485Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-24T08:41:56.299Z] --- FAIL: TestHttpSecretStoreManager_GetValue (0.02s) [2022-04-24T08:41:56.299Z] --- FAIL: TestHttpSecretStoreManager_GetValue/Handle_non-200_HTTP_response (0.00s) [2022-04-24T08:41:56.299Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2022-04-24T08:41:56.299Z] panic: runtime error: invalid memory address or nil pointer dereference [2022-04-24T08:41:56.299Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x44e3f0] [2022-04-24T08:41:56.299Z] [2022-04-24T08:41:56.299Z] goroutine 164 [running]: [2022-04-24T08:41:56.299Z] testing.tRunner.func1.2({0x4a9820, 0x815c00}) [2022-04-24T08:41:56.299Z] /usr/local/go/src/testing/testing.go:1209 +0x348 [2022-04-24T08:41:56.299Z] testing.tRunner.func1(0xc000504ea0) [2022-04-24T08:41:56.299Z] /usr/local/go/src/testing/testing.go:1212 +0x2ec [2022-04-24T08:41:56.299Z] panic({0x4a9820, 0x815c00}) [2022-04-24T08:41:56.299Z] /usr/local/go/src/runtime/panic.go:1052 +0x2b4 [2022-04-24T08:41:56.299Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys.func1(0xc0004fbd40) [2022-04-24T08:41:56.299Z] /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:374 +0x60 [2022-04-24T08:41:56.299Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).getAllKeys(0xc000471d68, {0x501560, 0x5}) [2022-04-24T08:41:56.299Z] /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:378 +0xa5c [2022-04-24T08:41:56.299Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.(*Client).GetSecrets(0xc000486d68, {0x501560, 0x5}, {0xc000411780, 0x1, 0x1}) [2022-04-24T08:41:56.299Z] /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets.go:56 +0x64 [2022-04-24T08:41:56.299Z] github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault.TestHttpSecretStoreManager_GetValue.func1(0xc000504ea0) [2022-04-24T08:41:56.299Z] /w/workspace/go-mod-secrets/2/internal/pkg/vault/secrets_test.go:531 +0x178 [2022-04-24T08:41:56.299Z] testing.tRunner(0xc000504ea0, 0xc000112f10) [2022-04-24T08:41:56.299Z] /usr/local/go/src/testing/testing.go:1259 +0x19c [2022-04-24T08:41:56.299Z] created by testing.(*T).Run [2022-04-24T08:41:56.299Z] /usr/local/go/src/testing/testing.go:1306 +0x5c4 [2022-04-24T08:41:56.299Z] FAIL github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 1.209s [2022-04-24T08:41:56.299Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.213s coverage: 57.1% of statements [2022-04-24T08:41:56.299Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-04-24T08:41:56.299Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.244s coverage: 96.7% of statements [2022-04-24T08:41:56.299Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.072s coverage: 89.5% of statements [2022-04-24T08:41:56.299Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-04-24T08:41:56.299Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.078s coverage: 100.0% of statements [2022-04-24T08:41:56.299Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-04-24T08:42:23.152Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.197s coverage: 55.8% of statements [2022-04-24T08:42:23.152Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] [2022-04-24T08:42:23.152Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.067s coverage: 75.0% of statements [2022-04-24T08:42:23.152Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.211s coverage: 100.0% of statements [2022-04-24T08:42:23.152Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-04-24T08:42:23.152Z] FAIL [2022-04-24T08:42:23.423Z] make: *** [Makefile:16: unittest] Error 1 [Pipeline] } [2022-04-24T08:42:23.449Z] $ docker stop --time=1 fb1a0037dd50144a4d718eefc85f75f6a7afbc79ca353c154276b6ca8929a482 [2022-04-24T08:42:25.362Z] $ 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 [2022-04-24T08:42:27.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-24T08:42:27.856Z] [2022-04-24T08:42:27.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:42:28.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-24T08:42:28.485Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-24T08:42:28.485Z] 8998bd30e6a1: Pulling fs layer [2022-04-24T08:42:28.485Z] 04944245beec: Pulling fs layer [2022-04-24T08:42:28.485Z] 699f458cf7ca: Pulling fs layer [2022-04-24T08:42:28.485Z] 765212b225bb: Pulling fs layer [2022-04-24T08:42:28.485Z] f23df028b6ca: Pulling fs layer [2022-04-24T08:42:28.485Z] d65c8cfc05b1: Pulling fs layer [2022-04-24T08:42:28.485Z] 2437ff75d9bd: Pulling fs layer [2022-04-24T08:42:28.485Z] f23df028b6ca: Waiting [2022-04-24T08:42:28.485Z] d65c8cfc05b1: Waiting [2022-04-24T08:42:28.485Z] 2437ff75d9bd: Waiting [2022-04-24T08:42:28.485Z] 765212b225bb: Waiting [2022-04-24T08:42:28.485Z] 04944245beec: Verifying Checksum [2022-04-24T08:42:28.485Z] 04944245beec: Download complete [2022-04-24T08:42:28.485Z] 765212b225bb: Verifying Checksum [2022-04-24T08:42:28.486Z] 765212b225bb: Download complete [2022-04-24T08:42:28.486Z] f23df028b6ca: Verifying Checksum [2022-04-24T08:42:28.486Z] f23df028b6ca: Download complete [2022-04-24T08:42:28.486Z] d65c8cfc05b1: Verifying Checksum [2022-04-24T08:42:28.486Z] d65c8cfc05b1: Download complete [2022-04-24T08:42:28.761Z] 699f458cf7ca: Verifying Checksum [2022-04-24T08:42:28.761Z] 699f458cf7ca: Download complete [2022-04-24T08:42:29.036Z] 8998bd30e6a1: Verifying Checksum [2022-04-24T08:42:29.036Z] 8998bd30e6a1: Download complete [2022-04-24T08:42:31.659Z] 2437ff75d9bd: Verifying Checksum [2022-04-24T08:42:31.659Z] 2437ff75d9bd: Download complete [2022-04-24T08:42:33.641Z] 8998bd30e6a1: Pull complete [2022-04-24T08:42:33.914Z] 04944245beec: Pull complete [2022-04-24T08:42:35.355Z] 699f458cf7ca: Pull complete [2022-04-24T08:42:35.628Z] 765212b225bb: Pull complete [2022-04-24T08:42:36.608Z] f23df028b6ca: Pull complete [2022-04-24T08:42:36.608Z] d65c8cfc05b1: Pull complete [2022-04-24T08:42:51.715Z] 2437ff75d9bd: Pull complete [2022-04-24T08:42:51.715Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-24T08:42:51.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-24T08:42:51.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-24T08:42:51.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-21888 does not seem to be running inside a container [2022-04-24T08:42:52.016Z] $ 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 [2022-04-24T08:42:54.417Z] $ docker top 6b4dc1a07e77e950e9deaa21b553fd74aacd1f02162966dd6b37fe9c1087e757 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:42:55.334Z] ---> job-cost.sh [2022-04-24T08:42:55.334Z] lf-activate-venv: SKIPPING [2022-04-24T08:42:55.334Z] INFO: No Stack... [2022-04-24T08:42:55.607Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-24T08:42:56.587Z] INFO: Archiving Costs [Pipeline] sh [2022-04-24T08:42:57.254Z] + + cat /w/workspace/go-mod-secrets/2/archives/cost.csv [2022-04-24T08:42:57.254Z] cut -d, -f6 [Pipeline] lock [2022-04-24T08:42:57.320Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [2022-04-24T08:42:57.327Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] did not exist. Created. [2022-04-24T08:42:57.327Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-24T08:42:58.012Z] /w/workspace/go-mod-secrets/2@tmp/durable-0bd0f87b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-24T08:42:58.686Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-24T08:42:58.708Z] Warning: overwriting stash ‘stack-cost’ [2022-04-24T08:42:59.145Z] Stashed 1 file(s) [Pipeline] } [2022-04-24T08:42:59.154Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-24T08:42:59.175Z] $ docker stop --time=1 6b4dc1a07e77e950e9deaa21b553fd74aacd1f02162966dd6b37fe9c1087e757 [2022-04-24T08:43:00.705Z] $ 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] } [2022-04-24T08:43:01.034Z] 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 [2022-04-24T08:43:01.760Z] + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives ] [2022-04-24T08:43:01.760Z] + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives [2022-04-24T08:43:01.760Z] total 16 [2022-04-24T08:43:01.760Z] drwxr-xr-x 3 root root 4096 Apr 24 08:38 . [2022-04-24T08:43:01.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 08:38 .. [2022-04-24T08:43:01.760Z] drwxr-xr-x 2 root root 4096 Apr 24 08:38 cost [2022-04-24T08:43:01.760Z] -rw-r--r-- 1 root root 85 Apr 24 08:38 cost.csv [2022-04-24T08:43:01.760Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives [2022-04-24T08:43:01.760Z] + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives [2022-04-24T08:43:01.760Z] total 16 [2022-04-24T08:43:01.760Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 08:38 . [2022-04-24T08:43:01.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 08:38 .. [2022-04-24T08:43:01.760Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 08:38 cost [2022-04-24T08:43:01.760Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 24 08:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:02.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:02.946Z] ---> package-listing.sh [2022-04-24T08:43:02.947Z] ++ facter osfamily [2022-04-24T08:43:02.947Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-24T08:43:03.208Z] + OS_FAMILY=debian [2022-04-24T08:43:03.208Z] + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-146 [2022-04-24T08:43:03.208Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-24T08:43:03.208Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-24T08:43:03.208Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-24T08:43:03.208Z] + PACKAGES=/tmp/packages_start.txt [2022-04-24T08:43:03.208Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-146 ']' [2022-04-24T08:43:03.208Z] + PACKAGES=/tmp/packages_end.txt [2022-04-24T08:43:03.208Z] + case "${OS_FAMILY}" in [2022-04-24T08:43:03.208Z] + dpkg -l [2022-04-24T08:43:03.208Z] + grep '^ii' [2022-04-24T08:43:03.208Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-24T08:43:03.208Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-24T08:43:03.208Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-24T08:43:03.208Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-146 ']' [2022-04-24T08:43:03.208Z] + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-146/archives/ [2022-04-24T08:43:03.208Z] + 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 [2022-04-24T08:43:03.222Z] 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 [2022-04-24T08:43:03.505Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-24T08:43:04.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-24T08:43:04.073Z] . [Pipeline] withDockerContainer [2022-04-24T08:43:04.144Z] prd-ubuntu20.04-docker-8c-8g-21887 does not seem to be running inside a container [2022-04-24T08:43:04.185Z] $ 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 [2022-04-24T08:43:04.427Z] $ docker top 31de56a19633a8962a8a1add2e7c3f4cd2af9410f23d345a59c75df4baf68536 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-24T08:43:04.786Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-24T08:43:05.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-24T08:43:05.366Z] + ls /var/log/sa-host [2022-04-24T08:43:05.366Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-24T08:43:05.582Z] provisioning config files... [2022-04-24T08:43:05.595Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-146@tmp/config7178119017109718204tmp [Pipeline] { [Pipeline] echo [2022-04-24T08:43:05.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:05.902Z] ---> create-netrc.sh [Pipeline] } [2022-04-24T08:43:05.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:06.253Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-24T08:43:06.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:06.551Z] ---> sudo-logs.sh [2022-04-24T08:43:06.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-24T08:43:06.575Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:06.859Z] ---> job-cost.sh [2022-04-24T08:43:06.859Z] lf-activate-venv: SKIPPING [2022-04-24T08:43:06.859Z] DEBUG: total: 0.2199999988079071 [2022-04-24T08:43:06.859Z] INFO: Retrieving Stack Cost... [2022-04-24T08:43:07.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-24T08:43:07.693Z] INFO: Archiving Costs [Pipeline] echo [2022-04-24T08:43:07.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-24T08:43:07.994Z] ---> logs-deploy.sh [2022-04-24T08:43:07.995Z] lf-activate-venv: SKIPPING [2022-04-24T08:43:07.995Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-146/2 [2022-04-24T08:43:07.995Z] INFO: archiving workspace using pattern(s): [2022-04-24T08:43:08.936Z] Archives upload complete. [2022-04-24T08:43:08.936Z] INFO: archiving logs to Nexus