Pull request #114 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 ernestojeda for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from 80ba808d622ab593a42132b81cca5d0460139b7d+1242f74e288a71878fc199ee3a2e90cd7a24557f (1528e6b24078c408e2b22c15a41672f99c7f22ca) Running in Durability level: MAX_SURVIVABILITY 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-ssh7553706725213194917.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-ssh3069339611611535114.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 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-114/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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3302748483845678758.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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7700079135542897439.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 > 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-ssh8683221769544947062.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-114/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-114/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8103428148920881699.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 ‘prd-centos7-docker-4c-2g-1062’ is offline ‘prd-centos7-docker-4c-2g-1063’ is offline ‘prd-ubuntu18.04-docker-8c-8g-1058’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1074 in /w/workspace/xfoundry_go-mod-messaging_PR-114 [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-114 # 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-114@tmp/jenkins-gitclient-ssh4862671759063059303.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 1242f74e288a71878fc199ee3a2e90cd7a24557f into PR head commit 80ba808d622ab593a42132b81cca5d0460139b7d > 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-114@tmp/jenkins-gitclient-ssh5589318963298787460.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 Merge succeeded, producing 80ba808d622ab593a42132b81cca5d0460139b7d Checking out Revision 80ba808d622ab593a42132b81cca5d0460139b7d (PR-114) > 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-114@tmp/jenkins-gitclient-ssh5881230707813280757.key > git merge 1242f74e288a71878fc199ee3a2e90cd7a24557f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 Commit message: "ci: remove need for CI specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T18:44:05.687Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T18:44:05.888Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T18:44:06.026Z] ========================================================= [2021-08-17T18:44:06.026Z] EdgeX Global Pipelines Version Info [2021-08-17T18:44:06.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:44:07.315Z] ------------------- [2021-08-17T18:44:07.315Z] stable info: [2021-08-17T18:44:07.315Z] ------------------- [2021-08-17T18:44:07.315Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T18:44:07.315Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:44:07.315Z] Message: update stable to v1.0.205 [2021-08-17T18:44:07.904Z] ------------------- [2021-08-17T18:44:07.904Z] experimental info: [2021-08-17T18:44:07.904Z] ------------------- [2021-08-17T18:44:07.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T18:44:07.904Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:44:07.904Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T18:44:08.209Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2021-08-17T18:44:08.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2021-08-17T18:44:08.365Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T18:44:08.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T18:44:08.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T18:44:08.561Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T18:44:08.642Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T18:44:08.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T18:44:08.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T18:44:08.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T18:44:08.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T18:44:08.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T18:44:08.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2021-08-17T18:44:09.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T18:44:09.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T18:44:09.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:09.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:09.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:09.376Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:09.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T18:44:09.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T18:44:09.583Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T18:44:09.641Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T18:44:09.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T18:44:09.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T18:44:09.829Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-17T18:44:09.896Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T18:44:09.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo [2021-08-17T18:44:10.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo [2021-08-17T18:44:10.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo [2021-08-17T18:44:10.160Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80ba808d622ab593a42132b81cca5d0460139b7d [Pipeline] echo [2021-08-17T18:44:10.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80ba808 [Pipeline] echo [2021-08-17T18:44:10.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T18:44:11.000Z] + git log --format=format:%s -1 80ba808d622ab593a42132b81cca5d0460139b7d [Pipeline] echo [2021-08-17T18:44:11.095Z] GIT_COMMIT: 80ba808d622ab593a42132b81cca5d0460139b7d, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo [2021-08-17T18:44:11.144Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:44:11.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:11.747Z] [2021-08-17T18:44:11.747Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:44:12.199Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:12.199Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T18:44:12.199Z] 31603596830f: Pulling fs layer [2021-08-17T18:44:12.199Z] d4622e32a9a9: Pulling fs layer [2021-08-17T18:44:12.199Z] 1030fce36090: Pulling fs layer [2021-08-17T18:44:12.199Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T18:44:12.199Z] 6c6cb7e1b49b: Waiting [2021-08-17T18:44:12.199Z] d4622e32a9a9: Verifying Checksum [2021-08-17T18:44:12.199Z] d4622e32a9a9: Download complete [2021-08-17T18:44:12.476Z] 31603596830f: Verifying Checksum [2021-08-17T18:44:12.476Z] 31603596830f: Download complete [2021-08-17T18:44:12.760Z] 31603596830f: Pull complete [2021-08-17T18:44:12.760Z] d4622e32a9a9: Pull complete [2021-08-17T18:44:13.054Z] 1030fce36090: Verifying Checksum [2021-08-17T18:44:13.054Z] 1030fce36090: Download complete [2021-08-17T18:44:13.054Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T18:44:13.054Z] 6c6cb7e1b49b: Download complete [2021-08-17T18:44:13.642Z] 1030fce36090: Pull complete [2021-08-17T18:44:13.911Z] 6c6cb7e1b49b: Pull complete [2021-08-17T18:44:13.911Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T18:44:13.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:13.911Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T18:44:14.031Z] prd-centos7-docker-4c-2g-1074 does not seem to be running inside a container [2021-08-17T18:44:14.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-114 -v /w/workspace/xfoundry_go-mod-messaging_PR-114:/w/workspace/xfoundry_go-mod-messaging_PR-114:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-114@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T18:44:14.948Z] $ docker top fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T18:44:15.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:44:15.162Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:44:15.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:44:15.296Z] $ docker exec fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 ssh-agent [2021-08-17T18:44:15.411Z] SSH_AUTH_SOCK=/tmp/ssh-by7AzfS3vC7g/agent.15 [2021-08-17T18:44:15.411Z] SSH_AGENT_PID=21 [2021-08-17T18:44:15.424Z] Running ssh-add (command line suppressed) [2021-08-17T18:44:15.531Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/private_key_6806793901350238802.key (/w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/private_key_6806793901350238802.key) [2021-08-17T18:44:15.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:44:15.973Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T18:44:16.003Z] $ docker exec --env ******** --env ******** fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 ssh-agent -k [2021-08-17T18:44:16.120Z] unset SSH_AUTH_SOCK; [2021-08-17T18:44:16.120Z] unset SSH_AGENT_PID; [2021-08-17T18:44:16.120Z] echo Agent pid 21 killed; [2021-08-17T18:44:16.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T18:44:16.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:44:16.233Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:44:16.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:44:16.368Z] $ docker exec fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 ssh-agent [2021-08-17T18:44:16.492Z] SSH_AUTH_SOCK=/tmp/ssh-skUsN2JXldzq/agent.55 [2021-08-17T18:44:16.493Z] SSH_AGENT_PID=61 [2021-08-17T18:44:16.505Z] Running ssh-add (command line suppressed) [2021-08-17T18:44:16.604Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/private_key_2498403345882358421.key (/w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/private_key_2498403345882358421.key) [2021-08-17T18:44:16.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:44:16.998Z] + git semver init [2021-08-17T18:44:16.998Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T18:44:16.998Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-114/.git [2021-08-17T18:44:16.998Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-114 [2021-08-17T18:44:16.998Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T18:44:16.998Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T18:44:16.998Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T18:44:16.998Z] # $SEMVER_BRANCH = PR-114 [2021-08-17T18:44:16.998Z] # $SEMVER_TEMP = /tmp/semver-368548088 [2021-08-17T18:44:16.998Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2021-08-17T18:44:17.270Z] # '/tmp/semver-368548088' -> '/w/workspace/xfoundry_go-mod-messaging_PR-114/.semver' [2021-08-17T18:44:17.537Z] # -> Force: false [2021-08-17T18:44:17.537Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-114/.semver [Pipeline] } [2021-08-17T18:44:17.562Z] $ docker exec --env ******** --env ******** fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 ssh-agent -k [2021-08-17T18:44:17.668Z] unset SSH_AUTH_SOCK; [2021-08-17T18:44:17.669Z] unset SSH_AGENT_PID; [2021-08-17T18:44:17.669Z] echo Agent pid 61 killed; [2021-08-17T18:44:17.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T18:44:18.173Z] + git semver [Pipeline] } [2021-08-17T18:44:18.221Z] $ docker stop --time=1 fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 [2021-08-17T18:44:19.441Z] $ docker rm -f fdfebbdfe4a44569a73c0606bc09689cee70201511fcc2872fb9fe1d63003e97 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:44:19.898Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T18:44:20.353Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T18:44:20.377Z] [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 [2021-08-17T18:44:35.845Z] Still waiting to schedule task [2021-08-17T18:44:35.846Z] ‘prd-centos7-docker-4c-2g-1080’ is offline [2021-08-17T18:44:35.846Z] ‘prd-centos7-docker-4c-2g-1081’ is offline [2021-08-17T18:44:35.846Z] ‘prd-centos7-docker-4c-2g-1082’ is offline [2021-08-17T18:44:35.846Z] ‘prd-centos7-docker-4c-2g-1083’ is offline [2021-08-17T18:44:35.846Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1057’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:35.846Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:35.846Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1071’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:35.874Z] Still waiting to schedule task [2021-08-17T18:44:35.875Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-17T19:00:25.017Z] Running on prd-centos7-docker-4c-2g-2418 in /w/workspace/xfoundry_go-mod-messaging_PR-114 [Pipeline] { [Pipeline] ws [2021-08-17T19:00:25.078Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:00:25.267Z] Selected Git installation does not exist. Using Default [2021-08-17T19:00:25.268Z] The recommended git tool is: NONE [2021-08-17T19:00:28.020Z] using credential edgex-jenkins-ssh [2021-08-17T19:00:28.037Z] Cloning the remote Git repository [2021-08-17T19:00:27.197Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:00:27.265Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2021-08-17T19:00:27.304Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:00:27.304Z] > git --version # timeout=10 [2021-08-17T19:00:27.315Z] > git --version # 'git version 2.24.4' [2021-08-17T19:00:27.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:27.343Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:27.343Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:27.343Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh3786743045533997610.key [2021-08-17T19:00:27.353Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:00:29.268Z] Merging remotes/origin/main commit 1242f74e288a71878fc199ee3a2e90cd7a24557f into PR head commit 80ba808d622ab593a42132b81cca5d0460139b7d [2021-08-17T19:00:29.405Z] Merge succeeded, producing 80ba808d622ab593a42132b81cca5d0460139b7d [2021-08-17T19:00:29.406Z] Checking out Revision 80ba808d622ab593a42132b81cca5d0460139b7d (PR-114) [2021-08-17T19:00:27.960Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-08-17T19:00:27.967Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:00:27.980Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-08-17T19:00:27.993Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:00:27.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:27.995Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:27.995Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:27.995Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh4150429062230768625.key [2021-08-17T19:00:28.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:00:28.514Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:00:28.522Z] > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 [2021-08-17T19:00:28.598Z] > git remote # timeout=10 [2021-08-17T19:00:28.609Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:00:28.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:28.615Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:28.615Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:28.615Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-messaging/1@tmp/jenkins-gitclient-ssh1825869449713013884.key [2021-08-17T19:00:28.626Z] > git merge 1242f74e288a71878fc199ee3a2e90cd7a24557f # timeout=10 [2021-08-17T19:00:28.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:00:28.656Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:00:28.662Z] > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 [2021-08-17T19:00:32.945Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:00:32.521Z] > git --version # timeout=10 [2021-08-17T19:00:32.525Z] > git --version # 'git version 2.24.4' [2021-08-17T19:00:32.530Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T19:00:33.769Z] ========================================================= [2021-08-17T19:00:33.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T19:00:33.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:00:34.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T19:00:34.624Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T19:00:34.624Z] 540db60ca938: Pulling fs layer [2021-08-17T19:00:34.624Z] adcc1eea9eea: Pulling fs layer [2021-08-17T19:00:34.624Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T19:00:34.624Z] db62176df00c: Pulling fs layer [2021-08-17T19:00:34.624Z] 3b30891b0d05: Pulling fs layer [2021-08-17T19:00:34.624Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T19:00:34.624Z] c788192a36de: Pulling fs layer [2021-08-17T19:00:34.624Z] a77e37c0d609: Pulling fs layer [2021-08-17T19:00:34.624Z] c3185cebc471: Pulling fs layer [2021-08-17T19:00:34.624Z] db62176df00c: Waiting [2021-08-17T19:00:34.624Z] 3b30891b0d05: Waiting [2021-08-17T19:00:34.624Z] 06b49ca38bd5: Waiting [2021-08-17T19:00:34.624Z] c788192a36de: Waiting [2021-08-17T19:00:34.624Z] a77e37c0d609: Waiting [2021-08-17T19:00:34.624Z] c3185cebc471: Waiting [2021-08-17T19:00:34.624Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T19:00:34.624Z] 4c4ab2625f07: Download complete [2021-08-17T19:00:34.624Z] adcc1eea9eea: Verifying Checksum [2021-08-17T19:00:34.624Z] adcc1eea9eea: Download complete [2021-08-17T19:00:34.624Z] 3b30891b0d05: Verifying Checksum [2021-08-17T19:00:34.624Z] 3b30891b0d05: Download complete [2021-08-17T19:00:34.624Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T19:00:34.624Z] 06b49ca38bd5: Download complete [2021-08-17T19:00:34.898Z] c788192a36de: Verifying Checksum [2021-08-17T19:00:34.898Z] c788192a36de: Download complete [2021-08-17T19:00:34.898Z] 540db60ca938: Verifying Checksum [2021-08-17T19:00:35.167Z] 540db60ca938: Pull complete [2021-08-17T19:00:35.167Z] adcc1eea9eea: Pull complete [2021-08-17T19:00:35.167Z] 4c4ab2625f07: Pull complete [2021-08-17T19:00:36.137Z] a77e37c0d609: Verifying Checksum [2021-08-17T19:00:36.137Z] a77e37c0d609: Download complete [2021-08-17T19:00:40.403Z] c3185cebc471: Verifying Checksum [2021-08-17T19:00:40.403Z] c3185cebc471: Download complete [2021-08-17T19:00:40.672Z] db62176df00c: Verifying Checksum [2021-08-17T19:00:40.672Z] db62176df00c: Download complete [2021-08-17T19:00:44.048Z] db62176df00c: Pull complete [2021-08-17T19:00:44.048Z] 3b30891b0d05: Pull complete [2021-08-17T19:00:44.048Z] 06b49ca38bd5: Pull complete [2021-08-17T19:00:44.048Z] c788192a36de: Pull complete [2021-08-17T19:00:44.048Z] a77e37c0d609: Pull complete [2021-08-17T19:00:46.035Z] c3185cebc471: Pull complete [2021-08-17T19:00:46.304Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T19:00:46.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T19:00:46.304Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-17T19:00:46.713Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:00:47.088Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T19:00:47.088Z] . [Pipeline] withDockerContainer [2021-08-17T19:00:47.211Z] prd-centos7-docker-4c-2g-2418 does not seem to be running inside a container [2021-08-17T19:00:47.285Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T19:00:49.697Z] $ docker top 524bafafe268f74d8e40c29cf3eb8ad7f89acb65f53ab11d773682c814e3f2bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:00:50.170Z] + go version [2021-08-17T19:00:50.170Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T19:00:50.203Z] $ docker stop --time=1 524bafafe268f74d8e40c29cf3eb8ad7f89acb65f53ab11d773682c814e3f2bb [2021-08-17T19:00:51.469Z] $ docker rm -f 524bafafe268f74d8e40c29cf3eb8ad7f89acb65f53ab11d773682c814e3f2bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:00:52.200Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T19:00:52.201Z] . [Pipeline] withDockerContainer [2021-08-17T19:00:52.302Z] prd-centos7-docker-4c-2g-2418 does not seem to be running inside a container [2021-08-17T19:00:52.364Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T19:00:52.716Z] $ docker top aba90a672af5e39eb178c6b0bee47e59bf9661541345c1be35ae53c6b12141a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:00:53.244Z] + go mod tidy [2021-08-17T19:00:53.829Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T19:00:53.829Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:00:53.829Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T19:00:53.829Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T19:00:53.829Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2021-08-17T19:00:53.829Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:00:53.829Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:00:53.829Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:00:53.829Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T19:00:54.100Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T19:00:54.371Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T19:00:54.637Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T19:00:54.637Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:00:54.637Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T19:00:54.637Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T19:00:54.637Z] go: downloading gopkg.in/yaml.v2 v2.2.4 [2021-08-17T19:00:55.226Z] go: downloading github.com/kr/pretty v0.1.0 [2021-08-17T19:00:55.226Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T19:00:55.226Z] go: downloading golang.org/x/text v0.3.2 [2021-08-17T19:00:56.634Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T19:00:56.634Z] go: downloading github.com/kr/text v0.1.0 [Pipeline] sh [2021-08-17T19:00:57.189Z] + make test [2021-08-17T19:00:57.189Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T19:01:01.474Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2021-08-17T19:01:04.100Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.017s coverage: 90.0% of statements [2021-08-17T19:01:07.515Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.011s coverage: 67.3% of statements [2021-08-17T19:01:07.515Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2021-08-17T19:01:29.585Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.340s coverage: 83.8% of statements [2021-08-17T19:01:29.585Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.005s coverage: 85.7% of statements [2021-08-17T19:01:29.585Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.003s coverage: 100.0% of statements [2021-08-17T19:01:29.585Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.004s coverage: 100.0% of statements [2021-08-17T19:01:29.585Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.003s coverage: 90.9% of statements [2021-08-17T19:01:29.585Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T19:01:33.866Z] gofmt -l . [2021-08-17T19:01:33.866Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T19:01:33.916Z] $ docker stop --time=1 aba90a672af5e39eb178c6b0bee47e59bf9661541345c1be35ae53c6b12141a6 [2021-08-17T19:01:35.246Z] $ docker rm -f aba90a672af5e39eb178c6b0bee47e59bf9661541345c1be35ae53c6b12141a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:01:35.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:01:36.086Z] 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 [2021-08-17T19:01:37.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:37.148Z] [2021-08-17T19:01:37.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:01:37.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:37.571Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:01:37.571Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:01:37.571Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:01:37.571Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:01:37.571Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:01:37.571Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:01:37.571Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:01:37.571Z] d287ab97295c: Pulling fs layer [2021-08-17T19:01:37.571Z] 77bc0d833cb6: Waiting [2021-08-17T19:01:37.571Z] 9065ff56babe: Waiting [2021-08-17T19:01:37.571Z] d287ab97295c: Waiting [2021-08-17T19:01:37.571Z] dc539afda2c1: Waiting [2021-08-17T19:01:38.559Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:01:38.559Z] a1111a8f2ec3: Download complete [2021-08-17T19:01:38.559Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:01:38.559Z] dc539afda2c1: Download complete [2021-08-17T19:01:38.559Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:01:38.559Z] 77bc0d833cb6: Download complete [2021-08-17T19:01:38.831Z] 9065ff56babe: Verifying Checksum [2021-08-17T19:01:38.831Z] 9065ff56babe: Download complete [2021-08-17T19:01:39.834Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:01:39.834Z] ed53099fbce6: Download complete [2021-08-17T19:01:42.573Z] b4d181a07f80: Verifying Checksum [2021-08-17T19:01:42.574Z] b4d181a07f80: Download complete [2021-08-17T19:01:43.187Z] b4d181a07f80: Pull complete [2021-08-17T19:01:43.483Z] a1111a8f2ec3: Pull complete [2021-08-17T19:01:44.105Z] ed53099fbce6: Pull complete [2021-08-17T19:01:44.105Z] dc539afda2c1: Pull complete [2021-08-17T19:01:44.389Z] 77bc0d833cb6: Pull complete [2021-08-17T19:01:44.389Z] 9065ff56babe: Pull complete [2021-08-17T19:01:52.970Z] d287ab97295c: Verifying Checksum [2021-08-17T19:01:52.970Z] d287ab97295c: Download complete [2021-08-17T19:01:56.397Z] d287ab97295c: Pull complete [2021-08-17T19:01:56.397Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:01:56.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:56.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:01:56.532Z] prd-centos7-docker-4c-2g-2418 does not seem to be running inside a container [2021-08-17T19:01:56.611Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T19:01:59.036Z] $ docker top 852e5f4580127612ebe94ea15164eac9b87d2b7ea565ffa5a84577a8800383a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:01:59.588Z] ---> job-cost.sh [2021-08-17T19:01:59.588Z] lf-activate-venv: SKIPPING [2021-08-17T19:01:59.588Z] INFO: No Stack... [2021-08-17T19:02:00.554Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:02:00.566Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:02:00.890Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2021-08-17T19:02:00.890Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T19:02:00.964Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [2021-08-17T19:02:00.971Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] did not exist. Created. [2021-08-17T19:02:00.971Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:02:01.405Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T19:02:01.460Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:02:01.491Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:02:01.575Z] $ docker stop --time=1 852e5f4580127612ebe94ea15164eac9b87d2b7ea565ffa5a84577a8800383a9 [2021-08-17T19:02:02.736Z] $ docker rm -f 852e5f4580127612ebe94ea15164eac9b87d2b7ea565ffa5a84577a8800383a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T19:12:31.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3053 in /w/workspace/xfoundry_go-mod-messaging_PR-114 [Pipeline] { [Pipeline] ws [2021-08-17T19:12:32.069Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:12:32.377Z] Selected Git installation does not exist. Using Default [2021-08-17T19:12:32.377Z] The recommended git tool is: NONE [2021-08-17T19:12:39.368Z] using credential edgex-jenkins-ssh [2021-08-17T19:12:39.392Z] Cloning the remote Git repository [2021-08-17T19:12:39.484Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:12:39.640Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2021-08-17T19:12:39.749Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:12:39.751Z] > git --version # timeout=10 [2021-08-17T19:12:39.774Z] > git --version # 'git version 2.17.1' [2021-08-17T19:12:39.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:39.913Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:12:40.846Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-08-17T19:12:40.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:12:40.905Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-08-17T19:12:40.959Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-08-17T19:12:40.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:40.978Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:12:41.587Z] Merging remotes/origin/main commit 1242f74e288a71878fc199ee3a2e90cd7a24557f into PR head commit 80ba808d622ab593a42132b81cca5d0460139b7d [2021-08-17T19:12:41.840Z] Merge succeeded, producing 80ba808d622ab593a42132b81cca5d0460139b7d [2021-08-17T19:12:41.841Z] Checking out Revision 80ba808d622ab593a42132b81cca5d0460139b7d (PR-114) [2021-08-17T19:12:41.613Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:12:41.640Z] > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 [2021-08-17T19:12:41.744Z] > git remote # timeout=10 [2021-08-17T19:12:41.765Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:12:41.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:41.795Z] > git merge 1242f74e288a71878fc199ee3a2e90cd7a24557f # timeout=10 [2021-08-17T19:12:41.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:12:41.849Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:12:41.868Z] > git checkout -f 80ba808d622ab593a42132b81cca5d0460139b7d # timeout=10 [2021-08-17T19:12:46.442Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:12:46.524Z] > git --version # timeout=10 [2021-08-17T19:12:46.536Z] > git --version # 'git version 2.17.1' [2021-08-17T19:12:46.549Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T19:12:47.622Z] ========================================================= [2021-08-17T19:12:47.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T19:12:47.622Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:12:48.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:12:49.829Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T19:12:49.829Z] 595b0fe564bb: Pulling fs layer [2021-08-17T19:12:49.829Z] 24495759ef45: Pulling fs layer [2021-08-17T19:12:49.829Z] d148012ef14d: Pulling fs layer [2021-08-17T19:12:49.829Z] e90a11edd702: Pulling fs layer [2021-08-17T19:12:49.829Z] d77568369979: Pulling fs layer [2021-08-17T19:12:49.829Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T19:12:49.829Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T19:12:49.829Z] 97ac5df62f85: Pulling fs layer [2021-08-17T19:12:49.829Z] e90a11edd702: Waiting [2021-08-17T19:12:49.829Z] d77568369979: Waiting [2021-08-17T19:12:49.829Z] 170f2ba95c9a: Waiting [2021-08-17T19:12:49.829Z] 97ac5df62f85: Waiting [2021-08-17T19:12:49.829Z] d148012ef14d: Download complete [2021-08-17T19:12:49.829Z] 24495759ef45: Verifying Checksum [2021-08-17T19:12:49.829Z] 24495759ef45: Download complete [2021-08-17T19:12:49.829Z] d77568369979: Download complete [2021-08-17T19:12:49.829Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T19:12:49.829Z] fc1c9f9a7f3b: Download complete [2021-08-17T19:12:49.829Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T19:12:49.829Z] 170f2ba95c9a: Download complete [2021-08-17T19:12:49.829Z] 595b0fe564bb: Download complete [2021-08-17T19:12:50.849Z] 595b0fe564bb: Pull complete [2021-08-17T19:12:51.463Z] 24495759ef45: Pull complete [2021-08-17T19:12:52.077Z] d148012ef14d: Pull complete [2021-08-17T19:12:54.758Z] 97ac5df62f85: Verifying Checksum [2021-08-17T19:12:54.758Z] 97ac5df62f85: Download complete [2021-08-17T19:12:56.218Z] e90a11edd702: Verifying Checksum [2021-08-17T19:12:56.218Z] e90a11edd702: Download complete [2021-08-17T19:13:08.822Z] e90a11edd702: Pull complete [2021-08-17T19:13:08.822Z] d77568369979: Pull complete [2021-08-17T19:13:08.822Z] fc1c9f9a7f3b: Pull complete [2021-08-17T19:13:08.822Z] 170f2ba95c9a: Pull complete [2021-08-17T19:13:15.612Z] 97ac5df62f85: Pull complete [2021-08-17T19:13:15.612Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T19:13:15.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:13:15.612Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-17T19:13:16.256Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:13:16.944Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:13:16.944Z] . [Pipeline] withDockerContainer [2021-08-17T19:13:17.268Z] prd-ubuntu18.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container [2021-08-17T19:13:17.369Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:13:30.154Z] $ docker top b8650e8b99dc2257c0ed010f11c65d8fa1214485258f3c2482c70deabab70193 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:13:31.191Z] + go version [2021-08-17T19:13:31.191Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T19:13:31.229Z] $ docker stop --time=1 b8650e8b99dc2257c0ed010f11c65d8fa1214485258f3c2482c70deabab70193 [2021-08-17T19:13:33.490Z] $ docker rm -f b8650e8b99dc2257c0ed010f11c65d8fa1214485258f3c2482c70deabab70193 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:13:34.422Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:13:34.422Z] . [Pipeline] withDockerContainer [2021-08-17T19:13:34.690Z] prd-ubuntu18.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container [2021-08-17T19:13:34.781Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:13:36.562Z] $ docker top 592bd763966ee2496c9ab6cad85491552475be88f947caa2f322f6ca3020f061 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:13:37.619Z] + go mod tidy [2021-08-17T19:13:39.613Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T19:13:39.613Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:13:39.613Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T19:13:39.613Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T19:13:39.613Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2021-08-17T19:13:39.613Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:13:39.613Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:13:39.613Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T19:13:39.613Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T19:13:39.613Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:13:39.891Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T19:13:39.891Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T19:13:39.891Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:13:39.891Z] go: downloading github.com/kr/pretty v0.1.0 [2021-08-17T19:13:40.168Z] go: downloading gopkg.in/yaml.v2 v2.2.4 [2021-08-17T19:13:40.168Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T19:13:40.168Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T19:13:40.168Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T19:13:40.168Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T19:13:40.443Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T19:13:40.720Z] go: downloading golang.org/x/text v0.3.2 [Pipeline] sh [2021-08-17T19:13:44.801Z] + make test [2021-08-17T19:13:44.801Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T19:14:23.926Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2021-08-17T19:14:29.416Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.088s coverage: 90.0% of statements [2021-08-17T19:14:29.703Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.085s coverage: 67.3% of statements [2021-08-17T19:14:29.703Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2021-08-17T19:14:56.558Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.408s coverage: 83.8% of statements [2021-08-17T19:14:56.558Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.021s coverage: 85.7% of statements [2021-08-17T19:14:56.558Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.017s coverage: 100.0% of statements [2021-08-17T19:14:56.558Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.020s coverage: 100.0% of statements [2021-08-17T19:14:56.558Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.012s coverage: 90.9% of statements [2021-08-17T19:14:56.558Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T19:15:14.939Z] gofmt -l . [2021-08-17T19:15:14.939Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T19:15:14.977Z] $ docker stop --time=1 592bd763966ee2496c9ab6cad85491552475be88f947caa2f322f6ca3020f061 [2021-08-17T19:15:17.299Z] $ docker rm -f 592bd763966ee2496c9ab6cad85491552475be88f947caa2f322f6ca3020f061 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:15:19.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:15:19.071Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T19:15:19.769Z] 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 [2021-08-17T19:15:20.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:15:20.697Z] [2021-08-17T19:15:20.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:15:21.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:15:21.702Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T19:15:21.702Z] 448f6bf000e3: Pulling fs layer [2021-08-17T19:15:21.702Z] f757da607395: Pulling fs layer [2021-08-17T19:15:21.702Z] 05883995daec: Pulling fs layer [2021-08-17T19:15:21.702Z] 8603b9c90790: Pulling fs layer [2021-08-17T19:15:21.702Z] 1560dd03e051: Pulling fs layer [2021-08-17T19:15:21.702Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T19:15:21.702Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T19:15:21.702Z] 8603b9c90790: Waiting [2021-08-17T19:15:21.702Z] 1560dd03e051: Waiting [2021-08-17T19:15:21.702Z] 27f5ce0e4adf: Waiting [2021-08-17T19:15:21.702Z] c2d8d7efcc4b: Waiting [2021-08-17T19:15:21.982Z] f757da607395: Verifying Checksum [2021-08-17T19:15:21.982Z] f757da607395: Download complete [2021-08-17T19:15:21.982Z] 8603b9c90790: Verifying Checksum [2021-08-17T19:15:21.982Z] 8603b9c90790: Download complete [2021-08-17T19:15:22.262Z] 1560dd03e051: Verifying Checksum [2021-08-17T19:15:22.262Z] 1560dd03e051: Download complete [2021-08-17T19:15:22.262Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T19:15:22.262Z] 27f5ce0e4adf: Download complete [2021-08-17T19:15:22.262Z] 05883995daec: Verifying Checksum [2021-08-17T19:15:22.262Z] 05883995daec: Download complete [2021-08-17T19:15:23.714Z] 448f6bf000e3: Verifying Checksum [2021-08-17T19:15:23.714Z] 448f6bf000e3: Download complete [2021-08-17T19:15:26.348Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T19:15:26.348Z] c2d8d7efcc4b: Download complete [2021-08-17T19:15:27.797Z] 448f6bf000e3: Pull complete [2021-08-17T19:15:28.782Z] f757da607395: Pull complete [2021-08-17T19:15:30.777Z] 05883995daec: Pull complete [2021-08-17T19:15:30.777Z] 8603b9c90790: Pull complete [2021-08-17T19:15:32.215Z] 1560dd03e051: Pull complete [2021-08-17T19:15:32.490Z] 27f5ce0e4adf: Pull complete [2021-08-17T19:15:47.606Z] c2d8d7efcc4b: Pull complete [2021-08-17T19:15:47.606Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T19:15:47.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:15:47.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T19:15:47.940Z] prd-ubuntu18.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container [2021-08-17T19:15:48.030Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T19:15:54.326Z] $ docker top b7550a01080533f831e000524d3339c90803ad0ad8080fc177861811b6e204c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:55.505Z] ---> job-cost.sh [2021-08-17T19:15:55.505Z] lf-activate-venv: SKIPPING [2021-08-17T19:15:55.505Z] INFO: No Stack... [2021-08-17T19:15:56.485Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T19:15:57.080Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:15:57.774Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2021-08-17T19:15:57.774Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T19:15:57.866Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [2021-08-17T19:15:57.875Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] did not exist. Created. [2021-08-17T19:15:57.875Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:15:58.651Z] /w/workspace/go-mod-messaging/1@tmp/durable-eb11cee0/script.sh: 1: /w/workspace/go-mod-messaging/1@tmp/durable-eb11cee0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T19:15:59.358Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T19:15:59.409Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T19:15:59.454Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:15:59.476Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:15:59.594Z] $ docker stop --time=1 b7550a01080533f831e000524d3339c90803ad0ad8080fc177861811b6e204c6 [2021-08-17T19:16:01.400Z] $ docker rm -f b7550a01080533f831e000524d3339c90803ad0ad8080fc177861811b6e204c6 [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 [2021-08-17T19:16:02.620Z] provisioning config files... [2021-08-17T19:16:02.639Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/config2919176903874137553tmp [Pipeline] { [Pipeline] sh [2021-08-17T19:16:03.030Z] + set +x [2021-08-17T19:16:03.030Z] + curl -s https://codecov.io/bash [2021-08-17T19:16:03.030Z] + bash -s -- [2021-08-17T19:16:03.030Z] [2021-08-17T19:16:03.030Z] _____ _ [2021-08-17T19:16:03.030Z] / ____| | | [2021-08-17T19:16:03.030Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T19:16:03.030Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T19:16:03.030Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T19:16:03.030Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T19:16:03.030Z] Bash-1.0.6 [2021-08-17T19:16:03.030Z] [2021-08-17T19:16:03.030Z] [2021-08-17T19:16:03.030Z] ==> git version 2.24.4 found [2021-08-17T19:16:03.030Z] ==> 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 [2021-08-17T19:16:03.030Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T19:16:03.030Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T19:16:03.030Z] ==> Jenkins CI detected. [2021-08-17T19:16:03.030Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-114 [2021-08-17T19:16:03.030Z] project root: . [2021-08-17T19:16:03.030Z] --> token set from env [2021-08-17T19:16:03.030Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T19:16:03.030Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T19:16:03.030Z] ==> Python coveragepy not found [2021-08-17T19:16:03.030Z] ==> Searching for coverage reports in: [2021-08-17T19:16:03.030Z] + . [2021-08-17T19:16:03.030Z] -> Found 1 reports [2021-08-17T19:16:03.030Z] ==> Detecting git/mercurial file structure [2021-08-17T19:16:03.030Z] ==> Reading reports [2021-08-17T19:16:03.302Z] + ./coverage.out bytes=21942 [2021-08-17T19:16:03.302Z] ==> Appending adjustments [2021-08-17T19:16:03.302Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T19:16:03.302Z] + Found adjustments [2021-08-17T19:16:03.302Z] ==> Gzipping contents [2021-08-17T19:16:03.302Z] 8.0K /tmp/codecov.hD8NqH.gz [2021-08-17T19:16:03.302Z] ==> Uploading reports [2021-08-17T19:16:03.302Z] url: https://codecov.io [2021-08-17T19:16:03.302Z] query: branch=PR-114&commit=80ba808d622ab593a42132b81cca5d0460139b7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=114&job=&cmd_args= [2021-08-17T19:16:03.302Z] -> Pinging Codecov [2021-08-17T19:16:03.302Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-114&commit=80ba808d622ab593a42132b81cca5d0460139b7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=114&job=&cmd_args= [2021-08-17T19:16:03.572Z] -> Uploading to [2021-08-17T19:16:03.572Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/F6E385568367DD0E4001BA4F8F1CB792/80ba808d622ab593a42132b81cca5d0460139b7d/59bb3e46-5d50-4f72-abb4-f0de31569444.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T191603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3855118226abb8959ccb9ebe23cefebbd9734b5eb72fce0c8162cfe179cffc75 [2021-08-17T19:16:03.848Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T19:16:03.848Z] Dload Upload Total Spent Left Speed [2021-08-17T19:16:04.115Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5051 0 0 100 5051 0 9763 --:--:-- --:--:-- --:--:-- 9769 [2021-08-17T19:16:04.115Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/80ba808d622ab593a42132b81cca5d0460139b7d [Pipeline] } [2021-08-17T19:16:04.157Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-17T19:16:06.053Z] + '[' -d /w/workspace/xfoundry_go-mod-messaging_PR-114/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:06.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:07.107Z] ---> package-listing.sh [2021-08-17T19:16:07.107Z] ++ facter osfamily [2021-08-17T19:16:07.107Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T19:16:07.377Z] + OS_FAMILY=redhat [2021-08-17T19:16:07.377Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-114 [2021-08-17T19:16:07.377Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T19:16:07.377Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T19:16:07.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T19:16:07.377Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T19:16:07.377Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-114 ']' [2021-08-17T19:16:07.377Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T19:16:07.377Z] + case "${OS_FAMILY}" in [2021-08-17T19:16:07.377Z] + rpm -qa [2021-08-17T19:16:07.377Z] + sort [2021-08-17T19:16:07.961Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T19:16:07.961Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T19:16:07.961Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T19:16:07.961Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-114 ']' [2021-08-17T19:16:07.961Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-114/archives/ [2021-08-17T19:16:07.961Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-114/archives/ [Pipeline] echo [2021-08-17T19:16:07.998Z] 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-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-17T19:16:08.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:16:09.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:16:09.114Z] [2021-08-17T19:16:09.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:16:09.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:16:09.803Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:16:09.803Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:16:09.803Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:16:09.803Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:16:09.803Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:16:09.803Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:16:09.803Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:16:09.803Z] d287ab97295c: Pulling fs layer [2021-08-17T19:16:09.803Z] 77bc0d833cb6: Waiting [2021-08-17T19:16:09.803Z] 9065ff56babe: Waiting [2021-08-17T19:16:09.803Z] d287ab97295c: Waiting [2021-08-17T19:16:09.803Z] dc539afda2c1: Waiting [2021-08-17T19:16:09.803Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:16:09.803Z] a1111a8f2ec3: Download complete [2021-08-17T19:16:09.803Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:16:09.803Z] dc539afda2c1: Download complete [2021-08-17T19:16:10.073Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:16:10.073Z] 77bc0d833cb6: Download complete [2021-08-17T19:16:10.073Z] 9065ff56babe: Download complete [2021-08-17T19:16:10.659Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:16:10.659Z] ed53099fbce6: Download complete [2021-08-17T19:16:12.077Z] b4d181a07f80: Download complete [2021-08-17T19:16:13.050Z] b4d181a07f80: Pull complete [2021-08-17T19:16:13.050Z] a1111a8f2ec3: Pull complete [2021-08-17T19:16:13.652Z] ed53099fbce6: Pull complete [2021-08-17T19:16:13.652Z] dc539afda2c1: Pull complete [2021-08-17T19:16:13.930Z] 77bc0d833cb6: Pull complete [2021-08-17T19:16:13.930Z] 9065ff56babe: Pull complete [2021-08-17T19:16:17.283Z] d287ab97295c: Verifying Checksum [2021-08-17T19:16:17.283Z] d287ab97295c: Download complete [2021-08-17T19:16:21.763Z] d287ab97295c: Pull complete [2021-08-17T19:16:21.763Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:16:21.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:16:21.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:16:21.896Z] prd-centos7-docker-4c-2g-1074 does not seem to be running inside a container [2021-08-17T19:16:21.999Z] $ 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-114/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-114 -v /w/workspace/xfoundry_go-mod-messaging_PR-114:/w/workspace/xfoundry_go-mod-messaging_PR-114:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-114@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-114@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 [2021-08-17T19:16:24.630Z] $ docker top 4a832266739a85400a13f5b0c974f67fb2e7c27a0cbdef7b90437173d0e19e89 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:16:25.301Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T19:16:25.670Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T19:16:26.021Z] + ls /var/log/sa-host [2021-08-17T19:16:26.021Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T19:16:26.021Z] file_magic: OK [2021-08-17T19:16:26.021Z] HZ: Using current value: 100 [2021-08-17T19:16:26.021Z] file_header: OK [2021-08-17T19:16:26.021Z] 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 [2021-08-17T19:16:26.021Z] Statistics: [2021-08-17T19:16:26.021Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:16:26.021Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T19:16:26.021Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T19:16:26.021Z] file_magic: OK [2021-08-17T19:16:26.021Z] HZ: Using current value: 100 [2021-08-17T19:16:26.021Z] file_header: OK [2021-08-17T19:16:26.021Z] 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 [2021-08-17T19:16:26.021Z] Statistics: [2021-08-17T19:16:26.021Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:16:26.021Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:16:26.249Z] provisioning config files... [2021-08-17T19:16:26.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-114@tmp/config2346286561423190843tmp [Pipeline] { [Pipeline] echo [2021-08-17T19:16:26.330Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:26.683Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T19:16:26.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:27.193Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T19:16:27.229Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:27.592Z] ---> sudo-logs.sh [2021-08-17T19:16:27.592Z] Archiving 'sudo' log.. [2021-08-17T19:16:27.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1074.vexxhost.local: Name or service not known [2021-08-17T19:16:27.592Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1074.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T19:16:27.686Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:28.046Z] ---> job-cost.sh [2021-08-17T19:16:28.046Z] lf-activate-venv: SKIPPING [2021-08-17T19:16:28.046Z] DEBUG: total: 0.18000000715255737 [2021-08-17T19:16:28.046Z] INFO: Retrieving Stack Cost... [2021-08-17T19:16:29.992Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:16:29.992Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T19:16:30.032Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:30.392Z] ---> logs-deploy.sh [2021-08-17T19:16:30.392Z] lf-activate-venv: SKIPPING [2021-08-17T19:16:30.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-114/1 [2021-08-17T19:16:30.392Z] INFO: archiving workspace using pattern(s): [2021-08-17T19:16:30.980Z] Archives upload complete. [2021-08-17T19:16:31.250Z] INFO: archiving logs to Nexus