Pull request #164 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 726370977db744e8adccb9542ec2be79cebdbd77+d97f4ffcd9d6c83b876b3b634431b60d0e5848f4 (39c2b0ec5f3077ecafe4ad83c5c5c65a0da80a03) 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-ssh7481096817559697126.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12772983971171673292.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14367310334284993008.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh117922144383278096.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2095167167456115531.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 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117127 in /w/workspace/gexfoundry_go-mod-secrets_PR-164 [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-164 # 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 > 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d97f4ffcd9d6c83b876b3b634431b60d0e5848f4 into PR head commit 726370977db744e8adccb9542ec2be79cebdbd77 Merge succeeded, producing 726370977db744e8adccb9542ec2be79cebdbd77 Checking out Revision 726370977db744e8adccb9542ec2be79cebdbd77 (PR-164) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:34:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:34:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:34:47 ========================================================= 13:34:47 EdgeX Global Pipelines Version Info 13:34:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 726370977db744e8adccb9542ec2be79cebdbd77 # 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 d97f4ffcd9d6c83b876b3b634431b60d0e5848f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726370977db744e8adccb9542ec2be79cebdbd77 # timeout=10 > git rev-list --no-walk e063a8d9b94257cae4a8dea03cd6e450e32c3f7c # timeout=10 13:34:48 ------------------- 13:34:48 stable info: 13:34:48 ------------------- 13:34:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:34:48 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:34:48 Message: update stable to v1.0.243 13:34:48 ------------------- 13:34:48 experimental info: 13:34:48 ------------------- 13:34:48 Commited By: **** collab-it+edgex@linuxfoundation.org 13:34:48 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:34:48 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 726370977db744e8adccb9542ec2be79cebdbd77 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7263709 [Pipeline] echo 13:34:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:34:49 + git rev-list -1 --merges 726370977db744e8adccb9542ec2be79cebdbd77~1..726370977db744e8adccb9542ec2be79cebdbd77 [Pipeline] echo 13:34:49 -----------> git rev-list -1 --merges 726370977db744e8adccb9542ec2be79cebdbd77~1..726370977db744e8adccb9542ec2be79cebdbd77 726370977db744e8adccb9542ec2be79cebdbd77 [false] [Pipeline] sh 13:34:50 + git log --format=format:%s -1 726370977db744e8adccb9542ec2be79cebdbd77 [Pipeline] echo 13:34:50 ========================================================= 13:34:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:34:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:50 + git log --format=format:%s -1 726370977db744e8adccb9542ec2be79cebdbd77 [Pipeline] echo 13:34:50 [semverPrep] GIT_COMMIT: 726370977db744e8adccb9542ec2be79cebdbd77, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 13:34:50 [semverPrep] This is not a build commit. [Pipeline] sh 13:34:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:34:50 + grep -v github /etc/ssh/ssh_known_hosts 13:34:50 + [ -e /tmp/ssh_known_hosts ] 13:34:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:34:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:34:50 + sudo tee -a /etc/ssh/ssh_known_hosts 13:34:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:34:51 13:34:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:34:51 0.1.4: Pulling from edgex-devops/py-git-semver 13:34:51 b85a868b505f: Pulling fs layer 13:34:51 e2be974225ed: Pulling fs layer 13:34:51 339a4e72a1f5: Pulling fs layer 13:34:51 988bab9f4d93: Pulling fs layer 13:34:51 1469e6f7b9e6: Pulling fs layer 13:34:51 eaf3925da568: Pulling fs layer 13:34:51 bab4dde63d76: Pulling fs layer 13:34:51 bde34c3a00c8: Pulling fs layer 13:34:51 b352a97aabf1: Pulling fs layer 13:34:51 4872d77fe225: Pulling fs layer 13:34:51 5851b861e8e6: Pulling fs layer 13:34:51 eaf3925da568: Waiting 13:34:51 bab4dde63d76: Waiting 13:34:51 4872d77fe225: Waiting 13:34:51 5851b861e8e6: Waiting 13:34:51 b352a97aabf1: Waiting 13:34:51 bde34c3a00c8: Waiting 13:34:51 988bab9f4d93: Waiting 13:34:51 1469e6f7b9e6: Waiting 13:34:51 e2be974225ed: Verifying Checksum 13:34:51 e2be974225ed: Download complete 13:34:51 988bab9f4d93: Verifying Checksum 13:34:51 988bab9f4d93: Download complete 13:34:52 1469e6f7b9e6: Verifying Checksum 13:34:52 1469e6f7b9e6: Download complete 13:34:52 eaf3925da568: Verifying Checksum 13:34:52 eaf3925da568: Download complete 13:34:52 339a4e72a1f5: Verifying Checksum 13:34:52 339a4e72a1f5: Download complete 13:34:52 bde34c3a00c8: Download complete 13:34:52 b352a97aabf1: Download complete 13:34:52 4872d77fe225: Verifying Checksum 13:34:52 4872d77fe225: Download complete 13:34:52 5851b861e8e6: Download complete 13:34:52 b85a868b505f: Download complete 13:34:52 bab4dde63d76: Verifying Checksum 13:34:52 bab4dde63d76: Download complete 13:34:53 b85a868b505f: Pull complete 13:34:53 e2be974225ed: Pull complete 13:34:54 339a4e72a1f5: Pull complete 13:34:54 988bab9f4d93: Pull complete 13:34:54 1469e6f7b9e6: Pull complete 13:34:54 eaf3925da568: Pull complete 13:34:56 bab4dde63d76: Pull complete 13:34:56 bde34c3a00c8: Pull complete 13:34:56 b352a97aabf1: Pull complete 13:34:56 4872d77fe225: Pull complete 13:34:56 5851b861e8e6: Pull complete 13:34:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:34:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:56 prd-ubuntu20.04-docker-8c-8g-117127 does not seem to be running inside a container 13:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-164 -v /w/workspace/gexfoundry_go-mod-secrets_PR-164:/w/workspace/gexfoundry_go-mod-secrets_PR-164:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-164@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-devops/py-git-semver:0.1.4 cat 13:34:59 $ docker top bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d -eo pid,comm 13:34:59 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). 13:34:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:34:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:59 [ssh-agent] Looking for ssh-agent implementation... 13:35:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:00 $ docker exec bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d ssh-agent 13:35:00 SSH_AUTH_SOCK=/tmp/ssh-cFGCOloH8b7H/agent.32 13:35:00 SSH_AGENT_PID=37 13:35:00 Running ssh-add (command line suppressed) 13:35:00 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/private_key_9786156209557322299.key (/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/private_key_9786156209557322299.key) 13:35:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:00 + git tag --points-at HEAD [Pipeline] } 13:35:00 $ docker exec --env ******** --env ******** bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d ssh-agent -k 13:35:00 unset SSH_AUTH_SOCK; 13:35:00 unset SSH_AGENT_PID; 13:35:00 echo Agent pid 37 killed; 13:35:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:35:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:35:00 [ssh-agent] Looking for ssh-agent implementation... 13:35:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:00 $ docker exec bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d ssh-agent 13:35:00 SSH_AUTH_SOCK=/tmp/ssh-fsfuK9q59650/agent.69 13:35:00 SSH_AGENT_PID=75 13:35:00 Running ssh-add (command line suppressed) 13:35:01 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/private_key_12450061082807117024.key (/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/private_key_12450061082807117024.key) 13:35:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:01 + git semver init 13:35:01 2022-10-26 13:35:01,571 [run_init] DEBUG init version:0.0.0 force:False 13:35:01 2022-10-26 13:35:01,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver 13:35:01 2022-10-26 13:35:01,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver 13:35:01 2022-10-26 13:35:01,572 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-164, universal_newlines=False, shell=None, istream=None) 13:35:02 2022-10-26 13:35:02,469 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-164/.git/info/exclude 13:35:02 2022-10-26 13:35:02,470 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver/PR-164 with force:False 13:35:02 2022-10-26 13:35:02,470 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver/PR-164 13:35:02 2022-10-26 13:35:02,474 [execute] INFO git cat-file --batch-check 13:35:02 2022-10-26 13:35:02,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver, universal_newlines=False, shell=None, istream=) 13:35:02 2022-10-26 13:35:02,481 [execute] INFO git cat-file --batch 13:35:02 2022-10-26 13:35:02,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver, universal_newlines=False, shell=None, istream=) 13:35:02 2022-10-26 13:35:02,486 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-164/.semver/PR-164 13:35:02 0.0.0 [Pipeline] } 13:35:02 $ docker exec --env ******** --env ******** bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d ssh-agent -k 13:35:02 unset SSH_AUTH_SOCK; 13:35:02 unset SSH_AGENT_PID; 13:35:02 echo Agent pid 75 killed; 13:35:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:35:03 + git semver [Pipeline] } 13:35:03 $ docker stop --time=1 bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d 13:35:04 $ docker rm -f bd8ebcbb1b55591f34107e054292159341e532821d9358918a9dc51992bf270d [Pipeline] // withDockerContainer [Pipeline] sh 13:35:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:35:05 Stashed 1 file(s) [Pipeline] echo 13:35:05 [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 13:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:05 ========================================================= 13:35:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:35:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:35:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:35:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:35:05 213ec9aee27d: Pulling fs layer 13:35:05 4583459ba037: Pulling fs layer 13:35:05 93c1e223e6f2: Pulling fs layer 13:35:05 53926ce57604: Pulling fs layer 13:35:05 21b2b0c7a3f4: Pulling fs layer 13:35:05 30f14e443154: Pulling fs layer 13:35:05 801331c1e519: Pulling fs layer 13:35:05 99cc6dd402b0: Pulling fs layer 13:35:05 7d9ed39f4882: Pulling fs layer 13:35:05 53926ce57604: Waiting 13:35:05 21b2b0c7a3f4: Waiting 13:35:05 30f14e443154: Waiting 13:35:05 99cc6dd402b0: Waiting 13:35:05 4583459ba037: Verifying Checksum 13:35:05 4583459ba037: Download complete 13:35:05 93c1e223e6f2: Verifying Checksum 13:35:05 93c1e223e6f2: Download complete 13:35:05 21b2b0c7a3f4: Download complete 13:35:05 30f14e443154: Verifying Checksum 13:35:05 30f14e443154: Download complete 13:35:05 213ec9aee27d: Download complete 13:35:05 801331c1e519: Verifying Checksum 13:35:05 801331c1e519: Download complete 13:35:06 213ec9aee27d: Pull complete 13:35:06 4583459ba037: Pull complete 13:35:06 93c1e223e6f2: Pull complete 13:35:06 7d9ed39f4882: Verifying Checksum 13:35:06 7d9ed39f4882: Download complete 13:35:06 53926ce57604: Verifying Checksum 13:35:06 53926ce57604: Download complete 13:35:06 99cc6dd402b0: Verifying Checksum 13:35:06 99cc6dd402b0: Download complete 13:35:11 53926ce57604: Pull complete 13:35:11 21b2b0c7a3f4: Pull complete 13:35:12 30f14e443154: Pull complete 13:35:13 801331c1e519: Pull complete 13:35:15 99cc6dd402b0: Pull complete 13:35:16 7d9ed39f4882: Pull complete 13:35:16 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:35:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:35:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 13:35:16 + 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 13:35:16 + docker inspect -f . ci-base-image-x86_64 13:35:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:16 prd-ubuntu20.04-docker-8c-8g-117127 does not seem to be running inside a container 13:35:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-164 -v /w/workspace/gexfoundry_go-mod-secrets_PR-164:/w/workspace/gexfoundry_go-mod-secrets_PR-164:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:35:20 Still waiting to schedule task 13:35:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117124’ 13:35:22 $ docker top 3ca879e75ad8cf901bc687f34b9c300ad622f825852086d7a1492bc501515c77 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:22 + go version 13:35:22 go version go1.18.7 linux/amd64 [Pipeline] } 13:35:22 $ docker stop --time=1 3ca879e75ad8cf901bc687f34b9c300ad622f825852086d7a1492bc501515c77 13:35:23 $ docker rm -f 3ca879e75ad8cf901bc687f34b9c300ad622f825852086d7a1492bc501515c77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:24 + docker inspect -f . ci-base-image-x86_64 13:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:24 prd-ubuntu20.04-docker-8c-8g-117127 does not seem to be running inside a container 13:35:24 $ 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-164 -v /w/workspace/gexfoundry_go-mod-secrets_PR-164:/w/workspace/gexfoundry_go-mod-secrets_PR-164:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:35:24 $ docker top 2f88cdf76e1178cdf09b7d8e8ee87f56a2d9c7164af47db587f08c7df7f7ec0c -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:25 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-secrets_PR-164 [Pipeline] fileExists [Pipeline] sh 13:35:25 + make test 13:35:25 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 13:35:25 go: downloading github.com/stretchr/testify v1.8.1 13:35:25 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.19 13:35:25 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 13:35:25 go: downloading github.com/davecgh/go-spew v1.1.1 13:35:25 go: downloading github.com/pmezard/go-difflib v1.0.0 13:35:25 go: downloading github.com/stretchr/objx v0.5.0 13:35:25 go: downloading gopkg.in/yaml.v3 v3.0.1 13:35:25 go: downloading github.com/zeebo/errs v1.2.2 13:35:25 go: downloading google.golang.org/grpc v1.46.0 13:35:25 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 13:35:25 go: downloading google.golang.org/protobuf v1.28.0 13:35:25 go: downloading github.com/go-playground/validator/v10 v10.11.1 13:35:25 go: downloading github.com/go-kit/log v0.2.1 13:35:25 go: downloading github.com/google/uuid v1.3.0 13:35:25 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 13:35:25 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 13:35:25 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 13:35:25 go: downloading github.com/golang/protobuf v1.5.2 13:35:25 go: downloading github.com/go-logfmt/logfmt v0.5.1 13:35:25 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 13:35:25 go: downloading github.com/go-playground/universal-translator v0.18.0 13:35:25 go: downloading github.com/leodido/go-urn v1.2.1 13:35:25 go: downloading golang.org/x/text v0.3.7 13:35:25 go: downloading github.com/go-playground/locales v0.14.0 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.706s coverage: 81.7% of statements 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.080s coverage: 52.2% of statements 13:35:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.081s coverage: 96.7% of statements 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.040s coverage: 89.5% of statements 13:35:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.038s coverage: 100.0% of statements 13:35:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.066s coverage: 55.8% of statements 13:35:52 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.033s coverage: 54.5% of statements 13:35:52 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.085s coverage: 100.0% of statements 13:35:52 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 13:36:07 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." 13:36:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:36:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:36:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:36:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:36:08 $ docker stop --time=1 2f88cdf76e1178cdf09b7d8e8ee87f56a2d9c7164af47db587f08c7df7f7ec0c 13:36:13 $ docker rm -f 2f88cdf76e1178cdf09b7d8e8ee87f56a2d9c7164af47db587f08c7df7f7ec0c [Pipeline] // withDockerContainer [Pipeline] sh 13:36:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:36:13 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 13:36:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:14 13:36:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:14 latest: Pulling from edgex-lftools-log-publisher 13:36:14 5eb5b503b376: Pulling fs layer 13:36:14 5c69ac0246d0: Pulling fs layer 13:36:14 ec43610c2a17: Pulling fs layer 13:36:14 3a2ae6a8a46f: Pulling fs layer 13:36:14 33b1e0a273af: Pulling fs layer 13:36:14 5d3b04190fa2: Pulling fs layer 13:36:14 2f39f015ded8: Pulling fs layer 13:36:14 33b1e0a273af: Waiting 13:36:14 5d3b04190fa2: Waiting 13:36:14 3a2ae6a8a46f: Waiting 13:36:14 2f39f015ded8: Waiting 13:36:14 5c69ac0246d0: Download complete 13:36:14 3a2ae6a8a46f: Verifying Checksum 13:36:14 3a2ae6a8a46f: Download complete 13:36:14 33b1e0a273af: Verifying Checksum 13:36:14 33b1e0a273af: Download complete 13:36:14 5d3b04190fa2: Download complete 13:36:14 ec43610c2a17: Verifying Checksum 13:36:14 5eb5b503b376: Verifying Checksum 13:36:14 5eb5b503b376: Download complete 13:36:15 2f39f015ded8: Download complete 13:36:16 5eb5b503b376: Pull complete 13:36:16 5c69ac0246d0: Pull complete 13:36:16 ec43610c2a17: Pull complete 13:36:16 3a2ae6a8a46f: Pull complete 13:36:17 33b1e0a273af: Pull complete 13:36:17 5d3b04190fa2: Pull complete 13:36:21 2f39f015ded8: Pull complete 13:36:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:36:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:36:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:36:21 prd-ubuntu20.04-docker-8c-8g-117127 does not seem to be running inside a container 13:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-164 -v /w/workspace/gexfoundry_go-mod-secrets_PR-164:/w/workspace/gexfoundry_go-mod-secrets_PR-164:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-164@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 13:36:26 $ docker top 346530d939181af130ea78c08c96e6363f0b14f542358b9d768169b1a5ddb9d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:26 ---> job-cost.sh 13:36:26 lf-activate-venv: SKIPPING 13:36:26 INFO: No Stack... 13:36:27 INFO: Retrieving Pricing Info for: v3-standard-8 13:36:27 INFO: Archiving Costs [Pipeline] sh 13:36:27 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives/cost.csv 13:36:27 + cut -d, -f6 [Pipeline] lock 13:36:27 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] 13:36:27 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] did not exist. Created. 13:36:27 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:36:27 + echo total: 0.2199999988079071 [Pipeline] stash 13:36:27 Stashed 1 file(s) [Pipeline] } 13:36:27 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:36:28 $ docker stop --time=1 346530d939181af130ea78c08c96e6363f0b14f542358b9d768169b1a5ddb9d6 13:36:29 $ docker rm -f 346530d939181af130ea78c08c96e6363f0b14f542358b9d768169b1a5ddb9d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:40:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117133 in /w/workspace/gexfoundry_go-mod-secrets_PR-164 [Pipeline] { [Pipeline] ws 13:40:51 Running in /w/workspace/go-mod-secrets/4 [Pipeline] { [Pipeline] checkout 13:40:51 Selected Git installation does not exist. Using Default 13:40:51 The recommended git tool is: NONE 13:40:57 using credential edgex-jenkins-ssh 13:40:57 Cloning the remote Git repository 13:40:57 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 13:40:57 > git init /w/workspace/go-mod-secrets/4 # timeout=10 13:40:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 13:40:58 > git --version # timeout=10 13:40:58 > git --version # 'git version 2.25.1' 13:40:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:40:58 Verifying host key using known hosts file 13: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. 13:40:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:40:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 13:40:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:41:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 13:41:00 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 13:41:00 using GIT_SSH to set credentials SSH Credentials for GitHub 13:41:00 Verifying host key using known hosts file 13:41:00 Merging remotes/origin/main commit d97f4ffcd9d6c83b876b3b634431b60d0e5848f4 into PR head commit 726370977db744e8adccb9542ec2be79cebdbd77 13:41:01 Merge succeeded, producing 726370977db744e8adccb9542ec2be79cebdbd77 13:41:01 Checking out Revision 726370977db744e8adccb9542ec2be79cebdbd77 (PR-164) 13:41:01 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 13:41:00 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. 13:41:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:41:00 > git config core.sparsecheckout # timeout=10 13:41:00 > git checkout -f 726370977db744e8adccb9542ec2be79cebdbd77 # timeout=10 13:41:01 > git remote # timeout=10 13:41:01 > git config --get remote.origin.url # timeout=10 13:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:41:01 Verifying host key using known hosts file 13:41:01 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. 13:41:01 > git merge d97f4ffcd9d6c83b876b3b634431b60d0e5848f4 # timeout=10 13:41:01 > git rev-parse HEAD^{commit} # timeout=10 13:41:01 > git config core.sparsecheckout # timeout=10 13:41:01 > git checkout -f 726370977db744e8adccb9542ec2be79cebdbd77 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:41:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:41:02 % Total % Received % Xferd Average Speed Time Time Time Current 13:41:02 Dload Upload Total Spent Left Speed 13:41:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 13:41:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:41:03 + sudo tee /etc/docker/daemon.new 13:41:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:41:03 { 13:41:03 "registry-mirrors": [ 13:41:03 "https://nexus3.edgexfoundry.org:10001" 13:41:03 ], 13:41:03 "bip": "10.250.0.254/24", 13:41:03 "hosts": [ 13:41:03 "tcp://0.0.0.0:5555", 13:41:03 "unix:///var/run/docker.sock" 13:41:03 ], 13:41:03 "mtu": 1458, 13:41:03 "selinux-enabled": true, 13:41:03 "seccomp-profile": "/etc/docker/seccomp.json" 13:41:03 } [Pipeline] sh 13:41:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:41:04 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 13:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:41:22 ========================================================= 13:41:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:41:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:41:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:41:23 9b18e9b68314: Pulling fs layer 13:41:23 d32db5db7311: Pulling fs layer 13:41:23 d0c4b47475fc: Pulling fs layer 13:41:23 5831b945b038: Pulling fs layer 13:41:23 86bbec2aaacd: Pulling fs layer 13:41:23 e10730c5d714: Pulling fs layer 13:41:23 5dd5c2283517: Pulling fs layer 13:41:23 d5ac0230b979: Pulling fs layer 13:41:23 86bbec2aaacd: Waiting 13:41:23 e10730c5d714: Waiting 13:41:23 5dd5c2283517: Waiting 13:41:23 5831b945b038: Waiting 13:41:23 d5ac0230b979: Waiting 13:41:23 d0c4b47475fc: Verifying Checksum 13:41:23 d0c4b47475fc: Download complete 13:41:23 d32db5db7311: Download complete 13:41:23 86bbec2aaacd: Download complete 13:41:23 e10730c5d714: Download complete 13:41:23 9b18e9b68314: Verifying Checksum 13:41:23 9b18e9b68314: Download complete 13:41:24 9b18e9b68314: Pull complete 13:41:25 d5ac0230b979: Verifying Checksum 13:41:25 d5ac0230b979: Download complete 13:41:25 d32db5db7311: Pull complete 13:41:25 d0c4b47475fc: Pull complete 13:41:26 5dd5c2283517: Verifying Checksum 13:41:26 5dd5c2283517: Download complete 13:41:26 5831b945b038: Verifying Checksum 13:41:26 5831b945b038: Download complete 13:41:38 5831b945b038: Pull complete 13:41:38 86bbec2aaacd: Pull complete 13:41:38 e10730c5d714: Pull complete 13:41:44 5dd5c2283517: Pull complete 13:41:46 d5ac0230b979: Pull complete 13:41:46 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:41:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 13:41:46 + 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 13:41:46 + docker inspect -f . ci-base-image-arm64 13:41:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:47 prd-ubuntu20.04-docker-arm64-4c-16g-117133 does not seem to be running inside a container 13:41:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/4 -v /w/workspace/go-mod-secrets/4:/w/workspace/go-mod-secrets/4:rw,z -v /w/workspace/go-mod-secrets/4@tmp:/w/workspace/go-mod-secrets/4@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 13:41:51 $ docker top 9df69ffcd49c3c04cfc38841f010cffd18d9c95ff1067ad1b03d21e86d16228d -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:52 + go version 13:41:52 go version go1.18.7 linux/arm64 [Pipeline] } 13:41:52 $ docker stop --time=1 9df69ffcd49c3c04cfc38841f010cffd18d9c95ff1067ad1b03d21e86d16228d 13:41:53 $ docker rm -f 9df69ffcd49c3c04cfc38841f010cffd18d9c95ff1067ad1b03d21e86d16228d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:54 + docker inspect -f . ci-base-image-arm64 13:41:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:54 prd-ubuntu20.04-docker-arm64-4c-16g-117133 does not seem to be running inside a container 13: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/4 -v /w/workspace/go-mod-secrets/4:/w/workspace/go-mod-secrets/4:rw,z -v /w/workspace/go-mod-secrets/4@tmp:/w/workspace/go-mod-secrets/4@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 13:41:56 $ docker top 64b4819c9519b00ca3664d951292ddb2a04995979136854603d8e69c3ef7f6aa -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:57 + git config --global --add safe.directory /w/workspace/go-mod-secrets/4 [Pipeline] fileExists [Pipeline] sh 13:41:57 + make test 13:41:57 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 13:41:57 go: downloading github.com/stretchr/testify v1.8.1 13:41:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.19 13:41:58 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 13:41:58 go: downloading github.com/davecgh/go-spew v1.1.1 13:41:58 go: downloading github.com/stretchr/objx v0.5.0 13:41:58 go: downloading github.com/pmezard/go-difflib v1.0.0 13:41:58 go: downloading gopkg.in/yaml.v3 v3.0.1 13:41:58 go: downloading github.com/go-kit/log v0.2.1 13:41:58 go: downloading github.com/go-playground/validator/v10 v10.11.1 13:41:58 go: downloading github.com/google/uuid v1.3.0 13:41:58 go: downloading github.com/zeebo/errs v1.2.2 13:41:58 go: downloading google.golang.org/grpc v1.46.0 13:41:59 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 13:41:59 go: downloading google.golang.org/protobuf v1.28.0 13:41:59 go: downloading github.com/go-logfmt/logfmt v0.5.1 13:41:59 go: downloading github.com/go-playground/universal-translator v0.18.0 13:41:59 go: downloading github.com/leodido/go-urn v1.2.1 13:41:59 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 13:42:00 go: downloading golang.org/x/text v0.3.7 13:42:00 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 13:42:00 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 13:42:00 go: downloading github.com/go-playground/locales v0.14.0 13:42:01 go: downloading github.com/golang/protobuf v1.5.2 13:42:01 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 13:44:08 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 10.098s coverage: 81.7% of statements 13:44:08 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.259s coverage: 52.2% of statements 13:44:08 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 13:44:08 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.309s coverage: 96.7% of statements 13:44:08 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.135s coverage: 89.5% of statements 13:44:08 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 13:44:08 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.062s coverage: 100.0% of statements 13:44:08 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 13:44:35 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.246s coverage: 55.8% of statements 13:44:35 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 13:44:35 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.072s coverage: 54.5% of statements 13:44:35 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.223s coverage: 100.0% of statements 13:44:35 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 13:44:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:44:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:45:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:45:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:45:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:45:43 $ docker stop --time=1 64b4819c9519b00ca3664d951292ddb2a04995979136854603d8e69c3ef7f6aa 13:45:44 $ docker rm -f 64b4819c9519b00ca3664d951292ddb2a04995979136854603d8e69c3ef7f6aa [Pipeline] // withDockerContainer [Pipeline] sh 13:45:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:45:47 Warning: overwriting stash ‘coverage-report’ 13:45:48 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 13:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:45:48 13:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:45:49 arm64: Pulling from edgex-lftools-log-publisher 13:45:49 8998bd30e6a1: Pulling fs layer 13:45:49 04944245beec: Pulling fs layer 13:45:49 699f458cf7ca: Pulling fs layer 13:45:49 765212b225bb: Pulling fs layer 13:45:49 f23df028b6ca: Pulling fs layer 13:45:49 d65c8cfc05b1: Pulling fs layer 13:45:49 2437ff75d9bd: Pulling fs layer 13:45:49 765212b225bb: Waiting 13:45:49 d65c8cfc05b1: Waiting 13:45:49 f23df028b6ca: Waiting 13:45:49 2437ff75d9bd: Waiting 13:45:49 04944245beec: Verifying Checksum 13:45:49 04944245beec: Download complete 13:45:49 765212b225bb: Verifying Checksum 13:45:49 765212b225bb: Download complete 13:45:49 f23df028b6ca: Download complete 13:45:49 d65c8cfc05b1: Verifying Checksum 13:45:49 d65c8cfc05b1: Download complete 13:45:49 699f458cf7ca: Verifying Checksum 13:45:49 699f458cf7ca: Download complete 13:45:50 8998bd30e6a1: Verifying Checksum 13:45:50 8998bd30e6a1: Download complete 13:45:52 2437ff75d9bd: Verifying Checksum 13:45:52 2437ff75d9bd: Download complete 13:45:58 8998bd30e6a1: Pull complete 13:45:58 04944245beec: Pull complete 13:46:01 699f458cf7ca: Pull complete 13:46:01 765212b225bb: Pull complete 13:46:02 f23df028b6ca: Pull complete 13:46:03 d65c8cfc05b1: Pull complete 13:46:17 2437ff75d9bd: Pull complete 13:46:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:46:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:18 prd-ubuntu20.04-docker-arm64-4c-16g-117133 does not seem to be running inside a container 13:46:18 $ 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/4 -v /w/workspace/go-mod-secrets/4:/w/workspace/go-mod-secrets/4:rw,z -v /w/workspace/go-mod-secrets/4@tmp:/w/workspace/go-mod-secrets/4@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 13:46:20 $ docker top fdfbe4647712dc25e9eeeba16d4a5993417d1b153284c139ebbf424393e8dae0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:21 ---> job-cost.sh 13:46:21 lf-activate-venv: SKIPPING 13:46:21 INFO: No Stack... 13:46:21 INFO: Retrieving Pricing Info for: v3-standard-4 13:46:22 INFO: Archiving Costs [Pipeline] sh 13:46:22 + cat /w/workspace/go-mod-secrets/4/archives/cost.csv 13:46:22 + cut -d, -f6 [Pipeline] lock 13:46:22 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] 13:46:23 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] did not exist. Created. 13:46:23 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:23 /w/workspace/go-mod-secrets/4@tmp/durable-f30f72b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:46:23 + echo total: 0.10999999940395355 [Pipeline] stash 13:46:24 Warning: overwriting stash ‘stack-cost’ 13:46:24 Stashed 1 file(s) [Pipeline] } 13:46:24 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-164-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:46:24 $ docker stop --time=1 fdfbe4647712dc25e9eeeba16d4a5993417d1b153284c139ebbf424393e8dae0 13:46:25 $ docker rm -f fdfbe4647712dc25e9eeeba16d4a5993417d1b153284c139ebbf424393e8dae0 [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 13:46:25 provisioning config files... 13:46:25 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/config16368477515951182990tmp [Pipeline] { [Pipeline] sh 13:46:26 + set +x 13:46:26 + + curl -s https://codecov.io/bash 13:46:26 bash -s -- 13:46:26 13:46:26 _____ _ 13:46:26 / ____| | | 13:46:26 | | ___ __| | ___ ___ _____ __ 13:46:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:46:26 | |___| (_) | (_| | __/ (_| (_) \ V / 13:46:26 \_____\___/ \__,_|\___|\___\___/ \_/ 13:46:26 Bash-1.0.6 13:46:26 13:46:26 13:46:26 ==> git version 2.25.1 found 13:46:26 ==> 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 13:46:26 Release-Date: 2020-01-08 13:46:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:46:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:46:26 ==> Jenkins CI detected. 13:46:26 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-164 13:46:26 project root: . 13:46:26 --> token set from env 13:46:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:46:26 ==> Running gcov in . (disable via -X gcov) 13:46:26 ==> Python coveragepy not found 13:46:26 ==> Searching for coverage reports in: 13:46:26 + . 13:46:26 -> Found 1 reports 13:46:26 ==> Detecting git/mercurial file structure 13:46:26 ==> Reading reports 13:46:26 + ./coverage.out bytes=33437 13:46:26 ==> Appending adjustments 13:46:26 https://docs.codecov.io/docs/fixing-reports 13:46:26 + Found adjustments 13:46:26 ==> Gzipping contents 13:46:26 8.0K /tmp/codecov.OZLNOg.gz 13:46:26 ==> Uploading reports 13:46:26 url: https://codecov.io 13:46:26 query: branch=PR-164&commit=726370977db744e8adccb9542ec2be79cebdbd77&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-164%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=164&job=&cmd_args= 13:46:26 -> Pinging Codecov 13:46:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-164&commit=726370977db744e8adccb9542ec2be79cebdbd77&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-164%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=164&job=&cmd_args= 13:46:26 -> Uploading to 13:46:26 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/D63849C06B6B67093493C71CE874ED06/726370977db744e8adccb9542ec2be79cebdbd77/fd0e5bd1-4db0-4041-b6b5-662e18aa5a35.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T134626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8425dc35f1347d98eb92cf70d4b6e24fd724b918d463c4aebd4d9aab0fd8ec9 13:46:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:46:26 Dload Upload Total Spent Left Speed 13:46:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6808 0 0 100 6808 0 30945 --:--:-- --:--:-- --:--:-- 30945 13:46:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-secrets/commit/726370977db744e8adccb9542ec2be79cebdbd77 [Pipeline] } 13:46:27 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 13:46:27 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives ] 13:46:27 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives 13:46:27 total 16 13:46:27 drwxr-xr-x 3 root root 4096 Oct 26 13:36 . 13:46:27 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 13:36 .. 13:46:27 drwxr-xr-x 2 root root 4096 Oct 26 13:36 cost 13:46:27 -rw-r--r-- 1 root root 86 Oct 26 13:36 cost.csv 13:46:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives 13:46:27 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives 13:46:27 total 16 13:46:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 13:36 . 13:46:27 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 13:36 .. 13:46:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 13:36 cost 13:46:27 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 13:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:46:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:46:28 ---> package-listing.sh 13:46:28 ++ facter osfamily 13:46:28 ++ tr '[:upper:]' '[:lower:]' 13:46:29 + OS_FAMILY=debian 13:46:29 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-164 13:46:29 + START_PACKAGES=/tmp/packages_start.txt 13:46:29 + END_PACKAGES=/tmp/packages_end.txt 13:46:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:46:29 + PACKAGES=/tmp/packages_start.txt 13:46:29 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-164 ']' 13:46:29 + PACKAGES=/tmp/packages_end.txt 13:46:29 + case "${OS_FAMILY}" in 13:46:29 + dpkg -l 13:46:29 + grep '^ii' 13:46:29 + '[' -f /tmp/packages_start.txt ']' 13:46:29 + '[' -f /tmp/packages_end.txt ']' 13:46:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:46:29 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-164 ']' 13:46:29 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives/ 13:46:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-164/archives/ [Pipeline] echo 13:46:29 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:46:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:30 prd-ubuntu20.04-docker-8c-8g-117127 does not seem to be running inside a container 13:46:30 $ 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-164/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-164 -v /w/workspace/gexfoundry_go-mod-secrets_PR-164:/w/workspace/gexfoundry_go-mod-secrets_PR-164:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:46:30 $ docker top ea6ab4984ae9318f7617d9f426d8b33b27efe23f8bfac6d9ecaa828472e983c8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:46:30 + touch /tmp/pre-build-complete [Pipeline] sh 13:46:30 + mkdir -p /var/log/sysstat [Pipeline] sh 13:46:31 + ls /var/log/sa-host 13:46:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:46:31 provisioning config files... 13:46:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-164@tmp/config990961458697495007tmp [Pipeline] { [Pipeline] echo 13:46:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:46:31 ---> create-netrc.sh [Pipeline] } 13:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:46:31 ---> python-tools-install.sh [Pipeline] echo 13:46:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:46:32 ---> sudo-logs.sh 13:46:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:46:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:46:32 ---> job-cost.sh 13:46:32 lf-activate-venv: SKIPPING 13:46:32 DEBUG: total: 0.2199999988079071 13:46:32 INFO: Retrieving Stack Cost... 13:46:32 INFO: Retrieving Pricing Info for: v3-standard-8 13:46:33 INFO: Archiving Costs [Pipeline] echo 13:46:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:46:33 ---> logs-deploy.sh 13:46:33 lf-activate-venv: SKIPPING 13:46:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-164/4 13:46:33 INFO: archiving workspace using pattern(s): 13:46:34 Archives upload complete. 13:46:34 INFO: archiving logs to Nexus