Pull request #78 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 56da4faa0f1a4541b54f0b3d197845e4283d404b+0bdc968e74254c748af0ee463d7309986ee294ed (b9f7bca7c725fb8894883d64e20d4dd84f7a1ff3) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-78/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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-78/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 > 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 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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:patch] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-15834’ is offline; ‘prd-centos7-docker-4c-2g-15835’ is offline; ‘prd-centos7-docker-4c-2g-15836’ is offline; ‘prd-centos7-docker-4c-2g-15837’ is offline; ‘prd-centos7-docker-4c-2g-15838’ is offline; ‘prd-centos7-docker-4c-2g-15841’ is offline; ‘prd-centos7-docker-4c-2g-15842’ is offline; ‘prd-centos7-docker-4c-2g-15845’ is offline; ‘prd-centos7-docker-4c-2g-15846’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15840’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15853 in /w/workspace/exfoundry_go-mod-messaging_PR-78 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git > git init /w/workspace/exfoundry_go-mod-messaging_PR-78 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0bdc968e74254c748af0ee463d7309986ee294ed into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b Merge succeeded, producing 56da4faa0f1a4541b54f0b3d197845e4283d404b Checking out Revision 56da4faa0f1a4541b54f0b3d197845e4283d404b (PR-78) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0bdc968e74254c748af0ee463d7309986ee294ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-14T06:30:38.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T06:30:38.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T06:30:38.904Z] ========================================================= [2020-12-14T06:30:38.904Z] EdgeX Global Pipelines Version Info [2020-12-14T06:30:38.904Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:30:40.714Z] ------------------- [2020-12-14T06:30:40.714Z] stable info: [2020-12-14T06:30:40.714Z] ------------------- [2020-12-14T06:30:40.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:30:40.714Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:30:40.714Z] Message: update stable to v1.0.172 [2020-12-14T06:30:41.664Z] ------------------- [2020-12-14T06:30:41.664Z] experimental info: [2020-12-14T06:30:41.664Z] ------------------- [2020-12-14T06:30:41.664Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:30:41.664Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:30:41.664Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T06:30:42.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2020-12-14T06:30:42.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2020-12-14T06:30:42.509Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T06:30:42.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T06:30:42.749Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T06:30:42.875Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T06:30:43.028Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T06:30:43.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T06:30:43.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-14T06:30:43.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T06:30:43.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T06:30:43.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-messaging [Pipeline] echo [2020-12-14T06:30:43.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T06:30:44.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T06:30:44.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:44.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:44.476Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:44.658Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:44.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-14T06:30:44.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-14T06:30:45.120Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-14T06:30:45.266Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-14T06:30:45.426Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T06:30:45.633Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T06:30:45.783Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-14T06:30:45.954Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T06:30:46.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo [2020-12-14T06:30:46.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo [2020-12-14T06:30:46.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo [2020-12-14T06:30:46.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56da4faa0f1a4541b54f0b3d197845e4283d404b [Pipeline] echo [2020-12-14T06:30:46.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56da4fa [Pipeline] echo [2020-12-14T06:30:46.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:30:48.201Z] + git log --format=format:%s -1 56da4faa0f1a4541b54f0b3d197845e4283d404b [Pipeline] echo [2020-12-14T06:30:48.308Z] GIT_COMMIT: 56da4faa0f1a4541b54f0b3d197845e4283d404b, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2020-12-14T06:30:48.394Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:30:49.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:49.392Z] [2020-12-14T06:30:49.392Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:30:49.807Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:49.807Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T06:30:49.807Z] 31603596830f: Pulling fs layer [2020-12-14T06:30:49.807Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T06:30:49.807Z] 6ca5941a6612: Pulling fs layer [2020-12-14T06:30:49.807Z] ecc8261a40a4: Pulling fs layer [2020-12-14T06:30:49.807Z] ecc8261a40a4: Waiting [2020-12-14T06:30:49.807Z] 2a8b12db71e7: Verifying Checksum [2020-12-14T06:30:49.807Z] 2a8b12db71e7: Download complete [2020-12-14T06:30:50.077Z] 31603596830f: Verifying Checksum [2020-12-14T06:30:50.077Z] 31603596830f: Download complete [2020-12-14T06:30:50.077Z] ecc8261a40a4: Verifying Checksum [2020-12-14T06:30:50.077Z] ecc8261a40a4: Download complete [2020-12-14T06:30:50.077Z] 6ca5941a6612: Verifying Checksum [2020-12-14T06:30:50.077Z] 6ca5941a6612: Download complete [2020-12-14T06:30:50.339Z] 31603596830f: Pull complete [2020-12-14T06:30:50.619Z] 2a8b12db71e7: Pull complete [2020-12-14T06:30:51.583Z] 6ca5941a6612: Pull complete [2020-12-14T06:30:51.583Z] ecc8261a40a4: Pull complete [2020-12-14T06:30:51.583Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T06:30:51.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:51.583Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T06:30:51.751Z] prd-centos7-docker-4c-2g-15853 does not seem to be running inside a container [2020-12-14T06:30:51.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-78 -v /w/workspace/exfoundry_go-mod-messaging_PR-78:/w/workspace/exfoundry_go-mod-messaging_PR-78:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-78@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-14T06:30:53.934Z] $ docker top 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T06:30:54.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:30:54.565Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:30:54.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:30:54.828Z] $ docker exec 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 ssh-agent [2020-12-14T06:30:55.031Z] SSH_AUTH_SOCK=/tmp/ssh-RmdPP0egVIEP/agent.12 [2020-12-14T06:30:55.031Z] SSH_AGENT_PID=17 [2020-12-14T06:30:55.043Z] Running ssh-add (command line suppressed) [2020-12-14T06:30:55.178Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_1609399918656951722.key (/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_1609399918656951722.key) [2020-12-14T06:30:55.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:30:55.786Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T06:30:55.870Z] $ docker exec --env ******** --env ******** 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 ssh-agent -k [2020-12-14T06:30:55.999Z] unset SSH_AUTH_SOCK; [2020-12-14T06:30:55.999Z] unset SSH_AGENT_PID; [2020-12-14T06:30:55.999Z] echo Agent pid 17 killed; [2020-12-14T06:30:56.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T06:30:56.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:30:56.265Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:30:56.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:30:56.440Z] $ docker exec 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 ssh-agent [2020-12-14T06:30:56.617Z] SSH_AUTH_SOCK=/tmp/ssh-D7GC5dHe6YFd/agent.45 [2020-12-14T06:30:56.617Z] SSH_AGENT_PID=50 [2020-12-14T06:30:56.625Z] Running ssh-add (command line suppressed) [2020-12-14T06:30:56.748Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_7518056986927873624.key (/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_7518056986927873624.key) [2020-12-14T06:30:56.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:30:57.174Z] + git semver init [2020-12-14T06:30:57.175Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T06:30:57.175Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-78/.git [2020-12-14T06:30:57.175Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-78 [2020-12-14T06:30:57.175Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T06:30:57.175Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T06:30:57.175Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T06:30:57.175Z] # $SEMVER_BRANCH = PR-78 [2020-12-14T06:30:57.175Z] # $SEMVER_TEMP = /tmp/semver-953212409 [2020-12-14T06:30:57.175Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-12-14T06:30:57.439Z] # '/tmp/semver-953212409' -> '/w/workspace/exfoundry_go-mod-messaging_PR-78/.semver' [2020-12-14T06:30:57.439Z] # -> Force: false [2020-12-14T06:30:57.439Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-78/.semver [Pipeline] } [2020-12-14T06:30:57.464Z] $ docker exec --env ******** --env ******** 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 ssh-agent -k [2020-12-14T06:30:57.590Z] unset SSH_AUTH_SOCK; [2020-12-14T06:30:57.590Z] unset SSH_AGENT_PID; [2020-12-14T06:30:57.590Z] echo Agent pid 50 killed; [2020-12-14T06:30:57.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T06:30:58.215Z] + git semver [Pipeline] } [2020-12-14T06:30:58.252Z] $ docker stop --time=1 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 [2020-12-14T06:30:59.742Z] $ docker rm -f 2794401859b73bfcf1efcb457e773274dd7987ee4063d39c9f2ef72546c6ef28 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T06:31:00.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T06:31:00.875Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T06:31:00.899Z] [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 [2020-12-14T06:31:16.917Z] Still waiting to schedule task [2020-12-14T06:31:16.917Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-15834’ is offline; ‘prd-centos7-docker-4c-2g-15835’ is offline; ‘prd-centos7-docker-4c-2g-15836’ is offline; ‘prd-centos7-docker-4c-2g-15837’ is offline; ‘prd-centos7-docker-4c-2g-15838’ is offline; ‘prd-centos7-docker-4c-2g-15839’ is offline; ‘prd-centos7-docker-4c-2g-15841’ is offline; ‘prd-centos7-docker-4c-2g-15842’ is offline; ‘prd-centos7-docker-4c-2g-15858’ is offline; ‘prd-centos7-docker-4c-2g-15859’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15843’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15852’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-14T06:31:16.958Z] Still waiting to schedule task [2020-12-14T06:31:16.958Z] ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15834’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15835’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15836’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15837’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15838’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15839’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15841’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15842’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15858’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15859’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15840’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15843’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15852’ is offline [2020-12-14T06:32:46.016Z] Running on prd-centos7-docker-4c-2g-15870 in /w/workspace/exfoundry_go-mod-messaging_PR-78 [Pipeline] { [Pipeline] ws [2020-12-14T06:32:46.124Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:32:48.862Z] using credential edgex-jenkins-ssh [2020-12-14T06:32:48.910Z] Cloning the remote Git repository [2020-12-14T06:32:48.943Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:32:49.009Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2020-12-14T06:32:49.145Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:32:49.146Z] > git --version # timeout=10 [2020-12-14T06:32:49.157Z] > git --version # 'git version 2.24.3' [2020-12-14T06:32:49.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:49.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:32:49.764Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-14T06:32:49.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:32:50.180Z] Merging remotes/origin/master commit 0bdc968e74254c748af0ee463d7309986ee294ed into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b [2020-12-14T06:32:50.264Z] Merge succeeded, producing 56da4faa0f1a4541b54f0b3d197845e4283d404b [2020-12-14T06:32:50.264Z] Checking out Revision 56da4faa0f1a4541b54f0b3d197845e4283d404b (PR-78) [2020-12-14T06:32:49.783Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-14T06:32:49.797Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:32:49.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:49.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:32:50.192Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:32:50.197Z] > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [2020-12-14T06:32:50.235Z] > git remote # timeout=10 [2020-12-14T06:32:50.241Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:32:50.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:50.250Z] > git merge 0bdc968e74254c748af0ee463d7309986ee294ed # timeout=10 [2020-12-14T06:32:50.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:32:50.269Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:32:50.273Z] > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [2020-12-14T06:32:54.063Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2020-12-14T06:32:54.105Z] > git --version # timeout=10 [2020-12-14T06:32:54.110Z] > git --version # 'git version 2.24.3' [2020-12-14T06:32:54.119Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:32:55.588Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:32:55.953Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:32:56.274Z] + sudo service docker restart [2020-12-14T06:32:56.274Z] + true [2020-12-14T06:32:56.274Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-14T06:32:57.671Z] ========================================================= [2020-12-14T06:32:57.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T06:32:57.671Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:32:58.069Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-14T06:32:58.332Z] Sending build context to Docker daemon 477.7kB [2020-12-14T06:32:58.332Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-14T06:32:58.332Z] Step 2/7 : FROM ${BASE} [2020-12-14T06:32:58.332Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T06:32:58.332Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T06:32:58.332Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T06:32:58.332Z] de9db76c5a1d: Pulling fs layer [2020-12-14T06:32:58.332Z] bca2f99d35d6: Pulling fs layer [2020-12-14T06:32:58.332Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T06:32:58.332Z] 7c6f9722023f: Pulling fs layer [2020-12-14T06:32:58.332Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T06:32:58.332Z] 93359f2a8cfa: Waiting [2020-12-14T06:32:58.332Z] 7c6f9722023f: Waiting [2020-12-14T06:32:58.332Z] a35cf1a2eb13: Waiting [2020-12-14T06:32:58.332Z] bca2f99d35d6: Waiting [2020-12-14T06:32:58.598Z] de9db76c5a1d: Verifying Checksum [2020-12-14T06:32:58.598Z] de9db76c5a1d: Download complete [2020-12-14T06:32:58.598Z] 0ef7d3d256c8: Download complete [2020-12-14T06:32:58.598Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T06:32:58.598Z] 93359f2a8cfa: Download complete [2020-12-14T06:32:58.598Z] 7c6f9722023f: Verifying Checksum [2020-12-14T06:32:58.598Z] 7c6f9722023f: Download complete [2020-12-14T06:32:58.598Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T06:32:58.598Z] 188c0c94c7c5: Download complete [2020-12-14T06:32:58.867Z] 188c0c94c7c5: Pull complete [2020-12-14T06:32:58.867Z] 0ef7d3d256c8: Pull complete [2020-12-14T06:32:59.136Z] de9db76c5a1d: Pull complete [2020-12-14T06:33:00.535Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T06:33:00.535Z] a35cf1a2eb13: Download complete [2020-12-14T06:33:01.116Z] bca2f99d35d6: Verifying Checksum [2020-12-14T06:33:01.116Z] bca2f99d35d6: Download complete [2020-12-14T06:33:06.487Z] bca2f99d35d6: Pull complete [2020-12-14T06:33:06.487Z] 93359f2a8cfa: Pull complete [2020-12-14T06:33:06.487Z] 7c6f9722023f: Pull complete [2020-12-14T06:33:10.775Z] a35cf1a2eb13: Pull complete [2020-12-14T06:33:11.043Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T06:33:11.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T06:33:11.043Z] ---> a62c8e92a672 [2020-12-14T06:33:11.043Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-14T06:33:11.620Z] ---> Running in 8294da8c0358 [2020-12-14T06:33:11.620Z] Removing intermediate container 8294da8c0358 [2020-12-14T06:33:11.620Z] ---> 36123ccc196a [2020-12-14T06:33:11.620Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-14T06:33:11.887Z] ---> Running in 1243e3bcd915 [2020-12-14T06:33:12.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T06:33:15.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T06:33:17.608Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-14T06:33:17.609Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-14T06:33:18.193Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-14T06:33:18.193Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-14T06:33:18.193Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-14T06:33:18.458Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:33:18.458Z] OK: 167 MiB in 44 packages [2020-12-14T06:33:19.044Z] Removing intermediate container 1243e3bcd915 [2020-12-14T06:33:19.044Z] ---> be50a560bbb6 [2020-12-14T06:33:19.044Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-14T06:33:19.044Z] ---> Running in 40642b33b993 [2020-12-14T06:33:19.044Z] Removing intermediate container 40642b33b993 [2020-12-14T06:33:19.044Z] ---> 7f94d2b9b8d5 [2020-12-14T06:33:19.044Z] Step 6/7 : COPY go.mod . [2020-12-14T06:33:19.306Z] ---> 1a90500208bd [2020-12-14T06:33:19.306Z] Step 7/7 : RUN go mod download [2020-12-14T06:33:19.577Z] ---> Running in cd49ab378d77 [2020-12-14T06:33:31.901Z] Removing intermediate container cd49ab378d77 [2020-12-14T06:33:31.901Z] ---> 9f05791e2fa1 [2020-12-14T06:33:31.901Z] Successfully built 9f05791e2fa1 [2020-12-14T06:33:31.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:33:32.273Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:33:32.273Z] . [Pipeline] withDockerContainer [2020-12-14T06:33:32.430Z] prd-centos7-docker-4c-2g-15870 does not seem to be running inside a container [2020-12-14T06:33:32.486Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-14T06:33:33.239Z] $ docker top ca14be407ebb792a13d3a5aba474c090ca8f96704542378b353939dc7ae954fd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:33:33.865Z] + go version [2020-12-14T06:33:33.865Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T06:33:33.906Z] $ docker stop --time=1 ca14be407ebb792a13d3a5aba474c090ca8f96704542378b353939dc7ae954fd [2020-12-14T06:33:35.277Z] $ docker rm -f ca14be407ebb792a13d3a5aba474c090ca8f96704542378b353939dc7ae954fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:33:36.445Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:33:36.445Z] . [Pipeline] withDockerContainer [2020-12-14T06:33:36.588Z] prd-centos7-docker-4c-2g-15870 does not seem to be running inside a container [2020-12-14T06:33:36.652Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-14T06:33:37.759Z] $ docker top 1168efa97ece1b431f0ea4679962eda918633d569046d709085fedd21e37e82e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:33:38.289Z] + make test [2020-12-14T06:33:38.289Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-14T06:33:45.033Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-12-14T06:33:45.033Z] # github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt.test] [2020-12-14T06:33:45.033Z] internal/pkg/mqtt/client_test.go:147:9: cannot use &mc.connect (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:33:45.033Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:33:45.033Z] internal/pkg/mqtt/client_test.go:153:10: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:33:45.033Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:33:45.033Z] internal/pkg/mqtt/client_test.go:157:9: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:33:45.033Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:33:45.033Z] internal/pkg/mqtt/client_test.go:162:9: cannot use &mc.subscribe (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:33:45.033Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:33:45.632Z] FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [build failed] [2020-12-14T06:33:46.236Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.017s coverage: 77.1% of statements [2020-12-14T06:33:46.236Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] [2020-12-14T06:34:12.920Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.351s coverage: 84.1% of statements [2020-12-14T06:34:12.920Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.008s coverage: 85.7% of statements [2020-12-14T06:34:12.920Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.025s coverage: 100.0% of statements [2020-12-14T06:34:12.920Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.008s coverage: 100.0% of statements [2020-12-14T06:34:12.920Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.005s coverage: 90.9% of statements [2020-12-14T06:34:12.920Z] FAIL [2020-12-14T06:34:12.920Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-14T06:34:12.967Z] $ docker stop --time=1 1168efa97ece1b431f0ea4679962eda918633d569046d709085fedd21e37e82e [2020-12-14T06:34:14.571Z] $ docker rm -f 1168efa97ece1b431f0ea4679962eda918633d569046d709085fedd21e37e82e [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:34:17.036Z] Failed in branch amd64 [2020-12-14T06:35:49.023Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15875 in /w/workspace/exfoundry_go-mod-messaging_PR-78 [Pipeline] { [Pipeline] ws [2020-12-14T06:35:49.117Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:35:54.613Z] using credential edgex-jenkins-ssh [2020-12-14T06:35:54.687Z] Cloning the remote Git repository [2020-12-14T06:35:54.757Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:35:54.878Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2020-12-14T06:35:54.955Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:35:54.957Z] > git --version # timeout=10 [2020-12-14T06:35:54.971Z] > git --version # 'git version 2.17.1' [2020-12-14T06:35:54.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:55.041Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:35:56.344Z] Merging remotes/origin/master commit 0bdc968e74254c748af0ee463d7309986ee294ed into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b [2020-12-14T06:35:56.548Z] Merge succeeded, producing 56da4faa0f1a4541b54f0b3d197845e4283d404b [2020-12-14T06:35:56.548Z] Checking out Revision 56da4faa0f1a4541b54f0b3d197845e4283d404b (PR-78) [2020-12-14T06:35:55.806Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-14T06:35:55.819Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:35:55.843Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-14T06:35:55.877Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-14T06:35:55.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:55.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:35:56.370Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:35:56.395Z] > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [2020-12-14T06:35:56.475Z] > git remote # timeout=10 [2020-12-14T06:35:56.490Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:35:56.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:56.513Z] > git merge 0bdc968e74254c748af0ee463d7309986ee294ed # timeout=10 [2020-12-14T06:35:56.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:35:56.559Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:35:56.569Z] > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [2020-12-14T06:36:00.941Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2020-12-14T06:36:01.012Z] > git --version # timeout=10 [2020-12-14T06:36:01.020Z] > git --version # 'git version 2.17.1' [2020-12-14T06:36:01.030Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:36:02.910Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:36:03.348Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:36:03.726Z] + + sudo servicetrue docker [2020-12-14T06:36:03.726Z] restart [Pipeline] unstash [Pipeline] echo [2020-12-14T06:36:06.070Z] ========================================================= [2020-12-14T06:36:06.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T06:36:06.070Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:36:06.524Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-14T06:36:07.133Z] Sending build context to Docker daemon 476.7kB [2020-12-14T06:36:07.413Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-14T06:36:07.413Z] Step 2/7 : FROM ${BASE} [2020-12-14T06:36:07.691Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T06:36:07.691Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T06:36:07.691Z] a4357932f1b6: Pulling fs layer [2020-12-14T06:36:07.691Z] 18c013af1878: Pulling fs layer [2020-12-14T06:36:07.691Z] 00ac8860ef70: Pulling fs layer [2020-12-14T06:36:07.691Z] 63d7cb157983: Pulling fs layer [2020-12-14T06:36:07.691Z] b116817d02f9: Pulling fs layer [2020-12-14T06:36:07.691Z] 745a02a5169b: Pulling fs layer [2020-12-14T06:36:07.691Z] 63d7cb157983: Waiting [2020-12-14T06:36:07.691Z] b116817d02f9: Waiting [2020-12-14T06:36:07.691Z] 745a02a5169b: Waiting [2020-12-14T06:36:07.691Z] 00ac8860ef70: Waiting [2020-12-14T06:36:07.691Z] 18c013af1878: Verifying Checksum [2020-12-14T06:36:07.691Z] 18c013af1878: Download complete [2020-12-14T06:36:07.691Z] a4357932f1b6: Verifying Checksum [2020-12-14T06:36:07.691Z] a4357932f1b6: Download complete [2020-12-14T06:36:07.691Z] 63d7cb157983: Verifying Checksum [2020-12-14T06:36:07.691Z] 63d7cb157983: Download complete [2020-12-14T06:36:07.691Z] b116817d02f9: Verifying Checksum [2020-12-14T06:36:07.691Z] b116817d02f9: Download complete [2020-12-14T06:36:08.312Z] 5f621e34cdf4: Verifying Checksum [2020-12-14T06:36:08.312Z] 5f621e34cdf4: Download complete [2020-12-14T06:36:09.311Z] 5f621e34cdf4: Pull complete [2020-12-14T06:36:09.922Z] a4357932f1b6: Pull complete [2020-12-14T06:36:09.922Z] 745a02a5169b: Verifying Checksum [2020-12-14T06:36:09.922Z] 745a02a5169b: Download complete [2020-12-14T06:36:10.204Z] 18c013af1878: Pull complete [2020-12-14T06:36:11.696Z] 00ac8860ef70: Verifying Checksum [2020-12-14T06:36:11.696Z] 00ac8860ef70: Download complete [2020-12-14T06:36:21.904Z] 00ac8860ef70: Pull complete [2020-12-14T06:36:21.904Z] 63d7cb157983: Pull complete [2020-12-14T06:36:22.188Z] b116817d02f9: Pull complete [2020-12-14T06:36:26.523Z] 745a02a5169b: Pull complete [2020-12-14T06:36:26.523Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T06:36:26.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T06:36:26.523Z] ---> b7e6874047d6 [2020-12-14T06:36:26.523Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-14T06:36:29.927Z] ---> Running in 9301fbda000e [2020-12-14T06:36:29.927Z] Removing intermediate container 9301fbda000e [2020-12-14T06:36:29.927Z] ---> b53c2cbe82b2 [2020-12-14T06:36:29.928Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-14T06:36:29.928Z] ---> Running in 038e8f494117 [2020-12-14T06:36:31.363Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T06:36:32.343Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T06:36:33.321Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-14T06:36:33.593Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-14T06:36:34.190Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-14T06:36:34.461Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-14T06:36:34.740Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-14T06:36:34.740Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:36:34.740Z] OK: 144 MiB in 44 packages [2020-12-14T06:36:36.179Z] Removing intermediate container 038e8f494117 [2020-12-14T06:36:36.179Z] ---> 09e086737970 [2020-12-14T06:36:36.179Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-14T06:36:36.179Z] ---> Running in 1c326da79361 [2020-12-14T06:36:36.776Z] Removing intermediate container 1c326da79361 [2020-12-14T06:36:36.776Z] ---> b3cfb4b01f61 [2020-12-14T06:36:36.776Z] Step 6/7 : COPY go.mod . [2020-12-14T06:36:37.372Z] ---> 73e1a4a36926 [2020-12-14T06:36:37.372Z] Step 7/7 : RUN go mod download [2020-12-14T06:36:37.646Z] ---> Running in 36708218165e [2020-12-14T06:36:52.730Z] Removing intermediate container 36708218165e [2020-12-14T06:36:52.730Z] ---> a9a551a22066 [2020-12-14T06:36:52.730Z] Successfully built a9a551a22066 [2020-12-14T06:36:52.730Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:36:53.102Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:36:53.102Z] . [Pipeline] withDockerContainer [2020-12-14T06:36:53.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-15875 does not seem to be running inside a container [2020-12-14T06:36:53.488Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-14T06:36:55.006Z] $ docker top 2081ea68449f223d0f0681e203617c6a8a8ce9d1fb74c15af29b130f9188187a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:36:56.089Z] + go version [2020-12-14T06:36:56.089Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T06:36:56.133Z] $ docker stop --time=1 2081ea68449f223d0f0681e203617c6a8a8ce9d1fb74c15af29b130f9188187a [2020-12-14T06:36:58.104Z] $ docker rm -f 2081ea68449f223d0f0681e203617c6a8a8ce9d1fb74c15af29b130f9188187a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:36:59.457Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:36:59.457Z] . [Pipeline] withDockerContainer [2020-12-14T06:36:59.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-15875 does not seem to be running inside a container [2020-12-14T06:36:59.863Z] $ 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 ******** ci-base-image-arm64 cat [2020-12-14T06:37:01.409Z] $ docker top 7d91e629d88f3828caf337d763f0d75121de47cd4ba3f92677def824aa94671c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:37:02.504Z] + make test [2020-12-14T06:37:02.504Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-14T06:37:17.645Z] # github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt.test] [2020-12-14T06:37:17.645Z] internal/pkg/mqtt/client_test.go:147:9: cannot use &mc.connect (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:37:17.645Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:37:17.645Z] internal/pkg/mqtt/client_test.go:153:10: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:37:17.645Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:37:17.645Z] internal/pkg/mqtt/client_test.go:157:9: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:37:17.645Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:37:17.645Z] internal/pkg/mqtt/client_test.go:162:9: cannot use &mc.subscribe (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: [2020-12-14T06:37:17.645Z] *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) [2020-12-14T06:37:17.645Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-12-14T06:37:21.991Z] FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [build failed] [2020-12-14T06:37:32.234Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.022s coverage: 77.1% of statements [2020-12-14T06:37:32.234Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] [2020-12-14T06:37:54.406Z] In test caller, received messages: { 123 [116 101 115 116 32 98 121 116 101 115] } [2020-12-14T06:37:54.406Z] timed-out [2020-12-14T06:37:54.406Z] Received messages: { 123 [116 101 115 116 32 98 121 116 101 115] } [2020-12-14T06:37:54.406Z] Received messages: { 123 [116 101 115 116 32 98 121 116 101 115] } [2020-12-14T06:37:54.406Z] msg1: test bytes, msg2: test bytes [2020-12-14T06:37:54.406Z] App Functions 2 Message: { 456 [97 112 112 108 101 32 106 117 105 99 101] } [2020-12-14T06:37:54.406Z] time's up [2020-12-14T06:37:54.406Z] Done [2020-12-14T06:37:54.406Z] In test caller, received messages: { 123 [116 101 115 116 32 98 121 116 101 115] application/json} [2020-12-14T06:37:54.406Z] timed-out. [2020-12-14T06:37:54.406Z] In test caller, received messages: { 123 [116 101 115 116 32 98 121 116 101 115] application/json} [2020-12-14T06:37:54.406Z] In test caller, received messages1: { 101 [97 112 112 108 101 32 106 117 105 99 101] application/json} [2020-12-14T06:37:54.406Z] In test caller, received messages2: { 102 [111 114 97 110 103 101 32 106 117 105 99 101] application/cbor} [2020-12-14T06:37:54.406Z] In test caller, received messages3: { 103 [98 97 110 97 110 97 32 115 108 105 99 101 115] video} [2020-12-14T06:37:54.406Z] time's up [2020-12-14T06:37:54.406Z] Done [2020-12-14T06:37:54.406Z] In test caller, received messages2: yellow goldfish [2020-12-14T06:37:54.406Z] In test caller, received messages2: black guppy [2020-12-14T06:37:54.406Z] In test caller, received messages1: yellow goldfish [2020-12-14T06:37:54.406Z] time's up [2020-12-14T06:37:54.406Z] Done [2020-12-14T06:37:54.406Z] --- FAIL: TestDisconnect (1.00s) [2020-12-14T06:37:54.406Z] client_test.go:624: [2020-12-14T06:37:54.406Z] Error Trace: client_test.go:624 [2020-12-14T06:37:54.406Z] client_test.go:913 [2020-12-14T06:37:54.406Z] Error: Expected nil, but got: &errors.errorString{s:"error: interrupted system call [tcp://*:5577]"} [2020-12-14T06:37:54.406Z] Test: TestDisconnect [2020-12-14T06:37:54.406Z] Messages: Failed to publish to ZMQ message [2020-12-14T06:37:54.406Z] client_test.go:625: [2020-12-14T06:37:54.406Z] FAIL [2020-12-14T06:37:54.406Z] coverage: 84.1% of statements [2020-12-14T06:37:54.406Z] FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.074s [2020-12-14T06:37:54.406Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.021s coverage: 85.7% of statements [2020-12-14T06:37:54.406Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.065s coverage: 100.0% of statements [2020-12-14T06:37:54.406Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.055s coverage: 100.0% of statements [2020-12-14T06:37:54.406Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.020s coverage: 90.9% of statements [2020-12-14T06:37:54.406Z] FAIL [2020-12-14T06:37:54.406Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-12-14T06:37:54.470Z] $ docker stop --time=1 7d91e629d88f3828caf337d763f0d75121de47cd4ba3f92677def824aa94671c [2020-12-14T06:37:56.669Z] $ docker rm -f 7d91e629d88f3828caf337d763f0d75121de47cd4ba3f92677def824aa94671c [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:37:59.345Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] libraryResource [Pipeline] sh [2020-12-14T06:38:03.882Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:04.511Z] ---> package-listing.sh [2020-12-14T06:38:04.511Z] ++ facter osfamily [2020-12-14T06:38:04.511Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T06:38:04.511Z] + OS_FAMILY=redhat [2020-12-14T06:38:04.511Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-78 [2020-12-14T06:38:04.511Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T06:38:04.511Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T06:38:04.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T06:38:04.511Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T06:38:04.511Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-78 ']' [2020-12-14T06:38:04.511Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T06:38:04.511Z] + case "${OS_FAMILY}" in [2020-12-14T06:38:04.511Z] + rpm -qa [2020-12-14T06:38:04.511Z] + sort [2020-12-14T06:38:09.839Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T06:38:09.839Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T06:38:09.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T06:38:09.839Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-78 ']' [2020-12-14T06:38:09.839Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-78/archives/ [2020-12-14T06:38:09.839Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-78/archives/ [Pipeline] echo [2020-12-14T06:38:09.875Z] 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/exfoundry_go-mod-messaging_PR-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-14T06:38:10.189Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:38:10.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:38:10.543Z] [2020-12-14T06:38:10.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:38:10.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:38:10.987Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T06:38:10.987Z] df20fa9351a1: Pulling fs layer [2020-12-14T06:38:10.987Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T06:38:10.987Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T06:38:10.987Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T06:38:10.987Z] 93b61091891f: Pulling fs layer [2020-12-14T06:38:10.987Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T06:38:10.987Z] 5e14af77c1be: Pulling fs layer [2020-12-14T06:38:10.987Z] 01666e4c0597: Pulling fs layer [2020-12-14T06:38:10.987Z] aa168da1d23b: Pulling fs layer [2020-12-14T06:38:10.987Z] 93b61091891f: Waiting [2020-12-14T06:38:10.987Z] 93b9cdb0e59b: Waiting [2020-12-14T06:38:10.987Z] 5e14af77c1be: Waiting [2020-12-14T06:38:10.987Z] 01666e4c0597: Waiting [2020-12-14T06:38:10.987Z] 46f8f816bc3b: Waiting [2020-12-14T06:38:10.987Z] aa168da1d23b: Waiting [2020-12-14T06:38:10.987Z] 36b3adc4ff6f: Verifying Checksum [2020-12-14T06:38:10.987Z] 36b3adc4ff6f: Download complete [2020-12-14T06:38:10.987Z] 46f8f816bc3b: Verifying Checksum [2020-12-14T06:38:10.987Z] 46f8f816bc3b: Download complete [2020-12-14T06:38:10.987Z] df20fa9351a1: Verifying Checksum [2020-12-14T06:38:10.987Z] df20fa9351a1: Download complete [2020-12-14T06:38:10.987Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T06:38:10.987Z] 93b9cdb0e59b: Download complete [2020-12-14T06:38:11.255Z] 5e14af77c1be: Verifying Checksum [2020-12-14T06:38:11.255Z] 5e14af77c1be: Download complete [2020-12-14T06:38:11.255Z] 93b61091891f: Verifying Checksum [2020-12-14T06:38:11.255Z] 93b61091891f: Download complete [2020-12-14T06:38:11.255Z] 01666e4c0597: Verifying Checksum [2020-12-14T06:38:11.255Z] 01666e4c0597: Download complete [2020-12-14T06:38:11.524Z] df20fa9351a1: Pull complete [2020-12-14T06:38:11.524Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T06:38:11.524Z] 8ad3a11d3b57: Download complete [2020-12-14T06:38:11.790Z] 36b3adc4ff6f: Pull complete [2020-12-14T06:38:12.398Z] 8ad3a11d3b57: Pull complete [2020-12-14T06:38:12.682Z] 46f8f816bc3b: Pull complete [2020-12-14T06:38:13.320Z] 93b61091891f: Pull complete [2020-12-14T06:38:13.320Z] aa168da1d23b: Verifying Checksum [2020-12-14T06:38:13.320Z] aa168da1d23b: Download complete [2020-12-14T06:38:13.584Z] 93b9cdb0e59b: Pull complete [2020-12-14T06:38:13.584Z] 5e14af77c1be: Pull complete [2020-12-14T06:38:13.854Z] 01666e4c0597: Pull complete [2020-12-14T06:38:20.525Z] aa168da1d23b: Pull complete [2020-12-14T06:38:20.525Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T06:38:20.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:38:20.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T06:38:20.729Z] prd-centos7-docker-4c-2g-15853 does not seem to be running inside a container [2020-12-14T06:38:20.785Z] $ 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/exfoundry_go-mod-messaging_PR-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_go-mod-messaging_PR-78 -v /w/workspace/exfoundry_go-mod-messaging_PR-78:/w/workspace/exfoundry_go-mod-messaging_PR-78:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-78@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-14T06:38:23.655Z] $ docker top eea128d3a136af9fe2f3c4e64d3303db989c686ade9db226e20345125c1ec256 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:38:24.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T06:38:24.528Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T06:38:24.874Z] + ls /var/log/sa-host [2020-12-14T06:38:24.874Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T06:38:24.874Z] file_magic: OK [2020-12-14T06:38:24.874Z] HZ: Using current value: 100 [2020-12-14T06:38:24.874Z] file_header: OK [2020-12-14T06:38:24.874Z] 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 [2020-12-14T06:38:24.874Z] Statistics: [2020-12-14T06:38:24.874Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T06:38:24.874Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T06:38:24.874Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T06:38:24.874Z] file_magic: OK [2020-12-14T06:38:24.874Z] HZ: Using current value: 100 [2020-12-14T06:38:24.874Z] file_header: OK [2020-12-14T06:38:24.874Z] 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 [2020-12-14T06:38:24.874Z] Statistics: [2020-12-14T06:38:24.874Z] Hnuu...uuuununununu... [2020-12-14T06:38:24.874Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T06:38:25.162Z] provisioning config files... [2020-12-14T06:38:25.182Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/config7378567238247988246tmp [Pipeline] { [Pipeline] echo [2020-12-14T06:38:25.306Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:25.643Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T06:38:25.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T06:38:25.816Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:26.171Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T06:38:26.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:26.558Z] ---> sudo-logs.sh [2020-12-14T06:38:26.558Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T06:38:26.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:26.953Z] ---> job-cost.sh [2020-12-14T06:38:26.953Z] lf-activate-venv: SKIPPING [2020-12-14T06:38:26.953Z] INFO: No Stack... [2020-12-14T06:38:27.902Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T06:38:28.479Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T06:38:28.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:28.876Z] ---> logs-deploy.sh [2020-12-14T06:38:28.876Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-78/1 [2020-12-14T06:38:28.876Z] INFO: archiving workspace using pattern(s): [2020-12-14T06:38:30.799Z] Archives upload complete. [2020-12-14T06:38:30.799Z] INFO: archiving logs to Nexus