Pull request #171 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 bnevis-i for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from 11915e4607e1854fd92dabb7558f7f1fd6d80ece+158b1e73584495edbb2a4f58285262fb6bec7726 (cbfe35183fa36dc3c838261841acbc8563312c84) 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-ssh10688757783214830594.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh684601557241604795.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-171/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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14616258828561407116.key Verifying host key using known hosts file > 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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14421146992978280199.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh18079945603354809751.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-171/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-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17666622642081656557.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-120454 in /w/workspace/gexfoundry_go-mod-secrets_PR-171 [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-171 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 158b1e73584495edbb2a4f58285262fb6bec7726 into PR head commit 11915e4607e1854fd92dabb7558f7f1fd6d80ece > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 11915e4607e1854fd92dabb7558f7f1fd6d80ece Checking out Revision 11915e4607e1854fd92dabb7558f7f1fd6d80ece (PR-171) > git checkout -f 11915e4607e1854fd92dabb7558f7f1fd6d80ece # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 158b1e73584495edbb2a4f58285262fb6bec7726 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11915e4607e1854fd92dabb7558f7f1fd6d80ece # timeout=10 Commit message: "feat: Enabling hooks for Vault identity features" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:38:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:38:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:38:38 ========================================================= 04:38:38 EdgeX Global Pipelines Version Info 04:38:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:38:38 ------------------- 04:38:38 stable info: 04:38:38 ------------------- 04:38:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:38:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:38:38 Message: update stable to v1.0.244 04:38:39 ------------------- 04:38:39 experimental info: 04:38:39 ------------------- 04:38:39 Commited By: **** collab-it+edgex@linuxfoundation.org 04:38:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:38:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:38:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11915e4607e1854fd92dabb7558f7f1fd6d80ece [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11915e4 [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:38:41 + git rev-list -1 --merges 11915e4607e1854fd92dabb7558f7f1fd6d80ece~1..11915e4607e1854fd92dabb7558f7f1fd6d80ece [Pipeline] echo 04:38:41 -----------> git rev-list -1 --merges 11915e4607e1854fd92dabb7558f7f1fd6d80ece~1..11915e4607e1854fd92dabb7558f7f1fd6d80ece 11915e4607e1854fd92dabb7558f7f1fd6d80ece [false] [Pipeline] sh 04:38:41 + git log --format=format:%s -1 11915e4607e1854fd92dabb7558f7f1fd6d80ece [Pipeline] echo 04:38:41 ========================================================= 04:38:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:38:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:42 + git log --format=format:%s -1 11915e4607e1854fd92dabb7558f7f1fd6d80ece [Pipeline] echo 04:38:42 [semverPrep] GIT_COMMIT: 11915e4607e1854fd92dabb7558f7f1fd6d80ece, Commit Message: feat: Enabling hooks for Vault identity features [Pipeline] echo 04:38:42 [semverPrep] This is not a build commit. [Pipeline] sh 04:38:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:42 + grep -v github /etc/ssh/ssh_known_hosts 04:38:42 + [ -e /tmp/ssh_known_hosts ] 04:38:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:38:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:38:42 + sudo tee -a /etc/ssh/ssh_known_hosts 04:38:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:43 04:38:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:43 0.1.4: Pulling from edgex-devops/py-git-semver 04:38:43 b85a868b505f: Pulling fs layer 04:38:43 e2be974225ed: Pulling fs layer 04:38:43 339a4e72a1f5: Pulling fs layer 04:38:43 988bab9f4d93: Pulling fs layer 04:38:43 1469e6f7b9e6: Pulling fs layer 04:38:43 eaf3925da568: Pulling fs layer 04:38:43 bab4dde63d76: Pulling fs layer 04:38:43 1469e6f7b9e6: Waiting 04:38:43 bde34c3a00c8: Pulling fs layer 04:38:43 b352a97aabf1: Pulling fs layer 04:38:43 4872d77fe225: Pulling fs layer 04:38:43 5851b861e8e6: Pulling fs layer 04:38:43 eaf3925da568: Waiting 04:38:43 bab4dde63d76: Waiting 04:38:43 b352a97aabf1: Waiting 04:38:43 988bab9f4d93: Waiting 04:38:43 5851b861e8e6: Waiting 04:38:43 bde34c3a00c8: Waiting 04:38:43 e2be974225ed: Download complete 04:38:43 988bab9f4d93: Download complete 04:38:44 1469e6f7b9e6: Verifying Checksum 04:38:44 1469e6f7b9e6: Download complete 04:38:44 339a4e72a1f5: Verifying Checksum 04:38:44 339a4e72a1f5: Download complete 04:38:44 eaf3925da568: Verifying Checksum 04:38:44 eaf3925da568: Download complete 04:38:44 bde34c3a00c8: Verifying Checksum 04:38:44 bde34c3a00c8: Download complete 04:38:44 b352a97aabf1: Verifying Checksum 04:38:44 b352a97aabf1: Download complete 04:38:44 4872d77fe225: Verifying Checksum 04:38:44 4872d77fe225: Download complete 04:38:44 5851b861e8e6: Download complete 04:38:44 b85a868b505f: Download complete 04:38:44 bab4dde63d76: Verifying Checksum 04:38:44 bab4dde63d76: Download complete 04:38:45 b85a868b505f: Pull complete 04:38:45 e2be974225ed: Pull complete 04:38:46 339a4e72a1f5: Pull complete 04:38:46 988bab9f4d93: Pull complete 04:38:46 1469e6f7b9e6: Pull complete 04:38:46 eaf3925da568: Pull complete 04:38:48 bab4dde63d76: Pull complete 04:38:48 bde34c3a00c8: Pull complete 04:38:48 b352a97aabf1: Pull complete 04:38:48 4872d77fe225: Pull complete 04:38:48 5851b861e8e6: Pull complete 04:38:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:38:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:48 prd-ubuntu20.04-docker-8c-8g-120454 does not seem to be running inside a container 04:38:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-171 -v /w/workspace/gexfoundry_go-mod-secrets_PR-171:/w/workspace/gexfoundry_go-mod-secrets_PR-171:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-171@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-devops/py-git-semver:0.1.4 cat 04:38:52 $ docker top a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef -eo pid,comm 04:38:52 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). 04:38:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:53 [ssh-agent] Looking for ssh-agent implementation... 04:38:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:53 $ docker exec a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef ssh-agent 04:38:53 SSH_AUTH_SOCK=/tmp/ssh-Lqn4yBdzfWLv/agent.33 04:38:53 SSH_AGENT_PID=39 04:38:53 Running ssh-add (command line suppressed) 04:38:53 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/private_key_9936423017849192502.key (/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/private_key_9936423017849192502.key) 04:38:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:53 + git tag --points-at HEAD [Pipeline] } 04:38:53 $ docker exec --env ******** --env ******** a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef ssh-agent -k 04:38:53 unset SSH_AUTH_SOCK; 04:38:53 unset SSH_AGENT_PID; 04:38:53 echo Agent pid 39 killed; 04:38:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:38:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:53 [ssh-agent] Looking for ssh-agent implementation... 04:38:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:54 $ docker exec a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef ssh-agent 04:38:54 SSH_AUTH_SOCK=/tmp/ssh-hLb7J7V6UFaI/agent.71 04:38:54 SSH_AGENT_PID=77 04:38:54 Running ssh-add (command line suppressed) 04:38:54 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/private_key_6023049835037447403.key (/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/private_key_6023049835037447403.key) 04:38:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:54 + git semver init 04:38:54 2022-12-03 04:38:54,828 [run_init] DEBUG init version:0.0.0 force:False 04:38:54 2022-12-03 04:38:54,829 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver 04:38:54 2022-12-03 04:38:54,829 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver 04:38:54 2022-12-03 04:38:54,830 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-171, universal_newlines=False, shell=None, istream=None) 04:38:55 2022-12-03 04:38:55,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-171/.git/info/exclude 04:38:55 2022-12-03 04:38:55,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver/PR-171 with force:False 04:38:55 2022-12-03 04:38:55,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver/PR-171 04:38:55 2022-12-03 04:38:55,537 [execute] INFO git cat-file --batch-check 04:38:55 2022-12-03 04:38:55,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver, universal_newlines=False, shell=None, istream=) 04:38:55 2022-12-03 04:38:55,543 [execute] INFO git cat-file --batch 04:38:55 2022-12-03 04:38:55,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver, universal_newlines=False, shell=None, istream=) 04:38:55 2022-12-03 04:38:55,548 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-171/.semver/PR-171 04:38:55 0.0.0 [Pipeline] } 04:38:55 $ docker exec --env ******** --env ******** a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef ssh-agent -k 04:38:55 unset SSH_AUTH_SOCK; 04:38:55 unset SSH_AGENT_PID; 04:38:55 echo Agent pid 77 killed; 04:38:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:56 + git semver [Pipeline] } 04:38:56 $ docker stop --time=1 a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef 04:38:58 $ docker rm -f a748ee9bab4cb34bf6e56ceda794715dcfe3081082fc140dda314d150e3486ef [Pipeline] // withDockerContainer [Pipeline] sh 04:38:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:38:58 Stashed 1 file(s) [Pipeline] echo 04:38:58 [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 04:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:38:59 ========================================================= 04:38:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:38:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:38:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:38:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:38:59 213ec9aee27d: Pulling fs layer 04:38:59 4583459ba037: Pulling fs layer 04:38:59 93c1e223e6f2: Pulling fs layer 04:38:59 53926ce57604: Pulling fs layer 04:38:59 21b2b0c7a3f4: Pulling fs layer 04:38:59 22ff95d597cd: Pulling fs layer 04:38:59 12d6caf4c0d1: Pulling fs layer 04:38:59 96b7cbca73a9: Pulling fs layer 04:38:59 a7acece74701: Pulling fs layer 04:38:59 53926ce57604: Waiting 04:38:59 21b2b0c7a3f4: Waiting 04:38:59 22ff95d597cd: Waiting 04:38:59 96b7cbca73a9: Waiting 04:38:59 12d6caf4c0d1: Waiting 04:38:59 a7acece74701: Waiting 04:38:59 93c1e223e6f2: Verifying Checksum 04:38:59 93c1e223e6f2: Download complete 04:38:59 4583459ba037: Download complete 04:38:59 21b2b0c7a3f4: Download complete 04:38:59 22ff95d597cd: Verifying Checksum 04:38:59 22ff95d597cd: Download complete 04:38:59 213ec9aee27d: Download complete 04:38:59 12d6caf4c0d1: Verifying Checksum 04:38:59 12d6caf4c0d1: Download complete 04:39:00 213ec9aee27d: Pull complete 04:39:00 4583459ba037: Pull complete 04:39:00 93c1e223e6f2: Pull complete 04:39:00 a7acece74701: Verifying Checksum 04:39:00 a7acece74701: Download complete 04:39:00 53926ce57604: Verifying Checksum 04:39:00 53926ce57604: Download complete 04:39:01 96b7cbca73a9: Verifying Checksum 04:39:01 96b7cbca73a9: Download complete 04:39:04 53926ce57604: Pull complete 04:39:04 21b2b0c7a3f4: Pull complete 04:39:04 22ff95d597cd: Pull complete 04:39:04 12d6caf4c0d1: Pull complete 04:39:06 96b7cbca73a9: Pull complete 04:39:07 a7acece74701: Pull complete 04:39:07 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:39:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 04:39:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:08 + docker inspect -f . ci-base-image-x86_64 04:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:08 prd-ubuntu20.04-docker-8c-8g-120454 does not seem to be running inside a container 04:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-171 -v /w/workspace/gexfoundry_go-mod-secrets_PR-171:/w/workspace/gexfoundry_go-mod-secrets_PR-171:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:39:14 Still waiting to schedule task 04:39:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:39:14 $ docker top 00c5f14aafc88f773725e27db5ae4e8c46512a3097b9399033cd0ebcb55b7e95 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:15 + go version 04:39:15 go version go1.18.7 linux/amd64 [Pipeline] } 04:39:15 $ docker stop --time=1 00c5f14aafc88f773725e27db5ae4e8c46512a3097b9399033cd0ebcb55b7e95 04:39:16 $ docker rm -f 00c5f14aafc88f773725e27db5ae4e8c46512a3097b9399033cd0ebcb55b7e95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:17 + docker inspect -f . ci-base-image-x86_64 04:39:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:17 prd-ubuntu20.04-docker-8c-8g-120454 does not seem to be running inside a container 04:39:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_go-mod-secrets_PR-171 -v /w/workspace/gexfoundry_go-mod-secrets_PR-171:/w/workspace/gexfoundry_go-mod-secrets_PR-171:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:39:17 $ docker top a0a0cf47f5b2181978660ecbb6c65546f4be2e4c04bb1d8f78a74ce1dd6ceb6e -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:18 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-secrets_PR-171 [Pipeline] fileExists [Pipeline] sh 04:39:18 + make test 04:39:18 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 04:39:18 go: downloading github.com/stretchr/testify v1.8.1 04:39:18 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0 04:39:18 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 04:39:18 go: downloading github.com/davecgh/go-spew v1.1.1 04:39:18 go: downloading github.com/pmezard/go-difflib v1.0.0 04:39:18 go: downloading github.com/stretchr/objx v0.5.0 04:39:18 go: downloading gopkg.in/yaml.v3 v3.0.1 04:39:18 go: downloading github.com/go-kit/log v0.2.1 04:39:18 go: downloading github.com/go-playground/validator/v10 v10.11.1 04:39:18 go: downloading github.com/google/uuid v1.3.0 04:39:18 go: downloading github.com/zeebo/errs v1.2.2 04:39:18 go: downloading google.golang.org/grpc v1.46.0 04:39:19 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 04:39:19 go: downloading google.golang.org/protobuf v1.28.0 04:39:19 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:39:19 go: downloading github.com/go-playground/universal-translator v0.18.0 04:39:19 go: downloading github.com/leodido/go-urn v1.2.1 04:39:19 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 04:39:19 go: downloading golang.org/x/text v0.3.7 04:39:19 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 04:39:19 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 04:39:19 go: downloading github.com/golang/protobuf v1.5.2 04:39:19 go: downloading github.com/go-playground/locales v0.14.0 04:39:19 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.803s coverage: 77.0% of statements 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.064s coverage: 52.2% of statements 04:39:46 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.074s coverage: 96.7% of statements 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.038s coverage: 89.5% of statements 04:39:46 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.044s coverage: 100.0% of statements 04:39:46 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.078s coverage: 55.8% of statements 04:39:46 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.063s coverage: 54.5% of statements 04:39:46 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.062s coverage: 100.0% of statements 04:39:46 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 04:39:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:39:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:40:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:40:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:40:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:40:00 $ docker stop --time=1 a0a0cf47f5b2181978660ecbb6c65546f4be2e4c04bb1d8f78a74ce1dd6ceb6e 04:40:04 $ docker rm -f a0a0cf47f5b2181978660ecbb6c65546f4be2e4c04bb1d8f78a74ce1dd6ceb6e [Pipeline] // withDockerContainer [Pipeline] sh 04:40:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:40:04 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 04:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:40:05 04:40:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:40:06 latest: Pulling from edgex-lftools-log-publisher 04:40:06 5eb5b503b376: Pulling fs layer 04:40:06 5c69ac0246d0: Pulling fs layer 04:40:06 ec43610c2a17: Pulling fs layer 04:40:06 3a2ae6a8a46f: Pulling fs layer 04:40:06 33b1e0a273af: Pulling fs layer 04:40:06 5d3b04190fa2: Pulling fs layer 04:40:06 2f39f015ded8: Pulling fs layer 04:40:06 3a2ae6a8a46f: Waiting 04:40:06 33b1e0a273af: Waiting 04:40:06 5d3b04190fa2: Waiting 04:40:06 5c69ac0246d0: Verifying Checksum 04:40:06 5c69ac0246d0: Download complete 04:40:06 3a2ae6a8a46f: Verifying Checksum 04:40:06 3a2ae6a8a46f: Download complete 04:40:06 33b1e0a273af: Verifying Checksum 04:40:06 33b1e0a273af: Download complete 04:40:06 5d3b04190fa2: Verifying Checksum 04:40:06 5d3b04190fa2: Download complete 04:40:06 ec43610c2a17: Verifying Checksum 04:40:06 ec43610c2a17: Download complete 04:40:06 5eb5b503b376: Verifying Checksum 04:40:06 5eb5b503b376: Download complete 04:40:07 2f39f015ded8: Download complete 04:40:07 5eb5b503b376: Pull complete 04:40:07 5c69ac0246d0: Pull complete 04:40:08 ec43610c2a17: Pull complete 04:40:08 3a2ae6a8a46f: Pull complete 04:40:08 33b1e0a273af: Pull complete 04:40:08 5d3b04190fa2: Pull complete 04:40:12 2f39f015ded8: Pull complete 04:40:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:40:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:13 prd-ubuntu20.04-docker-8c-8g-120454 does not seem to be running inside a container 04:40:13 $ 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-171 -v /w/workspace/gexfoundry_go-mod-secrets_PR-171:/w/workspace/gexfoundry_go-mod-secrets_PR-171:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:40:17 $ docker top 30c75096e9728c5ac1a5104af88d0405f22d712179629a681402a020f88b4869 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:17 ---> job-cost.sh 04:40:17 lf-activate-venv: SKIPPING 04:40:17 INFO: No Stack... 04:40:18 INFO: Retrieving Pricing Info for: v3-standard-8 04:40:18 INFO: Archiving Costs [Pipeline] sh 04:40:18 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives/cost.csv 04:40:18 + cut -d, -f6 [Pipeline] lock 04:40:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] 04:40:18 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] did not exist. Created. 04:40:18 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:19 + echo total: 0.2199999988079071 [Pipeline] stash 04:40:19 Stashed 1 file(s) [Pipeline] } 04:40:19 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:40:19 $ docker stop --time=1 30c75096e9728c5ac1a5104af88d0405f22d712179629a681402a020f88b4869 04:40:20 $ docker rm -f 30c75096e9728c5ac1a5104af88d0405f22d712179629a681402a020f88b4869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:40:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120457 in /w/workspace/gexfoundry_go-mod-secrets_PR-171 [Pipeline] { [Pipeline] ws 04:40:50 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 04:40:50 Selected Git installation does not exist. Using Default 04:40:50 The recommended git tool is: NONE 04:40:56 using credential edgex-jenkins-ssh 04:40:56 Cloning the remote Git repository 04:40:56 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 04:40:56 > git init /w/workspace/go-mod-secrets/1 # timeout=10 04:40:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:40:56 > git --version # timeout=10 04:40:56 > git --version # 'git version 2.25.1' 04:40:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:56 Verifying host key using known hosts file 04:40:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:40:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:40:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:40:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:40:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:58 Verifying host key using known hosts file 04:40:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:40:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:40:58 Merging remotes/origin/main commit 158b1e73584495edbb2a4f58285262fb6bec7726 into PR head commit 11915e4607e1854fd92dabb7558f7f1fd6d80ece 04:40:59 Merge succeeded, producing 11915e4607e1854fd92dabb7558f7f1fd6d80ece 04:40:59 Checking out Revision 11915e4607e1854fd92dabb7558f7f1fd6d80ece (PR-171) 04:40:58 > git config core.sparsecheckout # timeout=10 04:40:58 > git checkout -f 11915e4607e1854fd92dabb7558f7f1fd6d80ece # timeout=10 04:40:58 > git remote # timeout=10 04:40:59 > git config --get remote.origin.url # timeout=10 04:40:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:59 Verifying host key using known hosts file 04:40:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:40:59 > git merge 158b1e73584495edbb2a4f58285262fb6bec7726 # timeout=10 04:40:59 > git rev-parse HEAD^{commit} # timeout=10 04:40:59 > git config core.sparsecheckout # timeout=10 04:40:59 > git checkout -f 11915e4607e1854fd92dabb7558f7f1fd6d80ece # timeout=10 04:41:02 Commit message: "feat: Enabling hooks for Vault identity features" 04:41:02 > git --version # timeout=10 04:41:02 > git --version # 'git version 2.25.1' 04:41:02 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:41:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:03 Dload Upload Total Spent Left Speed 04:41:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 04:41:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:41:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:41:04 + sudo tee /etc/docker/daemon.new 04:41:04 { 04:41:04 "registry-mirrors": [ 04:41:04 "https://nexus3.edgexfoundry.org:10001" 04:41:04 ], 04:41:04 "bip": "10.250.0.254/24", 04:41:04 "hosts": [ 04:41:04 "tcp://0.0.0.0:5555", 04:41:04 "unix:///var/run/docker.sock" 04:41:04 ], 04:41:04 "mtu": 1458, 04:41:04 "selinux-enabled": true, 04:41:04 "seccomp-profile": "/etc/docker/seccomp.json" 04:41:04 } [Pipeline] sh 04:41:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:41:05 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:41:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:41:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:41:23 ========================================================= 04:41:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:41:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:41:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:41:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:41:24 9b18e9b68314: Pulling fs layer 04:41:24 35d82f9e3411: Pulling fs layer 04:41:24 e16973657156: Pulling fs layer 04:41:24 fc693d55d65f: Pulling fs layer 04:41:24 7e9fc2657dce: Pulling fs layer 04:41:24 dda99020689f: Pulling fs layer 04:41:24 db1c61fa0a46: Pulling fs layer 04:41:24 891c053d2c06: Pulling fs layer 04:41:24 dda99020689f: Waiting 04:41:24 fc693d55d65f: Waiting 04:41:24 db1c61fa0a46: Waiting 04:41:24 7e9fc2657dce: Waiting 04:41:24 891c053d2c06: Waiting 04:41:24 e16973657156: Verifying Checksum 04:41:24 e16973657156: Download complete 04:41:24 35d82f9e3411: Download complete 04:41:24 7e9fc2657dce: Download complete 04:41:24 dda99020689f: Verifying Checksum 04:41:24 dda99020689f: Download complete 04:41:24 9b18e9b68314: Verifying Checksum 04:41:25 9b18e9b68314: Pull complete 04:41:25 891c053d2c06: Verifying Checksum 04:41:25 891c053d2c06: Download complete 04:41:26 35d82f9e3411: Pull complete 04:41:26 e16973657156: Pull complete 04:41:27 db1c61fa0a46: Verifying Checksum 04:41:27 db1c61fa0a46: Download complete 04:41:27 fc693d55d65f: Verifying Checksum 04:41:27 fc693d55d65f: Download complete 04:41:39 fc693d55d65f: Pull complete 04:41:39 7e9fc2657dce: Pull complete 04:41:39 dda99020689f: Pull complete 04:41:45 db1c61fa0a46: Pull complete 04:41:46 891c053d2c06: Pull complete 04:41:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:41:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 04:41:47 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:47 + docker inspect -f . ci-base-image-arm64 04:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:47 prd-ubuntu20.04-docker-arm64-4c-16g-120457 does not seem to be running inside a container 04:41: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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:41:50 $ docker top 7b30c674432aee6cc94c117b4b8aa54d7c55716d47b5c1358fbc567739a1afb1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:51 + go version 04:41:51 go version go1.18.7 linux/arm64 [Pipeline] } 04:41:51 $ docker stop --time=1 7b30c674432aee6cc94c117b4b8aa54d7c55716d47b5c1358fbc567739a1afb1 04:41:53 $ docker rm -f 7b30c674432aee6cc94c117b4b8aa54d7c55716d47b5c1358fbc567739a1afb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:53 + docker inspect -f . ci-base-image-arm64 04:41:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:54 prd-ubuntu20.04-docker-arm64-4c-16g-120457 does not seem to be running inside a container 04:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat 04:41:56 $ docker top a7fc80d1aa535f8bb17732d537c34b28d2a6afd468f6cefb349ac080d42746b5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:56 + git config --global --add safe.directory /w/workspace/go-mod-secrets/1 [Pipeline] fileExists [Pipeline] sh 04:41:57 + make test 04:41:57 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 04:41:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0 04:41:57 go: downloading github.com/stretchr/testify v1.8.1 04:41:57 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 04:41:57 go: downloading github.com/davecgh/go-spew v1.1.1 04:41:57 go: downloading github.com/pmezard/go-difflib v1.0.0 04:41:57 go: downloading github.com/stretchr/objx v0.5.0 04:41:57 go: downloading gopkg.in/yaml.v3 v3.0.1 04:41:58 go: downloading github.com/zeebo/errs v1.2.2 04:41:58 go: downloading google.golang.org/grpc v1.46.0 04:41:59 go: downloading github.com/go-kit/log v0.2.1 04:41:59 go: downloading github.com/go-playground/validator/v10 v10.11.1 04:41:59 go: downloading github.com/google/uuid v1.3.0 04:41:59 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 04:41:59 go: downloading google.golang.org/protobuf v1.28.0 04:41:59 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 04:41:59 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 04:41:59 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:41:59 go: downloading github.com/go-playground/universal-translator v0.18.0 04:41:59 go: downloading github.com/leodido/go-urn v1.2.1 04:41:59 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 04:41:59 go: downloading golang.org/x/text v0.3.7 04:42:00 go: downloading github.com/golang/protobuf v1.5.2 04:42:00 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 04:42:00 go: downloading github.com/go-playground/locales v0.14.0 04:43:52 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 10.522s coverage: 77.0% of statements 04:43:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.268s coverage: 52.2% of statements 04:43:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 04:43:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.250s coverage: 96.7% of statements 04:43:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.099s coverage: 89.5% of statements 04:43:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 04:43:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.087s coverage: 100.0% of statements 04:43:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 04:43:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.211s coverage: 55.8% of statements 04:43:59 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 04:43:59 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.061s coverage: 54.5% of statements 04:43:59 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.243s coverage: 100.0% of statements 04:43:59 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 04:43:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:43:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:44:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:44:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:44:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:44:55 $ docker stop --time=1 a7fc80d1aa535f8bb17732d537c34b28d2a6afd468f6cefb349ac080d42746b5 04:44:57 $ docker rm -f a7fc80d1aa535f8bb17732d537c34b28d2a6afd468f6cefb349ac080d42746b5 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:00 Warning: overwriting stash ‘coverage-report’ 04:45:00 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 04:45:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:45:01 04:45:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:45:02 arm64: Pulling from edgex-lftools-log-publisher 04:45:02 8998bd30e6a1: Pulling fs layer 04:45:02 04944245beec: Pulling fs layer 04:45:02 699f458cf7ca: Pulling fs layer 04:45:02 765212b225bb: Pulling fs layer 04:45:02 f23df028b6ca: Pulling fs layer 04:45:02 d65c8cfc05b1: Pulling fs layer 04:45:02 2437ff75d9bd: Pulling fs layer 04:45:02 f23df028b6ca: Waiting 04:45:02 d65c8cfc05b1: Waiting 04:45:02 765212b225bb: Waiting 04:45:02 2437ff75d9bd: Waiting 04:45:02 04944245beec: Verifying Checksum 04:45:02 04944245beec: Download complete 04:45:02 765212b225bb: Verifying Checksum 04:45:02 765212b225bb: Download complete 04:45:02 f23df028b6ca: Verifying Checksum 04:45:02 f23df028b6ca: Download complete 04:45:02 d65c8cfc05b1: Verifying Checksum 04:45:02 d65c8cfc05b1: Download complete 04:45:02 699f458cf7ca: Verifying Checksum 04:45:02 699f458cf7ca: Download complete 04:45:03 8998bd30e6a1: Verifying Checksum 04:45:03 8998bd30e6a1: Download complete 04:45:06 2437ff75d9bd: Verifying Checksum 04:45:06 2437ff75d9bd: Download complete 04:45:08 8998bd30e6a1: Pull complete 04:45:08 04944245beec: Pull complete 04:45:10 699f458cf7ca: Pull complete 04:45:11 765212b225bb: Pull complete 04:45:12 f23df028b6ca: Pull complete 04:45:12 d65c8cfc05b1: Pull complete 04:45:30 2437ff75d9bd: Pull complete 04:45:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:45:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:30 prd-ubuntu20.04-docker-arm64-4c-16g-120457 does not seem to be running inside a container 04:45:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:45:33 $ docker top e175a1b190a4e546347e9acc39eafbc6dea8d771619589a7586c793ba6fce604 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:34 ---> job-cost.sh 04:45:34 lf-activate-venv: SKIPPING 04:45:34 INFO: No Stack... 04:45:34 INFO: Retrieving Pricing Info for: v3-standard-4 04:45:35 INFO: Archiving Costs [Pipeline] sh 04:45:36 + cut -d, -f6 04:45:36 + cat /w/workspace/go-mod-secrets/1/archives/cost.csv [Pipeline] lock 04:45:36 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] 04:45:36 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] did not exist. Created. 04:45:36 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:36 /w/workspace/go-mod-secrets/1@tmp/durable-3867866f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:45:37 + echo total: 0.10999999940395355 [Pipeline] stash 04:45:37 Warning: overwriting stash ‘stack-cost’ 04:45:37 Stashed 1 file(s) [Pipeline] } 04:45:37 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:37 $ docker stop --time=1 e175a1b190a4e546347e9acc39eafbc6dea8d771619589a7586c793ba6fce604 04:45:39 $ docker rm -f e175a1b190a4e546347e9acc39eafbc6dea8d771619589a7586c793ba6fce604 [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 04:45:40 provisioning config files... 04:45:40 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/config13392621997646816615tmp [Pipeline] { [Pipeline] sh 04:45:40 + set +x 04:45:40 + curl -s https://codecov.io/bash 04:45:40 + bash -s -- 04:45:40 04:45:40 _____ _ 04:45:40 / ____| | | 04:45:40 | | ___ __| | ___ ___ _____ __ 04:45:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:45:40 | |___| (_) | (_| | __/ (_| (_) \ V / 04:45:40 \_____\___/ \__,_|\___|\___\___/ \_/ 04:45:40 Bash-1.0.6 04:45:40 04:45:40 04:45:40 ==> git version 2.25.1 found 04:45:40 ==> 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 04:45:40 Release-Date: 2020-01-08 04:45:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:45:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:45:40 ==> Jenkins CI detected. 04:45:40 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-171 04:45:40 project root: . 04:45:40 --> token set from env 04:45:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:45:40 ==> Running gcov in . (disable via -X gcov) 04:45:40 ==> Python coveragepy not found 04:45:40 ==> Searching for coverage reports in: 04:45:40 + . 04:45:40 -> Found 1 reports 04:45:40 ==> Detecting git/mercurial file structure 04:45:40 ==> Reading reports 04:45:40 + ./coverage.out bytes=39427 04:45:40 ==> Appending adjustments 04:45:40 https://docs.codecov.io/docs/fixing-reports 04:45:40 + Found adjustments 04:45:40 ==> Gzipping contents 04:45:40 8.0K /tmp/codecov.eKZ1Iy.gz 04:45:40 ==> Uploading reports 04:45:40 url: https://codecov.io 04:45:40 query: branch=PR-171&commit=11915e4607e1854fd92dabb7558f7f1fd6d80ece&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=171&job=&cmd_args= 04:45:40 -> Pinging Codecov 04:45:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-171&commit=11915e4607e1854fd92dabb7558f7f1fd6d80ece&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=171&job=&cmd_args= 04:45:41 -> Uploading to 04:45:41 https://storage.googleapis.com/codecov/v4/raw/2022-12-03/D63849C06B6B67093493C71CE874ED06/11915e4607e1854fd92dabb7558f7f1fd6d80ece/7efae55d-734c-40f0-aac9-fb6844d032fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221203T044541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5371d44030325d1cb864d0dfad56edc79f727fb57adc193c6e63295296913548 04:45:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:41 Dload Upload Total Spent Left Speed 04:45:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7894 0 0 100 7894 0 31201 --:--:-- --:--:-- --:--:-- 31201 04:45:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-secrets/commit/11915e4607e1854fd92dabb7558f7f1fd6d80ece [Pipeline] } 04:45:41 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 04:45:43 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives ] 04:45:43 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives 04:45:43 total 16 04:45:43 drwxr-xr-x 3 root root 4096 Dec 3 04:40 . 04:45:43 drwxrwxr-x 9 jenkins jenkins 4096 Dec 3 04:40 .. 04:45:43 drwxr-xr-x 2 root root 4096 Dec 3 04:40 cost 04:45:43 -rw-r--r-- 1 root root 86 Dec 3 04:40 cost.csv 04:45:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives 04:45:43 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives 04:45:43 total 16 04:45:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 3 04:40 . 04:45:43 drwxrwxr-x 9 jenkins jenkins 4096 Dec 3 04:40 .. 04:45:43 drwxr-xr-x 2 jenkins jenkins 4096 Dec 3 04:40 cost 04:45:43 -rw-r--r-- 1 jenkins jenkins 86 Dec 3 04:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:45:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:45:44 ---> package-listing.sh 04:45:44 ++ facter osfamily 04:45:44 ++ tr '[:upper:]' '[:lower:]' 04:45:44 + OS_FAMILY=debian 04:45:44 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-171 04:45:44 + START_PACKAGES=/tmp/packages_start.txt 04:45:44 + END_PACKAGES=/tmp/packages_end.txt 04:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:45:44 + PACKAGES=/tmp/packages_start.txt 04:45:44 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-171 ']' 04:45:44 + PACKAGES=/tmp/packages_end.txt 04:45:44 + case "${OS_FAMILY}" in 04:45:44 + dpkg -l 04:45:44 + grep '^ii' 04:45:44 + '[' -f /tmp/packages_start.txt ']' 04:45:44 + '[' -f /tmp/packages_end.txt ']' 04:45:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:45:44 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-171 ']' 04:45:44 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives/ 04:45:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-171/archives/ [Pipeline] echo 04:45:45 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:45:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:46 prd-ubuntu20.04-docker-8c-8g-120454 does not seem to be running inside a container 04:45:46 $ 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-171/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-171 -v /w/workspace/gexfoundry_go-mod-secrets_PR-171:/w/workspace/gexfoundry_go-mod-secrets_PR-171:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:45:46 $ docker top 592565411c359e5315d5f12e0a598064494750831ecd8842ba5080e6c6e29dc8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:46 + touch /tmp/pre-build-complete [Pipeline] sh 04:45:47 + mkdir -p /var/log/sysstat [Pipeline] sh 04:45:47 + ls /var/log/sa-host 04:45:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:47 provisioning config files... 04:45:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-171@tmp/config16796317406401391770tmp [Pipeline] { [Pipeline] echo 04:45:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:45:47 ---> create-netrc.sh [Pipeline] } 04:45:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:45:48 ---> python-tools-install.sh [Pipeline] echo 04:45:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:45:48 ---> sudo-logs.sh 04:45:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:45:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:45:49 ---> job-cost.sh 04:45:49 lf-activate-venv: SKIPPING 04:45:49 DEBUG: total: 0.2199999988079071 04:45:49 INFO: Retrieving Stack Cost... 04:45:49 INFO: Retrieving Pricing Info for: v3-standard-8 04:45:49 INFO: Archiving Costs [Pipeline] echo 04:45:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:45:50 ---> logs-deploy.sh 04:45:50 lf-activate-venv: SKIPPING 04:45:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-171/1 04:45:50 INFO: archiving workspace using pattern(s): 04:45:50 Archives upload complete. 04:45:50 INFO: archiving logs to Nexus