Pull request #75 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 AlexCuse for edgexfoundry/go-mod-messaging Loading trusted files from base branch master at 0bdc968e74254c748af0ee463d7309986ee294ed rather than 10a00b936b039077d5deba1725b8899de9de4dc2 Obtained Jenkinsfile from 0bdc968e74254c748af0ee463d7309986ee294ed 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-10305’ Running on prd-centos7-docker-4c-2g-10306 in /w/workspace/exfoundry_go-mod-messaging_PR-75 [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-75 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0bdc968e74254c748af0ee463d7309986ee294ed into PR head commit 10a00b936b039077d5deba1725b8899de9de4dc2 > 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 --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10a00b936b039077d5deba1725b8899de9de4dc2 # timeout=10 Merge succeeded, producing 10a00b936b039077d5deba1725b8899de9de4dc2 Checking out Revision 10a00b936b039077d5deba1725b8899de9de4dc2 (PR-75) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0bdc968e74254c748af0ee463d7309986ee294ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10a00b936b039077d5deba1725b8899de9de4dc2 # timeout=10 Commit message: "feat(factory): Support Custom Client Types" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:36:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 6928074cc9e1816b3d25cf5e2c135662ba817fed # timeout=10 [Pipeline] withCredentials 15:36:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:36:28 ========================================================= 15:36:28 EdgeX Global Pipelines Version Info 15:36:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:36:31 ------------------- 15:36:31 stable info: 15:36:31 ------------------- 15:36:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:36:31 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 15:36:31 Message: update stable to v1.0.152 15:36:32 ------------------- 15:36:32 experimental info: 15:36:32 ------------------- 15:36:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:36:32 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 15:36:32 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-messaging [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:36:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo 15:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo 15:36:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo 15:36:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10a00b936b039077d5deba1725b8899de9de4dc2 [Pipeline] echo 15:36:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10a00b9 [Pipeline] echo 15:36:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:37 + git log --format=format:%s -1 10a00b936b039077d5deba1725b8899de9de4dc2 [Pipeline] echo 15:36:37 GIT_COMMIT: 10a00b936b039077d5deba1725b8899de9de4dc2, Commit Message: feat(factory): Support Custom Client Types [Pipeline] echo 15:36:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:36:38 15:36:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:36:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:36:38 latest: Pulling from edgex-devops/git-semver 15:36:38 31603596830f: Pulling fs layer 15:36:38 2a8b12db71e7: Pulling fs layer 15:36:38 6ca5941a6612: Pulling fs layer 15:36:38 ecc8261a40a4: Pulling fs layer 15:36:38 ecc8261a40a4: Waiting 15:36:38 2a8b12db71e7: Verifying Checksum 15:36:38 2a8b12db71e7: Download complete 15:36:39 31603596830f: Verifying Checksum 15:36:39 31603596830f: Download complete 15:36:40 ecc8261a40a4: Verifying Checksum 15:36:40 ecc8261a40a4: Download complete 15:36:40 6ca5941a6612: Verifying Checksum 15:36:40 6ca5941a6612: Download complete 15:36:40 31603596830f: Pull complete 15:36:41 2a8b12db71e7: Pull complete 15:36:43 6ca5941a6612: Pull complete 15:36:43 ecc8261a40a4: Pull complete 15:36:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:36:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:36:44 prd-centos7-docker-4c-2g-10306 does not seem to be running inside a container 15:36:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-75 -v /w/workspace/exfoundry_go-mod-messaging_PR-75:/w/workspace/exfoundry_go-mod-messaging_PR-75:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-75@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:36:47 $ docker top 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:47 [ssh-agent] Looking for ssh-agent implementation... 15:36:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:48 $ docker exec 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a ssh-agent 15:36:48 SSH_AUTH_SOCK=/tmp/ssh-kO6EMlPvvb3F/agent.13 15:36:48 SSH_AGENT_PID=18 15:36:48 Running ssh-add (command line suppressed) 15:36:48 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/private_key_2044469261021280914.key (/w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/private_key_2044469261021280914.key) 15:36:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:49 + git tag --points-at HEAD [Pipeline] } 15:36:49 $ docker exec --env ******** --env ******** 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a ssh-agent -k 15:36:49 unset SSH_AUTH_SOCK; 15:36:49 unset SSH_AGENT_PID; 15:36:49 echo Agent pid 18 killed; 15:36:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:49 [ssh-agent] Looking for ssh-agent implementation... 15:36:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:50 $ docker exec 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a ssh-agent 15:36:50 SSH_AUTH_SOCK=/tmp/ssh-AKrl6lTIa3ME/agent.47 15:36:50 SSH_AGENT_PID=53 15:36:50 Running ssh-add (command line suppressed) 15:36:50 Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/private_key_6384248624819704921.key (/w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/private_key_6384248624819704921.key) 15:36:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:51 + git semver init 15:36:51 # -> Open(): unable to determine branch for HEAD 15:36:51 # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-75/.git 15:36:51 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-75 15:36:51 # $SEMVER_REMOTE_NAME = origin 15:36:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:36:51 # $SEMVER_USER_NAME = edgex-jenkins 15:36:51 # $SEMVER_BRANCH = PR-75 15:36:51 # $SEMVER_TEMP = /tmp/semver-217644655 15:36:51 # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP 15:36:51 # '/tmp/semver-217644655' -> '/w/workspace/exfoundry_go-mod-messaging_PR-75/.semver' 15:36:51 # -> Force: false 15:36:51 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-75/.semver [Pipeline] } 15:36:52 $ docker exec --env ******** --env ******** 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a ssh-agent -k 15:36:52 unset SSH_AUTH_SOCK; 15:36:52 unset SSH_AGENT_PID; 15:36:52 echo Agent pid 53 killed; 15:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:53 + git semver [Pipeline] } 15:36:53 $ docker stop --time=1 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a 15:36:55 $ docker rm -f 38c015680c09e8a207c78e2aac8589896d6344aba01006fe98cd9b949252935a [Pipeline] // withDockerContainer [Pipeline] sh 15:36:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:36:57 Stashed 1 file(s) [Pipeline] echo 15:36:57 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:36:58 ========================================================= 15:36:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:36:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:36:58 + 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 . 15:36:58 Sending build context to Docker daemon 681.5kB 15:36:59 Step 1/7 : ARG BASE=golang:1.15-alpine 15:36:59 Step 2/7 : FROM ${BASE} 15:36:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:36:59 df20fa9351a1: Pulling fs layer 15:36:59 ed8968b2872e: Pulling fs layer 15:36:59 a92cc7c5fd73: Pulling fs layer 15:36:59 e871e8e8d7a9: Pulling fs layer 15:36:59 e73272ec9a57: Pulling fs layer 15:36:59 1e910a182e73: Pulling fs layer 15:36:59 4e634b169226: Pulling fs layer 15:36:59 e871e8e8d7a9: Waiting 15:36:59 e73272ec9a57: Waiting 15:36:59 1e910a182e73: Waiting 15:36:59 4e634b169226: Waiting 15:36:59 a92cc7c5fd73: Download complete 15:36:59 ed8968b2872e: Verifying Checksum 15:36:59 ed8968b2872e: Download complete 15:36:59 e73272ec9a57: Verifying Checksum 15:36:59 e73272ec9a57: Download complete 15:36:59 1e910a182e73: Download complete 15:37:00 df20fa9351a1: Verifying Checksum 15:37:00 df20fa9351a1: Download complete 15:37:00 df20fa9351a1: Pull complete 15:37:01 ed8968b2872e: Pull complete 15:37:01 a92cc7c5fd73: Pull complete 15:37:06 4e634b169226: Download complete 15:37:09 e871e8e8d7a9: Verifying Checksum 15:37:09 e871e8e8d7a9: Download complete 15:37:13 Still waiting to schedule task 15:37:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:37:17 e871e8e8d7a9: Pull complete 15:37:17 e73272ec9a57: Pull complete 15:37:17 1e910a182e73: Pull complete 15:37:23 4e634b169226: Pull complete 15:37:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:37:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:37:23 ---> f7629b54cfaa 15:37:23 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:37:23 ---> Running in 8554de6373f5 15:37:24 Removing intermediate container 8554de6373f5 15:37:24 ---> ffeb44a1a20b 15:37:24 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 15:37:24 ---> Running in a15de232544d 15:37:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:37:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:37:27 (1/5) Installing libsodium (1.0.18-r0) 15:37:28 (2/5) Installing libzmq (4.3.3-r0) 15:37:28 (3/5) Installing pkgconf (1.7.2-r0) 15:37:28 (4/5) Installing libsodium-dev (1.0.18-r0) 15:37:28 (5/5) Installing zeromq-dev (4.3.3-r0) 15:37:28 Executing busybox-1.31.1-r16.trigger 15:37:28 OK: 167 MiB in 44 packages 15:37:29 Removing intermediate container a15de232544d 15:37:29 ---> 821fe26a15c0 15:37:29 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 15:37:29 ---> Running in 60c7171df5ec 15:37:29 Removing intermediate container 60c7171df5ec 15:37:29 ---> 2399e9ffd514 15:37:29 Step 6/7 : COPY go.mod . 15:37:29 ---> d08ce319a2d3 15:37:29 Step 7/7 : RUN go mod download 15:37:29 ---> Running in b57147790932 15:37:45 Removing intermediate container b57147790932 15:37:45 ---> 004eda046313 15:37:45 Successfully built 004eda046313 15:37:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:37:46 + docker inspect -f . ci-base-image-x86_64 15:37:46 . [Pipeline] withDockerContainer 15:37:46 prd-centos7-docker-4c-2g-10306 does not seem to be running inside a container 15:37:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-messaging_PR-75 -v /w/workspace/exfoundry_go-mod-messaging_PR-75:/w/workspace/exfoundry_go-mod-messaging_PR-75:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-75@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 15:37:47 $ docker top b3576755697a3470556963b9dcaf11614e4c3614e40335de52c8a5133bfa863a -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:47 + go version 15:37:48 go version go1.15.2 linux/amd64 [Pipeline] } 15:37:48 $ docker stop --time=1 b3576755697a3470556963b9dcaf11614e4c3614e40335de52c8a5133bfa863a 15:37:49 $ docker rm -f b3576755697a3470556963b9dcaf11614e4c3614e40335de52c8a5133bfa863a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:37:51 + docker inspect -f . ci-base-image-x86_64 15:37:51 . [Pipeline] withDockerContainer 15:37:51 prd-centos7-docker-4c-2g-10306 does not seem to be running inside a container 15:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-messaging_PR-75 -v /w/workspace/exfoundry_go-mod-messaging_PR-75:/w/workspace/exfoundry_go-mod-messaging_PR-75:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-75@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 15:37:52 $ docker top aa7049d562f7743c98b06871109c6b89a90607b46901995876efd95341588b58 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:54 + make test 15:37:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:38:04 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 15:38:06 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.029s coverage: 94.7% of statements 15:38:07 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.011s coverage: 77.1% of statements 15:38:07 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] 15:38:29 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.394s coverage: 85.0% of statements 15:38:29 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.034s coverage: 91.7% of statements 15:38:29 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.010s coverage: 100.0% of statements 15:38:29 ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.018s coverage: 100.0% of statements 15:38:29 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.030s coverage: 90.9% of statements 15:38:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:38:30 gofmt -l . 15:38:30 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:38:30 $ docker stop --time=1 aa7049d562f7743c98b06871109c6b89a90607b46901995876efd95341588b58 15:38:32 $ docker rm -f aa7049d562f7743c98b06871109c6b89a90607b46901995876efd95341588b58 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:38:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10307 in /w/workspace/exfoundry_go-mod-messaging_PR-75 [Pipeline] { [Pipeline] ws 15:38:58 Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout 15:39:03 using credential edgex-jenkins-ssh 15:39:03 Cloning the remote Git repository 15:39:03 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 15:39:03 > git init /w/workspace/go-mod-messaging/3 # timeout=10 15:39:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 15:39:03 > git --version # timeout=10 15:39:03 > git --version # 'git version 2.17.1' 15:39:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 15:39:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 15:39:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 15:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:39:05 Merging remotes/origin/master commit 0bdc968e74254c748af0ee463d7309986ee294ed into PR head commit 10a00b936b039077d5deba1725b8899de9de4dc2 15:39:05 Merge succeeded, producing 10a00b936b039077d5deba1725b8899de9de4dc2 15:39:05 Checking out Revision 10a00b936b039077d5deba1725b8899de9de4dc2 (PR-75) 15:39:05 > git config core.sparsecheckout # timeout=10 15:39:05 > git checkout -f 10a00b936b039077d5deba1725b8899de9de4dc2 # timeout=10 15:39:05 > git remote # timeout=10 15:39:05 > git config --get remote.origin.url # timeout=10 15:39:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:05 > git merge 0bdc968e74254c748af0ee463d7309986ee294ed # timeout=10 15:39:05 > git rev-parse HEAD^{commit} # timeout=10 15:39:05 > git config core.sparsecheckout # timeout=10 15:39:05 > git checkout -f 10a00b936b039077d5deba1725b8899de9de4dc2 # timeout=10 15:39:10 Commit message: "feat(factory): Support Custom Client Types" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:39:11 ========================================================= 15:39:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:39:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:39:12 + 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 . 15:39:13 Sending build context to Docker daemon 478.7kB 15:39:13 Step 1/7 : ARG BASE=golang:1.15-alpine 15:39:13 Step 2/7 : FROM ${BASE} 15:39:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:39:13 b538f80385f9: Pulling fs layer 15:39:13 74f711af9a0d: Pulling fs layer 15:39:13 99f96fe45779: Pulling fs layer 15:39:13 8529a6b9a6be: Pulling fs layer 15:39:13 45590311c82a: Pulling fs layer 15:39:13 69ca0ff8b7b3: Pulling fs layer 15:39:13 209524e5b208: Pulling fs layer 15:39:13 8529a6b9a6be: Waiting 15:39:13 45590311c82a: Waiting 15:39:13 69ca0ff8b7b3: Waiting 15:39:13 209524e5b208: Waiting 15:39:13 99f96fe45779: Verifying Checksum 15:39:13 99f96fe45779: Download complete 15:39:13 74f711af9a0d: Verifying Checksum 15:39:13 74f711af9a0d: Download complete 15:39:13 45590311c82a: Verifying Checksum 15:39:13 45590311c82a: Download complete 15:39:13 69ca0ff8b7b3: Verifying Checksum 15:39:13 69ca0ff8b7b3: Download complete 15:39:13 b538f80385f9: Verifying Checksum 15:39:13 b538f80385f9: Download complete 15:39:14 b538f80385f9: Pull complete 15:39:15 74f711af9a0d: Pull complete 15:39:15 99f96fe45779: Pull complete 15:39:16 209524e5b208: Verifying Checksum 15:39:16 209524e5b208: Download complete 15:39:17 8529a6b9a6be: Verifying Checksum 15:39:17 8529a6b9a6be: Download complete 15:39:27 8529a6b9a6be: Pull complete 15:39:27 45590311c82a: Pull complete 15:39:27 69ca0ff8b7b3: Pull complete 15:39:31 209524e5b208: Pull complete 15:39:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:39:31 ---> 5bddaf1c2fca 15:39:31 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:39:34 ---> Running in bd973576e3ca 15:39:34 Removing intermediate container bd973576e3ca 15:39:34 ---> ade50705a58e 15:39:34 Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash 15:39:34 ---> Running in 4abf1bb67015 15:39:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:39:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:39:37 (1/5) Installing libsodium (1.0.18-r0) 15:39:37 (2/5) Installing libzmq (4.3.3-r0) 15:39:38 (3/5) Installing pkgconf (1.7.2-r0) 15:39:38 (4/5) Installing libsodium-dev (1.0.18-r0) 15:39:38 (5/5) Installing zeromq-dev (4.3.3-r0) 15:39:38 Executing busybox-1.31.1-r16.trigger 15:39:38 OK: 144 MiB in 44 packages 15:39:39 Removing intermediate container 4abf1bb67015 15:39:39 ---> 26e089f8447a 15:39:39 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 15:39:39 ---> Running in 6d81baf9f832 15:39:40 Removing intermediate container 6d81baf9f832 15:39:40 ---> 5f8749efd0a3 15:39:40 Step 6/7 : COPY go.mod . 15:39:41 ---> 725ad8a3445b 15:39:41 Step 7/7 : RUN go mod download 15:39:41 ---> Running in 481b864f91c0 15:39:56 Removing intermediate container 481b864f91c0 15:39:56 ---> 154974d5d0e5 15:39:56 Successfully built 154974d5d0e5 15:39:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:39:56 + docker inspect -f . ci-base-image-arm64 15:39:56 . [Pipeline] withDockerContainer 15:39:57 prd-ubuntu18.04-docker-arm64-4c-16g-10307 does not seem to be running inside a container 15:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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 15:39:59 $ docker top 8b4da0627a93ff7363639eb193ab484fc1b5e0ea9a3925a5c8086ddb28c29ff6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:00 + go version 15:40:00 go version go1.15.2 linux/arm64 [Pipeline] } 15:40:00 $ docker stop --time=1 8b4da0627a93ff7363639eb193ab484fc1b5e0ea9a3925a5c8086ddb28c29ff6 15:40:02 $ docker rm -f 8b4da0627a93ff7363639eb193ab484fc1b5e0ea9a3925a5c8086ddb28c29ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:40:03 + docker inspect -f . ci-base-image-arm64 15:40:03 . [Pipeline] withDockerContainer 15:40:03 prd-ubuntu18.04-docker-arm64-4c-16g-10307 does not seem to be running inside a container 15:40:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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 15:40:05 $ docker top f2f705208da50c9ab519e460c875e55938a8d7500f0689dd3e8892e6a21307f6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:07 + make test 15:40:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:40:19 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] 15:40:25 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.051s coverage: 94.7% of statements 15:40:37 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.021s coverage: 77.1% of statements 15:40:37 ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] 15:40:59 ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.391s coverage: 84.1% of statements 15:40:59 ok github.com/edgexfoundry/go-mod-messaging/messaging 0.022s coverage: 91.7% of statements 15:40:59 ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.014s coverage: 100.0% of statements 15:40:59 ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.043s coverage: 100.0% of statements 15:40:59 ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.036s coverage: 90.9% of statements 15:40:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:41:04 gofmt -l . 15:41:04 [ "`gofmt -l .`" = "" ] [Pipeline] } 15:41:04 $ docker stop --time=1 f2f705208da50c9ab519e460c875e55938a8d7500f0689dd3e8892e6a21307f6 15:41:06 $ docker rm -f f2f705208da50c9ab519e460c875e55938a8d7500f0689dd3e8892e6a21307f6 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:07 Warning: overwriting stash ‘coverage-report’ 15:41:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:41:10 provisioning config files... 15:41:10 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/config5592342335760104021tmp [Pipeline] { [Pipeline] sh 15:41:11 + set +x 15:41:11 + curl -s https://codecov.io/bash 15:41:11 + bash -s -- 15:41:11 15:41:11 _____ _ 15:41:11 / ____| | | 15:41:11 | | ___ __| | ___ ___ _____ __ 15:41:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:41:11 | |___| (_) | (_| | __/ (_| (_) \ V / 15:41:11 \_____\___/ \__,_|\___|\___\___/ \_/ 15:41:11 Bash-20201009-048fee3 15:41:11 15:41:11 15:41:11 ==> Jenkins CI detected. 15:41:11 project root: . 15:41:11 --> token set from env 15:41:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:41:11 ==> Running gcov in . (disable via -X gcov) 15:41:11 ==> Python coveragepy not found 15:41:11 ==> Searching for coverage reports in: 15:41:11 + . 15:41:11 -> Found 1 reports 15:41:11 ==> Detecting git/mercurial file structure 15:41:11 ==> Reading reports 15:41:11 + ./coverage.out bytes=20929 15:41:11 ==> Appending adjustments 15:41:11 https://docs.codecov.io/docs/fixing-reports 15:41:12 + Found adjustments 15:41:12 ==> Gzipping contents 15:41:12 ==> Uploading reports 15:41:12 url: https://codecov.io 15:41:12 query: branch=PR-75&commit=10a00b936b039077d5deba1725b8899de9de4dc2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-75%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=75&job=&cmd_args= 15:41:12 -> Pinging Codecov 15:41:12 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-75&commit=10a00b936b039077d5deba1725b8899de9de4dc2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-75%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=75&job=&cmd_args= 15:41:12 -> Uploading to 15:41:12 15:41:12 % Total % Received % Xferd Average Speed Time Time Time Current 15:41:12 Dload Upload Total Spent Left Speed 15:41:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 15:41:12 X> Failed to upload 15:41:12 ==> Uploading to Codecov 15:41:12 % Total % Received % Xferd Average Speed Time Time Time Current 15:41:12 Dload Upload Total Spent Left Speed 15:41:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5234 100 113 100 5121 164 7462 --:--:-- --:--:-- --:--:-- 7465 15:41:13 View reports at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/10a00b936b039077d5deba1725b8899de9de4dc2 [Pipeline] } 15:41:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:41:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:41:16 ---> package-listing.sh 15:41:16 ++ facter osfamily 15:41:16 ++ tr '[:upper:]' '[:lower:]' 15:41:17 + OS_FAMILY=redhat 15:41:17 + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-75 15:41:17 + START_PACKAGES=/tmp/packages_start.txt 15:41:17 + END_PACKAGES=/tmp/packages_end.txt 15:41:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:41:17 + PACKAGES=/tmp/packages_start.txt 15:41:17 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-75 ']' 15:41:17 + PACKAGES=/tmp/packages_end.txt 15:41:17 + case "${OS_FAMILY}" in 15:41:17 + rpm -qa 15:41:17 + sort 15:41:22 + '[' -f /tmp/packages_start.txt ']' 15:41:22 + '[' -f /tmp/packages_end.txt ']' 15:41:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:41:22 + '[' /w/workspace/exfoundry_go-mod-messaging_PR-75 ']' 15:41:22 + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-75/archives/ 15:41:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-75/archives/ [Pipeline] echo 15:41:22 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-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:41:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:41:23 15:41:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:41:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:41:24 alpine: Pulling from edgex-lftools-log-publisher 15:41:24 df20fa9351a1: Already exists 15:41:24 36b3adc4ff6f: Pulling fs layer 15:41:24 8ad3a11d3b57: Pulling fs layer 15:41:24 46f8f816bc3b: Pulling fs layer 15:41:24 93b61091891f: Pulling fs layer 15:41:24 93b9cdb0e59b: Pulling fs layer 15:41:24 5e14af77c1be: Pulling fs layer 15:41:24 01666e4c0597: Pulling fs layer 15:41:24 aa168da1d23b: Pulling fs layer 15:41:24 93b9cdb0e59b: Waiting 15:41:24 5e14af77c1be: Waiting 15:41:24 01666e4c0597: Waiting 15:41:24 aa168da1d23b: Waiting 15:41:24 93b61091891f: Waiting 15:41:24 46f8f816bc3b: Verifying Checksum 15:41:24 46f8f816bc3b: Download complete 15:41:24 36b3adc4ff6f: Verifying Checksum 15:41:24 36b3adc4ff6f: Download complete 15:41:24 93b9cdb0e59b: Verifying Checksum 15:41:24 93b9cdb0e59b: Download complete 15:41:24 5e14af77c1be: Verifying Checksum 15:41:24 5e14af77c1be: Download complete 15:41:24 01666e4c0597: Verifying Checksum 15:41:24 01666e4c0597: Download complete 15:41:24 93b61091891f: Download complete 15:41:25 36b3adc4ff6f: Pull complete 15:41:25 8ad3a11d3b57: Verifying Checksum 15:41:25 8ad3a11d3b57: Download complete 15:41:28 8ad3a11d3b57: Pull complete 15:41:28 46f8f816bc3b: Pull complete 15:41:28 93b61091891f: Pull complete 15:41:29 93b9cdb0e59b: Pull complete 15:41:30 5e14af77c1be: Pull complete 15:41:31 01666e4c0597: Pull complete 15:41:31 aa168da1d23b: Verifying Checksum 15:41:31 aa168da1d23b: Download complete 15:41:44 aa168da1d23b: Pull complete 15:41:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:41:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:41:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:41:45 prd-centos7-docker-4c-2g-10306 does not seem to be running inside a container 15:41:45 $ 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-75/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-75 -v /w/workspace/exfoundry_go-mod-messaging_PR-75:/w/workspace/exfoundry_go-mod-messaging_PR-75:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-75@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-75@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:41:47 $ docker top 85607f035c059b776ac0c45a844d73002a927dec7178148dea583b247630e96a -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:48 + touch /tmp/pre-build-complete [Pipeline] sh 15:41:49 + mkdir -p /var/log/sa [Pipeline] sh 15:41:49 + ls /var/log/sa-host 15:41:49 + sadf -c /var/log/sa-host/sa02 15:41:49 file_magic: OK 15:41:49 HZ: Using current value: 100 15:41:49 file_header: OK 15:41:49 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 15:41:49 Statistics: 15:41:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:41:49 File successfully converted to sysstat format version 12.2.1 15:41:49 + sadf -c /var/log/sa-host/sa05 15:41:49 file_magic: OK 15:41:49 HZ: Using current value: 100 15:41:49 file_header: OK 15:41:49 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 15:41:49 Statistics: 15:41:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:41:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:49 provisioning config files... 15:41:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-75@tmp/config5022718288073263013tmp [Pipeline] { [Pipeline] echo 15:41:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:41:50 ---> create-netrc.sh [Pipeline] } 15:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:41:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:41:51 ---> python-tools-install.sh [Pipeline] echo 15:41:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:41:51 ---> sudo-logs.sh 15:41:51 Archiving 'sudo' log.. [Pipeline] echo 15:41:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:41:51 ---> job-cost.sh 15:41:51 lf-activate-venv: SKIPPING 15:41:51 INFO: No Stack... 15:41:52 INFO: Retrieving Pricing Info for: v1-standard-2 15:41:53 INFO: Archiving Costs [Pipeline] echo 15:41:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:41:54 ---> logs-deploy.sh 15:41:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-75/3 15:41:54 INFO: archiving workspace using pattern(s): 15:41:57 Archives upload complete. 15:41:57 INFO: archiving logs to Nexus