Pull request #337 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 lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from e898027fceb7d68f050ec32644ebc7c3f013480d+9e90773c253324884bef3249c78fa76c8e272f85 (43a5d9286d7cec0e79c8c3ecf304d762649f6d62) 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-ssh15119702946578269497.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1473327250983437938.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-337/workspace@libs/edgex-global-pipelines/.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-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14180981916738237365.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12558903938961110013.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/lf-pipelines/.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-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5579168747303554289.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-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 [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-41838 in /w/workspace/xfoundry_go-mod-bootstrap_PR-337 [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-337 # 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 Merging remotes/origin/main commit 9e90773c253324884bef3249c78fa76c8e272f85 into PR head commit e898027fceb7d68f050ec32644ebc7c3f013480d Merge succeeded, producing e898027fceb7d68f050ec32644ebc7c3f013480d Checking out Revision e898027fceb7d68f050ec32644ebc7c3f013480d (PR-337) > 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/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e898027fceb7d68f050ec32644ebc7c3f013480d # 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 9e90773c253324884bef3249c78fa76c8e272f85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e898027fceb7d68f050ec32644ebc7c3f013480d # timeout=10 Commit message: "Build: Update change log for 2.2.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:10 ========================================================= 17:49:10 EdgeX Global Pipelines Version Info 17:49:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e4a9e9116c75de826272515bdf7530e28f36aa40 # timeout=10 17:49:11 ------------------- 17:49:11 stable info: 17:49:11 ------------------- 17:49:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:11 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:49:11 Message: update stable to v1.0.227 17:49:11 ------------------- 17:49:11 experimental info: 17:49:11 ------------------- 17:49:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:11 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:49:11 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e898027fceb7d68f050ec32644ebc7c3f013480d [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e898027 [Pipeline] echo 17:49:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:49:12 + git rev-list -1 --merges e898027fceb7d68f050ec32644ebc7c3f013480d~1..e898027fceb7d68f050ec32644ebc7c3f013480d [Pipeline] echo 17:49:12 -----------> git rev-list -1 --merges e898027fceb7d68f050ec32644ebc7c3f013480d~1..e898027fceb7d68f050ec32644ebc7c3f013480d e898027fceb7d68f050ec32644ebc7c3f013480d [false] [Pipeline] sh 17:49:12 + git log --format=format:%s -1 e898027fceb7d68f050ec32644ebc7c3f013480d [Pipeline] echo 17:49:12 ========================================================= 17:49:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:13 + git log --format=format:%s -1 e898027fceb7d68f050ec32644ebc7c3f013480d [Pipeline] echo 17:49:13 [semverPrep] GIT_COMMIT: e898027fceb7d68f050ec32644ebc7c3f013480d, Commit Message: Build: Update change log for 2.2.0 [Pipeline] echo 17:49:13 [semverPrep] This is not a build commit. [Pipeline] sh 17:49:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:13 + grep -v github /etc/ssh/ssh_known_hosts 17:49:13 + [ -e /tmp/ssh_known_hosts ] 17:49:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:49:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:49:13 + sudo tee -a /etc/ssh/ssh_known_hosts 17:49:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:49:14 17:49:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:49:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:49:14 latest: Pulling from edgex-devops/py-git-semver 17:49:14 1fe172e4850f: Pulling fs layer 17:49:14 caf521ccaac6: Pulling fs layer 17:49:14 3ead6fa29328: Pulling fs layer 17:49:14 5c2a1cbceb83: Pulling fs layer 17:49:14 a8d5f1318db7: Pulling fs layer 17:49:14 c427282e49a2: Pulling fs layer 17:49:14 1827001aaf11: Pulling fs layer 17:49:14 0714d37db230: Pulling fs layer 17:49:14 ac28cf19c067: Pulling fs layer 17:49:14 ca983d60f3e2: Pulling fs layer 17:49:14 9f894cec8388: Pulling fs layer 17:49:14 0714d37db230: Waiting 17:49:14 5c2a1cbceb83: Waiting 17:49:14 ac28cf19c067: Waiting 17:49:14 a8d5f1318db7: Waiting 17:49:14 1827001aaf11: Waiting 17:49:14 c427282e49a2: Waiting 17:49:14 9f894cec8388: Waiting 17:49:14 caf521ccaac6: Verifying Checksum 17:49:14 caf521ccaac6: Download complete 17:49:14 5c2a1cbceb83: Verifying Checksum 17:49:14 5c2a1cbceb83: Download complete 17:49:14 3ead6fa29328: Verifying Checksum 17:49:14 3ead6fa29328: Download complete 17:49:14 a8d5f1318db7: Verifying Checksum 17:49:14 a8d5f1318db7: Download complete 17:49:14 c427282e49a2: Verifying Checksum 17:49:14 c427282e49a2: Download complete 17:49:14 0714d37db230: Download complete 17:49:14 ac28cf19c067: Verifying Checksum 17:49:14 ac28cf19c067: Download complete 17:49:14 ca983d60f3e2: Verifying Checksum 17:49:14 ca983d60f3e2: Download complete 17:49:14 9f894cec8388: Verifying Checksum 17:49:14 9f894cec8388: Download complete 17:49:14 1fe172e4850f: Verifying Checksum 17:49:14 1fe172e4850f: Download complete 17:49:15 1827001aaf11: Verifying Checksum 17:49:16 1fe172e4850f: Pull complete 17:49:16 caf521ccaac6: Pull complete 17:49:17 3ead6fa29328: Pull complete 17:49:17 5c2a1cbceb83: Pull complete 17:49:17 a8d5f1318db7: Pull complete 17:49:17 c427282e49a2: Pull complete 17:49:19 1827001aaf11: Pull complete 17:49:19 0714d37db230: Pull complete 17:49:19 ac28cf19c067: Pull complete 17:49:19 ca983d60f3e2: Pull complete 17:49:19 9f894cec8388: Pull complete 17:49:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:49:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:49:19 prd-ubuntu20.04-docker-8c-8g-41838 does not seem to be running inside a container 17:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:49:21 $ docker top e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda -eo pid,comm 17:49:21 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). 17:49:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:21 [ssh-agent] Looking for ssh-agent implementation... 17:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:21 $ docker exec e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda ssh-agent 17:49:21 SSH_AUTH_SOCK=/tmp/ssh-1TgPyo2fLskn/agent.34 17:49:21 SSH_AGENT_PID=40 17:49:21 Running ssh-add (command line suppressed) 17:49:21 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_1259023498714973472.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_1259023498714973472.key) 17:49:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:22 + git tag --points-at HEAD [Pipeline] } 17:49:22 $ docker exec --env ******** --env ******** e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda ssh-agent -k 17:49:22 unset SSH_AUTH_SOCK; 17:49:22 unset SSH_AGENT_PID; 17:49:22 echo Agent pid 40 killed; 17:49:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:22 [ssh-agent] Looking for ssh-agent implementation... 17:49:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:22 $ docker exec e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda ssh-agent 17:49:22 SSH_AUTH_SOCK=/tmp/ssh-LFcgaxQa0V2I/agent.72 17:49:22 SSH_AGENT_PID=78 17:49:22 Running ssh-add (command line suppressed) 17:49:22 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_5426023679557589411.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_5426023679557589411.key) 17:49:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:23 + git semver init 17:49:23 2022-05-09 17:49:23,312 [run_init] DEBUG init version:0.0.0 force:False 17:49:23 2022-05-09 17:49:23,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver 17:49:23 2022-05-09 17:49:23,313 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver 17:49:23 2022-05-09 17:49:23,313 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337, universal_newlines=False, shell=None, istream=None) 17:49:24 2022-05-09 17:49:24,081 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.git/info/exclude 17:49:24 2022-05-09 17:49:24,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 with force:False 17:49:24 2022-05-09 17:49:24,081 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 17:49:24 2022-05-09 17:49:24,085 [execute] INFO git cat-file --batch-check 17:49:24 2022-05-09 17:49:24,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver, universal_newlines=False, shell=None, istream=) 17:49:24 2022-05-09 17:49:24,092 [execute] INFO git cat-file --batch 17:49:24 2022-05-09 17:49:24,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver, universal_newlines=False, shell=None, istream=) 17:49:24 2022-05-09 17:49:24,097 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 17:49:24 0.0.0 [Pipeline] } 17:49:24 $ docker exec --env ******** --env ******** e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda ssh-agent -k 17:49:24 unset SSH_AUTH_SOCK; 17:49:24 unset SSH_AGENT_PID; 17:49:24 echo Agent pid 78 killed; 17:49:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:24 + git semver [Pipeline] } 17:49:25 $ docker stop --time=1 e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda 17:49:26 $ docker rm -f e5f58df4f2515670ae7129ece7de0f714ec40585df3279d17cd3392452dcfdda [Pipeline] // withDockerContainer [Pipeline] sh 17:49:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:26 Stashed 1 file(s) [Pipeline] echo 17:49:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:49:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:27 ========================================================= 17:49:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:49:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:49:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:49:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:49:27 59bf1c3509f3: Pulling fs layer 17:49:27 666ba61612fd: Pulling fs layer 17:49:27 8ed8ca486205: Pulling fs layer 17:49:27 4fe6c5a15a65: Pulling fs layer 17:49:27 22a0e8bec74d: Pulling fs layer 17:49:27 ca2b28591e48: Pulling fs layer 17:49:27 a51346096db8: Pulling fs layer 17:49:27 daebc70d1ce1: Pulling fs layer 17:49:27 0e18a0eac166: Pulling fs layer 17:49:27 4fe6c5a15a65: Waiting 17:49:27 22a0e8bec74d: Waiting 17:49:27 ca2b28591e48: Waiting 17:49:27 a51346096db8: Waiting 17:49:27 daebc70d1ce1: Waiting 17:49:27 0e18a0eac166: Waiting 17:49:27 8ed8ca486205: Verifying Checksum 17:49:27 8ed8ca486205: Download complete 17:49:27 666ba61612fd: Download complete 17:49:27 22a0e8bec74d: Download complete 17:49:27 ca2b28591e48: Download complete 17:49:27 a51346096db8: Download complete 17:49:27 59bf1c3509f3: Verifying Checksum 17:49:27 59bf1c3509f3: Download complete 17:49:27 daebc70d1ce1: Verifying Checksum 17:49:27 daebc70d1ce1: Download complete 17:49:27 59bf1c3509f3: Pull complete 17:49:27 666ba61612fd: Pull complete 17:49:27 8ed8ca486205: Pull complete 17:49:28 0e18a0eac166: Verifying Checksum 17:49:28 0e18a0eac166: Download complete 17:49:28 4fe6c5a15a65: Verifying Checksum 17:49:28 4fe6c5a15a65: Download complete 17:49:32 4fe6c5a15a65: Pull complete 17:49:32 22a0e8bec74d: Pull complete 17:49:32 ca2b28591e48: Pull complete 17:49:32 a51346096db8: Pull complete 17:49:32 daebc70d1ce1: Pull complete 17:49:34 0e18a0eac166: Pull complete 17:49:34 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:49:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:49:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:49:35 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:49:35 + docker inspect -f . ci-base-image-x86_64 17:49:35 . [Pipeline] withDockerContainer 17:49:35 prd-ubuntu20.04-docker-8c-8g-41838 does not seem to be running inside a container 17:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:49:37 $ docker top eea85f1ed788de21750abb569d67c3d1030246dea1e1247ce8653419979267c9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:37 + go version 17:49:37 go version go1.17.6 linux/amd64 [Pipeline] } 17:49:37 $ docker stop --time=1 eea85f1ed788de21750abb569d67c3d1030246dea1e1247ce8653419979267c9 17:49:38 $ docker rm -f eea85f1ed788de21750abb569d67c3d1030246dea1e1247ce8653419979267c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:49:39 + docker inspect -f . ci-base-image-x86_64 17:49:39 . [Pipeline] withDockerContainer 17:49:39 prd-ubuntu20.04-docker-8c-8g-41838 does not seem to be running inside a container 17:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:49:39 $ docker top f321d608dd916ace2d9c3c1273c7825dcd7b373dc5dd5c7a8ed3c880adbb397c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:49:40 + make test 17:49:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:49:40 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:49:40 go: downloading github.com/stretchr/testify v1.7.1 17:49:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.28 17:49:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 17:49:40 go: downloading github.com/pelletier/go-toml v1.9.4 17:49:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 17:49:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 17:49:40 go: downloading github.com/google/uuid v1.3.0 17:49:40 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:49:40 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 17:49:40 go: downloading github.com/gorilla/mux v1.8.0 17:49:40 go: downloading github.com/davecgh/go-spew v1.1.1 17:49:40 go: downloading github.com/pmezard/go-difflib v1.0.0 17:49:40 go: downloading github.com/stretchr/objx v0.1.1 17:49:40 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:49:40 go: downloading github.com/hashicorp/errwrap v1.0.0 17:49:40 go: downloading github.com/go-kit/log v0.2.0 17:49:40 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:49:40 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:49:40 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:49:40 go: downloading github.com/hashicorp/consul/api v1.9.1 17:49:40 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:49:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:49:40 go: downloading github.com/pebbe/zmq4 v1.2.7 17:49:40 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:49:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:49:40 go: downloading github.com/mitchellh/copystructure v1.0.0 17:49:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:49:40 go: downloading github.com/gorilla/websocket v1.4.2 17:49:40 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:49:40 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:49:40 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:49:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:49:40 go: downloading github.com/hashicorp/serf v0.9.5 17:49:40 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:49:40 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:49:40 go: downloading github.com/x448/float16 v0.8.4 17:49:40 go: downloading github.com/go-playground/universal-translator v0.18.0 17:49:40 go: downloading github.com/leodido/go-urn v1.2.1 17:49:40 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:49:40 go: downloading golang.org/x/text v0.3.7 17:49:40 go: downloading github.com/zeebo/errs v1.2.2 17:49:40 go: downloading google.golang.org/grpc v1.42.0 17:49:40 go: downloading github.com/fatih/color v1.9.0 17:49:40 go: downloading github.com/mattn/go-isatty v0.0.12 17:49:40 go: downloading github.com/go-playground/locales v0.14.0 17:49:40 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:49:41 go: downloading google.golang.org/protobuf v1.27.1 17:49:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:49:41 go: downloading github.com/mattn/go-colorable v0.1.6 17:49:41 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:49:41 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:49:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:49:41 go: downloading github.com/golang/protobuf v1.5.2 17:49:41 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:49:42 Still waiting to schedule task 17:49:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:49:53 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 17:49:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.025s coverage: 4.6% of statements 17:49:53 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 17:49:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.030s coverage: 92.2% of statements 17:49:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.006s coverage: 85.3% of statements 17:49:54 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.020s coverage: 54.9% of statements 17:49:54 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 17:49:54 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 17:49:54 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.029s coverage: 100.0% of statements 17:49:54 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.335s coverage: 88.1% of statements 17:49:54 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.012s coverage: 25.0% of statements 17:49:56 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.029s coverage: 79.6% of statements 17:49:56 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 17:49:56 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.026s coverage: 41.7% of statements 17:49:56 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.005s coverage: 91.3% of statements 17:50:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:50:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:50:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:06 $ docker stop --time=1 f321d608dd916ace2d9c3c1273c7825dcd7b373dc5dd5c7a8ed3c880adbb397c 17:50:09 $ docker rm -f f321d608dd916ace2d9c3c1273c7825dcd7b373dc5dd5c7a8ed3c880adbb397c [Pipeline] // withDockerContainer [Pipeline] sh 17:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:10 17:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:50:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:11 latest: Pulling from edgex-lftools-log-publisher 17:50:11 5eb5b503b376: Pulling fs layer 17:50:11 5c69ac0246d0: Pulling fs layer 17:50:11 ec43610c2a17: Pulling fs layer 17:50:11 3a2ae6a8a46f: Pulling fs layer 17:50:11 33b1e0a273af: Pulling fs layer 17:50:11 5d3b04190fa2: Pulling fs layer 17:50:11 2f39f015ded8: Pulling fs layer 17:50:11 33b1e0a273af: Waiting 17:50:11 5d3b04190fa2: Waiting 17:50:11 2f39f015ded8: Waiting 17:50:11 5c69ac0246d0: Download complete 17:50:11 3a2ae6a8a46f: Verifying Checksum 17:50:11 3a2ae6a8a46f: Download complete 17:50:11 33b1e0a273af: Verifying Checksum 17:50:11 33b1e0a273af: Download complete 17:50:11 ec43610c2a17: Verifying Checksum 17:50:11 ec43610c2a17: Download complete 17:50:11 5d3b04190fa2: Download complete 17:50:11 5eb5b503b376: Verifying Checksum 17:50:11 5eb5b503b376: Download complete 17:50:12 5eb5b503b376: Pull complete 17:50:12 5c69ac0246d0: Pull complete 17:50:13 ec43610c2a17: Pull complete 17:50:13 3a2ae6a8a46f: Pull complete 17:50:13 33b1e0a273af: Pull complete 17:50:13 5d3b04190fa2: Pull complete 17:50:17 2f39f015ded8: Pull complete 17:50:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:50:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:50:17 prd-ubuntu20.04-docker-8c-8g-41838 does not seem to be running inside a container 17:50:17 $ 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-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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 17:50:19 $ docker top 845072f3abcba69a36b4ff19e6cbae7d6ef0563b4a4526e831f0862279d14372 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:20 ---> job-cost.sh 17:50:20 lf-activate-venv: SKIPPING 17:50:20 INFO: No Stack... 17:50:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:20 INFO: Archiving Costs [Pipeline] sh 17:50:21 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/cost.csv 17:50:21 + cut -d, -f6 [Pipeline] lock 17:50:21 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] 17:50:21 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] did not exist. Created. 17:50:21 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:21 + echo total: 0.2199999988079071 [Pipeline] stash 17:50:21 Stashed 1 file(s) [Pipeline] } 17:50:21 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:21 $ docker stop --time=1 845072f3abcba69a36b4ff19e6cbae7d6ef0563b4a4526e831f0862279d14372 17:50:22 $ docker rm -f 845072f3abcba69a36b4ff19e6cbae7d6ef0563b4a4526e831f0862279d14372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:52:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41840 in /w/workspace/xfoundry_go-mod-bootstrap_PR-337 [Pipeline] { [Pipeline] ws 17:52:21 Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout 17:52:21 Selected Git installation does not exist. Using Default 17:52:21 The recommended git tool is: NONE 17:52:28 using credential edgex-jenkins-ssh 17:52:28 Cloning the remote Git repository 17:52:28 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 17:52:28 > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 17:52:28 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:52:28 > git --version # timeout=10 17:52:28 > git --version # 'git version 2.25.1' 17:52:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:29 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:52:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:30 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:52:30 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:52:30 Merging remotes/origin/main commit 9e90773c253324884bef3249c78fa76c8e272f85 into PR head commit e898027fceb7d68f050ec32644ebc7c3f013480d 17:52:30 Merge succeeded, producing e898027fceb7d68f050ec32644ebc7c3f013480d 17:52:30 Checking out Revision e898027fceb7d68f050ec32644ebc7c3f013480d (PR-337) 17:52:30 > git config core.sparsecheckout # timeout=10 17:52:30 > git checkout -f e898027fceb7d68f050ec32644ebc7c3f013480d # timeout=10 17:52:30 > git remote # timeout=10 17:52:30 > git config --get remote.origin.url # timeout=10 17:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:30 > git merge 9e90773c253324884bef3249c78fa76c8e272f85 # timeout=10 17:52:30 > git rev-parse HEAD^{commit} # timeout=10 17:52:30 > git config core.sparsecheckout # timeout=10 17:52:31 > git checkout -f e898027fceb7d68f050ec32644ebc7c3f013480d # timeout=10 17:52:35 Commit message: "Build: Update change log for 2.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:52:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:35 Dload Upload Total Spent Left Speed 17:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 99521 [Pipeline] sh 17:52:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:52:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:52:36 + sudo tee /etc/docker/daemon.new 17:52:36 { 17:52:36 "registry-mirrors": [ 17:52:36 "https://nexus3.edgexfoundry.org:10001" 17:52:36 ], 17:52:36 "bip": "10.250.0.254/24", 17:52:36 "hosts": [ 17:52:36 "tcp://0.0.0.0:5555", 17:52:36 "unix:///var/run/docker.sock" 17:52:36 ], 17:52:36 "mtu": 1458, 17:52:36 "selinux-enabled": true, 17:52:36 "seccomp-profile": "/etc/docker/seccomp.json" 17:52:36 } [Pipeline] sh 17:52:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:52:37 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:56 ========================================================= 17:52:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:52:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:52:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:57 9b3977197b4f: Pulling fs layer 17:52:57 1a89e8eeedd5: Pulling fs layer 17:52:57 94645a83ff95: Pulling fs layer 17:52:57 3f3a8bcf1eab: Pulling fs layer 17:52:57 0c92f367c5e7: Pulling fs layer 17:52:57 3096ccb668a1: Pulling fs layer 17:52:57 e8cf19c19ddd: Pulling fs layer 17:52:57 a4caa8a26152: Pulling fs layer 17:52:57 3096ccb668a1: Waiting 17:52:57 a4caa8a26152: Waiting 17:52:57 3f3a8bcf1eab: Waiting 17:52:57 0c92f367c5e7: Waiting 17:52:57 94645a83ff95: Verifying Checksum 17:52:57 94645a83ff95: Download complete 17:52:57 1a89e8eeedd5: Verifying Checksum 17:52:57 1a89e8eeedd5: Download complete 17:52:57 0c92f367c5e7: Verifying Checksum 17:52:57 0c92f367c5e7: Download complete 17:52:57 3096ccb668a1: Verifying Checksum 17:52:57 3096ccb668a1: Download complete 17:52:57 9b3977197b4f: Verifying Checksum 17:52:57 9b3977197b4f: Download complete 17:52:57 e8cf19c19ddd: Verifying Checksum 17:52:57 e8cf19c19ddd: Download complete 17:52:58 9b3977197b4f: Pull complete 17:52:58 1a89e8eeedd5: Pull complete 17:52:59 94645a83ff95: Pull complete 17:52:59 a4caa8a26152: Verifying Checksum 17:52:59 a4caa8a26152: Download complete 17:53:00 3f3a8bcf1eab: Verifying Checksum 17:53:00 3f3a8bcf1eab: Download complete 17:53:12 3f3a8bcf1eab: Pull complete 17:53:12 0c92f367c5e7: Pull complete 17:53:12 3096ccb668a1: Pull complete 17:53:12 e8cf19c19ddd: Pull complete 17:53:19 a4caa8a26152: Pull complete 17:53:19 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:53:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 17:53:19 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:53:20 + docker inspect -f . ci-base-image-arm64 17:53:20 . [Pipeline] withDockerContainer 17:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-41840 does not seem to be running inside a container 17:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@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-arm64 cat 17:53:23 $ docker top d6b6d3a5d4bbfdac44267be1fdb6c4d4fe6d0973f8ffcbdffbe3aa0dc177c71e -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:24 + go version 17:53:24 go version go1.17.6 linux/arm64 [Pipeline] } 17:53:24 $ docker stop --time=1 d6b6d3a5d4bbfdac44267be1fdb6c4d4fe6d0973f8ffcbdffbe3aa0dc177c71e 17:53:26 $ docker rm -f d6b6d3a5d4bbfdac44267be1fdb6c4d4fe6d0973f8ffcbdffbe3aa0dc177c71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:53:26 + docker inspect -f . ci-base-image-arm64 17:53:26 . [Pipeline] withDockerContainer 17:53:27 prd-ubuntu20.04-docker-arm64-4c-16g-41840 does not seem to be running inside a container 17:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@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-arm64 cat 17:53:28 $ docker top ccd41196e25f66d19c323dc72e365859f6ed96849a52227b3ae206f54234c326 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:53:30 + make test 17:53:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:53:30 go: downloading github.com/pelletier/go-toml v1.9.4 17:53:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 17:53:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.28 17:53:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 17:53:30 go: downloading github.com/stretchr/testify v1.7.1 17:53:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:53:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 17:53:30 go: downloading github.com/gorilla/mux v1.8.0 17:53:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 17:53:30 go: downloading github.com/google/uuid v1.3.0 17:53:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:53:30 go: downloading github.com/davecgh/go-spew v1.1.1 17:53:30 go: downloading github.com/pmezard/go-difflib v1.0.0 17:53:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:53:30 go: downloading github.com/stretchr/objx v0.1.1 17:53:30 go: downloading github.com/go-kit/log v0.2.0 17:53:30 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:53:31 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:53:31 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:53:31 go: downloading github.com/hashicorp/errwrap v1.0.0 17:53:31 go: downloading github.com/hashicorp/consul/api v1.9.1 17:53:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:53:31 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:53:31 go: downloading github.com/x448/float16 v0.8.4 17:53:31 go: downloading github.com/go-playground/universal-translator v0.18.0 17:53:31 go: downloading github.com/leodido/go-urn v1.2.1 17:53:31 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:53:31 go: downloading golang.org/x/text v0.3.7 17:53:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:53:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:53:31 go: downloading github.com/pebbe/zmq4 v1.2.7 17:53:31 go: downloading github.com/zeebo/errs v1.2.2 17:53:31 go: downloading google.golang.org/grpc v1.42.0 17:53:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:53:32 go: downloading github.com/mitchellh/copystructure v1.0.0 17:53:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:53:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:53:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:53:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:53:32 go: downloading github.com/hashicorp/serf v0.9.5 17:53:32 go: downloading github.com/go-playground/locales v0.14.0 17:53:32 go: downloading github.com/gorilla/websocket v1.4.2 17:53:33 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:53:33 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:53:33 go: downloading google.golang.org/protobuf v1.27.1 17:53:34 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:53:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:53:35 go: downloading github.com/fatih/color v1.9.0 17:53:35 go: downloading github.com/mattn/go-isatty v0.0.12 17:53:35 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:53:35 go: downloading github.com/golang/protobuf v1.5.2 17:53:35 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:53:35 go: downloading github.com/mattn/go-colorable v0.1.6 17:53:35 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:53:35 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:55:12 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 17:55:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.079s coverage: 4.6% of statements 17:55:12 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 17:55:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.108s coverage: 92.2% of statements 17:55:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.038s coverage: 85.3% of statements 17:55:18 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.085s coverage: 54.9% of statements 17:55:18 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 17:55:18 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 17:55:18 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.076s coverage: 100.0% of statements 17:55:18 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.390s coverage: 88.1% of statements 17:55:18 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.123s coverage: 25.0% of statements 17:55:28 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.089s coverage: 79.6% of statements 17:55:28 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 17:55:28 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.049s coverage: 41.7% of statements 17:55:28 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.016s coverage: 91.3% of statements 17:55:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:55:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:55:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:55:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:55:55 $ docker stop --time=1 ccd41196e25f66d19c323dc72e365859f6ed96849a52227b3ae206f54234c326 17:55:57 $ docker rm -f ccd41196e25f66d19c323dc72e365859f6ed96849a52227b3ae206f54234c326 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:00 Warning: overwriting stash ‘coverage-report’ 17:56:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:56:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:01 17:56:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:56:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:01 arm64: Pulling from edgex-lftools-log-publisher 17:56:01 8998bd30e6a1: Pulling fs layer 17:56:01 04944245beec: Pulling fs layer 17:56:01 699f458cf7ca: Pulling fs layer 17:56:01 765212b225bb: Pulling fs layer 17:56:01 f23df028b6ca: Pulling fs layer 17:56:01 d65c8cfc05b1: Pulling fs layer 17:56:01 2437ff75d9bd: Pulling fs layer 17:56:01 2437ff75d9bd: Waiting 17:56:01 d65c8cfc05b1: Waiting 17:56:01 765212b225bb: Waiting 17:56:01 f23df028b6ca: Waiting 17:56:01 04944245beec: Verifying Checksum 17:56:01 04944245beec: Download complete 17:56:01 765212b225bb: Verifying Checksum 17:56:01 765212b225bb: Download complete 17:56:01 f23df028b6ca: Verifying Checksum 17:56:01 f23df028b6ca: Download complete 17:56:02 d65c8cfc05b1: Verifying Checksum 17:56:02 d65c8cfc05b1: Download complete 17:56:02 699f458cf7ca: Verifying Checksum 17:56:02 699f458cf7ca: Download complete 17:56:02 8998bd30e6a1: Verifying Checksum 17:56:02 8998bd30e6a1: Download complete 17:56:05 2437ff75d9bd: Verifying Checksum 17:56:05 2437ff75d9bd: Download complete 17:56:07 8998bd30e6a1: Pull complete 17:56:07 04944245beec: Pull complete 17:56:08 699f458cf7ca: Pull complete 17:56:09 765212b225bb: Pull complete 17:56:09 f23df028b6ca: Pull complete 17:56:10 d65c8cfc05b1: Pull complete 17:56:25 2437ff75d9bd: Pull complete 17:56:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:56:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:56:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:56:25 prd-ubuntu20.04-docker-arm64-4c-16g-41840 does not seem to be running inside a container 17:56:25 $ 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/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@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:arm64 cat 17:56:28 $ docker top 6f313e487cf73b7570a12aa6f8c72c002ab64c1bef8bc04e190382bb6156ac22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:29 ---> job-cost.sh 17:56:29 lf-activate-venv: SKIPPING 17:56:29 INFO: No Stack... 17:56:30 INFO: Retrieving Pricing Info for: v3-standard-4 17:56:30 INFO: Archiving Costs [Pipeline] sh 17:56:31 + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv 17:56:31 + cut -d, -f6 [Pipeline] lock 17:56:31 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] 17:56:31 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] did not exist. Created. 17:56:31 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:56:32 /w/workspace/go-mod-bootstrap/2@tmp/durable-1ac5bc93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:56:32 + echo total: 0.10999999940395355 [Pipeline] stash 17:56:32 Warning: overwriting stash ‘stack-cost’ 17:56:32 Stashed 1 file(s) [Pipeline] } 17:56:32 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:56:32 $ docker stop --time=1 6f313e487cf73b7570a12aa6f8c72c002ab64c1bef8bc04e190382bb6156ac22 17:56:34 $ docker rm -f 6f313e487cf73b7570a12aa6f8c72c002ab64c1bef8bc04e190382bb6156ac22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:56:34 provisioning config files... 17:56:34 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/config7524990557251276829tmp [Pipeline] { [Pipeline] sh 17:56:35 + set +x 17:56:35 + curl -s https://codecov.io/bash 17:56:35 + bash -s -- 17:56:35 17:56:35 _____ _ 17:56:35 / ____| | | 17:56:35 | | ___ __| | ___ ___ _____ __ 17:56:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:56:35 | |___| (_) | (_| | __/ (_| (_) \ V / 17:56:35 \_____\___/ \__,_|\___|\___\___/ \_/ 17:56:35 Bash-1.0.6 17:56:35 17:56:35 17:56:35 ==> git version 2.25.1 found 17:56:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:56:35 Release-Date: 2020-01-08 17:56:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:56:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:56:35 ==> Jenkins CI detected. 17:56:35 current dir:  /w/workspace/xfoundry_go-mod-bootstrap_PR-337 17:56:35 project root: . 17:56:35 --> token set from env 17:56:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:56:35 ==> Running gcov in . (disable via -X gcov) 17:56:35 ==> Python coveragepy not found 17:56:35 ==> Searching for coverage reports in: 17:56:35 + . 17:56:35 -> Found 1 reports 17:56:35 ==> Detecting git/mercurial file structure 17:56:35 ==> Reading reports 17:56:35 + ./coverage.out bytes=56161 17:56:35 ==> Appending adjustments 17:56:35 https://docs.codecov.io/docs/fixing-reports 17:56:35 + Found adjustments 17:56:35 ==> Gzipping contents 17:56:35 12K /tmp/codecov.zixQP9.gz 17:56:35 ==> Uploading reports 17:56:35 url: https://codecov.io 17:56:35 query: branch=PR-337&commit=e898027fceb7d68f050ec32644ebc7c3f013480d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-337%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=337&job=&cmd_args= 17:56:35 -> Pinging Codecov 17:56:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c5112490-c224-4931-97ab-fb3b10067c12&branch=PR-337&commit=e898027fceb7d68f050ec32644ebc7c3f013480d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-337%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=337&job=&cmd_args= 17:56:36 -> Uploading to 17:56:36 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/833815588EE85121546D348822E98E2E/e898027fceb7d68f050ec32644ebc7c3f013480d/c6b1e0b0-886d-44a3-91d2-ebfe2d097609.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T175635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9bf71ec92c567060ca3ad6c5815ec216e40d6399388588c11567dcc2d0e4d7e 17:56:36 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:36 Dload Upload Total Spent Left Speed 17:56:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9320 0 0 100 9320 0 37429 --:--:-- --:--:-- --:--:-- 37429 17:56:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/e898027fceb7d68f050ec32644ebc7c3f013480d [Pipeline] } 17:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:56:36 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives ] 17:56:36 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:56:36 total 16 17:56:36 drwxr-xr-x 3 root root 4096 May 9 17:50 . 17:56:36 drwxrwxr-x 9 jenkins jenkins 4096 May 9 17:50 .. 17:56:36 drwxr-xr-x 2 root root 4096 May 9 17:50 cost 17:56:36 -rw-r--r-- 1 root root 87 May 9 17:50 cost.csv 17:56:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:56:36 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:56:36 total 16 17:56:36 drwxr-xr-x 3 jenkins jenkins 4096 May 9 17:50 . 17:56:36 drwxrwxr-x 9 jenkins jenkins 4096 May 9 17:50 .. 17:56:36 drwxr-xr-x 2 jenkins jenkins 4096 May 9 17:50 cost 17:56:36 -rw-r--r-- 1 jenkins jenkins 87 May 9 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:56:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:56:37 ---> package-listing.sh 17:56:37 ++ facter osfamily 17:56:37 ++ tr '[:upper:]' '[:lower:]' 17:56:38 + OS_FAMILY=debian 17:56:38 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-337 17:56:38 + START_PACKAGES=/tmp/packages_start.txt 17:56:38 + END_PACKAGES=/tmp/packages_end.txt 17:56:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:56:38 + PACKAGES=/tmp/packages_start.txt 17:56:38 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-337 ']' 17:56:38 + PACKAGES=/tmp/packages_end.txt 17:56:38 + case "${OS_FAMILY}" in 17:56:38 + dpkg -l 17:56:38 + grep '^ii' 17:56:38 + '[' -f /tmp/packages_start.txt ']' 17:56:38 + '[' -f /tmp/packages_end.txt ']' 17:56:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:56:38 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-337 ']' 17:56:38 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/ 17:56:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/ [Pipeline] echo 17:56:38 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:56:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:39 . [Pipeline] withDockerContainer 17:56:39 prd-ubuntu20.04-docker-8c-8g-41838 does not seem to be running inside a container 17:56:39 $ 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-337/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-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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 17:56:40 $ docker top 372a6cc2c20745628a17f20aa3f29526ec18fad746849c290b78cca811080f90 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:40 + touch /tmp/pre-build-complete [Pipeline] sh 17:56:41 + mkdir -p /var/log/sysstat [Pipeline] sh 17:56:41 + ls /var/log/sa-host 17:56:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:41 provisioning config files... 17:56:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/config8872555447014173096tmp [Pipeline] { [Pipeline] echo 17:56:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:56:41 ---> create-netrc.sh [Pipeline] } 17:56:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:56:42 ---> python-tools-install.sh [Pipeline] echo 17:56:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:56:42 ---> sudo-logs.sh 17:56:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:56:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:56:42 ---> job-cost.sh 17:56:42 lf-activate-venv: SKIPPING 17:56:42 DEBUG: total: 0.2199999988079071 17:56:42 INFO: Retrieving Stack Cost... 17:56:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:56:43 INFO: Archiving Costs [Pipeline] echo 17:56:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:56:43 ---> logs-deploy.sh 17:56:43 lf-activate-venv: SKIPPING 17:56:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-337/2 17:56:43 INFO: archiving workspace using pattern(s): 17:56:44 Archives upload complete. 17:56:44 INFO: archiving logs to Nexus