Pull request #156 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0+95e6a99a2b9c87af58e39e3c442fa111bb51b6f8 (a0c317c47c2bc90568b938d0f8e7f36090840467) 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-ssh9749823256373188604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6974911680541791766.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3591339557463752445.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-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11557405426430931643.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh10793424674504188687.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-156/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-156/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16923978654230263700.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-secrets DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [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-16057 in /w/workspace/gexfoundry_go-mod-secrets_PR-156 [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-156 # 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 > 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/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 95e6a99a2b9c87af58e39e3c442fa111bb51b6f8 into PR head commit a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 Merge succeeded, producing a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 Checking out Revision a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 (PR-156) > git config core.sparsecheckout # timeout=10 > git checkout -f a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 # 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 95e6a99a2b9c87af58e39e3c442fa111bb51b6f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:37 ========================================================= 05:03:37 EdgeX Global Pipelines Version Info 05:03:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:37 ------------------- 05:03:37 stable info: 05:03:37 ------------------- 05:03:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:03:37 Message: update stable to v1.0.234 05:03:38 ------------------- 05:03:38 experimental info: 05:03:38 ------------------- 05:03:38 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:38 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:03:38 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 05:03:38 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 05:03:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-156 [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-156 [Pipeline] echo 05:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-156 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1ad5d0 [Pipeline] echo 05:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:40 + git rev-list -1 --merges a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0~1..a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [Pipeline] echo 05:03:40 -----------> git rev-list -1 --merges a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0~1..a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [false] [Pipeline] sh 05:03:40 + git log --format=format:%s -1 a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [Pipeline] echo 05:03:40 ========================================================= 05:03:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:41 + git log --format=format:%s -1 a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [Pipeline] echo 05:03:41 [semverPrep] GIT_COMMIT: a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.5 [Pipeline] echo 05:03:41 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:41 + grep -v github /etc/ssh/ssh_known_hosts 05:03:41 + [ -e /tmp/ssh_known_hosts ] 05:03:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:41 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:42 05:03:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:42 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:42 42c077c10790: Pulling fs layer 05:03:42 f63e77b7563a: Pulling fs layer 05:03:42 bd5fdadae976: Pulling fs layer 05:03:42 205491f53016: Pulling fs layer 05:03:42 df18705c85c3: Pulling fs layer 05:03:42 bdb3f477010e: Pulling fs layer 05:03:42 c8a8fc8e1c8f: Pulling fs layer 05:03:42 2c6e9b1d212d: Pulling fs layer 05:03:42 bdb8f0575790: Pulling fs layer 05:03:42 386e3cb2ff24: Pulling fs layer 05:03:42 2343380bae48: Pulling fs layer 05:03:42 205491f53016: Waiting 05:03:42 df18705c85c3: Waiting 05:03:42 bdb3f477010e: Waiting 05:03:42 c8a8fc8e1c8f: Waiting 05:03:42 2c6e9b1d212d: Waiting 05:03:42 bdb8f0575790: Waiting 05:03:42 386e3cb2ff24: Waiting 05:03:42 2343380bae48: Waiting 05:03:43 f63e77b7563a: Download complete 05:03:43 205491f53016: Verifying Checksum 05:03:43 205491f53016: Download complete 05:03:43 df18705c85c3: Verifying Checksum 05:03:43 df18705c85c3: Download complete 05:03:43 bd5fdadae976: Verifying Checksum 05:03:43 bd5fdadae976: Download complete 05:03:43 bdb3f477010e: Verifying Checksum 05:03:43 bdb3f477010e: Download complete 05:03:43 2c6e9b1d212d: Download complete 05:03:43 bdb8f0575790: Download complete 05:03:43 386e3cb2ff24: Verifying Checksum 05:03:43 386e3cb2ff24: Download complete 05:03:43 2343380bae48: Verifying Checksum 05:03:43 2343380bae48: Download complete 05:03:43 42c077c10790: Verifying Checksum 05:03:43 42c077c10790: Download complete 05:03:43 c8a8fc8e1c8f: Download complete 05:03:44 42c077c10790: Pull complete 05:03:44 f63e77b7563a: Pull complete 05:03:45 bd5fdadae976: Pull complete 05:03:45 205491f53016: Pull complete 05:03:45 df18705c85c3: Pull complete 05:03:45 bdb3f477010e: Pull complete 05:03:47 c8a8fc8e1c8f: Pull complete 05:03:47 2c6e9b1d212d: Pull complete 05:03:47 bdb8f0575790: Pull complete 05:03:47 386e3cb2ff24: Pull complete 05:03:47 2343380bae48: Pull complete 05:03:47 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 05:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:48 prd-ubuntu20.04-docker-8c-8g-16057 does not seem to be running inside a container 05:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-156 -v /w/workspace/gexfoundry_go-mod-secrets_PR-156:/w/workspace/gexfoundry_go-mod-secrets_PR-156:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-156@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:49 $ docker top 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 -eo pid,comm 05:03:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:49 [ssh-agent] Looking for ssh-agent implementation... 05:03:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:49 $ docker exec 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 ssh-agent 05:03:49 SSH_AUTH_SOCK=/tmp/ssh-1tMKwTnuDHiO/agent.32 05:03:49 SSH_AGENT_PID=38 05:03:49 Running ssh-add (command line suppressed) 05:03:50 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/private_key_5701421098830965849.key (/w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/private_key_5701421098830965849.key) 05:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:50 + git tag --points-at HEAD [Pipeline] } 05:03:50 $ docker exec --env ******** --env ******** 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 ssh-agent -k 05:03:50 unset SSH_AUTH_SOCK; 05:03:50 unset SSH_AGENT_PID; 05:03:50 echo Agent pid 38 killed; 05:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:50 [ssh-agent] Looking for ssh-agent implementation... 05:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:50 $ docker exec 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 ssh-agent 05:03:51 SSH_AUTH_SOCK=/tmp/ssh-hcyyxKUxL0YL/agent.70 05:03:51 SSH_AGENT_PID=76 05:03:51 Running ssh-add (command line suppressed) 05:03:51 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/private_key_5763444853277507183.key (/w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/private_key_5763444853277507183.key) 05:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:51 + git semver init 05:03:51 2022-06-27 05:03:51,670 [run_init] DEBUG init version:0.0.0 force:False 05:03:51 2022-06-27 05:03:51,670 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver 05:03:51 2022-06-27 05:03:51,671 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver 05:03:51 2022-06-27 05:03:51,671 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-156, universal_newlines=False, shell=None, istream=None) 05:03:52 2022-06-27 05:03:52,296 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-156/.git/info/exclude 05:03:52 2022-06-27 05:03:52,296 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver/PR-156 with force:False 05:03:52 2022-06-27 05:03:52,296 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver/PR-156 05:03:52 2022-06-27 05:03:52,300 [execute] INFO git cat-file --batch-check 05:03:52 2022-06-27 05:03:52,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver, universal_newlines=False, shell=None, istream=) 05:03:52 2022-06-27 05:03:52,306 [execute] INFO git cat-file --batch 05:03:52 2022-06-27 05:03:52,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver, universal_newlines=False, shell=None, istream=) 05:03:52 2022-06-27 05:03:52,310 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-156/.semver/PR-156 05:03:52 0.0.0 [Pipeline] } 05:03:52 $ docker exec --env ******** --env ******** 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 ssh-agent -k 05:03:52 unset SSH_AUTH_SOCK; 05:03:52 unset SSH_AGENT_PID; 05:03:52 echo Agent pid 76 killed; 05:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:53 + git semver [Pipeline] } 05:03:53 $ docker stop --time=1 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 05:03:54 $ docker rm -f 790edba2e2990be50a3fa404ebe91867a15869cfefe0f697f107bee04cb04714 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:55 Stashed 1 file(s) [Pipeline] echo 05:03:55 [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 05:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:55 ========================================================= 05:03:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:03:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:03:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:03:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:56 59bf1c3509f3: Pulling fs layer 05:03:56 666ba61612fd: Pulling fs layer 05:03:56 8ed8ca486205: Pulling fs layer 05:03:56 cc1cd167ecdc: Pulling fs layer 05:03:56 c516ae0d96e1: Pulling fs layer 05:03:56 684cea983483: Pulling fs layer 05:03:56 dd3240ac7de5: Pulling fs layer 05:03:56 b1e948a4e11c: Pulling fs layer 05:03:56 a8fd76ee1af6: Pulling fs layer 05:03:56 646ad004c059: Pulling fs layer 05:03:56 cc1cd167ecdc: Waiting 05:03:56 c516ae0d96e1: Waiting 05:03:56 684cea983483: Waiting 05:03:56 dd3240ac7de5: Waiting 05:03:56 b1e948a4e11c: Waiting 05:03:56 a8fd76ee1af6: Waiting 05:03:56 646ad004c059: Waiting 05:03:56 8ed8ca486205: Verifying Checksum 05:03:56 8ed8ca486205: Download complete 05:03:56 666ba61612fd: Download complete 05:03:56 c516ae0d96e1: Verifying Checksum 05:03:56 684cea983483: Verifying Checksum 05:03:56 684cea983483: Download complete 05:03:56 dd3240ac7de5: Verifying Checksum 05:03:56 dd3240ac7de5: Download complete 05:03:56 59bf1c3509f3: Verifying Checksum 05:03:56 59bf1c3509f3: Download complete 05:03:56 b1e948a4e11c: Verifying Checksum 05:03:56 b1e948a4e11c: Download complete 05:03:56 59bf1c3509f3: Pull complete 05:03:56 666ba61612fd: Pull complete 05:03:56 8ed8ca486205: Pull complete 05:03:57 a8fd76ee1af6: Verifying Checksum 05:03:57 a8fd76ee1af6: Download complete 05:03:57 646ad004c059: Verifying Checksum 05:03:57 646ad004c059: Download complete 05:03:57 cc1cd167ecdc: Download complete 05:04:01 cc1cd167ecdc: Pull complete 05:04:01 c516ae0d96e1: Pull complete 05:04:01 684cea983483: Pull complete 05:04:01 dd3240ac7de5: Pull complete 05:04:01 b1e948a4e11c: Pull complete 05:04:02 a8fd76ee1af6: Pull complete 05:04:03 646ad004c059: Pull complete 05:04:03 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 05:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 05:04:03 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:04 + docker inspect -f . ci-base-image-x86_64 05:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:04 prd-ubuntu20.04-docker-8c-8g-16057 does not seem to be running inside a container 05:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-156 -v /w/workspace/gexfoundry_go-mod-secrets_PR-156:/w/workspace/gexfoundry_go-mod-secrets_PR-156:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-156@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 ******** ci-base-image-x86_64 cat 05:04:06 $ docker top 483b4105393660dba43f353f538c7c62185f5cb8b9b4e1bbfbd510386e76f088 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:07 + go version 05:04:07 go version go1.17.7 linux/amd64 [Pipeline] } 05:04:07 $ docker stop --time=1 483b4105393660dba43f353f538c7c62185f5cb8b9b4e1bbfbd510386e76f088 05:04:08 $ docker rm -f 483b4105393660dba43f353f538c7c62185f5cb8b9b4e1bbfbd510386e76f088 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:09 + docker inspect -f . ci-base-image-x86_64 05:04:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:09 prd-ubuntu20.04-docker-8c-8g-16057 does not seem to be running inside a container 05:04:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-156 -v /w/workspace/gexfoundry_go-mod-secrets_PR-156:/w/workspace/gexfoundry_go-mod-secrets_PR-156:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-156@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 ******** ci-base-image-x86_64 cat 05:04:09 $ docker top f717921fc42c0e76408933fa1faf46b01c0be8ec8e1a54560fe497ce4ed27315 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:10 + make test 05:04:10 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 05:04:10 go: downloading github.com/stretchr/testify v1.7.5 05:04:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 05:04:10 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 05:04:10 go: downloading github.com/davecgh/go-spew v1.1.1 05:04:10 go: downloading github.com/pmezard/go-difflib v1.0.0 05:04:10 go: downloading github.com/stretchr/objx v0.4.0 05:04:10 go: downloading gopkg.in/yaml.v3 v3.0.1 05:04:10 go: downloading github.com/go-kit/log v0.2.0 05:04:10 go: downloading github.com/go-playground/validator/v10 v10.10.1 05:04:10 go: downloading github.com/google/uuid v1.3.0 05:04:10 go: downloading github.com/zeebo/errs v1.2.2 05:04:10 go: downloading google.golang.org/grpc v1.46.0 05:04:10 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 05:04:10 go: downloading google.golang.org/protobuf v1.28.0 05:04:10 Still waiting to schedule task 05:04:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:10 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:04:10 go: downloading github.com/go-playground/universal-translator v0.18.0 05:04:10 go: downloading github.com/leodido/go-urn v1.2.1 05:04:10 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 05:04:10 go: downloading golang.org/x/text v0.3.7 05:04:10 go: downloading github.com/go-playground/locales v0.14.0 05:04:10 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 05:04:10 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 05:04:10 go: downloading github.com/golang/protobuf v1.5.2 05:04:10 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.511s coverage: 80.8% of statements 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.093s coverage: 57.1% of statements 05:04:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.063s coverage: 96.7% of statements 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.037s coverage: 89.5% of statements 05:04:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.058s coverage: 100.0% of statements 05:04:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.054s coverage: 55.8% of statements 05:04:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.044s coverage: 75.0% of statements 05:04:37 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.059s coverage: 100.0% of statements 05:04:37 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 05:04:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:04:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:48 $ docker stop --time=1 f717921fc42c0e76408933fa1faf46b01c0be8ec8e1a54560fe497ce4ed27315 05:04:50 $ docker rm -f f717921fc42c0e76408933fa1faf46b01c0be8ec8e1a54560fe497ce4ed27315 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:51 05:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:52 latest: Pulling from edgex-lftools-log-publisher 05:04:52 5eb5b503b376: Pulling fs layer 05:04:52 5c69ac0246d0: Pulling fs layer 05:04:52 ec43610c2a17: Pulling fs layer 05:04:52 3a2ae6a8a46f: Pulling fs layer 05:04:52 33b1e0a273af: Pulling fs layer 05:04:52 5d3b04190fa2: Pulling fs layer 05:04:52 2f39f015ded8: Pulling fs layer 05:04:52 3a2ae6a8a46f: Waiting 05:04:52 33b1e0a273af: Waiting 05:04:52 5d3b04190fa2: Waiting 05:04:52 2f39f015ded8: Waiting 05:04:52 5c69ac0246d0: Download complete 05:04:52 3a2ae6a8a46f: Verifying Checksum 05:04:52 3a2ae6a8a46f: Download complete 05:04:52 ec43610c2a17: Verifying Checksum 05:04:52 ec43610c2a17: Download complete 05:04:52 5d3b04190fa2: Verifying Checksum 05:04:52 5d3b04190fa2: Download complete 05:04:52 33b1e0a273af: Verifying Checksum 05:04:52 33b1e0a273af: Download complete 05:04:52 5eb5b503b376: Verifying Checksum 05:04:52 5eb5b503b376: Download complete 05:04:52 2f39f015ded8: Verifying Checksum 05:04:52 2f39f015ded8: Download complete 05:04:53 5eb5b503b376: Pull complete 05:04:53 5c69ac0246d0: Pull complete 05:04:54 ec43610c2a17: Pull complete 05:04:54 3a2ae6a8a46f: Pull complete 05:04:54 33b1e0a273af: Pull complete 05:04:54 5d3b04190fa2: Pull complete 05:04:58 2f39f015ded8: Pull complete 05:04:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:59 prd-ubuntu20.04-docker-8c-8g-16057 does not seem to be running inside a container 05:04:59 $ 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-156 -v /w/workspace/gexfoundry_go-mod-secrets_PR-156:/w/workspace/gexfoundry_go-mod-secrets_PR-156:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:00 $ docker top 65badab306bb6bdddb32c46bb5423f77e3e19cb33976248bd8f8f9392bc2d9d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> job-cost.sh 05:05:01 lf-activate-venv: SKIPPING 05:05:01 INFO: No Stack... 05:05:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:02 INFO: Archiving Costs [Pipeline] sh 05:05:02 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives/cost.csv 05:05:02 + cut -d, -f6 [Pipeline] lock 05:05:02 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] 05:05:02 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] did not exist. Created. 05:05:02 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:02 Stashed 1 file(s) [Pipeline] } 05:05:02 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:03 $ docker stop --time=1 65badab306bb6bdddb32c46bb5423f77e3e19cb33976248bd8f8f9392bc2d9d9 05:05:04 $ docker rm -f 65badab306bb6bdddb32c46bb5423f77e3e19cb33976248bd8f8f9392bc2d9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16061 in /w/workspace/gexfoundry_go-mod-secrets_PR-156 [Pipeline] { [Pipeline] ws 05:05:49 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 05:05:49 Selected Git installation does not exist. Using Default 05:05:49 The recommended git tool is: NONE 05:05:54 using credential edgex-jenkins-ssh 05:05:54 Cloning the remote Git repository 05:05:54 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 05:05:54 > git init /w/workspace/go-mod-secrets/1 # timeout=10 05:05:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 05:05:54 > git --version # timeout=10 05:05:54 > git --version # 'git version 2.25.1' 05:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:56 Merging remotes/origin/main commit 95e6a99a2b9c87af58e39e3c442fa111bb51b6f8 into PR head commit a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 05:05:56 Merge succeeded, producing a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 05:05:56 Checking out Revision a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 (PR-156) 05:05:55 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 05:05:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:55 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 05:05:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 05:05:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:05:56 > git config core.sparsecheckout # timeout=10 05:05:56 > git checkout -f a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 # timeout=10 05:05:56 > git remote # timeout=10 05:05:56 > git config --get remote.origin.url # timeout=10 05:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:56 > git merge 95e6a99a2b9c87af58e39e3c442fa111bb51b6f8 # timeout=10 05:05:56 > git rev-parse HEAD^{commit} # timeout=10 05:05:56 > git config core.sparsecheckout # timeout=10 05:05:56 > git checkout -f a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 # timeout=10 05:06:00 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.5" 05:06:00 > git --version # timeout=10 05:06:00 > git --version # 'git version 2.25.1' 05:06:00 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:01 Dload Upload Total Spent Left Speed 05:06:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh 05:06:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:03 + sudo tee /etc/docker/daemon.new 05:06:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:03 { 05:06:03 "registry-mirrors": [ 05:06:03 "https://nexus3.edgexfoundry.org:10001" 05:06:03 ], 05:06:03 "bip": "10.250.0.254/24", 05:06:03 "hosts": [ 05:06:03 "tcp://0.0.0.0:5555", 05:06:03 "unix:///var/run/docker.sock" 05:06:03 ], 05:06:03 "mtu": 1458, 05:06:03 "selinux-enabled": true, 05:06:03 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:03 } [Pipeline] sh 05:06:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:03 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:22 ========================================================= 05:06:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:06:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:06:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:06:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:23 9b3977197b4f: Pulling fs layer 05:06:23 1a89e8eeedd5: Pulling fs layer 05:06:23 94645a83ff95: Pulling fs layer 05:06:23 e6fb740bc735: Pulling fs layer 05:06:23 3a77bd46dcc9: Pulling fs layer 05:06:23 355e64cbe906: Pulling fs layer 05:06:23 63ab81a10011: Pulling fs layer 05:06:23 555d1d1c4555: Pulling fs layer 05:06:23 7d9057610161: Pulling fs layer 05:06:23 63ab81a10011: Waiting 05:06:23 e6fb740bc735: Waiting 05:06:23 555d1d1c4555: Waiting 05:06:23 7d9057610161: Waiting 05:06:23 3a77bd46dcc9: Waiting 05:06:23 355e64cbe906: Waiting 05:06:23 94645a83ff95: Download complete 05:06:23 1a89e8eeedd5: Verifying Checksum 05:06:23 1a89e8eeedd5: Download complete 05:06:23 3a77bd46dcc9: Verifying Checksum 05:06:23 3a77bd46dcc9: Download complete 05:06:23 355e64cbe906: Verifying Checksum 05:06:23 355e64cbe906: Download complete 05:06:23 9b3977197b4f: Verifying Checksum 05:06:23 9b3977197b4f: Download complete 05:06:23 63ab81a10011: Verifying Checksum 05:06:23 63ab81a10011: Download complete 05:06:24 9b3977197b4f: Pull complete 05:06:24 7d9057610161: Verifying Checksum 05:06:24 7d9057610161: Download complete 05:06:25 1a89e8eeedd5: Pull complete 05:06:25 94645a83ff95: Pull complete 05:06:26 555d1d1c4555: Verifying Checksum 05:06:26 555d1d1c4555: Download complete 05:06:26 e6fb740bc735: Verifying Checksum 05:06:26 e6fb740bc735: Download complete 05:06:39 e6fb740bc735: Pull complete 05:06:39 3a77bd46dcc9: Pull complete 05:06:39 355e64cbe906: Pull complete 05:06:39 63ab81a10011: Pull complete 05:06:44 555d1d1c4555: Pull complete 05:06:46 7d9057610161: Pull complete 05:06:46 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 05:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:06:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 05:06:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:47 + docker inspect -f . ci-base-image-arm64 05:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-16061 does not seem to be running inside a container 05:06:47 $ 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 ******** ci-base-image-arm64 cat 05:06:50 $ docker top a7c89ebd340e0fe2a964cbebf420a153ea4d8c188f2f38c92194d70beb921473 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:51 + go version 05:06:51 go version go1.17.7 linux/arm64 [Pipeline] } 05:06:51 $ docker stop --time=1 a7c89ebd340e0fe2a964cbebf420a153ea4d8c188f2f38c92194d70beb921473 05:06:53 $ docker rm -f a7c89ebd340e0fe2a964cbebf420a153ea4d8c188f2f38c92194d70beb921473 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:54 + docker inspect -f . ci-base-image-arm64 05:06:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:54 prd-ubuntu20.04-docker-arm64-4c-16g-16061 does not seem to be running inside a container 05:06:54 $ 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 ******** ci-base-image-arm64 cat 05:06:56 $ docker top d1ff0e344ba3fe0aea46fab6d5c06467cafcc4a1d99d28ca5d1e264581c38cab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:06:57 + make test 05:06:57 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 05:06:57 go: downloading github.com/stretchr/testify v1.7.5 05:06:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 05:06:57 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 05:06:58 go: downloading github.com/davecgh/go-spew v1.1.1 05:06:58 go: downloading github.com/pmezard/go-difflib v1.0.0 05:06:58 go: downloading github.com/stretchr/objx v0.4.0 05:06:58 go: downloading gopkg.in/yaml.v3 v3.0.1 05:06:58 go: downloading github.com/go-kit/log v0.2.0 05:06:58 go: downloading github.com/go-playground/validator/v10 v10.10.1 05:06:58 go: downloading github.com/google/uuid v1.3.0 05:06:58 go: downloading github.com/zeebo/errs v1.2.2 05:06:58 go: downloading google.golang.org/grpc v1.46.0 05:06:59 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 05:06:59 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:06:59 go: downloading google.golang.org/protobuf v1.28.0 05:06:59 go: downloading github.com/go-playground/universal-translator v0.18.0 05:06:59 go: downloading github.com/leodido/go-urn v1.2.1 05:06:59 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 05:06:59 go: downloading golang.org/x/text v0.3.7 05:06:59 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 05:06:59 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 05:07:00 go: downloading github.com/go-playground/locales v0.14.0 05:07:01 go: downloading github.com/golang/protobuf v1.5.2 05:07:01 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 05:08:53 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 10.310s coverage: 80.8% of statements 05:08:53 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.437s coverage: 57.1% of statements 05:08:53 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 05:08:53 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.264s coverage: 96.7% of statements 05:08:53 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.085s coverage: 89.5% of statements 05:08:53 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 05:08:53 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.109s coverage: 100.0% of statements 05:08:53 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 05:09:11 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.220s coverage: 55.8% of statements 05:09:11 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 05:09:11 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.075s coverage: 75.0% of statements 05:09:11 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.252s coverage: 100.0% of statements 05:09:11 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 05:09:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:19 $ docker stop --time=1 d1ff0e344ba3fe0aea46fab6d5c06467cafcc4a1d99d28ca5d1e264581c38cab 05:10:21 $ docker rm -f d1ff0e344ba3fe0aea46fab6d5c06467cafcc4a1d99d28ca5d1e264581c38cab [Pipeline] // withDockerContainer [Pipeline] sh 05:10:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:24 Warning: overwriting stash ‘coverage-report’ 05:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:26 05:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:26 arm64: Pulling from edgex-lftools-log-publisher 05:10:26 8998bd30e6a1: Pulling fs layer 05:10:26 04944245beec: Pulling fs layer 05:10:26 699f458cf7ca: Pulling fs layer 05:10:26 765212b225bb: Pulling fs layer 05:10:26 f23df028b6ca: Pulling fs layer 05:10:26 d65c8cfc05b1: Pulling fs layer 05:10:26 2437ff75d9bd: Pulling fs layer 05:10:26 765212b225bb: Waiting 05:10:26 f23df028b6ca: Waiting 05:10:26 d65c8cfc05b1: Waiting 05:10:26 2437ff75d9bd: Waiting 05:10:26 04944245beec: Verifying Checksum 05:10:26 04944245beec: Download complete 05:10:26 765212b225bb: Verifying Checksum 05:10:26 765212b225bb: Download complete 05:10:26 f23df028b6ca: Download complete 05:10:27 d65c8cfc05b1: Verifying Checksum 05:10:27 d65c8cfc05b1: Download complete 05:10:27 699f458cf7ca: Verifying Checksum 05:10:27 699f458cf7ca: Download complete 05:10:27 8998bd30e6a1: Verifying Checksum 05:10:27 8998bd30e6a1: Download complete 05:10:30 2437ff75d9bd: Verifying Checksum 05:10:30 2437ff75d9bd: Download complete 05:10:31 8998bd30e6a1: Pull complete 05:10:32 04944245beec: Pull complete 05:10:33 699f458cf7ca: Pull complete 05:10:33 765212b225bb: Pull complete 05:10:34 f23df028b6ca: Pull complete 05:10:34 d65c8cfc05b1: Pull complete 05:10:49 2437ff75d9bd: Pull complete 05:10:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-16061 does not seem to be running inside a container 05:10:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:10:52 $ docker top 2a089f1493288d677f1820fefb276a4a2a80c13c2c817daa134e4d94da905d19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:53 ---> job-cost.sh 05:10:53 lf-activate-venv: SKIPPING 05:10:53 INFO: No Stack... 05:10:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:10:55 INFO: Archiving Costs [Pipeline] sh 05:10:56 + cut -d, -f6 05:10:56 + cat /w/workspace/go-mod-secrets/1/archives/cost.csv [Pipeline] lock 05:10:56 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] 05:10:56 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] did not exist. Created. 05:10:56 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:56 /w/workspace/go-mod-secrets/1@tmp/durable-65ff63f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:10:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:10:57 Warning: overwriting stash ‘stack-cost’ 05:10:57 Stashed 1 file(s) [Pipeline] } 05:10:57 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:10:57 $ docker stop --time=1 2a089f1493288d677f1820fefb276a4a2a80c13c2c817daa134e4d94da905d19 05:10:59 $ docker rm -f 2a089f1493288d677f1820fefb276a4a2a80c13c2c817daa134e4d94da905d19 [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 05:11:00 provisioning config files... 05:11:00 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/config7572478841919124629tmp [Pipeline] { [Pipeline] sh 05:11:00 + set +x 05:11:00 + curl -s https://codecov.io/bash 05:11:00 + bash -s -- 05:11:00 05:11:00 _____ _ 05:11:00 / ____| | | 05:11:00 | | ___ __| | ___ ___ _____ __ 05:11:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:00 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:00 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:00 Bash-1.0.6 05:11:00 05:11:00 05:11:00 ==> git version 2.25.1 found 05:11:00 ==> 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 05:11:00 Release-Date: 2020-01-08 05:11:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:11:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:11:00 ==> Jenkins CI detected. 05:11:00 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-156 05:11:00 project root: . 05:11:00 --> token set from env 05:11:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:00 ==> Running gcov in . (disable via -X gcov) 05:11:00 ==> Python coveragepy not found 05:11:00 ==> Searching for coverage reports in: 05:11:00 + . 05:11:00 -> Found 1 reports 05:11:00 ==> Detecting git/mercurial file structure 05:11:00 ==> Reading reports 05:11:00 + ./coverage.out bytes=30451 05:11:00 ==> Appending adjustments 05:11:00 https://docs.codecov.io/docs/fixing-reports 05:11:00 + Found adjustments 05:11:00 ==> Gzipping contents 05:11:00 8.0K /tmp/codecov.bNq9U1.gz 05:11:00 ==> Uploading reports 05:11:00 url: https://codecov.io 05:11:00 query: branch=PR-156&commit=a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=156&job=&cmd_args= 05:11:00 -> Pinging Codecov 05:11:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-156&commit=a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=156&job=&cmd_args= 05:11:01 -> Uploading to 05:11:01 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/D63849C06B6B67093493C71CE874ED06/a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0/b7bfef57-8d13-4730-9e48-c56e72cde09f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T051101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=402eddd5a57c67277fa04fca9d06f70b4929ff42cd426b6fa48d6e574705749a 05:11:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:01 Dload Upload Total Spent Left Speed 05:11:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6135 0 0 100 6135 0 30073 --:--:-- --:--:-- --:--:-- 30073 05:11:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/a1ad5d05f5f8e5afe2ee9c88bd1508f8739738a0 [Pipeline] } 05:11:01 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 05:11:03 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives ] 05:11:03 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives 05:11:03 total 16 05:11:03 drwxr-xr-x 3 root root 4096 Jun 27 05:05 . 05:11:03 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:05 .. 05:11:03 drwxr-xr-x 2 root root 4096 Jun 27 05:05 cost 05:11:03 -rw-r--r-- 1 root root 85 Jun 27 05:05 cost.csv 05:11:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives 05:11:03 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives 05:11:03 total 16 05:11:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:05 . 05:11:03 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:05 .. 05:11:03 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 05:05 cost 05:11:03 -rw-r--r-- 1 jenkins jenkins 85 Jun 27 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:04 ---> package-listing.sh 05:11:04 ++ tr '[:upper:]' '[:lower:]' 05:11:04 ++ facter osfamily 05:11:04 + OS_FAMILY=debian 05:11:04 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-156 05:11:04 + START_PACKAGES=/tmp/packages_start.txt 05:11:04 + END_PACKAGES=/tmp/packages_end.txt 05:11:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:04 + PACKAGES=/tmp/packages_start.txt 05:11:04 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-156 ']' 05:11:04 + PACKAGES=/tmp/packages_end.txt 05:11:04 + case "${OS_FAMILY}" in 05:11:04 + dpkg -l 05:11:04 + grep '^ii' 05:11:04 + '[' -f /tmp/packages_start.txt ']' 05:11:04 + '[' -f /tmp/packages_end.txt ']' 05:11:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:04 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-156 ']' 05:11:04 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives/ 05:11:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-156/archives/ [Pipeline] echo 05:11:04 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-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:05 prd-ubuntu20.04-docker-8c-8g-16057 does not seem to be running inside a container 05:11:05 $ 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-156/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-156 -v /w/workspace/gexfoundry_go-mod-secrets_PR-156:/w/workspace/gexfoundry_go-mod-secrets_PR-156:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-156@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:10003/edgex-lftools-log-publisher:latest cat 05:11:06 $ docker top 902a8f98572bb0e166b69586465f4e81cd9a490217c5d228d298f86d0c00f245 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:06 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:06 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:07 + ls /var/log/sa-host 05:11:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:07 provisioning config files... 05:11:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-156@tmp/config1519321482838788407tmp [Pipeline] { [Pipeline] echo 05:11:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:07 ---> create-netrc.sh [Pipeline] } 05:11:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:08 ---> python-tools-install.sh [Pipeline] echo 05:11:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:08 ---> sudo-logs.sh 05:11:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:08 ---> job-cost.sh 05:11:08 lf-activate-venv: SKIPPING 05:11:08 DEBUG: total: 0.2199999988079071 05:11:08 INFO: Retrieving Stack Cost... 05:11:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:09 INFO: Archiving Costs [Pipeline] echo 05:11:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:10 ---> logs-deploy.sh 05:11:10 lf-activate-venv: SKIPPING 05:11:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-156/1 05:11:10 INFO: archiving workspace using pattern(s): 05:11:10 Archives upload complete. 05:11:10 INFO: archiving logs to Nexus