Pull request #404 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 7f012cce98f15f527bb1b3a3a3bb1153d04b95df+010e84a4f5c9fb5bad160c9a325d4b1cd0611808 (6278ecc414ade045590c4fc5bb9e9be82b3b8dd6) 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-ssh10541635124032495513.key > 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-ssh15104329350569410340.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-bootstrap/branches/PR-404/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-bootstrap/branches/PR-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15789654051512303005.key > 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 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-ssh11787333348575473528.key > 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-bootstrap/branches/PR-404/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-bootstrap/branches/PR-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4087505537957249466.key > 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-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap 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-1170 in /w/workspace/xfoundry_go-mod-bootstrap_PR-404 [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-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 010e84a4f5c9fb5bad160c9a325d4b1cd0611808 into PR head commit 7f012cce98f15f527bb1b3a3a3bb1153d04b95df Merge succeeded, producing 7f012cce98f15f527bb1b3a3a3bb1153d04b95df Checking out Revision 7f012cce98f15f527bb1b3a3a3bb1153d04b95df (PR-404) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f012cce98f15f527bb1b3a3a3bb1153d04b95df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 010e84a4f5c9fb5bad160c9a325d4b1cd0611808 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f012cce98f15f527bb1b3a3a3bb1153d04b95df # timeout=10 Commit message: "feat(wip): Add go-mod-bootstrap hooks for JWT generation and verification" First time build. Skipping changelog. > git rev-list --no-walk 02da1f3ec4fbbc117aedf378ad156ba662f7768f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:40:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:40:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:40:10 ========================================================= 01:40:10 EdgeX Global Pipelines Version Info 01:40:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:40:11 ------------------- 01:40:11 stable info: 01:40:11 ------------------- 01:40:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:40:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:40:11 Message: update stable to v1.0.244 01:40:11 ------------------- 01:40:11 experimental info: 01:40:11 ------------------- 01:40:11 Commited By: **** collab-it+edgex@linuxfoundation.org 01:40:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:40:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 01:40:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f012cce98f15f527bb1b3a3a3bb1153d04b95df [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f012cc [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:12 + git rev-list -1 --merges 7f012cce98f15f527bb1b3a3a3bb1153d04b95df~1..7f012cce98f15f527bb1b3a3a3bb1153d04b95df [Pipeline] echo 01:40:12 -----------> git rev-list -1 --merges 7f012cce98f15f527bb1b3a3a3bb1153d04b95df~1..7f012cce98f15f527bb1b3a3a3bb1153d04b95df 7f012cce98f15f527bb1b3a3a3bb1153d04b95df [false] [Pipeline] sh 01:40:12 + git log --format=format:%s -1 7f012cce98f15f527bb1b3a3a3bb1153d04b95df [Pipeline] echo 01:40:12 ========================================================= 01:40:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:13 + git log --format=format:%s -1 7f012cce98f15f527bb1b3a3a3bb1153d04b95df [Pipeline] echo 01:40:13 [semverPrep] GIT_COMMIT: 7f012cce98f15f527bb1b3a3a3bb1153d04b95df, Commit Message: feat(wip): Add go-mod-bootstrap hooks for JWT generation and verification [Pipeline] echo 01:40:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:13 + grep -v github /etc/ssh/ssh_known_hosts 01:40:13 + [ -e /tmp/ssh_known_hosts ] 01:40:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:13 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 01:40:13 -a /etc/ssh/ssh_known_hosts 01:40:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:14 01:40:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:40:14 b85a868b505f: Pulling fs layer 01:40:14 e2be974225ed: Pulling fs layer 01:40:14 339a4e72a1f5: Pulling fs layer 01:40:14 988bab9f4d93: Pulling fs layer 01:40:14 1469e6f7b9e6: Pulling fs layer 01:40:14 eaf3925da568: Pulling fs layer 01:40:14 bab4dde63d76: Pulling fs layer 01:40:14 bde34c3a00c8: Pulling fs layer 01:40:14 b352a97aabf1: Pulling fs layer 01:40:14 988bab9f4d93: Waiting 01:40:14 4872d77fe225: Pulling fs layer 01:40:14 1469e6f7b9e6: Waiting 01:40:14 eaf3925da568: Waiting 01:40:14 5851b861e8e6: Pulling fs layer 01:40:14 bab4dde63d76: Waiting 01:40:14 b352a97aabf1: Waiting 01:40:14 bde34c3a00c8: Waiting 01:40:14 4872d77fe225: Waiting 01:40:14 5851b861e8e6: Waiting 01:40:14 e2be974225ed: Download complete 01:40:14 988bab9f4d93: Download complete 01:40:14 1469e6f7b9e6: Download complete 01:40:14 339a4e72a1f5: Verifying Checksum 01:40:14 339a4e72a1f5: Download complete 01:40:14 eaf3925da568: Verifying Checksum 01:40:14 eaf3925da568: Download complete 01:40:14 bde34c3a00c8: Download complete 01:40:14 b352a97aabf1: Verifying Checksum 01:40:14 b352a97aabf1: Download complete 01:40:14 4872d77fe225: Verifying Checksum 01:40:14 4872d77fe225: Download complete 01:40:14 5851b861e8e6: Verifying Checksum 01:40:14 5851b861e8e6: Download complete 01:40:14 b85a868b505f: Verifying Checksum 01:40:14 b85a868b505f: Download complete 01:40:15 bab4dde63d76: Verifying Checksum 01:40:15 bab4dde63d76: Download complete 01:40:16 b85a868b505f: Pull complete 01:40:16 e2be974225ed: Pull complete 01:40:16 339a4e72a1f5: Pull complete 01:40:16 988bab9f4d93: Pull complete 01:40:17 1469e6f7b9e6: Pull complete 01:40:17 eaf3925da568: Pull complete 01:40:18 bab4dde63d76: Pull complete 01:40:18 bde34c3a00c8: Pull complete 01:40:18 b352a97aabf1: Pull complete 01:40:18 4872d77fe225: Pull complete 01:40:19 5851b861e8e6: Pull complete 01:40:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:40:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:19 prd-ubuntu20.04-docker-8c-8g-1170 does not seem to be running inside a container 01:40:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-404 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404:/w/workspace/xfoundry_go-mod-bootstrap_PR-404:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@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-devops/py-git-semver:0.1.4 cat 01:40:20 $ docker top b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 -eo pid,comm 01:40:20 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). 01:40:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:20 [ssh-agent] Looking for ssh-agent implementation... 01:40:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:20 $ docker exec b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 ssh-agent 01:40:20 SSH_AUTH_SOCK=/tmp/ssh-heu9YYTADwKU/agent.32 01:40:20 SSH_AGENT_PID=38 01:40:20 Running ssh-add (command line suppressed) 01:40:20 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp/private_key_8784871353812357452.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp/private_key_8784871353812357452.key) 01:40:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:21 + git tag --points-at HEAD [Pipeline] } 01:40:21 $ docker exec --env ******** --env ******** b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 ssh-agent -k 01:40:21 unset SSH_AUTH_SOCK; 01:40:21 unset SSH_AGENT_PID; 01:40:21 echo Agent pid 38 killed; 01:40:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:21 [ssh-agent] Looking for ssh-agent implementation... 01:40:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:21 $ docker exec b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 ssh-agent 01:40:21 SSH_AUTH_SOCK=/tmp/ssh-vSsB99zniyJ6/agent.70 01:40:21 SSH_AGENT_PID=76 01:40:21 Running ssh-add (command line suppressed) 01:40:21 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp/private_key_3738438685071114980.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp/private_key_3738438685071114980.key) 01:40:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:21 + git semver init 01:40:22 2023-01-05 01:40:21,975 [run_init] DEBUG init version:0.0.0 force:False 01:40:22 2023-01-05 01:40:21,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver 01:40:22 2023-01-05 01:40:21,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver 01:40:22 2023-01-05 01:40:21,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-404, universal_newlines=False, shell=None, istream=None) 01:40:23 2023-01-05 01:40:22,729 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.git/info/exclude 01:40:23 2023-01-05 01:40:22,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver/PR-404 with force:False 01:40:23 2023-01-05 01:40:22,730 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver/PR-404 01:40:23 2023-01-05 01:40:22,732 [execute] INFO git cat-file --batch-check 01:40:23 2023-01-05 01:40:22,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver, universal_newlines=False, shell=None, istream=) 01:40:23 2023-01-05 01:40:22,738 [execute] INFO git cat-file --batch 01:40:23 2023-01-05 01:40:22,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver, universal_newlines=False, shell=None, istream=) 01:40:23 2023-01-05 01:40:22,744 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-404/.semver/PR-404 01:40:23 0.0.0 [Pipeline] } 01:40:23 $ docker exec --env ******** --env ******** b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 ssh-agent -k 01:40:23 unset SSH_AUTH_SOCK; 01:40:23 unset SSH_AGENT_PID; 01:40:23 echo Agent pid 76 killed; 01:40:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:23 + git semver [Pipeline] } 01:40:23 $ docker stop --time=1 b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 01:40:24 $ docker rm -f --volumes b22f254f916cc31f789f66f87690ad6811469a3b940bb7c8a430e80436fc37f2 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:25 Stashed 1 file(s) [Pipeline] echo 01:40:25 [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 01:40:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:25 ========================================================= 01:40:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:40:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:40:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:40:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:25 213ec9aee27d: Pulling fs layer 01:40:25 4583459ba037: Pulling fs layer 01:40:25 93c1e223e6f2: Pulling fs layer 01:40:25 53926ce57604: Pulling fs layer 01:40:25 21b2b0c7a3f4: Pulling fs layer 01:40:25 22ff95d597cd: Pulling fs layer 01:40:25 12d6caf4c0d1: Pulling fs layer 01:40:25 96b7cbca73a9: Pulling fs layer 01:40:25 a7acece74701: Pulling fs layer 01:40:25 22ff95d597cd: Waiting 01:40:25 12d6caf4c0d1: Waiting 01:40:25 96b7cbca73a9: Waiting 01:40:25 53926ce57604: Waiting 01:40:25 21b2b0c7a3f4: Waiting 01:40:25 93c1e223e6f2: Verifying Checksum 01:40:25 93c1e223e6f2: Download complete 01:40:25 4583459ba037: Verifying Checksum 01:40:25 4583459ba037: Download complete 01:40:25 21b2b0c7a3f4: Verifying Checksum 01:40:25 21b2b0c7a3f4: Download complete 01:40:25 22ff95d597cd: Download complete 01:40:25 213ec9aee27d: Download complete 01:40:25 12d6caf4c0d1: Download complete 01:40:26 213ec9aee27d: Pull complete 01:40:26 4583459ba037: Pull complete 01:40:26 93c1e223e6f2: Pull complete 01:40:26 a7acece74701: Verifying Checksum 01:40:26 a7acece74701: Download complete 01:40:26 96b7cbca73a9: Verifying Checksum 01:40:26 96b7cbca73a9: Download complete 01:40:26 53926ce57604: Verifying Checksum 01:40:26 53926ce57604: Download complete 01:40:30 53926ce57604: Pull complete 01:40:30 21b2b0c7a3f4: Pull complete 01:40:30 22ff95d597cd: Pull complete 01:40:30 12d6caf4c0d1: Pull complete 01:40:32 96b7cbca73a9: Pull complete 01:40:32 a7acece74701: Pull complete 01:40:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:40:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 01:40:33 + 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 01:40:33 + docker inspect -f . ci-base-image-x86_64 01:40:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:33 prd-ubuntu20.04-docker-8c-8g-1170 does not seem to be running inside a container 01:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-404 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404:/w/workspace/xfoundry_go-mod-bootstrap_PR-404:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@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 ******** -e ******** ci-base-image-x86_64 cat 01:40:35 $ docker top 05180cc72eaff244599033393e35b270e193f5fce282a01975c19f598854b1ea -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:35 + go version 01:40:35 go version go1.18.7 linux/amd64 [Pipeline] } 01:40:35 $ docker stop --time=1 05180cc72eaff244599033393e35b270e193f5fce282a01975c19f598854b1ea 01:40:36 $ docker rm -f --volumes 05180cc72eaff244599033393e35b270e193f5fce282a01975c19f598854b1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:37 + docker inspect -f . ci-base-image-x86_64 01:40:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:37 prd-ubuntu20.04-docker-8c-8g-1170 does not seem to be running inside a container 01:40:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-bootstrap_PR-404 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404:/w/workspace/xfoundry_go-mod-bootstrap_PR-404:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@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 ******** -e ******** ci-base-image-x86_64 cat 01:40:37 $ docker top f7146ba10d6fa18e070313dc584c2f7052ee5b08a5805c54bf88473c2dc84e00 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:37 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-404 [Pipeline] fileExists [Pipeline] sh 01:40:38 + make test 01:40:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:40:38 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 01:40:38 go: downloading github.com/stretchr/testify v1.8.1 01:40:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.2 01:40:38 go: downloading github.com/google/uuid v1.3.0 01:40:38 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:40:38 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.3 01:40:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.2 01:40:38 go: downloading github.com/pelletier/go-toml v1.9.5 01:40:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 01:40:38 go: downloading github.com/gorilla/mux v1.8.0 01:40:38 go: downloading github.com/hashicorp/errwrap v1.0.0 01:40:38 go: downloading github.com/davecgh/go-spew v1.1.1 01:40:38 go: downloading github.com/pmezard/go-difflib v1.0.0 01:40:38 go: downloading gopkg.in/yaml.v3 v3.0.1 01:40:38 go: downloading github.com/stretchr/objx v0.5.0 01:40:38 go: downloading github.com/hashicorp/consul/api v1.18.0 01:40:38 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:40:38 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:40:38 go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f 01:40:38 go: downloading github.com/gorilla/websocket v1.4.2 01:40:38 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 01:40:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:40:38 go: downloading github.com/mitchellh/copystructure v1.0.0 01:40:38 go: downloading github.com/mitchellh/mapstructure v1.5.0 01:40:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:40:38 go: downloading github.com/hashicorp/serf v0.10.1 01:40:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:40:38 go: downloading github.com/hashicorp/go-hclog v0.14.1 01:40:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:40:38 go: downloading github.com/mattn/go-isatty v0.0.14 01:40:38 go: downloading github.com/fatih/color v1.9.0 01:40:38 go: downloading github.com/mattn/go-colorable v0.1.12 01:40:38 go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 01:40:38 go: downloading github.com/armon/go-metrics v0.3.10 01:40:38 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 01:40:38 go: downloading github.com/hashicorp/golang-lru v0.5.4 01:40:39 bootstrap/container/clients.go:19:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 bootstrap/environment/variables.go:26:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 config/types.go:23:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 bootstrap/secret/secure.go:30:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 bootstrap/environment/variables.go:27:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 bootstrap/secret/secure.go:27:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 bootstrap/container/token.go:18:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 bootstrap/secret/secret.go:35:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 bootstrap/container/runtime_token.go:18:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 config/types.go:25:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 bootstrap/secret/secret.go:26:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:40:39 bootstrap/handlers/clients.go:23:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 bootstrap/metrics/manager.go:25:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.2/clients/command.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.2/clients/command.go:21:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:40:39 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 01:40:39 $ docker stop --time=1 f7146ba10d6fa18e070313dc584c2f7052ee5b08a5805c54bf88473c2dc84e00 01:40:40 Still waiting to schedule task 01:40:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:40:41 $ docker rm -f --volumes f7146ba10d6fa18e070313dc584c2f7052ee5b08a5805c54bf88473c2dc84e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:41 01:40:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:41 latest: Pulling from edgex-lftools-log-publisher 01:40:41 5eb5b503b376: Pulling fs layer 01:40:41 5c69ac0246d0: Pulling fs layer 01:40:41 ec43610c2a17: Pulling fs layer 01:40:41 3a2ae6a8a46f: Pulling fs layer 01:40:41 33b1e0a273af: Pulling fs layer 01:40:41 5d3b04190fa2: Pulling fs layer 01:40:41 2f39f015ded8: Pulling fs layer 01:40:41 33b1e0a273af: Waiting 01:40:41 5d3b04190fa2: Waiting 01:40:41 3a2ae6a8a46f: Waiting 01:40:41 2f39f015ded8: Waiting 01:40:41 5c69ac0246d0: Verifying Checksum 01:40:41 5c69ac0246d0: Download complete 01:40:41 3a2ae6a8a46f: Verifying Checksum 01:40:41 3a2ae6a8a46f: Download complete 01:40:41 33b1e0a273af: Verifying Checksum 01:40:41 33b1e0a273af: Download complete 01:40:41 5d3b04190fa2: Verifying Checksum 01:40:41 5d3b04190fa2: Download complete 01:40:42 ec43610c2a17: Verifying Checksum 01:40:42 ec43610c2a17: Download complete 01:40:42 5eb5b503b376: Download complete 01:40:42 2f39f015ded8: Download complete 01:40:43 5eb5b503b376: Pull complete 01:40:43 5c69ac0246d0: Pull complete 01:40:43 ec43610c2a17: Pull complete 01:40:43 3a2ae6a8a46f: Pull complete 01:40:44 33b1e0a273af: Pull complete 01:40:44 5d3b04190fa2: Pull complete 01:40:48 2f39f015ded8: Pull complete 01:40:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:48 prd-ubuntu20.04-docker-8c-8g-1170 does not seem to be running inside a container 01:40:48 $ 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/xfoundry_go-mod-bootstrap_PR-404 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404:/w/workspace/xfoundry_go-mod-bootstrap_PR-404:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:40:49 $ docker top 08d584d8b1a7fdf5bdc6368212e3c4687406adf0a668ea1982c7215eca68e4dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:50 ---> job-cost.sh 01:40:50 lf-activate-venv: SKIPPING 01:40:50 INFO: No Stack... 01:40:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:40:50 INFO: Archiving Costs [Pipeline] sh 01:40:51 + cut -d, -f6 01:40:51 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives/cost.csv [Pipeline] lock 01:40:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] 01:40:51 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] did not exist. Created. 01:40:51 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:40:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:40:51 Stashed 1 file(s) [Pipeline] } 01:40:51 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] [Pipeline] // lock [Pipeline] } 01:40:51 $ docker stop --time=1 08d584d8b1a7fdf5bdc6368212e3c4687406adf0a668ea1982c7215eca68e4dd 01:40:52 $ docker rm -f --volumes 08d584d8b1a7fdf5bdc6368212e3c4687406adf0a668ea1982c7215eca68e4dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:40:52 Failed in branch amd64 01:44:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1171 in /w/workspace/xfoundry_go-mod-bootstrap_PR-404 [Pipeline] { [Pipeline] ws 01:44:00 Running in /w/workspace/go-mod-bootstrap/10 [Pipeline] { [Pipeline] checkout 01:44:00 Selected Git installation does not exist. Using Default 01:44:00 The recommended git tool is: NONE 01:44:05 using credential edgex-jenkins-ssh 01:44:05 Cloning the remote Git repository 01:44:05 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 01:44:05 > git init /w/workspace/go-mod-bootstrap/10 # timeout=10 01:44:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 01:44:05 > git --version # timeout=10 01:44:05 > git --version # 'git version 2.25.1' 01:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 01:44:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 01:44:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 01:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:44:08 Merging remotes/origin/main commit 010e84a4f5c9fb5bad160c9a325d4b1cd0611808 into PR head commit 7f012cce98f15f527bb1b3a3a3bb1153d04b95df 01:44:08 Merge succeeded, producing 7f012cce98f15f527bb1b3a3a3bb1153d04b95df 01:44:08 Checking out Revision 7f012cce98f15f527bb1b3a3a3bb1153d04b95df (PR-404) 01:44:08 > git config core.sparsecheckout # timeout=10 01:44:08 > git checkout -f 7f012cce98f15f527bb1b3a3a3bb1153d04b95df # timeout=10 01:44:08 > git remote # timeout=10 01:44:08 > git config --get remote.origin.url # timeout=10 01:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:08 > git merge 010e84a4f5c9fb5bad160c9a325d4b1cd0611808 # timeout=10 01:44:08 > git rev-parse HEAD^{commit} # timeout=10 01:44:08 > git config core.sparsecheckout # timeout=10 01:44:08 > git checkout -f 7f012cce98f15f527bb1b3a3a3bb1153d04b95df # timeout=10 01:44:12 Commit message: "feat(wip): Add go-mod-bootstrap hooks for JWT generation and verification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:13 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:13 Dload Upload Total Spent Left Speed 01:44:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 76813 [Pipeline] sh 01:44:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:44:14 + sudo tee /etc/docker/daemon.new 01:44:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:44:14 { 01:44:14 "registry-mirrors": [ 01:44:14 "https://nexus3.edgexfoundry.org:10001" 01:44:14 ], 01:44:14 "bip": "10.250.0.254/24", 01:44:14 "hosts": [ 01:44:14 "tcp://0.0.0.0:5555", 01:44:14 "unix:///var/run/docker.sock" 01:44:14 ], 01:44:14 "mtu": 1458, 01:44:14 "selinux-enabled": true, 01:44:14 "seccomp-profile": "/etc/docker/seccomp.json" 01:44:14 } [Pipeline] sh 01:44:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:44:14 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 01:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:33 ========================================================= 01:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:44:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:44:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:44:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:44:34 9b18e9b68314: Pulling fs layer 01:44:34 35d82f9e3411: Pulling fs layer 01:44:34 e16973657156: Pulling fs layer 01:44:34 fc693d55d65f: Pulling fs layer 01:44:34 7e9fc2657dce: Pulling fs layer 01:44:34 dda99020689f: Pulling fs layer 01:44:34 db1c61fa0a46: Pulling fs layer 01:44:34 891c053d2c06: Pulling fs layer 01:44:34 db1c61fa0a46: Waiting 01:44:34 fc693d55d65f: Waiting 01:44:34 7e9fc2657dce: Waiting 01:44:34 dda99020689f: Waiting 01:44:34 891c053d2c06: Waiting 01:44:34 e16973657156: Verifying Checksum 01:44:34 e16973657156: Download complete 01:44:34 35d82f9e3411: Download complete 01:44:34 7e9fc2657dce: Download complete 01:44:34 dda99020689f: Verifying Checksum 01:44:34 dda99020689f: Download complete 01:44:34 9b18e9b68314: Download complete 01:44:35 9b18e9b68314: Pull complete 01:44:35 891c053d2c06: Verifying Checksum 01:44:35 891c053d2c06: Download complete 01:44:35 35d82f9e3411: Pull complete 01:44:36 e16973657156: Pull complete 01:44:36 db1c61fa0a46: Verifying Checksum 01:44:37 fc693d55d65f: Verifying Checksum 01:44:37 fc693d55d65f: Download complete 01:44:52 fc693d55d65f: Pull complete 01:44:52 7e9fc2657dce: Pull complete 01:44:52 dda99020689f: Pull complete 01:44:56 db1c61fa0a46: Pull complete 01:44:58 891c053d2c06: Pull complete 01:44:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:44:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 01:44:58 + 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 01:44:59 + docker inspect -f . ci-base-image-arm64 01:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:59 prd-ubuntu20.04-docker-arm64-4c-16g-1171 does not seem to be running inside a container 01:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/10 -v /w/workspace/go-mod-bootstrap/10:/w/workspace/go-mod-bootstrap/10:rw,z -v /w/workspace/go-mod-bootstrap/10@tmp:/w/workspace/go-mod-bootstrap/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:45:02 $ docker top e4719a305b743a03d3ec5bc8e266da44a40dc0f2ab88f02436e29307cfce8575 -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:03 + go version 01:45:03 go version go1.18.7 linux/arm64 [Pipeline] } 01:45:03 $ docker stop --time=1 e4719a305b743a03d3ec5bc8e266da44a40dc0f2ab88f02436e29307cfce8575 01:45:05 $ docker rm -f --volumes e4719a305b743a03d3ec5bc8e266da44a40dc0f2ab88f02436e29307cfce8575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:06 + docker inspect -f . ci-base-image-arm64 01:45:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:06 prd-ubuntu20.04-docker-arm64-4c-16g-1171 does not seem to be running inside a container 01:45:06 $ 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-bootstrap/10 -v /w/workspace/go-mod-bootstrap/10:/w/workspace/go-mod-bootstrap/10:rw,z -v /w/workspace/go-mod-bootstrap/10@tmp:/w/workspace/go-mod-bootstrap/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:45:07 $ docker top 7d42f48f66581ad7befe9797d09bb5d8bc95d32cfff12a4d713f273657752d0e -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:07 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/10 [Pipeline] fileExists [Pipeline] sh 01:45:08 + make test 01:45:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:45:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.2 01:45:08 go: downloading github.com/pelletier/go-toml v1.9.5 01:45:08 go: downloading github.com/stretchr/testify v1.8.1 01:45:08 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.3 01:45:08 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 01:45:08 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 01:45:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.2 01:45:08 go: downloading github.com/google/uuid v1.3.0 01:45:08 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:45:08 go: downloading github.com/gorilla/mux v1.8.0 01:45:09 go: downloading github.com/davecgh/go-spew v1.1.1 01:45:09 go: downloading github.com/pmezard/go-difflib v1.0.0 01:45:09 go: downloading github.com/stretchr/objx v0.5.0 01:45:09 go: downloading gopkg.in/yaml.v3 v3.0.1 01:45:09 go: downloading github.com/hashicorp/errwrap v1.0.0 01:45:09 go: downloading github.com/gorilla/websocket v1.4.2 01:45:09 go: downloading golang.org/x/net v0.0.0-20211216030914-fe4d6282115f 01:45:09 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 01:45:09 go: downloading github.com/hashicorp/consul/api v1.18.0 01:45:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:45:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:45:09 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:45:09 go: downloading github.com/mitchellh/copystructure v1.0.0 01:45:09 go: downloading github.com/mitchellh/mapstructure v1.5.0 01:45:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:45:09 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:45:09 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:45:09 go: downloading github.com/hashicorp/go-hclog v0.14.1 01:45:09 go: downloading github.com/hashicorp/serf v0.10.1 01:45:09 go: downloading github.com/mattn/go-isatty v0.0.14 01:45:09 go: downloading github.com/fatih/color v1.9.0 01:45:09 go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 01:45:09 go: downloading github.com/mattn/go-colorable v0.1.12 01:45:09 go: downloading github.com/armon/go-metrics v0.3.10 01:45:09 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 01:45:09 go: downloading github.com/hashicorp/golang-lru v0.5.4 01:45:11 bootstrap/container/clients.go:19:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 bootstrap/environment/variables.go:26:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 config/types.go:23:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 bootstrap/secret/secure.go:30:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 bootstrap/environment/variables.go:27:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 bootstrap/secret/secure.go:27:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 bootstrap/container/token.go:18:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 bootstrap/secret/secret.go:35:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 bootstrap/container/runtime_token.go:18:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 config/types.go:25:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 bootstrap/secret/secret.go:26:2: github.com/edgexfoundry/go-mod-secrets/v3@v3.0.0-dev.1: replacement directory ../go-mod-secrets does not exist 01:45:11 bootstrap/handlers/clients.go:23:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 bootstrap/metrics/manager.go:25:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.2/clients/command.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.2/clients/command.go:21:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.2: replacement directory ../go-mod-core-contracts does not exist 01:45:11 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 01:45:11 $ docker stop --time=1 7d42f48f66581ad7befe9797d09bb5d8bc95d32cfff12a4d713f273657752d0e 01:45:13 $ docker rm -f --volumes 7d42f48f66581ad7befe9797d09bb5d8bc95d32cfff12a4d713f273657752d0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:14 01:45:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:15 arm64: Pulling from edgex-lftools-log-publisher 01:45:15 8998bd30e6a1: Pulling fs layer 01:45:15 04944245beec: Pulling fs layer 01:45:15 699f458cf7ca: Pulling fs layer 01:45:15 765212b225bb: Pulling fs layer 01:45:15 f23df028b6ca: Pulling fs layer 01:45:15 d65c8cfc05b1: Pulling fs layer 01:45:15 2437ff75d9bd: Pulling fs layer 01:45:15 765212b225bb: Waiting 01:45:15 f23df028b6ca: Waiting 01:45:15 d65c8cfc05b1: Waiting 01:45:15 2437ff75d9bd: Waiting 01:45:15 04944245beec: Verifying Checksum 01:45:15 04944245beec: Download complete 01:45:15 765212b225bb: Verifying Checksum 01:45:15 765212b225bb: Download complete 01:45:15 f23df028b6ca: Verifying Checksum 01:45:15 f23df028b6ca: Download complete 01:45:15 d65c8cfc05b1: Verifying Checksum 01:45:15 d65c8cfc05b1: Download complete 01:45:15 699f458cf7ca: Verifying Checksum 01:45:15 699f458cf7ca: Download complete 01:45:15 8998bd30e6a1: Download complete 01:45:18 2437ff75d9bd: Verifying Checksum 01:45:18 2437ff75d9bd: Download complete 01:45:20 8998bd30e6a1: Pull complete 01:45:20 04944245beec: Pull complete 01:45:22 699f458cf7ca: Pull complete 01:45:22 765212b225bb: Pull complete 01:45:22 f23df028b6ca: Pull complete 01:45:23 d65c8cfc05b1: Pull complete 01:45:38 2437ff75d9bd: Pull complete 01:45:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:45:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:38 prd-ubuntu20.04-docker-arm64-4c-16g-1171 does not seem to be running inside a container 01:45:38 $ 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-bootstrap/10 -v /w/workspace/go-mod-bootstrap/10:/w/workspace/go-mod-bootstrap/10:rw,z -v /w/workspace/go-mod-bootstrap/10@tmp:/w/workspace/go-mod-bootstrap/10@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:45:41 $ docker top 24ddc939c5560524c6cfdebb36055a5132ef11fe75ea927dd29ed2ce5a705568 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:42 ---> job-cost.sh 01:45:42 lf-activate-venv: SKIPPING 01:45:42 INFO: No Stack... 01:45:42 INFO: Retrieving Pricing Info for: v3-standard-4 01:45:43 INFO: Archiving Costs [Pipeline] sh 01:45:43 + cat /w/workspace/go-mod-bootstrap/10/archives/cost.csv 01:45:43 + cut -d, -f6 [Pipeline] lock 01:45:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] 01:45:44 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] did not exist. Created. 01:45:44 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:45:44 /w/workspace/go-mod-bootstrap/10@tmp/durable-28c8a797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:45:44 + echo total: 0.10999999940395355 [Pipeline] stash 01:45:45 Warning: overwriting stash ‘stack-cost’ 01:45:45 Stashed 1 file(s) [Pipeline] } 01:45:45 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-404-10-stack-cost] [Pipeline] // lock [Pipeline] } 01:45:45 $ docker stop --time=1 24ddc939c5560524c6cfdebb36055a5132ef11fe75ea927dd29ed2ce5a705568 01:45:46 $ docker rm -f --volumes 24ddc939c5560524c6cfdebb36055a5132ef11fe75ea927dd29ed2ce5a705568 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:45:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:45:47 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives ] 01:45:47 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives 01:45:47 total 16 01:45:47 drwxr-xr-x 3 root root 4096 Jan 5 01:40 . 01:45:47 drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 01:40 .. 01:45:47 drwxr-xr-x 2 root root 4096 Jan 5 01:40 cost 01:45:47 -rw-r--r-- 1 root root 88 Jan 5 01:40 cost.csv 01:45:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives 01:45:47 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives 01:45:47 total 16 01:45:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 01:40 . 01:45:47 drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 01:40 .. 01:45:47 drwxr-xr-x 2 jenkins jenkins 4096 Jan 5 01:40 cost 01:45:47 -rw-r--r-- 1 jenkins jenkins 88 Jan 5 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:45:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:45:49 ---> package-listing.sh 01:45:49 ++ tr '[:upper:]' '[:lower:]' 01:45:49 ++ facter osfamily 01:45:49 + OS_FAMILY=debian 01:45:49 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-404 01:45:49 + START_PACKAGES=/tmp/packages_start.txt 01:45:49 + END_PACKAGES=/tmp/packages_end.txt 01:45:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:45:49 + PACKAGES=/tmp/packages_start.txt 01:45:49 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-404 ']' 01:45:49 + PACKAGES=/tmp/packages_end.txt 01:45:49 + case "${OS_FAMILY}" in 01:45:49 + dpkg -l 01:45:49 + grep '^ii' 01:45:49 + '[' -f /tmp/packages_start.txt ']' 01:45:49 + '[' -f /tmp/packages_end.txt ']' 01:45:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:45:49 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-404 ']' 01:45:49 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives/ 01:45:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-404/archives/ [Pipeline] echo 01:45:49 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/xfoundry_go-mod-bootstrap_PR-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:45:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:50 prd-ubuntu20.04-docker-8c-8g-1170 does not seem to be running inside a container 01:45:50 $ 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/xfoundry_go-mod-bootstrap_PR-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-404 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404:/w/workspace/xfoundry_go-mod-bootstrap_PR-404:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@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 01:45:50 $ docker top 7bcdf02eef59cac3e3b4b1af72d1eaa147620994db0218af3d9033f09bcd9d2c -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:45:51 + mkdir -p /var/log/sysstat [Pipeline] sh 01:45:51 + ls /var/log/sa-host 01:45:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:51 provisioning config files... 01:45:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-404@tmp/config16305582989569128462tmp [Pipeline] { [Pipeline] echo 01:45:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:45:51 ---> create-netrc.sh [Pipeline] } 01:45:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:45:52 ---> python-tools-install.sh [Pipeline] echo 01:45:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:45:52 ---> sudo-logs.sh 01:45:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:45:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:45:52 ---> job-cost.sh 01:45:52 lf-activate-venv: SKIPPING 01:45:52 DEBUG: total: 0.2199999988079071 01:45:52 INFO: Retrieving Stack Cost... 01:45:52 INFO: Retrieving Pricing Info for: v3-standard-8 01:45:53 INFO: Archiving Costs [Pipeline] echo 01:45:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:45:53 ---> logs-deploy.sh 01:45:53 lf-activate-venv: SKIPPING 01:45:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-404/10 01:45:53 INFO: archiving workspace using pattern(s): 01:45:54 Archives upload complete. 01:45:54 INFO: archiving logs to Nexus