Pull request #124 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from 8b0d9fc0ba36e4316756d473240829e7105dd916+a2d0aaee630ad1966ef4dc9ba52354be6d39d138 (aed0fe6d3d62ce0ab5b76b0c78da5ad87e7a387a) 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-ssh4845785851864023037.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh7426690239635440532.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-124/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-124/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16527572748870034290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-124/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5534688522116297161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh15715695566350940068.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-124/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-124/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8173670912603543750.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-messaging 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 Running on prd-centos7-docker-4c-2g-742 in /w/workspace/xfoundry_go-mod-messaging_PR-124 [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-messaging.git > git init /w/workspace/xfoundry_go-mod-messaging_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/jenkins-gitclient-ssh1537973730566276072.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a2d0aaee630ad1966ef4dc9ba52354be6d39d138 into PR head commit 8b0d9fc0ba36e4316756d473240829e7105dd916 Merge succeeded, producing 8b0d9fc0ba36e4316756d473240829e7105dd916 Checking out Revision 8b0d9fc0ba36e4316756d473240829e7105dd916 (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/jenkins-gitclient-ssh3586509316667726976.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/jenkins-gitclient-ssh692694792419087327.key > git merge a2d0aaee630ad1966ef4dc9ba52354be6d39d138 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:17:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:17:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:17:11 ========================================================= 04:17:11 EdgeX Global Pipelines Version Info 04:17:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:17:12 ------------------- 04:17:12 stable info: 04:17:12 ------------------- 04:17:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:17:12 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:17:12 Message: update stable to v1.0.217 04:17:13 ------------------- 04:17:13 experimental info: 04:17:13 ------------------- 04:17:13 Commited By: **** collab-it+edgex@linuxfoundation.org 04:17:13 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 04:17:13 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b0d9fc0ba36e4316756d473240829e7105dd916 [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b0d9fc [Pipeline] echo 04:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:17:15 + git rev-list -1 --merges 8b0d9fc0ba36e4316756d473240829e7105dd916~1..8b0d9fc0ba36e4316756d473240829e7105dd916 [Pipeline] echo 04:17:15 -----------> git rev-list -1 --merges 8b0d9fc0ba36e4316756d473240829e7105dd916~1..8b0d9fc0ba36e4316756d473240829e7105dd916 8b0d9fc0ba36e4316756d473240829e7105dd916 [false] [Pipeline] sh 04:17:15 + git log --format=format:%s -1 8b0d9fc0ba36e4316756d473240829e7105dd916 [Pipeline] echo 04:17:15 ========================================================= 04:17:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:17:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:16 + git log --format=format:%s -1 8b0d9fc0ba36e4316756d473240829e7105dd916 [Pipeline] echo 04:17:16 [semverPrep] GIT_COMMIT: 8b0d9fc0ba36e4316756d473240829e7105dd916, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 04:17:16 [semverPrep] This is not a build commit. [Pipeline] sh 04:17:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:17:16 + grep -v github /etc/ssh/ssh_known_hosts 04:17:16 + '[' -e /tmp/ssh_known_hosts ']' 04:17:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:17:16 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:17:16 + sudo tee -a /etc/ssh/ssh_known_hosts 04:17:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:17:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:17:17 04:17:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:17:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:17:17 latest: Pulling from edgex-devops/git-semver 04:17:17 a0d0a0d46f8b: Pulling fs layer 04:17:17 3e5f54012d9b: Pulling fs layer 04:17:17 4c7163046ea9: Pulling fs layer 04:17:17 0c2d73faf560: Pulling fs layer 04:17:17 0c2d73faf560: Waiting 04:17:17 3e5f54012d9b: Verifying Checksum 04:17:17 3e5f54012d9b: Download complete 04:17:17 a0d0a0d46f8b: Verifying Checksum 04:17:17 a0d0a0d46f8b: Download complete 04:17:17 4c7163046ea9: Verifying Checksum 04:17:17 4c7163046ea9: Download complete 04:17:17 0c2d73faf560: Verifying Checksum 04:17:17 0c2d73faf560: Download complete 04:17:17 a0d0a0d46f8b: Pull complete 04:17:17 3e5f54012d9b: Pull complete 04:17:18 4c7163046ea9: Pull complete 04:17:18 0c2d73faf560: Pull complete 04:17:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:17:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:17:18 prd-centos7-docker-4c-2g-742 does not seem to be running inside a container 04:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-124 -v /w/workspace/xfoundry_go-mod-messaging_PR-124:/w/workspace/xfoundry_go-mod-messaging_PR-124:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:17:18 $ docker top 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:17:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:19 [ssh-agent] Looking for ssh-agent implementation... 04:17:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:19 $ docker exec 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 ssh-agent 04:17:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkhmeHj/agent.14 04:17:19 SSH_AGENT_PID=20 04:17:19 Running ssh-add (command line suppressed) 04:17:19 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/private_key_982308283539651972.key (/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/private_key_982308283539651972.key) 04:17:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:20 + git tag --points-at HEAD [Pipeline] } 04:17:19 $ docker exec --env ******** --env ******** 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 ssh-agent -k 04:17:19 unset SSH_AUTH_SOCK; 04:17:19 unset SSH_AGENT_PID; 04:17:19 echo Agent pid 20 killed; 04:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:17:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:20 [ssh-agent] Looking for ssh-agent implementation... 04:17:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:20 $ docker exec 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 ssh-agent 04:17:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGLIKOk/agent.54 04:17:20 SSH_AGENT_PID=61 04:17:20 Running ssh-add (command line suppressed) 04:17:20 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/private_key_7053563735389415360.key (/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/private_key_7053563735389415360.key) 04:17:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:20 + git semver init 04:17:20 # -> Open(): unable to determine branch for HEAD 04:17:20 # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-124/.git 04:17:20 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-124 04:17:20 # $SEMVER_REMOTE_NAME = origin 04:17:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:17:20 # $SEMVER_USER_NAME = edgex-jenkins 04:17:20 # $SEMVER_BRANCH = PR-124 04:17:20 # $SEMVER_TEMP = /tmp/semver-387411970 04:17:20 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 04:17:21 # '/tmp/semver-387411970' -> '/w/workspace/xfoundry_go-mod-messaging_PR-124/.semver' 04:17:21 # -> Force: false 04:17:21 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-124/.semver [Pipeline] } 04:17:21 $ docker exec --env ******** --env ******** 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 ssh-agent -k 04:17:21 unset SSH_AUTH_SOCK; 04:17:21 unset SSH_AGENT_PID; 04:17:21 echo Agent pid 61 killed; 04:17:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:17:22 + git semver [Pipeline] } 04:17:22 $ docker stop --time=1 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 04:17:23 $ docker rm -f 4d0cd5574f409508a4f04ac684d0f1787524a8e6ba0e17b8e0246db0c0d0f5b5 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:17:23 Stashed 1 file(s) [Pipeline] echo 04:17:24 [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] node [Pipeline] node 04:17:39 Still waiting to schedule task 04:17:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-742’ 04:17:39 Still waiting to schedule task 04:17:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:19:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-743 in /w/workspace/xfoundry_go-mod-messaging_PR-124 [Pipeline] { [Pipeline] ws 04:19:04 Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout 04:19:04 Selected Git installation does not exist. Using Default 04:19:04 The recommended git tool is: NONE 04:19:09 using credential edgex-jenkins-ssh 04:19:09 Cloning the remote Git repository 04:19:09 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 04:19:09 > git init /w/workspace/go-mod-messaging/1 # timeout=10 04:19:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 04:19:09 > git --version # timeout=10 04:19:09 > git --version # 'git version 2.17.1' 04:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 04:19:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:11 Merging remotes/origin/main commit a2d0aaee630ad1966ef4dc9ba52354be6d39d138 into PR head commit 8b0d9fc0ba36e4316756d473240829e7105dd916 04:19:11 Merge succeeded, producing 8b0d9fc0ba36e4316756d473240829e7105dd916 04:19:11 Checking out Revision 8b0d9fc0ba36e4316756d473240829e7105dd916 (PR-124) 04:19:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 04:19:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 04:19:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:11 > git config core.sparsecheckout # timeout=10 04:19:11 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 04:19:11 > git remote # timeout=10 04:19:11 > git config --get remote.origin.url # timeout=10 04:19:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:11 > git merge a2d0aaee630ad1966ef4dc9ba52354be6d39d138 # timeout=10 04:19:11 > git rev-parse HEAD^{commit} # timeout=10 04:19:11 > git config core.sparsecheckout # timeout=10 04:19:11 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 04:19:15 Commit message: "feat(security): Enable gosec and default linter set" 04:19:15 > git --version # timeout=10 04:19:15 > git --version # 'git version 2.17.1' 04:19:15 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:17 Dload Upload Total Spent Left Speed 04:19:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 35086 0 --:--:-- --:--:-- --:--:-- 35190 [Pipeline] sh 04:19:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:19 + sudo tee /etc/docker/daemon.new 04:19:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:19:19 { 04:19:19 "registry-mirrors": [ 04:19:19 "https://nexus3.edgexfoundry.org:10001" 04:19:19 ], 04:19:19 "bip": "10.250.0.254/24", 04:19:19 "hosts": [ 04:19:19 "tcp://0.0.0.0:5555", 04:19:19 "unix:///var/run/docker.sock" 04:19:19 ], 04:19:19 "mtu": 1458, 04:19:19 "selinux-enabled": true, 04:19:19 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:19 } [Pipeline] sh 04:19:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:19:19 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:38 ========================================================= 04:19:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:19:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:19:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:19:39 552d1f2373af: Pulling fs layer 04:19:39 ea3f2d53f512: Pulling fs layer 04:19:39 9e70ebbbe112: Pulling fs layer 04:19:39 7a9cfe048b4a: Pulling fs layer 04:19:39 72dc09318566: Pulling fs layer 04:19:39 f4f7b4309257: Pulling fs layer 04:19:39 0ac9a79272e3: Pulling fs layer 04:19:39 b78e95d17946: Pulling fs layer 04:19:39 72dc09318566: Waiting 04:19:39 7a9cfe048b4a: Waiting 04:19:39 f4f7b4309257: Waiting 04:19:39 0ac9a79272e3: Waiting 04:19:39 b78e95d17946: Waiting 04:19:39 9e70ebbbe112: Verifying Checksum 04:19:39 9e70ebbbe112: Download complete 04:19:39 ea3f2d53f512: Verifying Checksum 04:19:39 ea3f2d53f512: Download complete 04:19:39 72dc09318566: Verifying Checksum 04:19:39 72dc09318566: Download complete 04:19:39 f4f7b4309257: Download complete 04:19:39 552d1f2373af: Verifying Checksum 04:19:39 552d1f2373af: Download complete 04:19:39 0ac9a79272e3: Download complete 04:19:40 552d1f2373af: Pull complete 04:19:40 ea3f2d53f512: Pull complete 04:19:41 9e70ebbbe112: Pull complete 04:19:41 b78e95d17946: Verifying Checksum 04:19:41 b78e95d17946: Download complete 04:19:41 7a9cfe048b4a: Verifying Checksum 04:19:41 7a9cfe048b4a: Download complete 04:19:54 Running on prd-centos7-docker-4c-2g-744 in /w/workspace/xfoundry_go-mod-messaging_PR-124 [Pipeline] { [Pipeline] ws 04:19:54 Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout 04:19:54 Selected Git installation does not exist. Using Default 04:19:54 The recommended git tool is: NONE 04:19:54 7a9cfe048b4a: Pull complete 04:19:54 72dc09318566: Pull complete 04:19:54 f4f7b4309257: Pull complete 04:19:54 0ac9a79272e3: Pull complete 04:19:55 using credential edgex-jenkins-ssh 04:19:55 Cloning the remote Git repository 04:19:55 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 04:19:55 > git init /w/workspace/go-mod-messaging/1 # timeout=10 04:19:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 04:19:55 > git --version # timeout=10 04:19:55 > git --version # 'git version 2.24.4' 04:19:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:55 [INFO] Currently running in a labeled security context 04:19:55 [INFO] Currently SELinux is 'enforcing' on the host 04:19:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh1328909440988084678.key 04:19:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:57 Merging remotes/origin/main commit a2d0aaee630ad1966ef4dc9ba52354be6d39d138 into PR head commit 8b0d9fc0ba36e4316756d473240829e7105dd916 04:19:57 Merge succeeded, producing 8b0d9fc0ba36e4316756d473240829e7105dd916 04:19:57 Checking out Revision 8b0d9fc0ba36e4316756d473240829e7105dd916 (PR-124) 04:19:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 04:19:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 04:19:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 04:19:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:56 [INFO] Currently running in a labeled security context 04:19:56 [INFO] Currently SELinux is 'enforcing' on the host 04:19:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh8528141734114937843.key 04:19:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:56 > git config core.sparsecheckout # timeout=10 04:19:56 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 04:19:56 > git remote # timeout=10 04:19:56 > git config --get remote.origin.url # timeout=10 04:19:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:56 [INFO] Currently running in a labeled security context 04:19:56 [INFO] Currently SELinux is 'enforcing' on the host 04:19:56 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh8697141506525296537.key 04:19:56 > git merge a2d0aaee630ad1966ef4dc9ba52354be6d39d138 # timeout=10 04:19:56 > git rev-parse HEAD^{commit} # timeout=10 04:19:56 > git config core.sparsecheckout # timeout=10 04:19:57 > git checkout -f 8b0d9fc0ba36e4316756d473240829e7105dd916 # timeout=10 04:19:59 b78e95d17946: Pull complete 04:19:59 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:19:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 04:20:00 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 04:20:00 + docker inspect -f . ci-base-image-arm64 04:20:00 . [Pipeline] withDockerContainer 04:20:00 prd-ubuntu18.04-docker-arm64-4c-16g-743 does not seem to be running inside a container 04:20:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:20:01 Commit message: "feat(security): Enable gosec and default linter set" 04:20:00 > git --version # timeout=10 04:20:00 > git --version # 'git version 2.24.4' 04:20:00 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:20:03 $ docker top ff46745aac6fab90fa9b8dab0bb00c44f395ee552ef9a1f63fc946cd422e514b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:04 ========================================================= 04:20:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:20:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:20:04 + go version 04:20:04 go version go1.16.8 linux/arm64 [Pipeline] } 04:20:04 $ docker stop --time=1 ff46745aac6fab90fa9b8dab0bb00c44f395ee552ef9a1f63fc946cd422e514b 04:20:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:20:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:05 a0d0a0d46f8b: Pulling fs layer 04:20:05 31adcdaf11c8: Pulling fs layer 04:20:05 b8b176561691: Pulling fs layer 04:20:05 4527c011a84f: Pulling fs layer 04:20:05 5d74067f8e1e: Pulling fs layer 04:20:05 e0aca202a116: Pulling fs layer 04:20:05 3a43be97a3b4: Pulling fs layer 04:20:05 34cad66bf833: Pulling fs layer 04:20:05 b4e3c513aaa6: Pulling fs layer 04:20:05 3a43be97a3b4: Waiting 04:20:05 4527c011a84f: Waiting 04:20:05 5d74067f8e1e: Waiting 04:20:05 34cad66bf833: Waiting 04:20:05 b4e3c513aaa6: Waiting 04:20:05 e0aca202a116: Waiting 04:20:05 b8b176561691: Verifying Checksum 04:20:05 b8b176561691: Download complete 04:20:05 31adcdaf11c8: Download complete 04:20:05 5d74067f8e1e: Verifying Checksum 04:20:05 5d74067f8e1e: Download complete 04:20:05 e0aca202a116: Verifying Checksum 04:20:05 e0aca202a116: Download complete 04:20:05 3a43be97a3b4: Verifying Checksum 04:20:05 3a43be97a3b4: Download complete 04:20:05 a0d0a0d46f8b: Verifying Checksum 04:20:05 a0d0a0d46f8b: Download complete 04:20:05 34cad66bf833: Verifying Checksum 04:20:05 34cad66bf833: Download complete 04:20:05 4527c011a84f: Verifying Checksum 04:20:05 4527c011a84f: Download complete 04:20:05 b4e3c513aaa6: Verifying Checksum 04:20:05 b4e3c513aaa6: Download complete 04:20:05 a0d0a0d46f8b: Pull complete 04:20:05 31adcdaf11c8: Pull complete 04:20:05 b8b176561691: Pull complete 04:20:06 $ docker rm -f ff46745aac6fab90fa9b8dab0bb00c44f395ee552ef9a1f63fc946cd422e514b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:20:07 + docker inspect -f . ci-base-image-arm64 04:20:07 . [Pipeline] withDockerContainer 04:20:07 prd-ubuntu18.04-docker-arm64-4c-16g-743 does not seem to be running inside a container 04:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:20:09 $ docker top d7098c430aa697133638f3f3ebfa2d3c2ccc681d9c3e335b0af3d0a3a17f7af9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:20:10 + make test 04:20:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:20:10 4527c011a84f: Pull complete 04:20:10 5d74067f8e1e: Pull complete 04:20:10 e0aca202a116: Pull complete 04:20:10 3a43be97a3b4: Pull complete 04:20:10 34cad66bf833: Pull complete 04:20:10 go: downloading github.com/stretchr/testify v1.7.0 04:20:10 go: downloading github.com/pebbe/zmq4 v1.2.7 04:20:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 04:20:10 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:20:10 go: downloading github.com/davecgh/go-spew v1.1.0 04:20:10 go: downloading github.com/pmezard/go-difflib v1.0.0 04:20:10 go: downloading github.com/stretchr/objx v0.1.0 04:20:10 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 04:20:10 go: downloading github.com/gorilla/websocket v1.4.2 04:20:10 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 04:20:12 b4e3c513aaa6: Pull complete 04:20:12 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:20:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:20:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 04:20:13 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 04:20:13 + docker inspect -f . ci-base-image-x86_64 04:20:13 . [Pipeline] withDockerContainer 04:20:13 prd-centos7-docker-4c-2g-744 does not seem to be running inside a container 04:20:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:17 $ docker top 1c0547a20a71ce58044c48ac025c0fcd5bc061f08947740034f7df65c1bc9590 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:18 + go version 04:20:18 go version go1.16.8 linux/amd64 [Pipeline] } 04:20:18 $ docker stop --time=1 1c0547a20a71ce58044c48ac025c0fcd5bc061f08947740034f7df65c1bc9590 04:20:19 $ docker rm -f 1c0547a20a71ce58044c48ac025c0fcd5bc061f08947740034f7df65c1bc9590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:20:19 + docker inspect -f . ci-base-image-x86_64 04:20:19 . [Pipeline] withDockerContainer 04:20:20 prd-centos7-docker-4c-2g-744 does not seem to be running inside a container 04:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:20 $ docker top 433091c35e87102520ebfb6c427a9c1998deb8f15dbb8f24ab380d1a4d9f723c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:20:20 + make test 04:20:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:20:21 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 04:20:21 go: downloading github.com/stretchr/testify v1.7.0 04:20:21 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:20:21 go: downloading github.com/pebbe/zmq4 v1.2.7 04:20:21 go: downloading github.com/davecgh/go-spew v1.1.0 04:20:21 go: downloading github.com/pmezard/go-difflib v1.0.0 04:20:21 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 04:20:21 go: downloading github.com/stretchr/objx v0.1.0 04:20:21 go: downloading github.com/gorilla/websocket v1.4.2 04:20:21 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 04:20:24 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 04:20:27 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.005s coverage: 90.3% of statements 04:20:29 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 04:20:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.004s coverage: 67.3% of statements 04:20:31 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 04:20:33 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.083s coverage: 90.3% of statements 04:20:43 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.025s coverage: 67.3% of statements 04:20:43 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 04:20:53 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.349s coverage: 83.8% of statements 04:20:53 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.008s coverage: 85.7% of statements 04:20:53 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.004s coverage: 100.0% of statements 04:20:53 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.004s coverage: 100.0% of statements 04:20:53 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.004s coverage: 90.9% of statements 04:20:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:21:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:21:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:03 $ docker stop --time=1 433091c35e87102520ebfb6c427a9c1998deb8f15dbb8f24ab380d1a4d9f723c 04:21:04 $ docker rm -f 433091c35e87102520ebfb6c427a9c1998deb8f15dbb8f24ab380d1a4d9f723c [Pipeline] // withDockerContainer [Pipeline] sh 04:21:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:05 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 04:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:06 04:21:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:21:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:06 latest: Pulling from edgex-lftools-log-publisher 04:21:06 b4d181a07f80: Pulling fs layer 04:21:06 a1111a8f2ec3: Pulling fs layer 04:21:06 ed53099fbce6: Pulling fs layer 04:21:06 dc539afda2c1: Pulling fs layer 04:21:06 77bc0d833cb6: Pulling fs layer 04:21:06 9065ff56babe: Pulling fs layer 04:21:06 d287ab97295c: Pulling fs layer 04:21:06 dc539afda2c1: Waiting 04:21:06 9065ff56babe: Waiting 04:21:06 d287ab97295c: Waiting 04:21:06 77bc0d833cb6: Waiting 04:21:06 a1111a8f2ec3: Verifying Checksum 04:21:06 a1111a8f2ec3: Download complete 04:21:06 dc539afda2c1: Verifying Checksum 04:21:06 dc539afda2c1: Download complete 04:21:06 ed53099fbce6: Verifying Checksum 04:21:06 ed53099fbce6: Download complete 04:21:06 9065ff56babe: Verifying Checksum 04:21:06 9065ff56babe: Download complete 04:21:06 77bc0d833cb6: Verifying Checksum 04:21:06 77bc0d833cb6: Download complete 04:21:06 b4d181a07f80: Verifying Checksum 04:21:06 b4d181a07f80: Download complete 04:21:07 d287ab97295c: Verifying Checksum 04:21:07 d287ab97295c: Download complete 04:21:08 b4d181a07f80: Pull complete 04:21:08 a1111a8f2ec3: Pull complete 04:21:08 ed53099fbce6: Pull complete 04:21:08 dc539afda2c1: Pull complete 04:21:09 77bc0d833cb6: Pull complete 04:21:09 9065ff56babe: Pull complete 04:21:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.393s coverage: 83.8% of statements 04:21:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.020s coverage: 85.7% of statements 04:21:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.045s coverage: 100.0% of statements 04:21:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.062s coverage: 100.0% of statements 04:21:10 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.029s coverage: 90.9% of statements 04:21:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:21:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:21:14 d287ab97295c: Pull complete 04:21:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:21:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:21:14 prd-centos7-docker-4c-2g-744 does not seem to be running inside a container 04:21:14 $ 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-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:17 $ docker top 3179ed776691f624715946437512f59b081663101edaabeb0e14a8bd91302b4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:17 ---> job-cost.sh 04:21:17 lf-activate-venv: SKIPPING 04:21:17 INFO: No Stack... 04:21:17 INFO: Retrieving Pricing Info for: v3-standard-2 04:21:18 INFO: Archiving Costs [Pipeline] sh 04:21:18 + cat /w/workspace/go-mod-messaging/1/archives/cost.csv 04:21:18 + cut -d, -f6 [Pipeline] lock 04:21:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] 04:21:18 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] did not exist. Created. 04:21:18 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:19 + echo total: 0.05999999865889549 [Pipeline] stash 04:21:19 Stashed 1 file(s) [Pipeline] } 04:21:19 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:19 $ docker stop --time=1 3179ed776691f624715946437512f59b081663101edaabeb0e14a8bd91302b4f 04:21:20 $ docker rm -f 3179ed776691f624715946437512f59b081663101edaabeb0e14a8bd91302b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:21:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:25 $ docker stop --time=1 d7098c430aa697133638f3f3ebfa2d3c2ccc681d9c3e335b0af3d0a3a17f7af9 04:21:27 $ docker rm -f d7098c430aa697133638f3f3ebfa2d3c2ccc681d9c3e335b0af3d0a3a17f7af9 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:28 Warning: overwriting stash ‘coverage-report’ 04:21:28 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 04:21:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:29 04:21:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:21:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:30 arm64: Pulling from edgex-lftools-log-publisher 04:21:30 448f6bf000e3: Pulling fs layer 04:21:30 f757da607395: Pulling fs layer 04:21:30 05883995daec: Pulling fs layer 04:21:30 8603b9c90790: Pulling fs layer 04:21:30 1560dd03e051: Pulling fs layer 04:21:30 27f5ce0e4adf: Pulling fs layer 04:21:30 c2d8d7efcc4b: Pulling fs layer 04:21:30 8603b9c90790: Waiting 04:21:30 1560dd03e051: Waiting 04:21:30 27f5ce0e4adf: Waiting 04:21:30 c2d8d7efcc4b: Waiting 04:21:30 f757da607395: Verifying Checksum 04:21:30 f757da607395: Download complete 04:21:30 8603b9c90790: Verifying Checksum 04:21:30 8603b9c90790: Download complete 04:21:30 1560dd03e051: Verifying Checksum 04:21:30 1560dd03e051: Download complete 04:21:30 27f5ce0e4adf: Verifying Checksum 04:21:30 27f5ce0e4adf: Download complete 04:21:30 05883995daec: Verifying Checksum 04:21:30 05883995daec: Download complete 04:21:31 448f6bf000e3: Verifying Checksum 04:21:31 448f6bf000e3: Download complete 04:21:33 c2d8d7efcc4b: Verifying Checksum 04:21:33 c2d8d7efcc4b: Download complete 04:21:34 448f6bf000e3: Pull complete 04:21:35 f757da607395: Pull complete 04:21:36 05883995daec: Pull complete 04:21:37 8603b9c90790: Pull complete 04:21:37 1560dd03e051: Pull complete 04:21:37 27f5ce0e4adf: Pull complete 04:21:53 c2d8d7efcc4b: Pull complete 04:21:53 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:21:53 prd-ubuntu18.04-docker-arm64-4c-16g-743 does not seem to be running inside a container 04:21:53 $ 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-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:55 $ docker top e0322b1649480a98b23e2c8f7d901813e05b7a226f6da1f29a1623b89a6b3f64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:56 ---> job-cost.sh 04:21:56 lf-activate-venv: SKIPPING 04:21:56 INFO: No Stack... 04:21:57 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:57 INFO: Archiving Costs [Pipeline] sh 04:21:58 + cat /w/workspace/go-mod-messaging/1/archives/cost.csv 04:21:58 + cut -d, -f6 [Pipeline] lock 04:21:58 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] 04:21:58 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] did not exist. Created. 04:21:58 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:58 /w/workspace/go-mod-messaging/1@tmp/durable-f9a67995/script.sh: 1: /w/workspace/go-mod-messaging/1@tmp/durable-f9a67995/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:59 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:59 Warning: overwriting stash ‘stack-cost’ 04:21:59 Stashed 1 file(s) [Pipeline] } 04:21:59 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-124-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:59 $ docker stop --time=1 e0322b1649480a98b23e2c8f7d901813e05b7a226f6da1f29a1623b89a6b3f64 04:22:00 $ docker rm -f e0322b1649480a98b23e2c8f7d901813e05b7a226f6da1f29a1623b89a6b3f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:22:02 provisioning config files... 04:22:02 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/config7614786886254994079tmp [Pipeline] { [Pipeline] sh 04:22:02 + set +x 04:22:02 + curl -s https://codecov.io/bash 04:22:02 + bash -s -- 04:22:02 04:22:02 _____ _ 04:22:02 / ____| | | 04:22:02 | | ___ __| | ___ ___ _____ __ 04:22:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:22:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:22:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:22:02 Bash-1.0.6 04:22:02 04:22:02 04:22:02 ==> git version 2.24.4 found 04:22:02 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:22:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:22:02 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:22:02 ==> Jenkins CI detected. 04:22:02 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-124 04:22:02 project root: . 04:22:02 --> token set from env 04:22:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:22:02 ==> Running gcov in . (disable via -X gcov) 04:22:02 ==> Python coveragepy not found 04:22:02 ==> Searching for coverage reports in: 04:22:02 + . 04:22:02 -> Found 1 reports 04:22:02 ==> Detecting git/mercurial file structure 04:22:02 ==> Reading reports 04:22:02 + ./coverage.out bytes=22526 04:22:02 ==> Appending adjustments 04:22:02 https://docs.codecov.io/docs/fixing-reports 04:22:02 + Found adjustments 04:22:02 ==> Gzipping contents 04:22:02 8.0K /tmp/codecov.Y3tiyl.gz 04:22:02 ==> Uploading reports 04:22:02 url: https://codecov.io 04:22:02 query: branch=PR-124&commit=8b0d9fc0ba36e4316756d473240829e7105dd916&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-124%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=124&job=&cmd_args= 04:22:02 -> Pinging Codecov 04:22:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-124&commit=8b0d9fc0ba36e4316756d473240829e7105dd916&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-124%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=124&job=&cmd_args= 04:22:03 -> Uploading to 04:22:03 https://storage.googleapis.com/codecov/v4/raw/2022-01-05/F6E385568367DD0E4001BA4F8F1CB792/8b0d9fc0ba36e4316756d473240829e7105dd916/86e8306c-8f8c-4c41-be86-73850b5be814.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T042202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b55a5787b1eb427f0020f7b60fb90b374fda09e68b4f6954b791643b9399bd33 04:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:03 Dload Upload Total Spent Left Speed 04:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5178 0 0 100 5178 0 16441 --:--:-- --:--:-- --:--:-- 16490 04:22:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/8b0d9fc0ba36e4316756d473240829e7105dd916 [Pipeline] } 04:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:22:05 + '[' -d /w/workspace/xfoundry_go-mod-messaging_PR-124/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:22:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:22:06 ---> package-listing.sh 04:22:06 ++ facter osfamily 04:22:06 ++ tr '[:upper:]' '[:lower:]' 04:22:06 + OS_FAMILY=redhat 04:22:06 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-124 04:22:06 + START_PACKAGES=/tmp/packages_start.txt 04:22:06 + END_PACKAGES=/tmp/packages_end.txt 04:22:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:22:06 + PACKAGES=/tmp/packages_start.txt 04:22:06 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-124 ']' 04:22:06 + PACKAGES=/tmp/packages_end.txt 04:22:06 + case "${OS_FAMILY}" in 04:22:06 + rpm -qa 04:22:06 + sort 04:22:07 + '[' -f /tmp/packages_start.txt ']' 04:22:07 + '[' -f /tmp/packages_end.txt ']' 04:22:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:22:07 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-124 ']' 04:22:07 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-124/archives/ 04:22:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-124/archives/ [Pipeline] echo 04:22:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:22:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:22:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:08 04:22:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:22:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:08 latest: Pulling from edgex-lftools-log-publisher 04:22:08 b4d181a07f80: Pulling fs layer 04:22:08 a1111a8f2ec3: Pulling fs layer 04:22:08 ed53099fbce6: Pulling fs layer 04:22:08 dc539afda2c1: Pulling fs layer 04:22:08 77bc0d833cb6: Pulling fs layer 04:22:08 9065ff56babe: Pulling fs layer 04:22:08 d287ab97295c: Pulling fs layer 04:22:08 dc539afda2c1: Waiting 04:22:08 77bc0d833cb6: Waiting 04:22:08 9065ff56babe: Waiting 04:22:08 d287ab97295c: Waiting 04:22:08 a1111a8f2ec3: Verifying Checksum 04:22:08 a1111a8f2ec3: Download complete 04:22:08 dc539afda2c1: Verifying Checksum 04:22:08 dc539afda2c1: Download complete 04:22:08 77bc0d833cb6: Verifying Checksum 04:22:08 77bc0d833cb6: Download complete 04:22:08 9065ff56babe: Verifying Checksum 04:22:08 9065ff56babe: Download complete 04:22:08 ed53099fbce6: Verifying Checksum 04:22:08 ed53099fbce6: Download complete 04:22:08 b4d181a07f80: Verifying Checksum 04:22:08 b4d181a07f80: Download complete 04:22:09 d287ab97295c: Verifying Checksum 04:22:09 d287ab97295c: Download complete 04:22:10 b4d181a07f80: Pull complete 04:22:10 a1111a8f2ec3: Pull complete 04:22:10 ed53099fbce6: Pull complete 04:22:10 dc539afda2c1: Pull complete 04:22:11 77bc0d833cb6: Pull complete 04:22:11 9065ff56babe: Pull complete 04:22:16 d287ab97295c: Pull complete 04:22:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:22:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:22:16 prd-centos7-docker-4c-2g-742 does not seem to be running inside a container 04:22:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-124/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-messaging_PR-124 -v /w/workspace/xfoundry_go-mod-messaging_PR-124:/w/workspace/xfoundry_go-mod-messaging_PR-124:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-124@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:22:19 $ docker top 9d80b66c9a2d41d3247e6689faa9195e6fbfe2593139823c8100a402fb0d96a0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:19 + touch /tmp/pre-build-complete [Pipeline] sh 04:22:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:22:20 + ls /var/log/sa-host 04:22:20 + sadf -c /var/log/sa-host/sa05 04:22:20 file_magic: OK 04:22:20 HZ: Using current value: 100 04:22:20 file_header: OK 04:22:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:22:20 Statistics: 04:22:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:22:20 File successfully converted to sysstat format version 12.0.3 04:22:20 + sadf -c /var/log/sa-host/sa17 04:22:20 file_magic: OK 04:22:20 HZ: Using current value: 100 04:22:20 file_header: OK 04:22:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:22:20 Statistics: 04:22:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:22:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:20 provisioning config files... 04:22:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-124@tmp/config3964022364487967342tmp [Pipeline] { [Pipeline] echo 04:22:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:22:21 ---> create-netrc.sh [Pipeline] } 04:22:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:22:21 ---> python-tools-install.sh [Pipeline] echo 04:22:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:22:22 ---> sudo-logs.sh 04:22:22 Archiving 'sudo' log.. 04:22:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-742.novalocal: Name or service not known 04:22:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-742.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:22:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:22:22 ---> job-cost.sh 04:22:22 lf-activate-venv: SKIPPING 04:22:22 DEBUG: total: 0.10999999940395355 04:22:22 INFO: Retrieving Stack Cost... 04:22:22 INFO: Retrieving Pricing Info for: v3-standard-2 04:22:23 INFO: Archiving Costs [Pipeline] echo 04:22:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:22:23 ---> logs-deploy.sh 04:22:23 lf-activate-venv: SKIPPING 04:22:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-124/1 04:22:23 INFO: archiving workspace using pattern(s): 04:22:24 Archives upload complete. 04:22:24 INFO: archiving logs to Nexus