Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 56da4faa0f1a4541b54f0b3d197845e4283d404b+d1293de4d9578f3042d3a270d86781b2d60a4f59 (1164d02ca4dba36cd935b0c2ea1184ace16b0bce) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-17672 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 > 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 Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b Merge succeeded, producing 1a3e070f3c96e98e81c859403a0a42259d81b875 Checking out Revision 1a3e070f3c96e98e81c859403a0a42259d81b875 (PR-78) > 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 d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a3e070f3c96e98e81c859403a0a42259d81b875 # timeout=10 Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" > git rev-list --no-walk 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:28:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:28:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:28:54 ========================================================= 00:28:54 EdgeX Global Pipelines Version Info 00:28:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:28:56 ------------------- 00:28:56 stable info: 00:28:56 ------------------- 00:28:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:28:56 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:28:56 Message: update stable to v1.0.173 00:28:57 ------------------- 00:28:57 experimental info: 00:28:57 ------------------- 00:28:57 Commited By: **** collab-it+edgex@linuxfoundation.org 00:28:57 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:28:57 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-messaging [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:28:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:28:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo 00:29:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo 00:29:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo 00:29:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a3e070f3c96e98e81c859403a0a42259d81b875 [Pipeline] echo 00:29:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a3e070 [Pipeline] echo 00:29:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:01 + git log --format=format:%s -1 1a3e070f3c96e98e81c859403a0a42259d81b875 [Pipeline] echo 00:29:01 GIT_COMMIT: 1a3e070f3c96e98e81c859403a0a42259d81b875, Commit Message: Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD [Pipeline] echo 00:29:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:29:03 00:29:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:29:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:29:03 latest: Pulling from edgex-devops/git-semver 00:29:03 31603596830f: Pulling fs layer 00:29:03 2a8b12db71e7: Pulling fs layer 00:29:03 6ca5941a6612: Pulling fs layer 00:29:03 ecc8261a40a4: Pulling fs layer 00:29:03 ecc8261a40a4: Waiting 00:29:03 2a8b12db71e7: Verifying Checksum 00:29:03 2a8b12db71e7: Download complete 00:29:03 31603596830f: Verifying Checksum 00:29:03 31603596830f: Download complete 00:29:03 ecc8261a40a4: Verifying Checksum 00:29:03 ecc8261a40a4: Download complete 00:29:03 6ca5941a6612: Verifying Checksum 00:29:03 6ca5941a6612: Download complete 00:29:04 31603596830f: Pull complete 00:29:04 2a8b12db71e7: Pull complete 00:29:05 6ca5941a6612: Pull complete 00:29:05 ecc8261a40a4: Pull complete 00:29:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:29:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:29:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:29:05 prd-centos7-docker-4c-2g-17672 does not seem to be running inside a container 00:29:05 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:29:07 $ docker top 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:07 [ssh-agent] Looking for ssh-agent implementation... 00:29:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:07 $ docker exec 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 ssh-agent 00:29:08 SSH_AUTH_SOCK=/tmp/ssh-LiwZNRHFQsVd/agent.12 00:29:08 SSH_AGENT_PID=17 00:29:08 Running ssh-add (command line suppressed) 00:29:08 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_1648193511430807145.key (/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_1648193511430807145.key) 00:29:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:08 + git tag --points-at HEAD [Pipeline] } 00:29:08 $ docker exec --env ******** --env ******** 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 ssh-agent -k 00:29:08 unset SSH_AUTH_SOCK; 00:29:08 unset SSH_AGENT_PID; 00:29:08 echo Agent pid 17 killed; 00:29:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:08 [ssh-agent] Looking for ssh-agent implementation... 00:29:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:09 $ docker exec 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 ssh-agent 00:29:09 SSH_AUTH_SOCK=/tmp/ssh-DrSuimg0nt5U/agent.46 00:29:09 SSH_AGENT_PID=51 00:29:09 Running ssh-add (command line suppressed) 00:29:09 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_3306629272459343875.key (/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/private_key_3306629272459343875.key) 00:29:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:09 + git semver init 00:29:09 # -> Open(): unable to determine branch for HEAD 00:29:09 # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-78/.git 00:29:09 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-78 00:29:09 # $SEMVER_REMOTE_NAME = origin 00:29:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:29:09 # $SEMVER_USER_NAME = edgex-jenkins 00:29:09 # $SEMVER_BRANCH = PR-78 00:29:09 # $SEMVER_TEMP = /tmp/semver-201104571 00:29:09 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 00:29:10 # '/tmp/semver-201104571' -> '/w/workspace/exfoundry_go-mod-messaging_PR-78/.semver' 00:29:10 # -> Force: false 00:29:10 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-78/.semver [Pipeline] } 00:29:10 $ docker exec --env ******** --env ******** 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 ssh-agent -k 00:29:10 unset SSH_AUTH_SOCK; 00:29:10 unset SSH_AGENT_PID; 00:29:10 echo Agent pid 51 killed; 00:29:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:11 + git semver [Pipeline] } 00:29:11 $ docker stop --time=1 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 00:29:12 $ docker rm -f 7c2458b973face81db00a4d1e2127f4898cea0f172bdc08bfd9fff7dfae38b38 [Pipeline] // withDockerContainer [Pipeline] sh 00:29:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:29:13 Stashed 1 file(s) [Pipeline] echo 00:29:13 [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 00:29:28 Still waiting to schedule task 00:29:28 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17671’ is offline; ‘prd-centos7-docker-4c-2g-17674’ is offline; ‘prd-centos7-docker-4c-2g-17675’ is offline 00:29:28 Still waiting to schedule task 00:29:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-17670’ 00:31:50 Running on prd-centos7-docker-4c-2g-17685 in /w/workspace/exfoundry_go-mod-messaging_PR-78 [Pipeline] { [Pipeline] ws 00:31:50 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 00:31:53 using credential edgex-jenkins-ssh 00:31:53 Cloning the remote Git repository 00:31:53 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 00:31:53 > git init /w/workspace/go-mod-messaging/2 # timeout=10 00:31:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 00:31:53 > git --version # timeout=10 00:31:53 > git --version # 'git version 2.24.3' 00:31:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:31:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:31:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 00:31:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:31:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 00:31:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 00:31:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:31:54 > 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 00:31:56 Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b 00:31:56 Merge succeeded, producing c815da57c0fc4540329c6a1673dfec670117716e 00:31:56 Checking out Revision c815da57c0fc4540329c6a1673dfec670117716e (PR-78) 00:31:56 > git config core.sparsecheckout # timeout=10 00:31:56 > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 00:31:56 > git remote # timeout=10 00:31:56 > git config --get remote.origin.url # timeout=10 00:31:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:31:56 > git merge d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 00:31:56 > git rev-parse HEAD^{commit} # timeout=10 00:31:56 > git config core.sparsecheckout # timeout=10 00:31:56 > git checkout -f c815da57c0fc4540329c6a1673dfec670117716e # timeout=10 00:32:00 Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" 00:32:00 > git rev-list --no-walk 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:32:01 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:32:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:32:02 + sudo service docker restart 00:32:02 + true 00:32:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:32:03 ========================================================= 00:32:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:32:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:32:04 + 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 . 00:32:04 Sending build context to Docker daemon 498.2kB 00:32:04 Step 1/7 : ARG BASE=golang:1.15-alpine 00:32:04 Step 2/7 : FROM ${BASE} 00:32:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:32:04 188c0c94c7c5: Pulling fs layer 00:32:04 0ef7d3d256c8: Pulling fs layer 00:32:04 de9db76c5a1d: Pulling fs layer 00:32:04 bca2f99d35d6: Pulling fs layer 00:32:04 93359f2a8cfa: Pulling fs layer 00:32:04 7c6f9722023f: Pulling fs layer 00:32:04 a35cf1a2eb13: Pulling fs layer 00:32:04 bca2f99d35d6: Waiting 00:32:04 93359f2a8cfa: Waiting 00:32:04 7c6f9722023f: Waiting 00:32:04 a35cf1a2eb13: Waiting 00:32:04 de9db76c5a1d: Verifying Checksum 00:32:04 de9db76c5a1d: Download complete 00:32:04 0ef7d3d256c8: Verifying Checksum 00:32:04 0ef7d3d256c8: Download complete 00:32:04 93359f2a8cfa: Verifying Checksum 00:32:04 93359f2a8cfa: Download complete 00:32:04 7c6f9722023f: Verifying Checksum 00:32:04 7c6f9722023f: Download complete 00:32:04 188c0c94c7c5: Verifying Checksum 00:32:04 188c0c94c7c5: Download complete 00:32:05 188c0c94c7c5: Pull complete 00:32:07 a35cf1a2eb13: Verifying Checksum 00:32:07 a35cf1a2eb13: Download complete 00:32:07 0ef7d3d256c8: Pull complete 00:32:07 de9db76c5a1d: Pull complete 00:32:07 bca2f99d35d6: Verifying Checksum 00:32:07 bca2f99d35d6: Download complete 00:32:14 bca2f99d35d6: Pull complete 00:32:14 93359f2a8cfa: Pull complete 00:32:14 7c6f9722023f: Pull complete 00:32:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17684 in /w/workspace/exfoundry_go-mod-messaging_PR-78 [Pipeline] { [Pipeline] ws 00:32:19 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { 00:32:19 a35cf1a2eb13: Pull complete 00:32:19 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:32:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:32:19 ---> a62c8e92a672 00:32:19 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:32:19 ---> Running in 59edb4a16806 00:32:19 Removing intermediate container 59edb4a16806 00:32:19 ---> 0e4279874944 00:32:19 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 00:32:19 ---> Running in 180acce6126d [Pipeline] checkout 00:32:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:32:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:32:21 (1/5) Installing libsodium (1.0.18-r0) 00:32:21 (2/5) Installing libzmq (4.3.3-r0) 00:32:21 (3/5) Installing pkgconf (1.7.2-r0) 00:32:21 (4/5) Installing libsodium-dev (1.0.18-r0) 00:32:22 (5/5) Installing zeromq-dev (4.3.3-r0) 00:32:22 Executing busybox-1.31.1-r19.trigger 00:32:22 OK: 167 MiB in 44 packages 00:32:22 Removing intermediate container 180acce6126d 00:32:22 ---> a657fb83c2ee 00:32:22 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:32:22 ---> Running in ef8922b1a351 00:32:23 Removing intermediate container ef8922b1a351 00:32:23 ---> a81e46df9693 00:32:23 Step 6/7 : COPY go.mod . 00:32:23 ---> 137691a1cab6 00:32:23 Step 7/7 : RUN go mod download 00:32:23 ---> Running in 14fabb1e3c62 00:32:24 using credential edgex-jenkins-ssh 00:32:24 Cloning the remote Git repository 00:32:25 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 00:32:25 > git init /w/workspace/go-mod-messaging/2 # timeout=10 00:32:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 00:32:25 > git --version # timeout=10 00:32:25 > git --version # 'git version 2.17.1' 00:32:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:26 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 00:32:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:26 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 00:32:26 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 00:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:26 > 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 00:32:26 Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit 56da4faa0f1a4541b54f0b3d197845e4283d404b 00:32:26 Merge succeeded, producing e6269e3dfb2031dae69a44536f7fb7d21457ba17 00:32:26 Checking out Revision e6269e3dfb2031dae69a44536f7fb7d21457ba17 (PR-78) 00:32:26 > git config core.sparsecheckout # timeout=10 00:32:26 > git checkout -f 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 00:32:26 > git remote # timeout=10 00:32:26 > git config --get remote.origin.url # timeout=10 00:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:26 > git merge d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 00:32:26 > git rev-parse HEAD^{commit} # timeout=10 00:32:26 > git config core.sparsecheckout # timeout=10 00:32:26 > git checkout -f e6269e3dfb2031dae69a44536f7fb7d21457ba17 # timeout=10 00:32:31 Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" 00:32:31 > git rev-list --no-walk 56da4faa0f1a4541b54f0b3d197845e4283d404b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:32:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:32:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:32:33 + sudo service docker restart 00:32:33 + true [Pipeline] unstash [Pipeline] echo 00:32:36 ========================================================= 00:32:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:32:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:32:37 + 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 . 00:32:38 Sending build context to Docker daemon 497.2kB 00:32:38 Step 1/7 : ARG BASE=golang:1.15-alpine 00:32:38 Step 2/7 : FROM ${BASE} 00:32:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:32:38 5f621e34cdf4: Pulling fs layer 00:32:38 a4357932f1b6: Pulling fs layer 00:32:38 18c013af1878: Pulling fs layer 00:32:38 00ac8860ef70: Pulling fs layer 00:32:38 63d7cb157983: Pulling fs layer 00:32:38 b116817d02f9: Pulling fs layer 00:32:38 745a02a5169b: Pulling fs layer 00:32:38 00ac8860ef70: Waiting 00:32:38 63d7cb157983: Waiting 00:32:38 b116817d02f9: Waiting 00:32:38 745a02a5169b: Waiting 00:32:38 18c013af1878: Verifying Checksum 00:32:38 18c013af1878: Download complete 00:32:38 a4357932f1b6: Verifying Checksum 00:32:38 a4357932f1b6: Download complete 00:32:38 63d7cb157983: Verifying Checksum 00:32:38 63d7cb157983: Download complete 00:32:38 b116817d02f9: Verifying Checksum 00:32:38 b116817d02f9: Download complete 00:32:38 5f621e34cdf4: Download complete 00:32:39 5f621e34cdf4: Pull complete 00:32:40 a4357932f1b6: Pull complete 00:32:40 18c013af1878: Pull complete 00:32:41 Removing intermediate container 14fabb1e3c62 00:32:41 ---> 5173e34aa681 00:32:41 Successfully built 5173e34aa681 00:32:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:41 + docker inspect -f . ci-base-image-x86_64 00:32:41 . [Pipeline] withDockerContainer 00:32:42 prd-centos7-docker-4c-2g-17685 does not seem to be running inside a container 00:32:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:43 $ docker top a1ab902076d0c5795a4da87d4fe238912e117f8ec127b9fa80ca6b405d7fa792 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:43 + go version 00:32:43 go version go1.15.5 linux/amd64 [Pipeline] } 00:32:43 $ docker stop --time=1 a1ab902076d0c5795a4da87d4fe238912e117f8ec127b9fa80ca6b405d7fa792 00:32:45 $ docker rm -f a1ab902076d0c5795a4da87d4fe238912e117f8ec127b9fa80ca6b405d7fa792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:46 + docker inspect -f . ci-base-image-x86_64 00:32:46 . 00:32:46 745a02a5169b: Verifying Checksum 00:32:46 745a02a5169b: Download complete [Pipeline] withDockerContainer 00:32:46 prd-centos7-docker-4c-2g-17685 does not seem to be running inside a container 00:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:47 $ docker top de0de0cb1eb8e90d43282a610b793b7fea27da3957e20fd764755891b09973e9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:47 + make test 00:32:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:32:47 00ac8860ef70: Verifying Checksum 00:32:47 00ac8860ef70: Download complete 00:32:52 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 00:32:52 # github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt.test] 00:32:52 internal/pkg/mqtt/client_test.go:149:9: cannot use &mc.connect (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:32:52 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:32:52 internal/pkg/mqtt/client_test.go:155:10: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:32:52 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:32:52 internal/pkg/mqtt/client_test.go:159:9: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:32:52 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:32:52 internal/pkg/mqtt/client_test.go:164:9: cannot use &mc.subscribe (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:32:52 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:32:53 FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [build failed] 00:32:56 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.008s coverage: 77.1% of statements 00:32:56 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] 00:32:57 00ac8860ef70: Pull complete 00:32:57 63d7cb157983: Pull complete 00:32:57 b116817d02f9: Pull complete 00:33:01 745a02a5169b: Pull complete 00:33:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:33:01 ---> b7e6874047d6 00:33:01 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:33:04 ---> Running in 625ff1336cbe 00:33:04 Removing intermediate container 625ff1336cbe 00:33:04 ---> c167db4eb740 00:33:04 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 00:33:04 ---> Running in 486d98e56073 00:33:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:33:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:33:08 (1/5) Installing libsodium (1.0.18-r0) 00:33:08 (2/5) Installing libzmq (4.3.3-r0) 00:33:08 (3/5) Installing pkgconf (1.7.2-r0) 00:33:08 (4/5) Installing libsodium-dev (1.0.18-r0) 00:33:08 (5/5) Installing zeromq-dev (4.3.3-r0) 00:33:08 Executing busybox-1.31.1-r19.trigger 00:33:08 OK: 144 MiB in 44 packages 00:33:10 Removing intermediate container 486d98e56073 00:33:10 ---> 5fa4db37a28d 00:33:10 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:33:10 ---> Running in 25a603320557 00:33:10 Removing intermediate container 25a603320557 00:33:10 ---> 83bd8019f152 00:33:10 Step 6/7 : COPY go.mod . 00:33:11 ---> 2369a76df684 00:33:11 Step 7/7 : RUN go mod download 00:33:11 ---> Running in 14787fc5ff5c 00:33:18 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.349s coverage: 84.1% of statements 00:33:18 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.008s coverage: 85.7% of statements 00:33:18 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.038s coverage: 100.0% of statements 00:33:18 ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.046s coverage: 100.0% of statements 00:33:18 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.006s coverage: 90.9% of statements 00:33:18 FAIL 00:33:18 make: *** [Makefile:6: test] Error 2 [Pipeline] } 00:33:18 $ docker stop --time=1 de0de0cb1eb8e90d43282a610b793b7fea27da3957e20fd764755891b09973e9 00:33:20 $ docker rm -f de0de0cb1eb8e90d43282a610b793b7fea27da3957e20fd764755891b09973e9 [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] } 00:33:22 Failed in branch amd64 00:33:26 Removing intermediate container 14787fc5ff5c 00:33:26 ---> 5d87d4b4bf77 00:33:26 Successfully built 5d87d4b4bf77 00:33:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:33:27 + docker inspect -f . ci-base-image-arm64 00:33:27 . [Pipeline] withDockerContainer 00:33:27 prd-ubuntu18.04-docker-arm64-4c-16g-17684 does not seem to be running inside a container 00:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:33:29 $ docker top 8b6ba781411e0adc146859ee8a782ff5c189955ed420deb0d270002f5cc04f26 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:30 + go version 00:33:30 go version go1.15.5 linux/arm64 [Pipeline] } 00:33:30 $ docker stop --time=1 8b6ba781411e0adc146859ee8a782ff5c189955ed420deb0d270002f5cc04f26 00:33:32 $ docker rm -f 8b6ba781411e0adc146859ee8a782ff5c189955ed420deb0d270002f5cc04f26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:33:33 + docker inspect -f . ci-base-image-arm64 00:33:33 . [Pipeline] withDockerContainer 00:33:33 prd-ubuntu18.04-docker-arm64-4c-16g-17684 does not seem to be running inside a container 00:33:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:33:35 $ docker top d8f01bf28791d4b8cf97576721e0483fd96a4d6a735766e2c4bcf723c7596367 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:36 + make test 00:33:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:33:49 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 00:33:49 # github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt.test] 00:33:49 internal/pkg/mqtt/client_test.go:149:9: cannot use &mc.connect (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:33:49 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:33:49 internal/pkg/mqtt/client_test.go:155:10: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:33:49 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:33:49 internal/pkg/mqtt/client_test.go:159:9: cannot use &mc.publish (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:33:49 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:33:49 internal/pkg/mqtt/client_test.go:164:9: cannot use &mc.subscribe (type *MockToken) as type "github.com/eclipse/paho.mqtt.golang".Token in return argument: 00:33:49 *MockToken does not implement "github.com/eclipse/paho.mqtt.golang".Token (missing Done method) 00:33:53 FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt [build failed] 00:34:03 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.023s coverage: 77.1% of statements 00:34:03 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] 00:34:26 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.380s coverage: 84.1% of statements 00:34:26 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.017s coverage: 85.7% of statements 00:34:26 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.035s coverage: 100.0% of statements 00:34:26 ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.027s coverage: 100.0% of statements 00:34:26 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.022s coverage: 90.9% of statements 00:34:26 FAIL 00:34:26 make: *** [Makefile:6: test] Error 2 [Pipeline] } 00:34:26 $ docker stop --time=1 d8f01bf28791d4b8cf97576721e0483fd96a4d6a735766e2c4bcf723c7596367 00:34:28 $ docker rm -f d8f01bf28791d4b8cf97576721e0483fd96a4d6a735766e2c4bcf723c7596367 [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] } 00:34:30 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 00:34:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:34:33 ---> package-listing.sh 00:34:33 ++ facter osfamily 00:34:33 ++ tr '[:upper:]' '[:lower:]' 00:34:33 + OS_FAMILY=redhat 00:34:33 + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-78 00:34:33 + START_PACKAGES=/tmp/packages_start.txt 00:34:33 + END_PACKAGES=/tmp/packages_end.txt 00:34:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:34:33 + PACKAGES=/tmp/packages_start.txt 00:34:33 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-78 ']' 00:34:33 + PACKAGES=/tmp/packages_end.txt 00:34:33 + case "${OS_FAMILY}" in 00:34:33 + rpm -qa 00:34:33 + sort 00:34:38 + '[' -f /tmp/packages_start.txt ']' 00:34:38 + '[' -f /tmp/packages_end.txt ']' 00:34:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:34:38 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-78 ']' 00:34:38 + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-78/archives/ 00:34:38 + 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 00:34:39 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 00:34:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:34:39 00:34:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:34:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:34:40 alpine: Pulling from edgex-lftools-log-publisher 00:34:40 df20fa9351a1: Pulling fs layer 00:34:40 36b3adc4ff6f: Pulling fs layer 00:34:40 8ad3a11d3b57: Pulling fs layer 00:34:40 46f8f816bc3b: Pulling fs layer 00:34:40 93b61091891f: Pulling fs layer 00:34:40 93b9cdb0e59b: Pulling fs layer 00:34:40 5e14af77c1be: Pulling fs layer 00:34:40 01666e4c0597: Pulling fs layer 00:34:40 aa168da1d23b: Pulling fs layer 00:34:40 93b9cdb0e59b: Waiting 00:34:40 5e14af77c1be: Waiting 00:34:40 01666e4c0597: Waiting 00:34:40 aa168da1d23b: Waiting 00:34:40 46f8f816bc3b: Waiting 00:34:40 93b61091891f: Waiting 00:34:40 36b3adc4ff6f: Verifying Checksum 00:34:40 36b3adc4ff6f: Download complete 00:34:40 46f8f816bc3b: Verifying Checksum 00:34:40 46f8f816bc3b: Download complete 00:34:40 df20fa9351a1: Verifying Checksum 00:34:40 df20fa9351a1: Download complete 00:34:40 93b9cdb0e59b: Download complete 00:34:40 5e14af77c1be: Verifying Checksum 00:34:40 5e14af77c1be: Download complete 00:34:40 01666e4c0597: Verifying Checksum 00:34:40 01666e4c0597: Download complete 00:34:40 93b61091891f: Download complete 00:34:40 8ad3a11d3b57: Verifying Checksum 00:34:40 8ad3a11d3b57: Download complete 00:34:40 df20fa9351a1: Pull complete 00:34:40 36b3adc4ff6f: Pull complete 00:34:41 8ad3a11d3b57: Pull complete 00:34:42 aa168da1d23b: Verifying Checksum 00:34:42 aa168da1d23b: Download complete 00:34:42 46f8f816bc3b: Pull complete 00:34:44 93b61091891f: Pull complete 00:34:44 93b9cdb0e59b: Pull complete 00:34:44 5e14af77c1be: Pull complete 00:34:44 01666e4c0597: Pull complete 00:34:53 aa168da1d23b: Pull complete 00:34:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:34:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:34:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:34:53 prd-centos7-docker-4c-2g-17672 does not seem to be running inside a container 00:34:53 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:34:57 $ docker top e60eb13e70fa42a90cd3e1966d4f62da951c314e8ab895bd55f640224aadf89d -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:34:58 + mkdir -p /var/log/sa [Pipeline] sh 00:34:58 + ls /var/log/sa-host 00:34:58 + sadf -c /var/log/sa-host/sa23 00:34:58 file_magic: OK 00:34:58 HZ: Using current value: 100 00:34:58 file_header: OK 00:34:58 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 00:34:58 Statistics: 00:34:58 Hnuu...uuuununununu... 00:34:58 File successfully converted to sysstat format version 12.2.1 00:34:58 + sadf -c /var/log/sa-host/sa30 00:34:58 file_magic: OK 00:34:58 HZ: Using current value: 100 00:34:58 file_header: OK 00:34:58 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 00:34:58 Statistics: 00:34:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:34:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:59 provisioning config files... 00:34:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-78@tmp/config6578247105083429684tmp [Pipeline] { [Pipeline] echo 00:34:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:34:59 ---> create-netrc.sh [Pipeline] } 00:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:34:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:35:00 ---> python-tools-install.sh [Pipeline] echo 00:35:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:35:00 ---> sudo-logs.sh 00:35:00 Archiving 'sudo' log.. [Pipeline] echo 00:35:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:35:00 ---> job-cost.sh 00:35:00 lf-activate-venv: SKIPPING 00:35:00 INFO: No Stack... 00:35:01 INFO: Retrieving Pricing Info for: v1-standard-2 00:35:02 INFO: Archiving Costs [Pipeline] echo 00:35:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:35:02 ---> logs-deploy.sh 00:35:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-78/2 00:35:02 INFO: archiving workspace using pattern(s): 00:35:05 Archives upload complete. 00:35:05 INFO: archiving logs to Nexus