Pull request #144 opened 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 jim-wang-intel for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from 75317054f2f6722c735a435893275360321184bb+7ea7921d7b7d504c5740bf8b039c465ec8ecab94 (2156e44efe512be22837938790181d2d7de9f40b) 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-ssh4688738834897723309.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-ssh7591188553642360863.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-144/workspace@libs/edgex-global-pipelines # timeout=10 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-144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3779250120301741451.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11420155756663735200.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5632898762928415625.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-144/workspace@libs/lf-pipelines # timeout=10 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-144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12504249039650089057.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-11597 in /w/workspace/gexfoundry_go-mod-secrets_PR-144 [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-144 # 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 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 into PR head commit 75317054f2f6722c735a435893275360321184bb Merge succeeded, producing 75317054f2f6722c735a435893275360321184bb Checking out Revision 75317054f2f6722c735a435893275360321184bb (PR-144) > 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/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75317054f2f6722c735a435893275360321184bb # 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 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75317054f2f6722c735a435893275360321184bb # timeout=10 Commit message: "feat(security): Add go build tags for delayed start builds - Add go build tags delayedstart for runtime token provider - Add dummy implementation of runtime token provider as the default if no build tags included when make go build" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:45:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:45:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:45:51 ========================================================= 17:45:51 EdgeX Global Pipelines Version Info 17:45:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:45:52 ------------------- 17:45:52 stable info: 17:45:52 ------------------- 17:45:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:45:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:45:52 Message: update stable to v1.0.221 17:45:52 ------------------- 17:45:52 experimental info: 17:45:52 ------------------- 17:45:52 Commited By: **** collab-it+edgex@linuxfoundation.org 17:45:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:45:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75317054f2f6722c735a435893275360321184bb [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7531705 [Pipeline] echo 17:45:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:45:55 + git rev-list -1 --merges 75317054f2f6722c735a435893275360321184bb~1..75317054f2f6722c735a435893275360321184bb [Pipeline] echo 17:45:55 -----------> git rev-list -1 --merges 75317054f2f6722c735a435893275360321184bb~1..75317054f2f6722c735a435893275360321184bb 75317054f2f6722c735a435893275360321184bb [false] [Pipeline] sh 17:45:55 + git log --format=format:%s -1 75317054f2f6722c735a435893275360321184bb [Pipeline] echo 17:45:55 ========================================================= 17:45:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:45:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:55 + git log --format=format:%s -1 75317054f2f6722c735a435893275360321184bb [Pipeline] echo 17:45:56 [semverPrep] GIT_COMMIT: 75317054f2f6722c735a435893275360321184bb, Commit Message: feat(security): Add go build tags for delayed start builds - Add go build tags delayedstart for runtime token provider - Add dummy implementation of runtime token provider as the default if no build tags included when make go build [Pipeline] echo 17:45:56 [semverPrep] This is not a build commit. [Pipeline] sh 17:45:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:45:56 + grep -v github /etc/ssh/ssh_known_hosts 17:45:56 + [ -e /tmp/ssh_known_hosts ] 17:45:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:45:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:45:56 + sudo tee -a /etc/ssh/ssh_known_hosts 17:45:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:45:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:57 17:45:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:45:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:57 latest: Pulling from edgex-devops/git-semver 17:45:57 a0d0a0d46f8b: Pulling fs layer 17:45:57 3e5f54012d9b: Pulling fs layer 17:45:57 4c7163046ea9: Pulling fs layer 17:45:57 0c2d73faf560: Pulling fs layer 17:45:57 0c2d73faf560: Waiting 17:45:57 3e5f54012d9b: Download complete 17:45:57 a0d0a0d46f8b: Download complete 17:45:57 0c2d73faf560: Verifying Checksum 17:45:57 0c2d73faf560: Download complete 17:45:57 4c7163046ea9: Verifying Checksum 17:45:57 4c7163046ea9: Download complete 17:45:57 a0d0a0d46f8b: Pull complete 17:45:57 3e5f54012d9b: Pull complete 17:45:58 4c7163046ea9: Pull complete 17:45:58 0c2d73faf560: Pull complete 17:45:58 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:45:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:45:58 prd-ubuntu20.04-docker-8c-8g-11597 does not seem to be running inside a container 17:45:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-144 -v /w/workspace/gexfoundry_go-mod-secrets_PR-144:/w/workspace/gexfoundry_go-mod-secrets_PR-144:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-144@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:45:59 $ docker top 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:45:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:59 [ssh-agent] Looking for ssh-agent implementation... 17:45:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:59 $ docker exec 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 ssh-agent 17:45:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnIHENI/agent.12 17:45:59 SSH_AGENT_PID=18 17:45:59 Running ssh-add (command line suppressed) 17:45:59 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/private_key_4025484261996401029.key (/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/private_key_4025484261996401029.key) 17:46:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:00 + git tag --points-at HEAD [Pipeline] } 17:46:00 $ docker exec --env ******** --env ******** 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 ssh-agent -k 17:46:00 unset SSH_AUTH_SOCK; 17:46:00 unset SSH_AGENT_PID; 17:46:00 echo Agent pid 18 killed; 17:46:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:46:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:46:00 [ssh-agent] Looking for ssh-agent implementation... 17:46:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:46:00 $ docker exec 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 ssh-agent 17:46:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMMeBkA/agent.51 17:46:00 SSH_AGENT_PID=58 17:46:00 Running ssh-add (command line suppressed) 17:46:01 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/private_key_1908836802699122426.key (/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/private_key_1908836802699122426.key) 17:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:01 + git semver init 17:46:01 # -> Open(): unable to determine branch for HEAD 17:46:01 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-144/.git 17:46:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-144 17:46:01 # $SEMVER_REMOTE_NAME = origin 17:46:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:46:01 # $SEMVER_USER_NAME = edgex-jenkins 17:46:01 # $SEMVER_BRANCH = PR-144 17:46:01 # $SEMVER_TEMP = /tmp/semver-514430300 17:46:01 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 17:46:01 # '/tmp/semver-514430300' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-144/.semver' 17:46:01 # -> Force: false 17:46:01 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-144/.semver [Pipeline] } 17:46:01 $ docker exec --env ******** --env ******** 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 ssh-agent -k 17:46:02 unset SSH_AUTH_SOCK; 17:46:02 unset SSH_AGENT_PID; 17:46:02 echo Agent pid 58 killed; 17:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:46:02 + git semver [Pipeline] } 17:46:02 $ docker stop --time=1 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 17:46:03 $ docker rm -f 209941f6661785cefa9596ca3d50b5d4484836d12a1782481831ebac3cabe1b9 [Pipeline] // withDockerContainer [Pipeline] sh 17:46:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:46:04 Stashed 1 file(s) [Pipeline] echo 17:46:04 [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 17:46:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:46:05 ========================================================= 17:46:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:46:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:46:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:46:05 59bf1c3509f3: Pulling fs layer 17:46:05 666ba61612fd: Pulling fs layer 17:46:05 8ed8ca486205: Pulling fs layer 17:46:05 4fe6c5a15a65: Pulling fs layer 17:46:05 22a0e8bec74d: Pulling fs layer 17:46:05 640e595b4fbd: Pulling fs layer 17:46:05 763cafe07f6e: Pulling fs layer 17:46:05 0c0b528cf693: Pulling fs layer 17:46:05 10935f4eaf8b: Pulling fs layer 17:46:05 4fe6c5a15a65: Waiting 17:46:05 22a0e8bec74d: Waiting 17:46:05 763cafe07f6e: Waiting 17:46:05 0c0b528cf693: Waiting 17:46:05 10935f4eaf8b: Waiting 17:46:05 8ed8ca486205: Download complete 17:46:05 666ba61612fd: Download complete 17:46:05 22a0e8bec74d: Download complete 17:46:05 640e595b4fbd: Download complete 17:46:05 763cafe07f6e: Verifying Checksum 17:46:05 763cafe07f6e: Download complete 17:46:05 59bf1c3509f3: Verifying Checksum 17:46:05 0c0b528cf693: Verifying Checksum 17:46:05 0c0b528cf693: Download complete 17:46:05 59bf1c3509f3: Pull complete 17:46:05 666ba61612fd: Pull complete 17:46:06 8ed8ca486205: Pull complete 17:46:06 10935f4eaf8b: Verifying Checksum 17:46:06 10935f4eaf8b: Download complete 17:46:06 4fe6c5a15a65: Verifying Checksum 17:46:06 4fe6c5a15a65: Download complete 17:46:10 4fe6c5a15a65: Pull complete 17:46:10 22a0e8bec74d: Pull complete 17:46:10 640e595b4fbd: Pull complete 17:46:10 763cafe07f6e: Pull complete 17:46:10 0c0b528cf693: Pull complete 17:46:13 10935f4eaf8b: Pull complete 17:46:13 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 17:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:46:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:46:13 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:46:14 + docker inspect -f . ci-base-image-x86_64 17:46:14 . [Pipeline] withDockerContainer 17:46:14 prd-ubuntu20.04-docker-8c-8g-11597 does not seem to be running inside a container 17:46:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-144 -v /w/workspace/gexfoundry_go-mod-secrets_PR-144:/w/workspace/gexfoundry_go-mod-secrets_PR-144:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:46:16 $ docker top d695ea8cfdfe311e4b7c1f8d27e0b29c49a9781107501b12387f8bb834b7e690 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:16 + go version 17:46:16 go version go1.17.6 linux/amd64 [Pipeline] } 17:46:16 $ docker stop --time=1 d695ea8cfdfe311e4b7c1f8d27e0b29c49a9781107501b12387f8bb834b7e690 17:46:17 $ docker rm -f d695ea8cfdfe311e4b7c1f8d27e0b29c49a9781107501b12387f8bb834b7e690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:46:18 + docker inspect -f . ci-base-image-x86_64 17:46:18 . [Pipeline] withDockerContainer 17:46:18 prd-ubuntu20.04-docker-8c-8g-11597 does not seem to be running inside a container 17:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-144 -v /w/workspace/gexfoundry_go-mod-secrets_PR-144:/w/workspace/gexfoundry_go-mod-secrets_PR-144:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:46:19 $ docker top 01c4e2628c2b322501a3d676861f9f565ba6948e24f8a618487c72ed0e6398ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:46:19 + make test 17:46:19 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 17:46:19 go: downloading github.com/stretchr/testify v1.7.1 17:46:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 17:46:19 go: downloading github.com/davecgh/go-spew v1.1.1 17:46:19 go: downloading github.com/pmezard/go-difflib v1.0.0 17:46:19 go: downloading github.com/stretchr/objx v0.1.1 17:46:19 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:46:19 go: downloading github.com/go-kit/kit v0.11.0 17:46:19 go: downloading github.com/google/uuid v1.3.0 17:46:19 go: downloading github.com/go-playground/validator/v10 v10.9.0 17:46:19 go: downloading golang.org/x/text v0.3.7 17:46:19 go: downloading github.com/leodido/go-urn v1.2.1 17:46:19 go: downloading github.com/go-playground/universal-translator v0.18.0 17:46:19 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 17:46:19 go: downloading github.com/go-playground/locales v0.14.0 17:46:20 Still waiting to schedule task 17:46:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:46:20 go: downloading github.com/go-logfmt/logfmt v0.5.0 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.404s coverage: 80.5% of statements 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.068s coverage: 57.1% of statements 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.058s coverage: 96.7% of statements 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.051s coverage: 89.5% of statements 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.022s coverage: 100.0% of statements 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider [no test files] 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.027s coverage: 75.0% of statements 17:46:42 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.059s coverage: 100.0% of statements 17:46:42 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 17:46:42 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race -tags delayedstart ./... -coverprofile=coverage.out 17:46:42 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:46:42 go: downloading github.com/zeebo/errs v1.2.2 17:46:42 go: downloading google.golang.org/grpc v1.42.0 17:46:42 go: downloading google.golang.org/protobuf v1.27.1 17:46:42 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:46:42 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:46:42 go: downloading github.com/golang/protobuf v1.5.2 17:46:42 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 17:46:42 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:46:52 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.399s coverage: 80.5% of statements 17:46:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.065s coverage: 57.1% of statements 17:46:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.051s coverage: 96.7% of statements 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.039s coverage: 89.5% of statements 17:46:54 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.026s coverage: 100.0% of statements 17:46:54 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.057s coverage: 55.8% of statements 17:46:54 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.048s coverage: 75.0% of statements 17:46:54 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.076s coverage: 100.0% of statements 17:46:54 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 17:47:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:47:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:47:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:47:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:47:04 $ docker stop --time=1 01c4e2628c2b322501a3d676861f9f565ba6948e24f8a618487c72ed0e6398ae 17:47:06 $ docker rm -f 01c4e2628c2b322501a3d676861f9f565ba6948e24f8a618487c72ed0e6398ae [Pipeline] // withDockerContainer [Pipeline] sh 17:47:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:47:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:08 17:47:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:08 latest: Pulling from edgex-lftools-log-publisher 17:47:08 5eb5b503b376: Pulling fs layer 17:47:08 5c69ac0246d0: Pulling fs layer 17:47:08 ec43610c2a17: Pulling fs layer 17:47:08 3a2ae6a8a46f: Pulling fs layer 17:47:08 33b1e0a273af: Pulling fs layer 17:47:08 5d3b04190fa2: Pulling fs layer 17:47:08 2f39f015ded8: Pulling fs layer 17:47:08 3a2ae6a8a46f: Waiting 17:47:08 33b1e0a273af: Waiting 17:47:08 5d3b04190fa2: Waiting 17:47:08 2f39f015ded8: Waiting 17:47:08 5c69ac0246d0: Verifying Checksum 17:47:08 5c69ac0246d0: Download complete 17:47:08 3a2ae6a8a46f: Download complete 17:47:08 ec43610c2a17: Verifying Checksum 17:47:08 ec43610c2a17: Download complete 17:47:08 33b1e0a273af: Verifying Checksum 17:47:08 33b1e0a273af: Download complete 17:47:08 5d3b04190fa2: Download complete 17:47:08 5eb5b503b376: Verifying Checksum 17:47:08 5eb5b503b376: Download complete 17:47:09 2f39f015ded8: Download complete 17:47:09 5eb5b503b376: Pull complete 17:47:10 5c69ac0246d0: Pull complete 17:47:10 ec43610c2a17: Pull complete 17:47:10 3a2ae6a8a46f: Pull complete 17:47:10 33b1e0a273af: Pull complete 17:47:10 5d3b04190fa2: Pull complete 17:47:15 2f39f015ded8: Pull complete 17:47:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:47:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:47:15 prd-ubuntu20.04-docker-8c-8g-11597 does not seem to be running inside a container 17:47:15 $ 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-144 -v /w/workspace/gexfoundry_go-mod-secrets_PR-144:/w/workspace/gexfoundry_go-mod-secrets_PR-144:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-144@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 17:47:16 $ docker top b5127b43df6cb0e73b212f8e619c7b00cc54387bd7c519741d0bd75ae5b0a9fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:17 ---> job-cost.sh 17:47:17 lf-activate-venv: SKIPPING 17:47:17 INFO: No Stack... 17:47:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:18 INFO: Archiving Costs [Pipeline] sh 17:47:18 + cut -d, -f6 17:47:18 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives/cost.csv [Pipeline] lock 17:47:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] 17:47:18 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] did not exist. Created. 17:47:18 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:18 + echo total: 0.2199999988079071 [Pipeline] stash 17:47:18 Stashed 1 file(s) [Pipeline] } 17:47:18 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:47:18 $ docker stop --time=1 b5127b43df6cb0e73b212f8e619c7b00cc54387bd7c519741d0bd75ae5b0a9fd 17:47:20 $ docker rm -f b5127b43df6cb0e73b212f8e619c7b00cc54387bd7c519741d0bd75ae5b0a9fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:47:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11598 in /w/workspace/gexfoundry_go-mod-secrets_PR-144 [Pipeline] { [Pipeline] ws 17:47:56 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 17:47:56 Selected Git installation does not exist. Using Default 17:47:56 The recommended git tool is: NONE 17:48:03 using credential edgex-jenkins-ssh 17:48:03 Cloning the remote Git repository 17:48:03 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 17:48:03 > git init /w/workspace/go-mod-secrets/1 # timeout=10 17:48:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 17:48:04 > git --version # timeout=10 17:48:04 > git --version # 'git version 2.25.1' 17:48:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:06 Merging remotes/origin/main commit 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 into PR head commit 75317054f2f6722c735a435893275360321184bb 17:48:05 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 17:48:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:05 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 17:48:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 17:48:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:48:06 > git config core.sparsecheckout # timeout=10 17:48:06 > git checkout -f 75317054f2f6722c735a435893275360321184bb # timeout=10 17:48:06 > git remote # timeout=10 17:48:06 > git config --get remote.origin.url # timeout=10 17:48:06 Merge succeeded, producing 75317054f2f6722c735a435893275360321184bb 17:48:06 Checking out Revision 75317054f2f6722c735a435893275360321184bb (PR-144) 17:48:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:06 > git merge 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 # timeout=10 17:48:06 > git rev-parse HEAD^{commit} # timeout=10 17:48:06 > git config core.sparsecheckout # timeout=10 17:48:06 > git checkout -f 75317054f2f6722c735a435893275360321184bb # timeout=10 17:48:11 Commit message: "feat(security): Add go build tags for delayed start builds - Add go build tags delayedstart for runtime token provider - Add dummy implementation of runtime token provider as the default if no build tags included when make go build" 17:48:11 > git --version # timeout=10 17:48:11 > git --version # 'git version 2.25.1' 17:48:11 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:48:12 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:12 Dload Upload Total Spent Left Speed 17:48:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48736 0 --:--:-- --:--:-- --:--:-- 48736 [Pipeline] sh 17:48:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:48:13 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 17:48:13 /etc/docker/daemon.json 17:48:13 { 17:48:13 "registry-mirrors": [ 17:48:13 "https://nexus3.edgexfoundry.org:10001" 17:48:13 ], 17:48:13 "bip": "10.250.0.254/24", 17:48:13 "hosts": [ 17:48:13 "tcp://0.0.0.0:5555", 17:48:13 "unix:///var/run/docker.sock" 17:48:13 ], 17:48:13 "mtu": 1458, 17:48:13 "selinux-enabled": true, 17:48:13 "seccomp-profile": "/etc/docker/seccomp.json" 17:48:13 } [Pipeline] sh 17:48:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:48:14 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:48:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:33 ========================================================= 17:48:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:48:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:48:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:48:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:48:34 9b3977197b4f: Pulling fs layer 17:48:34 1a89e8eeedd5: Pulling fs layer 17:48:34 94645a83ff95: Pulling fs layer 17:48:34 3f3a8bcf1eab: Pulling fs layer 17:48:34 0c92f367c5e7: Pulling fs layer 17:48:34 f7c0051592d6: Pulling fs layer 17:48:34 a227ed2f7395: Pulling fs layer 17:48:34 7b1c46037f91: Pulling fs layer 17:48:34 f7c0051592d6: Waiting 17:48:34 a227ed2f7395: Waiting 17:48:34 7b1c46037f91: Waiting 17:48:34 3f3a8bcf1eab: Waiting 17:48:34 0c92f367c5e7: Waiting 17:48:34 94645a83ff95: Download complete 17:48:34 1a89e8eeedd5: Verifying Checksum 17:48:34 1a89e8eeedd5: Download complete 17:48:34 0c92f367c5e7: Verifying Checksum 17:48:34 0c92f367c5e7: Download complete 17:48:34 f7c0051592d6: Verifying Checksum 17:48:34 f7c0051592d6: Download complete 17:48:34 a227ed2f7395: Verifying Checksum 17:48:34 a227ed2f7395: Download complete 17:48:34 9b3977197b4f: Download complete 17:48:35 9b3977197b4f: Pull complete 17:48:35 1a89e8eeedd5: Pull complete 17:48:35 94645a83ff95: Pull complete 17:48:36 7b1c46037f91: Verifying Checksum 17:48:36 7b1c46037f91: Download complete 17:48:36 3f3a8bcf1eab: Verifying Checksum 17:48:36 3f3a8bcf1eab: Download complete 17:48:49 3f3a8bcf1eab: Pull complete 17:48:49 0c92f367c5e7: Pull complete 17:48:49 f7c0051592d6: Pull complete 17:48:49 a227ed2f7395: Pull complete 17:48:56 7b1c46037f91: Pull complete 17:48:56 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 17:48:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:48:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 17:48:56 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:48:57 + docker inspect -f . ci-base-image-arm64 17:48:57 . [Pipeline] withDockerContainer 17:48:57 prd-ubuntu20.04-docker-arm64-4c-16g-11598 does not seem to be running inside a container 17:48:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@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 17:49:00 $ docker top 4fb6e552ceccab72bde7e2844358bc8269dd2f3140363559cc9d60b80c4174af -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:01 + go version 17:49:01 go version go1.17.6 linux/arm64 [Pipeline] } 17:49:01 $ docker stop --time=1 4fb6e552ceccab72bde7e2844358bc8269dd2f3140363559cc9d60b80c4174af 17:49:03 $ docker rm -f 4fb6e552ceccab72bde7e2844358bc8269dd2f3140363559cc9d60b80c4174af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:49:03 + docker inspect -f . ci-base-image-arm64 17:49:03 . [Pipeline] withDockerContainer 17:49:04 prd-ubuntu20.04-docker-arm64-4c-16g-11598 does not seem to be running inside a container 17:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@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 17:49:05 $ docker top 00a8957b7961f180deec83fef6302e61adb1df1020252a4f12c99a411284d4a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:49:06 + make test 17:49:06 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 17:49:06 go: downloading github.com/stretchr/testify v1.7.1 17:49:06 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 17:49:06 go: downloading github.com/davecgh/go-spew v1.1.1 17:49:06 go: downloading github.com/pmezard/go-difflib v1.0.0 17:49:06 go: downloading github.com/stretchr/objx v0.1.1 17:49:06 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:49:07 go: downloading github.com/go-playground/validator/v10 v10.9.0 17:49:07 go: downloading github.com/google/uuid v1.3.0 17:49:07 go: downloading github.com/go-kit/kit v0.11.0 17:49:07 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 17:49:07 go: downloading github.com/go-playground/universal-translator v0.18.0 17:49:07 go: downloading github.com/leodido/go-urn v1.2.1 17:49:07 go: downloading golang.org/x/text v0.3.7 17:49:07 go: downloading github.com/go-playground/locales v0.14.0 17:49:07 go: downloading github.com/go-logfmt/logfmt v0.5.0 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.383s coverage: 80.5% of statements 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.283s coverage: 57.1% of statements 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.200s coverage: 96.7% of statements 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.070s coverage: 89.5% of statements 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.082s coverage: 100.0% of statements 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider [no test files] 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.081s coverage: 75.0% of statements 17:50:29 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.292s coverage: 100.0% of statements 17:50:29 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 17:50:29 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race -tags delayedstart ./... -coverprofile=coverage.out 17:50:29 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:50:29 go: downloading github.com/zeebo/errs v1.2.2 17:50:29 go: downloading google.golang.org/grpc v1.42.0 17:50:30 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:50:30 go: downloading google.golang.org/protobuf v1.27.1 17:50:30 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:50:31 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 17:50:31 go: downloading github.com/golang/protobuf v1.5.2 17:50:31 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:50:49 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.574s coverage: 80.5% of statements 17:50:49 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.199s coverage: 57.1% of statements 17:50:49 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 17:50:49 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.222s coverage: 96.7% of statements 17:50:49 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.070s coverage: 89.5% of statements 17:50:49 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 17:50:49 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.101s coverage: 100.0% of statements 17:50:49 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 17:51:28 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.199s coverage: 55.8% of statements 17:51:28 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 17:51:28 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.064s coverage: 75.0% of statements 17:51:28 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.188s coverage: 100.0% of statements 17:51:28 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 17:51:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:51:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:51:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:51:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:51:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:51:51 $ docker stop --time=1 00a8957b7961f180deec83fef6302e61adb1df1020252a4f12c99a411284d4a3 17:51:53 $ docker rm -f 00a8957b7961f180deec83fef6302e61adb1df1020252a4f12c99a411284d4a3 [Pipeline] // withDockerContainer [Pipeline] sh 17:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:51:55 Warning: overwriting stash ‘coverage-report’ 17:51:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:51:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:51:56 17:51:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:51:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:51:57 arm64: Pulling from edgex-lftools-log-publisher 17:51:57 8998bd30e6a1: Pulling fs layer 17:51:57 04944245beec: Pulling fs layer 17:51:57 699f458cf7ca: Pulling fs layer 17:51:57 765212b225bb: Pulling fs layer 17:51:57 f23df028b6ca: Pulling fs layer 17:51:57 d65c8cfc05b1: Pulling fs layer 17:51:57 2437ff75d9bd: Pulling fs layer 17:51:57 f23df028b6ca: Waiting 17:51:57 d65c8cfc05b1: Waiting 17:51:57 2437ff75d9bd: Waiting 17:51:57 765212b225bb: Waiting 17:51:57 04944245beec: Verifying Checksum 17:51:57 04944245beec: Download complete 17:51:57 765212b225bb: Download complete 17:51:57 f23df028b6ca: Verifying Checksum 17:51:57 f23df028b6ca: Download complete 17:51:57 d65c8cfc05b1: Verifying Checksum 17:51:57 d65c8cfc05b1: Download complete 17:51:57 699f458cf7ca: Download complete 17:51:58 8998bd30e6a1: Verifying Checksum 17:51:58 8998bd30e6a1: Download complete 17:52:00 2437ff75d9bd: Verifying Checksum 17:52:00 2437ff75d9bd: Download complete 17:52:02 8998bd30e6a1: Pull complete 17:52:02 04944245beec: Pull complete 17:52:04 699f458cf7ca: Pull complete 17:52:04 765212b225bb: Pull complete 17:52:05 f23df028b6ca: Pull complete 17:52:05 d65c8cfc05b1: Pull complete 17:52:20 2437ff75d9bd: Pull complete 17:52:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:52:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:52:20 prd-ubuntu20.04-docker-arm64-4c-16g-11598 does not seem to be running inside a container 17:52:21 $ 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/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@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 17:52:23 $ docker top ac5186f37e02d3558156c364c460a54b47d8ddac7b19b722dab11b4e601a32b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:24 ---> job-cost.sh 17:52:24 lf-activate-venv: SKIPPING 17:52:24 INFO: No Stack... 17:52:24 INFO: Retrieving Pricing Info for: v3-standard-4 17:52:25 INFO: Archiving Costs [Pipeline] sh 17:52:26 + cat /w/workspace/go-mod-secrets/1/archives/cost.csv 17:52:26 + cut -d, -f6 [Pipeline] lock 17:52:26 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] 17:52:26 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] did not exist. Created. 17:52:26 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:52:27 /w/workspace/go-mod-secrets/1@tmp/durable-16043386/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:52:27 + echo total: 0.10999999940395355 [Pipeline] stash 17:52:27 Warning: overwriting stash ‘stack-cost’ 17:52:27 Stashed 1 file(s) [Pipeline] } 17:52:27 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:52:27 $ docker stop --time=1 ac5186f37e02d3558156c364c460a54b47d8ddac7b19b722dab11b4e601a32b4 17:52:29 $ docker rm -f ac5186f37e02d3558156c364c460a54b47d8ddac7b19b722dab11b4e601a32b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:52:30 provisioning config files... 17:52:30 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/config2351079949553382452tmp [Pipeline] { [Pipeline] sh 17:52:30 + set +x 17:52:30 + curl -s https://codecov.io/bash 17:52:30 + bash -s -- 17:52:30 17:52:30 _____ _ 17:52:30 / ____| | | 17:52:30 | | ___ __| | ___ ___ _____ __ 17:52:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:52:30 | |___| (_) | (_| | __/ (_| (_) \ V / 17:52:30 \_____\___/ \__,_|\___|\___\___/ \_/ 17:52:30 Bash-1.0.6 17:52:30 17:52:30 17:52:30 ==> git version 2.25.1 found 17:52:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:52:30 Release-Date: 2020-01-08 17:52:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:52:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:52:30 ==> Jenkins CI detected. 17:52:30 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-144 17:52:30 project root: . 17:52:30 --> token set from env 17:52:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:52:30 ==> Running gcov in . (disable via -X gcov) 17:52:30 ==> Python coveragepy not found 17:52:30 ==> Searching for coverage reports in: 17:52:30 + . 17:52:30 -> Found 1 reports 17:52:30 ==> Detecting git/mercurial file structure 17:52:30 ==> Reading reports 17:52:30 + ./coverage.out bytes=30538 17:52:30 ==> Appending adjustments 17:52:30 https://docs.codecov.io/docs/fixing-reports 17:52:31 + Found adjustments 17:52:31 ==> Gzipping contents 17:52:31 8.0K /tmp/codecov.QPQcmT.gz 17:52:31 ==> Uploading reports 17:52:31 url: https://codecov.io 17:52:31 query: branch=PR-144&commit=75317054f2f6722c735a435893275360321184bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=144&job=&cmd_args= 17:52:31 -> Pinging Codecov 17:52:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-144&commit=75317054f2f6722c735a435893275360321184bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=144&job=&cmd_args= 17:52:31 -> Uploading to 17:52:31 https://storage.googleapis.com/codecov/v4/raw/2022-04-08/D63849C06B6B67093493C71CE874ED06/75317054f2f6722c735a435893275360321184bb/b7c00de5-92ff-4161-bc9f-3738f9ad4235.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T175231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9300c13ba0a88a5e3e15924c41e9c6c4c32bebac6321e2d4422ffe946830d11 17:52:31 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:31 Dload Upload Total Spent Left Speed 17:52:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6147 0 0 100 6147 0 27814 --:--:-- --:--:-- --:--:-- 27689 100 6147 0 0 100 6147 0 25612 --:--:-- --:--:-- --:--:-- 25506 17:52:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/75317054f2f6722c735a435893275360321184bb [Pipeline] } 17:52:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:52:33 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives ] 17:52:33 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives 17:52:33 total 16 17:52:33 drwxr-xr-x 3 root root 4096 Apr 8 17:47 . 17:52:33 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:47 .. 17:52:33 drwxr-xr-x 2 root root 4096 Apr 8 17:47 cost 17:52:33 -rw-r--r-- 1 root root 85 Apr 8 17:47 cost.csv 17:52:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives 17:52:33 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives 17:52:33 total 16 17:52:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 17:47 . 17:52:33 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:47 .. 17:52:33 drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 17:47 cost 17:52:33 -rw-r--r-- 1 jenkins jenkins 85 Apr 8 17:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:52:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:52:34 ---> package-listing.sh 17:52:34 ++ facter osfamily 17:52:34 ++ tr '[:upper:]' '[:lower:]' 17:52:35 + OS_FAMILY=debian 17:52:35 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-144 17:52:35 + START_PACKAGES=/tmp/packages_start.txt 17:52:35 + END_PACKAGES=/tmp/packages_end.txt 17:52:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:52:35 + PACKAGES=/tmp/packages_start.txt 17:52:35 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-144 ']' 17:52:35 + PACKAGES=/tmp/packages_end.txt 17:52:35 + case "${OS_FAMILY}" in 17:52:35 + grep '^ii' 17:52:35 + dpkg -l 17:52:35 + '[' -f /tmp/packages_start.txt ']' 17:52:35 + '[' -f /tmp/packages_end.txt ']' 17:52:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:52:35 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-144 ']' 17:52:35 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives/ 17:52:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-144/archives/ [Pipeline] echo 17:52:35 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-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:52:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:35 . [Pipeline] withDockerContainer 17:52:36 prd-ubuntu20.04-docker-8c-8g-11597 does not seem to be running inside a container 17:52:36 $ 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-144/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-144 -v /w/workspace/gexfoundry_go-mod-secrets_PR-144:/w/workspace/gexfoundry_go-mod-secrets_PR-144:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:52:36 $ docker top 8b1f3699f553ba88fa472b6852a6740bb32a9b99feeda280a8c8b6ff5b71c371 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:52:37 + mkdir -p /var/log/sysstat [Pipeline] sh 17:52:37 + ls /var/log/sa-host 17:52:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:37 provisioning config files... 17:52:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-144@tmp/config3535290187365922931tmp [Pipeline] { [Pipeline] echo 17:52:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:52:38 ---> create-netrc.sh [Pipeline] } 17:52:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:52:38 ---> python-tools-install.sh [Pipeline] echo 17:52:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:52:38 ---> sudo-logs.sh 17:52:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:52:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:52:39 ---> job-cost.sh 17:52:39 lf-activate-venv: SKIPPING 17:52:39 DEBUG: total: 0.2199999988079071 17:52:39 INFO: Retrieving Stack Cost... 17:52:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:52:40 INFO: Archiving Costs [Pipeline] echo 17:52:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:52:40 ---> logs-deploy.sh 17:52:40 lf-activate-venv: SKIPPING 17:52:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-144/1 17:52:40 INFO: archiving workspace using pattern(s): 17:52:41 Archives upload complete. 17:52:41 INFO: archiving logs to Nexus 17:52:41 ---> uname -a: 17:52:41 Linux prd-ubuntu20-04-docker-8c-8g-11597 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:52:41 17:52:41 17:52:41 ---> lscpu: 17:52:41 Architecture: x86_64 17:52:41 CPU op-mode(s): 32-bit, 64-bit 17:52:41 Byte Order: Little Endian 17:52:41 Address sizes: 40 bits physical, 48 bits virtual 17:52:41 CPU(s): 8 17:52:41 On-line CPU(s) list: 0-7 17:52:41 Thread(s) per core: 1 17:52:41 Core(s) per socket: 1 17:52:41 Socket(s): 8 17:52:41 NUMA node(s): 1 17:52:41 Vendor ID: AuthenticAMD 17:52:41 CPU family: 23 17:52:41 Model: 49 17:52:41 Model name: AMD EPYC-Rome Processor 17:52:41 Stepping: 0 17:52:41 CPU MHz: 2800.000 17:52:41 BogoMIPS: 5600.00 17:52:41 Virtualization: AMD-V 17:52:41 Hypervisor vendor: KVM 17:52:41 Virtualization type: full 17:52:41 L1d cache: 256 KiB 17:52:41 L1i cache: 256 KiB 17:52:41 L2 cache: 4 MiB 17:52:41 L3 cache: 128 MiB 17:52:41 NUMA node0 CPU(s): 0-7 17:52:41 Vulnerability Itlb multihit: Not affected 17:52:41 Vulnerability L1tf: Not affected 17:52:41 Vulnerability Mds: Not affected 17:52:41 Vulnerability Meltdown: Not affected 17:52:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:52:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:52:41 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:52:41 Vulnerability Srbds: Not affected 17:52:41 Vulnerability Tsx async abort: Not affected 17:52:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:52:41 17:52:41 17:52:41 ---> nproc: 17:52:41 8 17:52:41 17:52:41