Pull request #51 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jinfahua for edgexfoundry/go-mod-messaging Loading trusted files from base branch master at cfba30792e745cabe7c9c124792dfed6ff0b4cfb rather than afe572d6ed846f4a92e5f7b7004a3dbf68014d21 Obtained Jenkinsfile from cfba30792e745cabe7c9c124792dfed6ff0b4cfb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, goVersion:1.13, 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.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3621’ Running on prd-centos7-docker-4c-2g-3624 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git > git init /w/workspace/exfoundry_go-mod-messaging_PR-51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit afe572d6ed846f4a92e5f7b7004a3dbf68014d21 Merge succeeded, producing afe572d6ed846f4a92e5f7b7004a3dbf68014d21 Checking out Revision afe572d6ed846f4a92e5f7b7004a3dbf68014d21 (PR-51) > git config core.sparsecheckout # timeout=10 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # 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 cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 Commit message: "fix subhost issue" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:57:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 8eedaa5b740144626a64011a19f7d710219ab82c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:57:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:57:26 13:57:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:57:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:57:26 latest: Pulling from edgex-devops/git-semver 13:57:26 9123ac7c32f7: Pulling fs layer 13:57:26 b8cc5d1170e3: Pulling fs layer 13:57:26 2924cbbf6a41: Pulling fs layer 13:57:26 93b08a4f1073: Pulling fs layer 13:57:26 93b08a4f1073: Waiting 13:57:26 b8cc5d1170e3: Verifying Checksum 13:57:26 b8cc5d1170e3: Download complete 13:57:26 9123ac7c32f7: Verifying Checksum 13:57:26 9123ac7c32f7: Download complete 13:57:26 2924cbbf6a41: Verifying Checksum 13:57:26 2924cbbf6a41: Download complete 13:57:26 93b08a4f1073: Verifying Checksum 13:57:26 93b08a4f1073: Download complete 13:57:27 9123ac7c32f7: Pull complete 13:57:27 b8cc5d1170e3: Pull complete 13:57:27 2924cbbf6a41: Pull complete 13:57:27 93b08a4f1073: Pull complete 13:57:27 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:57:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:57:28 prd-centos7-docker-4c-2g-3624 does not seem to be running inside a container 13:57:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-51 -v /w/workspace/exfoundry_go-mod-messaging_PR-51:/w/workspace/exfoundry_go-mod-messaging_PR-51:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-51@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:57:28 $ docker top 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:57:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:57:29 [ssh-agent] Looking for ssh-agent implementation... 13:57:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:57:29 $ docker exec 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe ssh-agent 13:57:29 SSH_AUTH_SOCK=/tmp/ssh-tb08RCHhh50G/agent.15 13:57:29 SSH_AGENT_PID=22 13:57:29 Running ssh-add (command line suppressed) 13:57:29 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_9040937372815886320.key (/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_9040937372815886320.key) 13:57:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:57:30 + git describe --exact-match --tags HEAD 13:57:30 fatal: No names found, cannot describe anything. [Pipeline] } 13:57:30 $ docker exec --env ******** --env ******** 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe ssh-agent -k 13:57:30 unset SSH_AUTH_SOCK; 13:57:30 unset SSH_AGENT_PID; 13:57:30 echo Agent pid 22 killed; 13:57:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:57:30 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:57:30 This usually means this commit has not been tagged. [Pipeline] sshagent 13:57:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:57:30 [ssh-agent] Looking for ssh-agent implementation... 13:57:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:57:30 $ docker exec 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe ssh-agent 13:57:31 SSH_AUTH_SOCK=/tmp/ssh-oknd1MbKoVYL/agent.58 13:57:31 SSH_AGENT_PID=65 13:57:31 Running ssh-add (command line suppressed) 13:57:31 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_5440499202685370760.key (/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_5440499202685370760.key) 13:57:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:57:31 + git semver init 13:57:31 # -> Open(): unable to determine branch for HEAD 13:57:31 # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-51/.git 13:57:31 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-51 13:57:31 # $SEMVER_REMOTE_NAME = origin 13:57:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:57:31 # $SEMVER_USER_NAME = edgex-jenkins 13:57:31 # $SEMVER_BRANCH = PR-51 13:57:31 # $SEMVER_TEMP = /tmp/semver-306257262 13:57:31 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 13:57:31 # '/tmp/semver-306257262' -> '/w/workspace/exfoundry_go-mod-messaging_PR-51/.semver' 13:57:31 # -> Force: false 13:57:31 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-51/.semver [Pipeline] } 13:57:31 $ docker exec --env ******** --env ******** 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe ssh-agent -k 13:57:32 unset SSH_AUTH_SOCK; 13:57:32 unset SSH_AGENT_PID; 13:57:32 echo Agent pid 65 killed; 13:57:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:57:32 + git semver [Pipeline] } 13:57:32 $ docker stop --time=1 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe 13:57:33 $ docker rm -f 79b80879d5772fcec598a14cbff8e5c86d91855809380cad4f7114eba0bbfdfe [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:57:34 Stashed 32 file(s) [Pipeline] echo 13:57:34 [edgeXSemver] initialized semver on version 0.0.0 [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 13:57:49 Still waiting to schedule task 13:57:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:57:49 Still waiting to schedule task 13:57:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:58:55 Running on prd-centos7-docker-4c-2g-3625 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [Pipeline] { [Pipeline] ws 13:58:55 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 13:59:01 using credential edgex-jenkins-ssh 13:59:02 Cloning the remote Git repository 13:59:02 Cloning with configured refspecs honoured and without tags 13:59:02 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 13:59:02 > git init /w/workspace/go-mod-messaging/2 # timeout=10 13:59:03 Fetching without tags 13:59:02 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 13:59:02 > git --version # timeout=10 13:59:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:02 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 13:59:02 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 13:59:02 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:02 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 13:59:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 13:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:03 Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit afe572d6ed846f4a92e5f7b7004a3dbf68014d21 13:59:03 Merge succeeded, producing afe572d6ed846f4a92e5f7b7004a3dbf68014d21 13:59:03 Checking out Revision afe572d6ed846f4a92e5f7b7004a3dbf68014d21 (PR-51) 13:59:03 > git config core.sparsecheckout # timeout=10 13:59:03 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 13:59:03 > git remote # timeout=10 13:59:03 > git config --get remote.origin.url # timeout=10 13:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:03 > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 13:59:03 > git rev-parse HEAD^{commit} # timeout=10 13:59:03 > git config core.sparsecheckout # timeout=10 13:59:03 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 13:59:08 Commit message: "fix subhost issue" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:59:09 ========================================================= 13:59:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:59:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:59:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 13:59:10 Sending build context to Docker daemon 431.6kB 13:59:10 Step 1/7 : ARG BASE=golang:1.13-alpine 13:59:10 Step 2/7 : FROM ${BASE} 13:59:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:59:10 e6b0cf9c0882: Pulling fs layer 13:59:10 2848faf0eed1: Pulling fs layer 13:59:10 0f37312ad70f: Pulling fs layer 13:59:10 5788d62ee057: Pulling fs layer 13:59:10 0e6b1d234666: Pulling fs layer 13:59:10 bf5d7aec512f: Pulling fs layer 13:59:10 34c802a77dc8: Pulling fs layer 13:59:10 9eb99e56ec68: Pulling fs layer 13:59:10 27c7a5d97fbd: Pulling fs layer 13:59:10 5c102a31e300: Pulling fs layer 13:59:10 dcfb455df0a1: Pulling fs layer 13:59:10 9eb99e56ec68: Waiting 13:59:10 0e6b1d234666: Waiting 13:59:10 bf5d7aec512f: Waiting 13:59:10 27c7a5d97fbd: Waiting 13:59:10 dcfb455df0a1: Waiting 13:59:10 34c802a77dc8: Waiting 13:59:10 0f37312ad70f: Verifying Checksum 13:59:10 0f37312ad70f: Download complete 13:59:10 2848faf0eed1: Verifying Checksum 13:59:10 2848faf0eed1: Download complete 13:59:10 0e6b1d234666: Verifying Checksum 13:59:10 0e6b1d234666: Download complete 13:59:10 bf5d7aec512f: Verifying Checksum 13:59:10 bf5d7aec512f: Download complete 13:59:10 e6b0cf9c0882: Verifying Checksum 13:59:10 e6b0cf9c0882: Download complete 13:59:11 e6b0cf9c0882: Pull complete 13:59:13 34c802a77dc8: Verifying Checksum 13:59:13 34c802a77dc8: Download complete 13:59:13 2848faf0eed1: Pull complete 13:59:13 27c7a5d97fbd: Verifying Checksum 13:59:13 27c7a5d97fbd: Download complete 13:59:13 0f37312ad70f: Pull complete 13:59:13 9eb99e56ec68: Verifying Checksum 13:59:13 9eb99e56ec68: Download complete 13:59:13 dcfb455df0a1: Verifying Checksum 13:59:13 dcfb455df0a1: Download complete 13:59:14 5788d62ee057: Verifying Checksum 13:59:14 5788d62ee057: Download complete 13:59:14 5c102a31e300: Verifying Checksum 13:59:14 5c102a31e300: Download complete 13:59:22 5788d62ee057: Pull complete 13:59:22 0e6b1d234666: Pull complete 13:59:22 bf5d7aec512f: Pull complete 13:59:28 34c802a77dc8: Pull complete 13:59:33 9eb99e56ec68: Pull complete 13:59:33 27c7a5d97fbd: Pull complete 13:59:34 5c102a31e300: Pull complete 13:59:35 dcfb455df0a1: Pull complete 13:59:35 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 13:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:59:35 ---> 7c70fe431013 13:59:35 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:59:35 ---> Running in 8d4906547e84 13:59:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3626 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [Pipeline] { [Pipeline] ws 13:59:35 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 13:59:35 Removing intermediate container 8d4906547e84 13:59:35 ---> a94d809dd22c 13:59:35 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 13:59:35 ---> Running in 9550ddc3132a 13:59:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:59:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:59:37 (1/5) Installing libsodium (1.0.18-r0) 13:59:37 (2/5) Installing libzmq (4.3.2-r0) 13:59:37 (3/5) Installing pkgconf (1.6.3-r0) 13:59:38 (4/5) Installing libsodium-dev (1.0.18-r0) 13:59:38 (5/5) Installing zeromq-dev (4.3.2-r0) 13:59:38 Executing busybox-1.31.1-r8.trigger 13:59:38 OK: 145 MiB in 44 packages 13:59:38 Removing intermediate container 9550ddc3132a 13:59:38 ---> 199860977df1 13:59:38 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 13:59:38 ---> Running in 2303bc7d9e38 13:59:39 Removing intermediate container 2303bc7d9e38 13:59:39 ---> 2e243e197934 13:59:39 Step 6/7 : COPY go.mod . 13:59:39 ---> 2fb4d08a8e93 13:59:39 Step 7/7 : RUN go mod download 13:59:39 ---> Running in 94aeea283370 13:59:42 go: finding github.com/davecgh/go-spew v1.1.0 13:59:42 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 13:59:42 go: finding github.com/pebbe/zmq4 v1.0.0 13:59:42 go: finding github.com/pmezard/go-difflib v1.0.0 13:59:42 go: finding github.com/stretchr/objx v0.1.0 13:59:42 using credential edgex-jenkins-ssh 13:59:42 go: finding github.com/stretchr/testify v1.3.0 13:59:42 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 13:59:42 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 13:59:42 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 13:59:42 Cloning the remote Git repository 13:59:42 Cloning with configured refspecs honoured and without tags 13:59:42 go: finding golang.org/x/text v0.3.0 13:59:42 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 13:59:42 > git init /w/workspace/go-mod-messaging/2 # timeout=10 13:59:42 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 13:59:42 > git --version # timeout=10 13:59:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:43 Fetching without tags 13:59:44 Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit afe572d6ed846f4a92e5f7b7004a3dbf68014d21 13:59:44 Merge succeeded, producing afe572d6ed846f4a92e5f7b7004a3dbf68014d21 13:59:44 Checking out Revision afe572d6ed846f4a92e5f7b7004a3dbf68014d21 (PR-51) 13:59:43 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 13:59:43 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 13:59:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:43 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 13:59:43 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 13:59:43 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:59:44 > git config core.sparsecheckout # timeout=10 13:59:44 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 13:59:44 > git remote # timeout=10 13:59:44 > git config --get remote.origin.url # timeout=10 13:59:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:59:44 > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 13:59:44 > git rev-parse HEAD^{commit} # timeout=10 13:59:44 > git config core.sparsecheckout # timeout=10 13:59:44 > git checkout -f afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 13:59:47 Removing intermediate container 94aeea283370 13:59:47 ---> 6025c136092a 13:59:47 Successfully built 6025c136092a 13:59:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:59:47 + docker inspect -f . ci-base-image-x86_64 13:59:47 . [Pipeline] withDockerContainer 13:59:48 prd-centos7-docker-4c-2g-3625 does not seem to be running inside a container 13:59:48 $ 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 ******** ci-base-image-x86_64 cat 13:59:49 Commit message: "fix subhost issue" 13:59:49 $ docker top 9a494865c24eb069c9a19de6a028fdf5a884a720633a39448a72b6d71e2fc3e7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 13:59:50 + go version 13:59:50 go version go1.13.5 linux/amd64 [Pipeline] sh [Pipeline] echo 13:59:50 ========================================================= 13:59:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:59:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:59:51 + make test 13:59:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:59:51 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 13:59:52 Sending build context to Docker daemon 431.6kB 13:59:52 Step 1/7 : ARG BASE=golang:1.13-alpine 13:59:52 Step 2/7 : FROM ${BASE} 13:59:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:59:53 cde5963f3b93: Pulling fs layer 13:59:53 2a23fa8c16f7: Pulling fs layer 13:59:53 777b28850792: Pulling fs layer 13:59:53 8a11ddd9e578: Pulling fs layer 13:59:53 4cf88f913ddb: Pulling fs layer 13:59:53 1df406cf5192: Pulling fs layer 13:59:53 cd6300453558: Pulling fs layer 13:59:53 b9c365052c96: Pulling fs layer 13:59:53 a2d8cc88f415: Pulling fs layer 13:59:53 ea1d1ca13537: Pulling fs layer 13:59:53 3750a50a1c5e: Pulling fs layer 13:59:53 4cf88f913ddb: Waiting 13:59:53 1df406cf5192: Waiting 13:59:53 cd6300453558: Waiting 13:59:53 b9c365052c96: Waiting 13:59:53 8a11ddd9e578: Waiting 13:59:53 ea1d1ca13537: Waiting 13:59:53 3750a50a1c5e: Waiting 13:59:53 a2d8cc88f415: Waiting 13:59:53 777b28850792: Verifying Checksum 13:59:53 777b28850792: Download complete 13:59:53 2a23fa8c16f7: Verifying Checksum 13:59:53 2a23fa8c16f7: Download complete 13:59:53 4cf88f913ddb: Verifying Checksum 13:59:53 4cf88f913ddb: Download complete 13:59:53 1df406cf5192: Verifying Checksum 13:59:53 1df406cf5192: Download complete 13:59:53 cde5963f3b93: Verifying Checksum 13:59:53 cde5963f3b93: Download complete 13:59:53 cde5963f3b93: Pull complete 13:59:54 2a23fa8c16f7: Pull complete 13:59:54 777b28850792: Pull complete 13:59:56 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 13:59:57 cd6300453558: Verifying Checksum 13:59:57 cd6300453558: Download complete 13:59:57 a2d8cc88f415: Verifying Checksum 13:59:57 a2d8cc88f415: Download complete 14:00:00 ea1d1ca13537: Verifying Checksum 14:00:00 ea1d1ca13537: Download complete 14:00:00 3750a50a1c5e: Verifying Checksum 14:00:00 3750a50a1c5e: Download complete 14:00:01 --- FAIL: TestInvalidClientOptions (0.00s) 14:00:01 require.go:248: 14:00:01 Error Trace: client_test.go:252 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestInvalidClientOptions 14:00:01 --- FAIL: TestInvalidTlsOptions (0.00s) 14:00:01 require.go:248: 14:00:01 Error Trace: client_test.go:264 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestInvalidTlsOptions 14:00:01 --- FAIL: TestClientCreatorTLS (0.00s) 14:00:01 --- FAIL: TestClientCreatorTLS/Create_TLS_Config_from_PEM_Block (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Create_TLS_Config_from_PEM_Block 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Create_TCPS_Config_from_PEM_Block (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Create_TCPS_Config_from_PEM_Block 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Create_SSL_Config_from_PEM_Block (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Create_SSL_Config_from_PEM_Block 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Fail_Create_TLS_Config_from_PEM_File (0.00s) 14:00:01 require.go:248: 14:00:01 Error Trace: client_test.go:421 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestClientCreatorTLS/Fail_Create_TLS_Config_from_PEM_File 14:00:01 --- FAIL: TestClientCreatorTLS/Load_TLS_Config_from_Cert_File (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Load_TLS_Config_from_Cert_File 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Load_TCPS_Config_from_Cert_File (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Load_TCPS_Config_from_Cert_File 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Load_SSL_Config_from_Cert_File (0.00s) 14:00:01 client_test.go:430: 14:00:01 Error Trace: client_test.go:430 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTLS/Load_SSL_Config_from_Cert_File 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTLS/Fail_Load_TLS_Config_from_Cert_File (0.00s) 14:00:01 require.go:248: 14:00:01 Error Trace: client_test.go:421 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestClientCreatorTLS/Fail_Load_TLS_Config_from_Cert_File 14:00:01 --- FAIL: TestClientCreatorTlsLoader (0.00s) 14:00:01 client_test.go:448: 14:00:01 Error Trace: client_test.go:448 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTlsLoader 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTlsLoadError (0.00s) 14:00:01 client_test.go:458: 14:00:01 Error Trace: client_test.go:458 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestClientCreatorTlsLoadError 14:00:01 Messages: Expected error for invalid CertFile and KeyFile file locations 14:00:01 --- FAIL: TestClientCreatorTlsCreator (0.00s) 14:00:01 client_test.go:471: 14:00:01 Error Trace: client_test.go:471 14:00:01 Error: Expected value not to be nil. 14:00:01 Test: TestClientCreatorTlsCreator 14:00:01 Messages: Failed to configure TLS for underlying client 14:00:01 --- FAIL: TestClientCreatorTlsCreatorError (0.00s) 14:00:01 client_test.go:481: 14:00:01 Error Trace: client_test.go:481 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestClientCreatorTlsCreatorError 14:00:01 Messages: Expected error for invalid CertFile and KeyFile file locations 14:00:01 --- FAIL: TestInvalidClientOptionsWithCreator (0.00s) 14:00:01 require.go:248: 14:00:01 Error Trace: client_test.go:492 14:00:01 Error: An error is expected but got nil. 14:00:01 Test: TestInvalidClientOptionsWithCreator 14:00:01 FAIL 14:00:01 coverage: 81.5% of statements 14:00:01 FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.106s 14:00:02 b9c365052c96: Verifying Checksum 14:00:02 b9c365052c96: Download complete 14:00:04 8a11ddd9e578: Verifying Checksum 14:00:04 8a11ddd9e578: Download complete 14:00:16 8a11ddd9e578: Pull complete 14:00:16 4cf88f913ddb: Pull complete 14:00:16 1df406cf5192: Pull complete 14:00:21 cd6300453558: Pull complete 14:00:27 b9c365052c96: Pull complete 14:00:27 a2d8cc88f415: Pull complete 14:00:27 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.419s coverage: 84.1% of statements 14:00:27 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.023s coverage: 100.0% of statements 14:00:27 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.032s coverage: 100.0% of statements 14:00:27 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.023s coverage: 90.9% of statements 14:00:27 FAIL 14:00:27 make: *** [Makefile:6: test] Error 1 [Pipeline] } 14:00:28 $ docker stop --time=1 9a494865c24eb069c9a19de6a028fdf5a884a720633a39448a72b6d71e2fc3e7 14:00:28 ea1d1ca13537: Pull complete 14:00:29 3750a50a1c5e: Pull complete 14:00:29 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:00:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:00:29 ---> 78745c68409d 14:00:29 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:00:29 $ docker rm -f 9a494865c24eb069c9a19de6a028fdf5a884a720633a39448a72b6d71e2fc3e7 [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] } 14:00:31 Failed in branch amd64 14:00:33 ---> Running in e92f3de2cdbe 14:00:33 Removing intermediate container e92f3de2cdbe 14:00:33 ---> 243fd6109b7a 14:00:33 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 14:00:33 ---> Running in fd2a5803c359 14:00:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:00:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:00:36 (1/5) Installing libsodium (1.0.18-r0) 14:00:36 (2/5) Installing libzmq (4.3.2-r0) 14:00:36 (3/5) Installing pkgconf (1.6.3-r0) 14:00:36 (4/5) Installing libsodium-dev (1.0.18-r0) 14:00:36 (5/5) Installing zeromq-dev (4.3.2-r0) 14:00:36 Executing busybox-1.31.1-r8.trigger 14:00:36 OK: 127 MiB in 44 packages 14:00:38 Removing intermediate container fd2a5803c359 14:00:38 ---> d26a25bc4812 14:00:38 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:00:38 ---> Running in 1dbeb248d88e 14:00:38 Removing intermediate container 1dbeb248d88e 14:00:38 ---> 0c0ff9649509 14:00:38 Step 6/7 : COPY go.mod . 14:00:39 ---> 16370fc37cd2 14:00:39 Step 7/7 : RUN go mod download 14:00:39 ---> Running in e66197335727 14:00:46 go: finding github.com/davecgh/go-spew v1.1.0 14:00:46 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 14:00:46 go: finding github.com/pebbe/zmq4 v1.0.0 14:00:46 go: finding github.com/pmezard/go-difflib v1.0.0 14:00:46 go: finding github.com/stretchr/objx v0.1.0 14:00:46 go: finding github.com/stretchr/testify v1.3.0 14:00:46 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 14:00:46 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 14:00:46 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 14:00:46 go: finding golang.org/x/text v0.3.0 14:00:54 Removing intermediate container e66197335727 14:00:54 ---> 2f41503c16ff 14:00:54 Successfully built 2f41503c16ff 14:00:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:00:55 + docker inspect -f . ci-base-image-arm64 14:00:55 . [Pipeline] withDockerContainer 14:00:55 prd-ubuntu18.04-docker-arm64-4c-16g-3626 does not seem to be running inside a container 14:00:56 $ 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 ******** ci-base-image-arm64 cat 14:00:57 $ docker top 2dba3a6e9f3c6bf4ad612a3963ec94c9cb0c7b86ddd81ed3a6d78938ad5664af -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:58 + go version 14:00:58 go version go1.13.5 linux/arm64 [Pipeline] sh 14:00:59 + make test 14:00:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:01:06 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 14:01:16 --- FAIL: TestInvalidClientOptions (0.00s) 14:01:16 require.go:248: 14:01:16 Error Trace: client_test.go:252 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestInvalidClientOptions 14:01:16 --- FAIL: TestInvalidTlsOptions (0.00s) 14:01:16 require.go:248: 14:01:16 Error Trace: client_test.go:264 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestInvalidTlsOptions 14:01:16 --- FAIL: TestClientCreatorTLS (0.02s) 14:01:16 --- FAIL: TestClientCreatorTLS/Create_TLS_Config_from_PEM_Block (0.01s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Create_TLS_Config_from_PEM_Block 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Create_TCPS_Config_from_PEM_Block (0.00s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Create_TCPS_Config_from_PEM_Block 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Create_SSL_Config_from_PEM_Block (0.00s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Create_SSL_Config_from_PEM_Block 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Fail_Create_TLS_Config_from_PEM_File (0.00s) 14:01:16 require.go:248: 14:01:16 Error Trace: client_test.go:421 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestClientCreatorTLS/Fail_Create_TLS_Config_from_PEM_File 14:01:16 --- FAIL: TestClientCreatorTLS/Load_TLS_Config_from_Cert_File (0.00s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Load_TLS_Config_from_Cert_File 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Load_TCPS_Config_from_Cert_File (0.00s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Load_TCPS_Config_from_Cert_File 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Load_SSL_Config_from_Cert_File (0.00s) 14:01:16 client_test.go:430: 14:01:16 Error Trace: client_test.go:430 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTLS/Load_SSL_Config_from_Cert_File 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTLS/Fail_Load_TLS_Config_from_Cert_File (0.00s) 14:01:16 require.go:248: 14:01:16 Error Trace: client_test.go:421 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestClientCreatorTLS/Fail_Load_TLS_Config_from_Cert_File 14:01:16 --- FAIL: TestClientCreatorTlsLoader (0.00s) 14:01:16 client_test.go:448: 14:01:16 Error Trace: client_test.go:448 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTlsLoader 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTlsLoadError (0.00s) 14:01:16 client_test.go:458: 14:01:16 Error Trace: client_test.go:458 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestClientCreatorTlsLoadError 14:01:16 Messages: Expected error for invalid CertFile and KeyFile file locations 14:01:16 --- FAIL: TestClientCreatorTlsCreator (0.00s) 14:01:16 client_test.go:471: 14:01:16 Error Trace: client_test.go:471 14:01:16 Error: Expected value not to be nil. 14:01:16 Test: TestClientCreatorTlsCreator 14:01:16 Messages: Failed to configure TLS for underlying client 14:01:16 --- FAIL: TestClientCreatorTlsCreatorError (0.00s) 14:01:16 client_test.go:481: 14:01:16 Error Trace: client_test.go:481 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestClientCreatorTlsCreatorError 14:01:16 Messages: Expected error for invalid CertFile and KeyFile file locations 14:01:16 --- FAIL: TestInvalidClientOptionsWithCreator (0.00s) 14:01:16 require.go:248: 14:01:16 Error Trace: client_test.go:492 14:01:16 Error: An error is expected but got nil. 14:01:16 Test: TestInvalidClientOptionsWithCreator 14:01:16 FAIL 14:01:16 coverage: 81.5% of statements 14:01:16 FAIL github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.072s 14:01:48 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.380s coverage: 84.1% of statements 14:01:48 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.024s coverage: 100.0% of statements 14:01:48 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.030s coverage: 100.0% of statements 14:01:48 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.015s coverage: 90.9% of statements 14:01:48 FAIL 14:01:48 make: *** [Makefile:6: test] Error 1 [Pipeline] } 14:01:48 $ docker stop --time=1 2dba3a6e9f3c6bf4ad612a3963ec94c9cb0c7b86ddd81ed3a6d78938ad5664af 14:01:50 $ docker rm -f 2dba3a6e9f3c6bf4ad612a3963ec94c9cb0c7b86ddd81ed3a6d78938ad5664af [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] } 14:01:51 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 Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:01:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:01:53 ---> package-listing.sh 14:01:53 ++ facter osfamily 14:01:53 ++ tr '[:upper:]' '[:lower:]' 14:01:53 + OS_FAMILY=redhat 14:01:53 + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-51 14:01:53 + START_PACKAGES=/tmp/packages_start.txt 14:01:53 + END_PACKAGES=/tmp/packages_end.txt 14:01:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:01:53 + PACKAGES=/tmp/packages_start.txt 14:01:53 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-51 ']' 14:01:53 + PACKAGES=/tmp/packages_end.txt 14:01:53 + case "${OS_FAMILY}" in 14:01:53 + rpm -qa 14:01:53 + sort 14:01:57 + '[' -f /tmp/packages_start.txt ']' 14:01:57 + '[' -f /tmp/packages_end.txt ']' 14:01:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:01:57 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-51 ']' 14:01:57 + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-51/archives/ 14:01:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-51/archives/ [Pipeline] isUnix [Pipeline] sh 14:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:01:58 14:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:01:58 alpine: Pulling from edgex-lftools-log-publisher 14:01:58 c9b1b535fdd9: Pulling fs layer 14:01:58 2cc5ad85d9ab: Pulling fs layer 14:01:58 756a868c4378: Pulling fs layer 14:01:58 444b2fc9a129: Pulling fs layer 14:01:58 ea15f1150254: Pulling fs layer 14:01:58 41b27a9f41bf: Pulling fs layer 14:01:58 28c525ee5125: Pulling fs layer 14:01:58 094b1ea09ed8: Pulling fs layer 14:01:58 138eaada9080: Pulling fs layer 14:01:58 0622d0fa9048: Pulling fs layer 14:01:58 41b27a9f41bf: Waiting 14:01:58 28c525ee5125: Waiting 14:01:58 094b1ea09ed8: Waiting 14:01:58 138eaada9080: Waiting 14:01:58 0622d0fa9048: Waiting 14:01:58 ea15f1150254: Waiting 14:01:58 444b2fc9a129: Waiting 14:01:58 2cc5ad85d9ab: Verifying Checksum 14:01:58 2cc5ad85d9ab: Download complete 14:01:58 444b2fc9a129: Verifying Checksum 14:01:58 444b2fc9a129: Download complete 14:01:58 c9b1b535fdd9: Verifying Checksum 14:01:58 c9b1b535fdd9: Download complete 14:01:58 ea15f1150254: Verifying Checksum 14:01:58 ea15f1150254: Download complete 14:01:58 28c525ee5125: Verifying Checksum 14:01:58 28c525ee5125: Download complete 14:01:58 756a868c4378: Verifying Checksum 14:01:58 756a868c4378: Download complete 14:01:58 c9b1b535fdd9: Pull complete 14:01:59 138eaada9080: Verifying Checksum 14:01:59 138eaada9080: Download complete 14:01:59 094b1ea09ed8: Verifying Checksum 14:01:59 094b1ea09ed8: Download complete 14:01:59 0622d0fa9048: Verifying Checksum 14:01:59 0622d0fa9048: Download complete 14:01:59 2cc5ad85d9ab: Pull complete 14:01:59 41b27a9f41bf: Verifying Checksum 14:01:59 41b27a9f41bf: Download complete 14:02:02 756a868c4378: Pull complete 14:02:02 444b2fc9a129: Pull complete 14:02:02 ea15f1150254: Pull complete 14:02:06 41b27a9f41bf: Pull complete 14:02:06 28c525ee5125: Pull complete 14:02:08 094b1ea09ed8: Pull complete 14:02:08 138eaada9080: Pull complete 14:02:08 0622d0fa9048: Pull complete 14:02:08 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:02:09 prd-centos7-docker-4c-2g-3624 does not seem to be running inside a container 14:02:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/exfoundry_go-mod-messaging_PR-51 -v /w/workspace/exfoundry_go-mod-messaging_PR-51:/w/workspace/exfoundry_go-mod-messaging_PR-51:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:02:09 $ docker top 710e7c92abeb27c8ef8b91c504bf3e9176ceb70b4f4f07b869da5106bdec868f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:02:10 provisioning config files... 14:02:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/config3741131284266949255tmp [Pipeline] { [Pipeline] echo 14:02:10 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:02:10 ---> create-netrc.sh [Pipeline] echo 14:02:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:02:10 ---> logs-deploy.sh 14:02:10 + ARCHIVE_ARTIFACTS= 14:02:10 + LOGS_SERVER=https://logs.edgexfoundry.org 14:02:10 + '[' https://logs.edgexfoundry.org == None ']' 14:02:10 + NEXUS_URL=https://nexus.edgexfoundry.org 14:02:10 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/2 14:02:10 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-51/2/ 14:02:10 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/2 /w/workspace/exfoundry_go-mod-messaging_PR-51 14:02:12 Archives upload complete. 14:02:12 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-51/2/