Pull request #116 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-messaging Obtained Jenkinsfile from 97605e321c74629f6187b181a3df02451da53b0b+34aec902d3167f00246ce71fe61efda4f54a6fbb (cbb7d131f20f0f43f22125a486752472d1086bc1) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8528983521425681188.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2383059545098946074.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-messaging/branches/PR-116/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-messaging/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8017672305908668211.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh9053351536591696744.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-116/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-messaging/branches/PR-116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5012253026617753085.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 on ‘prd-centos7-docker-4c-2g-1291’ Running on prd-centos7-docker-4c-2g-1295 in /w/workspace/xfoundry_go-mod-messaging_PR-116 [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-116 # 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-116@tmp/jenkins-gitclient-ssh1306354613604179435.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 34aec902d3167f00246ce71fe61efda4f54a6fbb into PR head commit 97605e321c74629f6187b181a3df02451da53b0b Merge succeeded, producing 97605e321c74629f6187b181a3df02451da53b0b Checking out Revision 97605e321c74629f6187b181a3df02451da53b0b (PR-116) > 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 > 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-116@tmp/jenkins-gitclient-ssh3182852798490627039.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # 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-116@tmp/jenkins-gitclient-ssh6939480684378242429.key > git merge 34aec902d3167f00246ce71fe61efda4f54a6fbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # timeout=10 Commit message: "feat: Enable use of CleanSession MQTT option" First time build. Skipping changelog. > git rev-list --no-walk a6cee1e9cc18ff281680249b3bd1a796be623a4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:35:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:35:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:18 ========================================================= 22:35:18 EdgeX Global Pipelines Version Info 22:35:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:35:19 ------------------- 22:35:19 stable info: 22:35:19 ------------------- 22:35:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:35:19 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:35:19 Message: update stable to v1.0.205 22:35:19 ------------------- 22:35:19 experimental info: 22:35:19 ------------------- 22:35:19 Commited By: **** collab-it+edgex@linuxfoundation.org 22:35:19 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:35:19 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97605e321c74629f6187b181a3df02451da53b0b [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97605e3 [Pipeline] echo 22:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:21 + git log --format=format:%s -1 97605e321c74629f6187b181a3df02451da53b0b [Pipeline] echo 22:35:21 GIT_COMMIT: 97605e321c74629f6187b181a3df02451da53b0b, Commit Message: feat: Enable use of CleanSession MQTT option [Pipeline] echo 22:35:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:35:22 22:35:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:35:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:35:22 latest: Pulling from edgex-devops/git-semver 22:35:22 31603596830f: Pulling fs layer 22:35:22 04fac38145f0: Pulling fs layer 22:35:22 701f6daf10bf: Pulling fs layer 22:35:22 24f72da36158: Pulling fs layer 22:35:22 24f72da36158: Waiting 22:35:22 04fac38145f0: Verifying Checksum 22:35:22 04fac38145f0: Download complete 22:35:22 31603596830f: Verifying Checksum 22:35:22 31603596830f: Download complete 22:35:22 31603596830f: Pull complete 22:35:22 24f72da36158: Verifying Checksum 22:35:22 24f72da36158: Download complete 22:35:22 04fac38145f0: Pull complete 22:35:22 701f6daf10bf: Verifying Checksum 22:35:22 701f6daf10bf: Download complete 22:35:23 701f6daf10bf: Pull complete 22:35:23 24f72da36158: Pull complete 22:35:23 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:35:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:35:23 prd-centos7-docker-4c-2g-1295 does not seem to be running inside a container 22:35:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-116 -v /w/workspace/xfoundry_go-mod-messaging_PR-116:/w/workspace/xfoundry_go-mod-messaging_PR-116:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-116@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-116@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:10004/edgex-devops/git-semver:latest cat 22:35:24 $ docker top f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:24 [ssh-agent] Looking for ssh-agent implementation... 22:35:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:25 $ docker exec f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 ssh-agent 22:35:25 SSH_AUTH_SOCK=/tmp/ssh-qyoUcOEdMWyE/agent.13 22:35:25 SSH_AGENT_PID=19 22:35:25 Running ssh-add (command line suppressed) 22:35:25 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-116@tmp/private_key_7197134909101961386.key (/w/workspace/xfoundry_go-mod-messaging_PR-116@tmp/private_key_7197134909101961386.key) 22:35:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:25 + git tag --points-at HEAD [Pipeline] } 22:35:25 $ docker exec --env ******** --env ******** f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 ssh-agent -k 22:35:26 unset SSH_AUTH_SOCK; 22:35:26 unset SSH_AGENT_PID; 22:35:26 echo Agent pid 19 killed; 22:35:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:35:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:26 [ssh-agent] Looking for ssh-agent implementation... 22:35:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:26 $ docker exec f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 ssh-agent 22:35:26 SSH_AUTH_SOCK=/tmp/ssh-lD0Qcly72GL5/agent.54 22:35:26 SSH_AGENT_PID=60 22:35:26 Running ssh-add (command line suppressed) 22:35:26 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-116@tmp/private_key_2396572230039870128.key (/w/workspace/xfoundry_go-mod-messaging_PR-116@tmp/private_key_2396572230039870128.key) 22:35:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:26 + git semver init 22:35:26 # -> Open(): unable to determine branch for HEAD 22:35:26 # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-116/.git 22:35:26 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-116 22:35:26 # $SEMVER_REMOTE_NAME = origin 22:35:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:35:26 # $SEMVER_USER_NAME = edgex-jenkins 22:35:26 # $SEMVER_BRANCH = PR-116 22:35:26 # $SEMVER_TEMP = /tmp/semver-444500359 22:35:26 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 22:35:27 # '/tmp/semver-444500359' -> '/w/workspace/xfoundry_go-mod-messaging_PR-116/.semver' 22:35:27 # -> Force: false 22:35:27 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-116/.semver [Pipeline] } 22:35:27 $ docker exec --env ******** --env ******** f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 ssh-agent -k 22:35:27 unset SSH_AUTH_SOCK; 22:35:27 unset SSH_AGENT_PID; 22:35:27 echo Agent pid 60 killed; 22:35:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:27 + git semver [Pipeline] } 22:35:27 $ docker stop --time=1 f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 22:35:29 $ docker rm -f f89908f25cd8feb2f0102f7bd59afd955d24bf22a4360be84a7fce51acbc1be8 [Pipeline] // withDockerContainer [Pipeline] sh 22:35:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:35:29 Stashed 1 file(s) [Pipeline] echo 22:35:29 [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 22:35:46 Still waiting to schedule task 22:35:46 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ 22:35:46 ‘prd-centos7-docker-4c-2g-1291’ is offline 22:35:46 ‘prd-centos7-docker-4c-2g-1293’ is offline 22:35:46 ‘prd-centos7-docker-4c-2g-1294’ is offline 22:35:46 ‘prd-centos7-docker-4c-2g-1296’ is offline 22:35:46 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1292’ doesn’t have label ‘centos7-docker-4c-2g’ 22:35:46 Still waiting to schedule task 22:35:46 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1292’ is offline 22:35:53 Running on prd-centos7-docker-4c-2g-1296 in /w/workspace/xfoundry_go-mod-messaging_PR-116 [Pipeline] { [Pipeline] ws 22:35:53 Running in /w/workspace/go-mod-messaging/5 [Pipeline] { [Pipeline] checkout 22:35:54 Selected Git installation does not exist. Using Default 22:35:54 The recommended git tool is: NONE 22:35:57 using credential edgex-jenkins-ssh 22:35:57 Cloning the remote Git repository 22:35:57 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 22:35:57 > git init /w/workspace/go-mod-messaging/5 # timeout=10 22:35:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:35:57 > git --version # timeout=10 22:35:57 > git --version # 'git version 2.24.4' 22:35:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:57 [INFO] Currently running in a labeled security context 22:35:57 [INFO] Currently SELinux is 'enforcing' on the host 22:35:57 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/5@tmp/jenkins-gitclient-ssh3669880190717751834.key 22:35:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:35:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:35:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:35:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:57 [INFO] Currently running in a labeled security context 22:35:57 [INFO] Currently SELinux is 'enforcing' on the host 22:35:57 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/5@tmp/jenkins-gitclient-ssh3577644989305735056.key 22:35:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:35:58 Merging remotes/origin/main commit 34aec902d3167f00246ce71fe61efda4f54a6fbb into PR head commit 97605e321c74629f6187b181a3df02451da53b0b 22:35:58 Merge succeeded, producing 97605e321c74629f6187b181a3df02451da53b0b 22:35:58 Checking out Revision 97605e321c74629f6187b181a3df02451da53b0b (PR-116) 22:35:58 > git config core.sparsecheckout # timeout=10 22:35:58 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # timeout=10 22:35:58 > git remote # timeout=10 22:35:58 > git config --get remote.origin.url # timeout=10 22:35:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:58 [INFO] Currently running in a labeled security context 22:35:58 [INFO] Currently SELinux is 'enforcing' on the host 22:35:58 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/5@tmp/jenkins-gitclient-ssh8526692288868458714.key 22:35:58 > git merge 34aec902d3167f00246ce71fe61efda4f54a6fbb # timeout=10 22:35:58 > git rev-parse HEAD^{commit} # timeout=10 22:35:58 > git config core.sparsecheckout # timeout=10 22:35:58 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # timeout=10 22:36:02 Commit message: "feat: Enable use of CleanSession MQTT option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:36:03 ========================================================= 22:36:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:36:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:36:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:36:03 540db60ca938: Pulling fs layer 22:36:03 adcc1eea9eea: Pulling fs layer 22:36:03 4c4ab2625f07: Pulling fs layer 22:36:03 db62176df00c: Pulling fs layer 22:36:03 3b30891b0d05: Pulling fs layer 22:36:03 06b49ca38bd5: Pulling fs layer 22:36:03 c788192a36de: Pulling fs layer 22:36:03 a77e37c0d609: Pulling fs layer 22:36:03 c3185cebc471: Pulling fs layer 22:36:03 db62176df00c: Waiting 22:36:03 3b30891b0d05: Waiting 22:36:03 06b49ca38bd5: Waiting 22:36:03 c788192a36de: Waiting 22:36:03 a77e37c0d609: Waiting 22:36:03 c3185cebc471: Waiting 22:36:03 4c4ab2625f07: Verifying Checksum 22:36:03 4c4ab2625f07: Download complete 22:36:03 adcc1eea9eea: Verifying Checksum 22:36:03 adcc1eea9eea: Download complete 22:36:03 3b30891b0d05: Verifying Checksum 22:36:03 3b30891b0d05: Download complete 22:36:03 06b49ca38bd5: Verifying Checksum 22:36:03 06b49ca38bd5: Download complete 22:36:03 c788192a36de: Verifying Checksum 22:36:03 c788192a36de: Download complete 22:36:03 540db60ca938: Download complete 22:36:04 540db60ca938: Pull complete 22:36:04 adcc1eea9eea: Pull complete 22:36:04 4c4ab2625f07: Pull complete 22:36:04 a77e37c0d609: Verifying Checksum 22:36:04 a77e37c0d609: Download complete 22:36:08 c3185cebc471: Verifying Checksum 22:36:08 c3185cebc471: Download complete 22:36:09 db62176df00c: Verifying Checksum 22:36:09 db62176df00c: Download complete 22:36:12 db62176df00c: Pull complete 22:36:12 3b30891b0d05: Pull complete 22:36:12 06b49ca38bd5: Pull complete 22:36:12 c788192a36de: Pull complete 22:36:12 a77e37c0d609: Pull complete 22:36:15 c3185cebc471: Pull complete 22:36:15 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 22:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:36:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 22:36:15 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:36:16 + docker inspect -f . ci-base-image-x86_64 22:36:16 . [Pipeline] withDockerContainer 22:36:16 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:36:18 $ docker top 61b73e34258ffa710dc48fea3259deb6a3e440bc9d1667170590dac461dba09c -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:18 + go version 22:36:18 go version go1.16.6 linux/amd64 [Pipeline] } 22:36:18 $ docker stop --time=1 61b73e34258ffa710dc48fea3259deb6a3e440bc9d1667170590dac461dba09c 22:36:19 $ docker rm -f 61b73e34258ffa710dc48fea3259deb6a3e440bc9d1667170590dac461dba09c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:36:20 + docker inspect -f . ci-base-image-x86_64 22:36:20 . [Pipeline] withDockerContainer 22:36:20 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:36:21 $ docker top 599c3ea444e4835cf92284f405cdeb25f4c791ff2b8be716e7f4aa1cde76ad2c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:36:21 + go mod tidy 22:36:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:36:22 go: downloading github.com/stretchr/testify v1.7.0 22:36:23 go: downloading github.com/pebbe/zmq4 v1.2.7 22:36:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:36:23 go: downloading github.com/davecgh/go-spew v1.1.0 22:36:23 go: downloading github.com/pmezard/go-difflib v1.0.0 22:36:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:36:23 go: downloading github.com/stretchr/objx v0.1.0 22:36:23 go: downloading github.com/gorilla/websocket v1.4.2 22:36:23 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:36:23 go: downloading github.com/onsi/ginkgo v1.10.1 22:36:23 go: downloading github.com/onsi/gomega v1.7.0 22:36:23 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:36:23 go: downloading github.com/kr/pretty v0.1.0 22:36:23 go: downloading github.com/hpcloud/tail v1.0.0 22:36:23 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:36:23 go: downloading gopkg.in/yaml.v2 v2.2.4 22:36:23 go: downloading github.com/kr/text v0.1.0 22:36:23 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:36:23 go: downloading golang.org/x/text v0.3.2 22:36:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] sh 22:36:25 + make test 22:36:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:36:28 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 22:36:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.021s coverage: 90.3% of statements 22:36:35 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.011s coverage: 67.3% of statements 22:36:35 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 22:36:57 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.351s coverage: 83.8% of statements 22:36:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.007s coverage: 85.7% of statements 22:36:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.004s coverage: 100.0% of statements 22:36:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.005s coverage: 100.0% of statements 22:36:57 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.004s coverage: 90.9% of statements 22:36:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:37:01 gofmt -l . 22:37:01 internal/pkg/mqtt/client_options.go 22:37:01 internal/pkg/mqtt/client_test.go 22:37:01 [ "`gofmt -l .`" = "" ] 22:37:01 make: *** [Makefile:9: test] Error 1 [Pipeline] } 22:37:01 $ docker stop --time=1 599c3ea444e4835cf92284f405cdeb25f4c791ff2b8be716e7f4aa1cde76ad2c 22:37:02 $ docker rm -f 599c3ea444e4835cf92284f405cdeb25f4c791ff2b8be716e7f4aa1cde76ad2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:04 22:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:04 latest: Pulling from edgex-lftools-log-publisher 22:37:04 b4d181a07f80: Pulling fs layer 22:37:04 a1111a8f2ec3: Pulling fs layer 22:37:04 ed53099fbce6: Pulling fs layer 22:37:04 dc539afda2c1: Pulling fs layer 22:37:04 77bc0d833cb6: Pulling fs layer 22:37:04 9065ff56babe: Pulling fs layer 22:37:04 d287ab97295c: Pulling fs layer 22:37:04 dc539afda2c1: Waiting 22:37:04 77bc0d833cb6: Waiting 22:37:04 9065ff56babe: Waiting 22:37:04 d287ab97295c: Waiting 22:37:04 a1111a8f2ec3: Verifying Checksum 22:37:04 a1111a8f2ec3: Download complete 22:37:04 dc539afda2c1: Verifying Checksum 22:37:04 dc539afda2c1: Download complete 22:37:04 77bc0d833cb6: Verifying Checksum 22:37:04 77bc0d833cb6: Download complete 22:37:04 9065ff56babe: Verifying Checksum 22:37:04 9065ff56babe: Download complete 22:37:04 ed53099fbce6: Verifying Checksum 22:37:04 ed53099fbce6: Download complete 22:37:06 b4d181a07f80: Verifying Checksum 22:37:06 b4d181a07f80: Download complete 22:37:07 b4d181a07f80: Pull complete 22:37:07 a1111a8f2ec3: Pull complete 22:37:07 ed53099fbce6: Pull complete 22:37:08 dc539afda2c1: Pull complete 22:37:08 77bc0d833cb6: Pull complete 22:37:08 9065ff56babe: Pull complete 22:37:09 d287ab97295c: Verifying Checksum 22:37:09 d287ab97295c: Download complete 22:37:14 d287ab97295c: Pull complete 22:37:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:37:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:37:14 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:37: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/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:37:17 $ docker top d6f0520422ad1c1f3d6a6a3357c6ed5b9811dd7e3e8a859e4e7004b27a00b563 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:17 ---> job-cost.sh 22:37:17 lf-activate-venv: SKIPPING 22:37:17 INFO: No Stack... 22:37:19 INFO: Retrieving Pricing Info for: v3-standard-2 22:37:19 INFO: Archiving Costs [Pipeline] sh 22:37:20 + cut -d, -f6 22:37:20 + cat /w/workspace/go-mod-messaging/5/archives/cost.csv [Pipeline] lock 22:37:20 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] 22:37:20 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] did not exist. Created. 22:37:20 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:37:20 + echo total: 0.05999999865889549 [Pipeline] stash 22:37:20 Stashed 1 file(s) [Pipeline] } 22:37:20 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:37:20 $ docker stop --time=1 d6f0520422ad1c1f3d6a6a3357c6ed5b9811dd7e3e8a859e4e7004b27a00b563 22:37:21 $ docker rm -f d6f0520422ad1c1f3d6a6a3357c6ed5b9811dd7e3e8a859e4e7004b27a00b563 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:37:22 Failed in branch amd64 22:38:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1297 in /w/workspace/xfoundry_go-mod-messaging_PR-116 [Pipeline] { [Pipeline] ws 22:38:03 Running in /w/workspace/go-mod-messaging/5 [Pipeline] { [Pipeline] checkout 22:38:03 Selected Git installation does not exist. Using Default 22:38:03 The recommended git tool is: NONE 22:38:08 using credential edgex-jenkins-ssh 22:38:08 Cloning the remote Git repository 22:38:08 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 22:38:09 > git init /w/workspace/go-mod-messaging/5 # timeout=10 22:38:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:38:09 > git --version # timeout=10 22:38:09 > git --version # 'git version 2.17.1' 22:38:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:38:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:38:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:38:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:38:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:38:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:38:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:38:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:38:11 Merging remotes/origin/main commit 34aec902d3167f00246ce71fe61efda4f54a6fbb into PR head commit 97605e321c74629f6187b181a3df02451da53b0b 22:38:11 Merge succeeded, producing 97605e321c74629f6187b181a3df02451da53b0b 22:38:11 Checking out Revision 97605e321c74629f6187b181a3df02451da53b0b (PR-116) 22:38:11 > git config core.sparsecheckout # timeout=10 22:38:11 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # timeout=10 22:38:11 > git remote # timeout=10 22:38:11 > git config --get remote.origin.url # timeout=10 22:38:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:38:11 > git merge 34aec902d3167f00246ce71fe61efda4f54a6fbb # timeout=10 22:38:11 > git rev-parse HEAD^{commit} # timeout=10 22:38:11 > git config core.sparsecheckout # timeout=10 22:38:11 > git checkout -f 97605e321c74629f6187b181a3df02451da53b0b # timeout=10 22:38:15 Commit message: "feat: Enable use of CleanSession MQTT option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:38:16 ========================================================= 22:38:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:38:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:38:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:38:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:38:18 595b0fe564bb: Pulling fs layer 22:38:18 24495759ef45: Pulling fs layer 22:38:18 d148012ef14d: Pulling fs layer 22:38:18 e90a11edd702: Pulling fs layer 22:38:18 d77568369979: Pulling fs layer 22:38:18 fc1c9f9a7f3b: Pulling fs layer 22:38:18 170f2ba95c9a: Pulling fs layer 22:38:18 97ac5df62f85: Pulling fs layer 22:38:18 fc1c9f9a7f3b: Waiting 22:38:18 170f2ba95c9a: Waiting 22:38:18 e90a11edd702: Waiting 22:38:18 d77568369979: Waiting 22:38:18 97ac5df62f85: Waiting 22:38:18 d148012ef14d: Download complete 22:38:18 24495759ef45: Verifying Checksum 22:38:18 24495759ef45: Download complete 22:38:18 d77568369979: Download complete 22:38:18 595b0fe564bb: Verifying Checksum 22:38:18 595b0fe564bb: Download complete 22:38:18 fc1c9f9a7f3b: Verifying Checksum 22:38:18 fc1c9f9a7f3b: Download complete 22:38:18 170f2ba95c9a: Verifying Checksum 22:38:18 170f2ba95c9a: Download complete 22:38:19 595b0fe564bb: Pull complete 22:38:20 24495759ef45: Pull complete 22:38:20 d148012ef14d: Pull complete 22:38:22 97ac5df62f85: Verifying Checksum 22:38:22 97ac5df62f85: Download complete 22:38:22 e90a11edd702: Verifying Checksum 22:38:22 e90a11edd702: Download complete 22:38:32 e90a11edd702: Pull complete 22:38:32 d77568369979: Pull complete 22:38:33 fc1c9f9a7f3b: Pull complete 22:38:33 170f2ba95c9a: Pull complete 22:38:40 97ac5df62f85: Pull complete 22:38:40 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 22:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:38:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 22:38:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 22:38:41 + docker inspect -f . ci-base-image-arm64 22:38:41 . [Pipeline] withDockerContainer 22:38:41 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@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 22:38:48 $ docker top a83a30dfd2583d60ede41b1e8ed551eaf9c3e1e651b236fc304a0ab9a0136872 -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:49 + go version 22:38:49 go version go1.16.6 linux/arm64 [Pipeline] } 22:38:49 $ docker stop --time=1 a83a30dfd2583d60ede41b1e8ed551eaf9c3e1e651b236fc304a0ab9a0136872 22:38:51 $ docker rm -f a83a30dfd2583d60ede41b1e8ed551eaf9c3e1e651b236fc304a0ab9a0136872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:38:52 + docker inspect -f . ci-base-image-arm64 22:38:52 . [Pipeline] withDockerContainer 22:38:52 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@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 22:38:54 $ docker top c119955d22879dd75b3fe4fedf9adb36cd563f66bbb0b8e4c751f0d6a3d00c5b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:38:55 + go mod tidy 22:38:57 go: downloading github.com/stretchr/testify v1.7.0 22:38:57 go: downloading github.com/pebbe/zmq4 v1.2.7 22:38:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:38:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:38:57 go: downloading github.com/davecgh/go-spew v1.1.0 22:38:57 go: downloading github.com/pmezard/go-difflib v1.0.0 22:38:57 go: downloading github.com/stretchr/objx v0.1.0 22:38:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:38:57 go: downloading github.com/onsi/ginkgo v1.10.1 22:38:57 go: downloading github.com/onsi/gomega v1.7.0 22:38:57 go: downloading github.com/gorilla/websocket v1.4.2 22:38:57 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:38:57 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:38:57 go: downloading gopkg.in/yaml.v2 v2.2.4 22:38:57 go: downloading github.com/kr/pretty v0.1.0 22:38:57 go: downloading github.com/hpcloud/tail v1.0.0 22:38:57 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:38:57 go: downloading github.com/kr/text v0.1.0 22:38:57 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:38:57 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:38:58 go: downloading golang.org/x/text v0.3.2 [Pipeline] sh 22:39:01 + make test 22:39:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:39:24 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 22:39:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.060s coverage: 90.3% of statements 22:39:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.025s coverage: 67.3% of statements 22:39:31 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 22:40:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.391s coverage: 83.8% of statements 22:40:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.019s coverage: 85.7% of statements 22:40:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.013s coverage: 100.0% of statements 22:40:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.027s coverage: 100.0% of statements 22:40:10 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.011s coverage: 90.9% of statements 22:40:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:40:22 gofmt -l . 22:40:22 internal/pkg/mqtt/client_options.go 22:40:22 internal/pkg/mqtt/client_test.go 22:40:22 [ "`gofmt -l .`" = "" ] 22:40:22 make: *** [Makefile:9: test] Error 1 [Pipeline] } 22:40:22 $ docker stop --time=1 c119955d22879dd75b3fe4fedf9adb36cd563f66bbb0b8e4c751f0d6a3d00c5b 22:40:24 $ docker rm -f c119955d22879dd75b3fe4fedf9adb36cd563f66bbb0b8e4c751f0d6a3d00c5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:26 22:40:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:27 arm64: Pulling from edgex-lftools-log-publisher 22:40:27 448f6bf000e3: Pulling fs layer 22:40:27 f757da607395: Pulling fs layer 22:40:27 05883995daec: Pulling fs layer 22:40:27 8603b9c90790: Pulling fs layer 22:40:27 1560dd03e051: Pulling fs layer 22:40:27 27f5ce0e4adf: Pulling fs layer 22:40:27 c2d8d7efcc4b: Pulling fs layer 22:40:27 1560dd03e051: Waiting 22:40:27 27f5ce0e4adf: Waiting 22:40:27 c2d8d7efcc4b: Waiting 22:40:27 8603b9c90790: Waiting 22:40:27 f757da607395: Verifying Checksum 22:40:27 f757da607395: Download complete 22:40:27 8603b9c90790: Download complete 22:40:27 1560dd03e051: Download complete 22:40:27 27f5ce0e4adf: Verifying Checksum 22:40:27 27f5ce0e4adf: Download complete 22:40:27 05883995daec: Verifying Checksum 22:40:27 05883995daec: Download complete 22:40:28 448f6bf000e3: Verifying Checksum 22:40:28 448f6bf000e3: Download complete 22:40:31 c2d8d7efcc4b: Verifying Checksum 22:40:31 c2d8d7efcc4b: Download complete 22:40:32 448f6bf000e3: Pull complete 22:40:32 f757da607395: Pull complete 22:40:34 05883995daec: Pull complete 22:40:35 8603b9c90790: Pull complete 22:40:36 1560dd03e051: Pull complete 22:40:36 27f5ce0e4adf: Pull complete 22:40:51 c2d8d7efcc4b: Pull complete 22:40:51 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:40:51 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:40:51 $ 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/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@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 22:40:56 $ docker top af6f37d2fc188ebd09c18f3c7e8dfb87c15a3bd1be60d73a2fcb986ac3e4983f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:57 ---> job-cost.sh 22:40:57 lf-activate-venv: SKIPPING 22:40:57 INFO: No Stack... 22:40:58 INFO: Retrieving Pricing Info for: v3-standard-4 22:40:58 INFO: Archiving Costs [Pipeline] sh 22:40:59 + cat /w/workspace/go-mod-messaging/5/archives/cost.csv 22:40:59 + cut -d, -f6 [Pipeline] lock 22:40:59 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] 22:40:59 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] did not exist. Created. 22:40:59 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:40:59 /w/workspace/go-mod-messaging/5@tmp/durable-dbb1050f/script.sh: 1: /w/workspace/go-mod-messaging/5@tmp/durable-dbb1050f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:41:00 + echo total: 0.10999999940395355 [Pipeline] stash 22:41:00 Warning: overwriting stash ‘stack-cost’ 22:41:01 Stashed 1 file(s) [Pipeline] } 22:41:01 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-116-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:41:01 $ docker stop --time=1 af6f37d2fc188ebd09c18f3c7e8dfb87c15a3bd1be60d73a2fcb986ac3e4983f 22:41:02 $ docker rm -f af6f37d2fc188ebd09c18f3c7e8dfb87c15a3bd1be60d73a2fcb986ac3e4983f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:41:03 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:41:05 + '[' -d /w/workspace/xfoundry_go-mod-messaging_PR-116/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:41:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:41:06 ---> package-listing.sh 22:41:06 ++ facter osfamily 22:41:06 ++ tr '[:upper:]' '[:lower:]' 22:41:06 + OS_FAMILY=redhat 22:41:06 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-116 22:41:06 + START_PACKAGES=/tmp/packages_start.txt 22:41:06 + END_PACKAGES=/tmp/packages_end.txt 22:41:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:41:06 + PACKAGES=/tmp/packages_start.txt 22:41:06 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-116 ']' 22:41:06 + PACKAGES=/tmp/packages_end.txt 22:41:06 + case "${OS_FAMILY}" in 22:41:06 + sort 22:41:06 + rpm -qa 22:41:07 + '[' -f /tmp/packages_start.txt ']' 22:41:07 + '[' -f /tmp/packages_end.txt ']' 22:41:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:41:07 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-116 ']' 22:41:07 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-116/archives/ 22:41:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-116/archives/ [Pipeline] echo 22:41: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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:41:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:08 22:41:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:41:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:08 latest: Pulling from edgex-lftools-log-publisher 22:41:08 b4d181a07f80: Pulling fs layer 22:41:08 a1111a8f2ec3: Pulling fs layer 22:41:08 ed53099fbce6: Pulling fs layer 22:41:08 dc539afda2c1: Pulling fs layer 22:41:08 77bc0d833cb6: Pulling fs layer 22:41:08 9065ff56babe: Pulling fs layer 22:41:08 d287ab97295c: Pulling fs layer 22:41:08 dc539afda2c1: Waiting 22:41:08 77bc0d833cb6: Waiting 22:41:08 9065ff56babe: Waiting 22:41:08 d287ab97295c: Waiting 22:41:08 a1111a8f2ec3: Verifying Checksum 22:41:08 a1111a8f2ec3: Download complete 22:41:08 dc539afda2c1: Verifying Checksum 22:41:08 dc539afda2c1: Download complete 22:41:08 77bc0d833cb6: Verifying Checksum 22:41:08 77bc0d833cb6: Download complete 22:41:08 9065ff56babe: Verifying Checksum 22:41:08 9065ff56babe: Download complete 22:41:09 ed53099fbce6: Verifying Checksum 22:41:09 ed53099fbce6: Download complete 22:41:10 b4d181a07f80: Verifying Checksum 22:41:10 b4d181a07f80: Download complete 22:41:11 b4d181a07f80: Pull complete 22:41:11 a1111a8f2ec3: Pull complete 22:41:12 ed53099fbce6: Pull complete 22:41:12 dc539afda2c1: Pull complete 22:41:12 77bc0d833cb6: Pull complete 22:41:12 9065ff56babe: Pull complete 22:41:13 d287ab97295c: Verifying Checksum 22:41:13 d287ab97295c: Download complete 22:41:18 d287ab97295c: Pull complete 22:41:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:41:18 prd-centos7-docker-4c-2g-1295 does not seem to be running inside a container 22:41:19 $ 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-116/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-116 -v /w/workspace/xfoundry_go-mod-messaging_PR-116:/w/workspace/xfoundry_go-mod-messaging_PR-116:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-116@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:41:21 $ docker top ab56214cd6aada320a2863beeb8be983bce7a68f1544717c89c327df5036a7eb -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:41:22 + mkdir -p /var/log/sysstat [Pipeline] sh 22:41:23 + ls /var/log/sa-host 22:41:23 + sadf -c /var/log/sa-host/sa05 22:41:23 file_magic: OK 22:41:23 HZ: Using current value: 100 22:41:23 file_header: OK 22:41:23 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 22:41:23 Statistics: 22:41:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:41:23 File successfully converted to sysstat format version 12.0.3 22:41:23 + sadf -c /var/log/sa-host/sa24 22:41:23 file_magic: OK 22:41:23 HZ: Using current value: 100 22:41:23 file_header: OK 22:41:23 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 22:41:23 Statistics: 22:41:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:41:23 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:23 provisioning config files... 22:41:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-116@tmp/config6147244793469553865tmp [Pipeline] { [Pipeline] echo 22:41:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:41:23 ---> create-netrc.sh [Pipeline] } 22:41:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:41:23 ---> python-tools-install.sh [Pipeline] echo 22:41:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:41:24 ---> sudo-logs.sh 22:41:24 Archiving 'sudo' log.. 22:41:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-1295.vexxhost.local: Name or service not known 22:41:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-1295.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:41:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:41:24 ---> job-cost.sh 22:41:24 lf-activate-venv: SKIPPING 22:41:24 DEBUG: total: 0.10999999940395355 22:41:24 INFO: Retrieving Stack Cost... 22:41:26 INFO: Retrieving Pricing Info for: v3-standard-2 22:41:26 INFO: Archiving Costs [Pipeline] echo 22:41:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:41:26 ---> logs-deploy.sh 22:41:26 lf-activate-venv: SKIPPING 22:41:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-116/5 22:41:26 INFO: archiving workspace using pattern(s): 22:41:27 Archives upload complete. 22:41:27 INFO: archiving logs to Nexus 22:41:27 ---> uname -a: 22:41:27 Linux prd-centos7-docker-4c-2g-1295.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 22:41:27 22:41:27 22:41:27 ---> lscpu: 22:41:27 Architecture: x86_64 22:41:27 CPU op-mode(s): 32-bit, 64-bit 22:41:27 Byte Order: Little Endian 22:41:27 Address sizes: 40 bits physical, 48 bits virtual 22:41:27 CPU(s): 2 22:41:27 On-line CPU(s) list: 0,1 22:41:27 Thread(s) per core: 1 22:41:27 Core(s) per socket: 1 22:41:27 Socket(s): 2 22:41:27 NUMA node(s): 1 22:41:27 Vendor ID: AuthenticAMD 22:41:27 CPU family: 23 22:41:27 Model: 49 22:41:27 Model name: AMD EPYC-Rome Processor 22:41:27 Stepping: 0 22:41:27 CPU MHz: 2799.998 22:41:27 BogoMIPS: 5599.99 22:41:27 Virtualization: AMD-V 22:41:27 Hypervisor vendor: KVM 22:41:27 Virtualization type: full 22:41:27 L1d cache: 32K 22:41:27 L1i cache: 32K 22:41:27 L2 cache: 512K 22:41:27 L3 cache: 16384K 22:41:27 NUMA node0 CPU(s): 0,1 22:41:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 22:41:27 22:41:27 22:41:27 ---> nproc: 22:41:27 2 22:41:27 22:41:27 22:41:27 ---> df -h: 22:41:27 Filesystem Size Used Avail Use% Mounted on 22:41:27 overlay 40G 7.7G 33G 20% / 22:41:27 tmpfs 64M 0 64M 0% /dev 22:41:27 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:41:27 shm 64M 0 64M 0% /dev/shm 22:41:27 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:41:27 22:41:27 22:41:27 ---> sar -b -r -n DEV: 22:41:27 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/24/21 _x86_64_ (2 CPU) 22:41:27 22:41:27 22:34:36 LINUX RESTART (2 CPU) 22:41:27 22:41:27 22:35:01 tps rtps wtps bread/s bwrtn/s 22:41:27 22:36:01 107.81 16.68 91.13 5557.65 4424.22 22:41:27 22:37:01 1.82 0.00 1.82 0.00 35.83 22:41:27 22:38:01 0.70 0.00 0.70 0.00 8.14 22:41:27 22:39:01 0.23 0.00 0.23 0.00 3.60 22:41:27 22:40:01 0.15 0.00 0.15 0.00 1.88 22:41:27 22:41:01 0.35 0.00 0.35 0.00 4.76 22:41:27 Average: 18.52 2.78 15.74 926.66 746.71 22:41:27 22:41:27 22:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:41:27 22:36:01 5461896 0 812368 10.14 2620 1732056 1294392 14.29 584908 1562752 136 22:41:27 22:37:01 5474012 0 800248 9.99 2620 1732060 1205072 13.30 574744 1562724 8 22:41:27 22:38:01 5474328 0 799928 9.99 2620 1732064 1205072 13.30 573496 1563876 8 22:41:27 22:39:01 5471480 0 802768 10.02 2620 1732072 1205324 13.31 575968 1563876 16 22:41:27 22:40:01 5473432 0 800812 10.00 2620 1732076 1205072 13.30 570252 1568124 8 22:41:27 22:41:01 5470164 0 804076 10.04 2620 1732080 1205168 13.31 573560 1568124 8 22:41:27 Average: 5470885 0 803367 10.03 2620 1732068 1220017 13.47 575488 1564913 31 22:41:27 22:41:27 22:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:41:27 22:36:01 eth0 370.43 218.53 985.15 70.02 0.00 0.00 0.00 0.00 22:41:27 22:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:36:01 docker0 2.31 1.91 0.53 4.19 0.00 0.00 0.00 0.00 22:41:27 22:37:01 eth0 0.88 0.08 0.07 0.04 0.00 0.00 0.00 0.00 22:41:27 22:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:38:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:41:27 22:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:39:01 eth0 0.55 0.47 0.27 0.21 0.00 0.00 0.00 0.00 22:41:27 22:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:40:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:41:27 22:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:41:01 eth0 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 22:41:27 22:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 22:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 Average: eth0 62.08 36.59 164.33 11.73 0.00 0.00 0.00 0.00 22:41:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:41:27 Average: docker0 0.39 0.32 0.09 0.70 0.00 0.00 0.00 0.00 22:41:27 22:41:27 22:41:27 ---> sar -P ALL: 22:41:27 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/24/21 _x86_64_ (2 CPU) 22:41:27 22:41:27 22:34:36 LINUX RESTART (2 CPU) 22:41:27 22:41:27 22:35:01 CPU %user %nice %system %iowait %steal %idle 22:41:27 22:36:01 all 16.25 0.00 3.64 2.37 0.05 77.68 22:41:27 22:36:01 0 15.64 0.00 4.04 1.91 0.05 78.36 22:41:27 22:36:01 1 16.86 0.00 3.25 2.83 0.05 77.00 22:41:27 22:37:01 all 0.27 0.00 0.06 0.00 0.02 99.66 22:41:27 22:37:01 0 0.07 0.00 0.05 0.00 0.02 99.87 22:41:27 22:37:01 1 0.47 0.00 0.07 0.00 0.02 99.45 22:41:27 22:38:01 all 0.23 0.00 0.08 0.00 0.03 99.67 22:41:27 22:38:01 0 0.07 0.00 0.10 0.00 0.02 99.82 22:41:27 22:38:01 1 0.38 0.00 0.07 0.00 0.03 99.52 22:41:27 22:39:01 all 0.25 0.00 0.05 0.00 0.01 99.69 22:41:27 22:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:41:27 22:39:01 1 0.47 0.00 0.07 0.00 0.02 99.45 22:41:27 22:40:01 all 0.19 0.00 0.05 0.00 0.03 99.73 22:41:27 22:40:01 0 0.08 0.00 0.05 0.00 0.03 99.83 22:41:27 22:40:01 1 0.30 0.00 0.05 0.00 0.02 99.63 22:41:27 22:41:01 all 0.10 0.00 0.05 0.00 0.03 99.82 22:41:27 22:41:01 0 0.15 0.00 0.05 0.00 0.03 99.77 22:41:27 22:41:01 1 0.05 0.00 0.05 0.00 0.02 99.88 22:41:27 Average: all 2.82 0.00 0.64 0.39 0.03 96.13 22:41:27 Average: 0 2.61 0.00 0.70 0.31 0.03 96.35 22:41:27 Average: 1 3.03 0.00 0.58 0.46 0.03 95.91 22:41:27 22:41:27 22:41:27