Pull request #107 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b114c648e294ad24ce218a845365f4efa3524ebd+30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 (0cb5d3f5ea0531e9137d77b61b57c620aaa481f7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-107/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-107/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_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: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3953’ is offline; ‘prd-centos7-docker-4c-2g-3956’ is offline; ‘prd-centos7-docker-4c-2g-3962’ is offline; ‘prd-centos7-docker-4c-2g-3965’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3974 in /w/workspace/xfoundry_go-mod-messaging_PR-107 [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/xfoundry_go-mod-messaging_PR-107 # timeout=10 Merging remotes/origin/master commit 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 into PR head commit b114c648e294ad24ce218a845365f4efa3524ebd Merge succeeded, producing b114c648e294ad24ce218a845365f4efa3524ebd Checking out Revision b114c648e294ad24ce218a845365f4efa3524ebd (PR-107) Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # 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 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T05:57:34.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T05:57:34.696Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T05:57:35.055Z] ========================================================= [2021-05-10T05:57:35.055Z] EdgeX Global Pipelines Version Info [2021-05-10T05:57:35.055Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:57:36.985Z] ------------------- [2021-05-10T05:57:36.985Z] stable info: [2021-05-10T05:57:36.985Z] ------------------- [2021-05-10T05:57:36.985Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T05:57:36.985Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:57:36.985Z] Message: update stable to v1.0.191 [2021-05-10T05:57:37.951Z] ------------------- [2021-05-10T05:57:37.951Z] experimental info: [2021-05-10T05:57:37.951Z] ------------------- [2021-05-10T05:57:37.951Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T05:57:37.951Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:57:37.951Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T05:57:38.191Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2021-05-10T05:57:38.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2021-05-10T05:57:38.313Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T05:57:38.381Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T05:57:38.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T05:57:38.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T05:57:38.559Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T05:57:38.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T05:57:38.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T05:57:38.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T05:57:38.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T05:57:38.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-messaging [Pipeline] echo [2021-05-10T05:57:38.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T05:57:39.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T05:57:39.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:39.189Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:39.288Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:39.364Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:39.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T05:57:39.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T05:57:39.576Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T05:57:39.664Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T05:57:39.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T05:57:39.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T05:57:39.891Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-10T05:57:39.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T05:57:40.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo [2021-05-10T05:57:40.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo [2021-05-10T05:57:40.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo [2021-05-10T05:57:40.328Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b114c648e294ad24ce218a845365f4efa3524ebd [Pipeline] echo [2021-05-10T05:57:40.386Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b114c64 [Pipeline] echo [2021-05-10T05:57:40.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:57:41.209Z] + git log --format=format:%s -1 b114c648e294ad24ce218a845365f4efa3524ebd [Pipeline] echo [2021-05-10T05:57:41.412Z] GIT_COMMIT: b114c648e294ad24ce218a845365f4efa3524ebd, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2021-05-10T05:57:41.464Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:57:42.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:42.414Z] [2021-05-10T05:57:42.414Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:57:42.913Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:43.295Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T05:57:43.295Z] 31603596830f: Pulling fs layer [2021-05-10T05:57:43.295Z] 54011a49482f: Pulling fs layer [2021-05-10T05:57:43.295Z] a6820b24f6d8: Pulling fs layer [2021-05-10T05:57:43.295Z] f581987b2513: Pulling fs layer [2021-05-10T05:57:43.295Z] f581987b2513: Waiting [2021-05-10T05:57:43.295Z] 54011a49482f: Verifying Checksum [2021-05-10T05:57:43.295Z] 54011a49482f: Download complete [2021-05-10T05:57:43.295Z] 31603596830f: Verifying Checksum [2021-05-10T05:57:43.295Z] 31603596830f: Download complete [2021-05-10T05:57:43.615Z] f581987b2513: Verifying Checksum [2021-05-10T05:57:43.615Z] f581987b2513: Download complete [2021-05-10T05:57:43.615Z] a6820b24f6d8: Verifying Checksum [2021-05-10T05:57:43.615Z] a6820b24f6d8: Download complete [2021-05-10T05:57:44.219Z] 31603596830f: Pull complete [2021-05-10T05:57:44.219Z] 54011a49482f: Pull complete [2021-05-10T05:57:45.217Z] a6820b24f6d8: Pull complete [2021-05-10T05:57:45.502Z] f581987b2513: Pull complete [2021-05-10T05:57:45.502Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T05:57:45.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:45.502Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T05:57:45.856Z] prd-centos7-docker-4c-2g-3974 does not seem to be running inside a container [2021-05-10T05:57:45.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-107 -v /w/workspace/xfoundry_go-mod-messaging_PR-107:/w/workspace/xfoundry_go-mod-messaging_PR-107:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-107@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-107@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T05:57:48.195Z] $ docker top 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T05:57:48.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:57:48.688Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:57:49.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:57:49.189Z] $ docker exec 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff ssh-agent [2021-05-10T05:57:49.475Z] SSH_AUTH_SOCK=/tmp/ssh-wqn8YyHAPmn4/agent.11 [2021-05-10T05:57:49.475Z] SSH_AGENT_PID=17 [2021-05-10T05:57:49.497Z] Running ssh-add (command line suppressed) [2021-05-10T05:57:49.672Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/private_key_740992838205534952.key (/w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/private_key_740992838205534952.key) [2021-05-10T05:57:49.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:57:50.243Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T05:57:50.340Z] $ docker exec --env ******** --env ******** 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff ssh-agent -k [2021-05-10T05:57:50.486Z] unset SSH_AUTH_SOCK; [2021-05-10T05:57:50.488Z] unset SSH_AGENT_PID; [2021-05-10T05:57:50.488Z] echo Agent pid 17 killed; [2021-05-10T05:57:50.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T05:57:50.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:57:50.666Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:57:50.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:57:50.946Z] $ docker exec 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff ssh-agent [2021-05-10T05:57:51.181Z] SSH_AUTH_SOCK=/tmp/ssh-99GeCMURG4U0/agent.45 [2021-05-10T05:57:51.181Z] SSH_AGENT_PID=50 [2021-05-10T05:57:51.192Z] Running ssh-add (command line suppressed) [2021-05-10T05:57:51.362Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/private_key_6595704687304256233.key (/w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/private_key_6595704687304256233.key) [2021-05-10T05:57:51.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:57:51.835Z] + git semver init [2021-05-10T05:57:51.835Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T05:57:51.835Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-107/.git [2021-05-10T05:57:51.835Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-107 [2021-05-10T05:57:51.835Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T05:57:51.835Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T05:57:51.835Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T05:57:51.835Z] # $SEMVER_BRANCH = PR-107 [2021-05-10T05:57:51.835Z] # $SEMVER_TEMP = /tmp/semver-224380254 [2021-05-10T05:57:51.835Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2021-05-10T05:57:52.436Z] # '/tmp/semver-224380254' -> '/w/workspace/xfoundry_go-mod-messaging_PR-107/.semver' [2021-05-10T05:57:52.436Z] # -> Force: false [2021-05-10T05:57:52.436Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-107/.semver [Pipeline] } [2021-05-10T05:57:52.474Z] $ docker exec --env ******** --env ******** 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff ssh-agent -k [2021-05-10T05:57:52.683Z] unset SSH_AUTH_SOCK; [2021-05-10T05:57:52.683Z] unset SSH_AGENT_PID; [2021-05-10T05:57:52.683Z] echo Agent pid 50 killed; [2021-05-10T05:57:52.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T05:57:53.293Z] + git semver [Pipeline] } [2021-05-10T05:57:53.334Z] $ docker stop --time=1 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff [2021-05-10T05:57:55.096Z] $ docker rm -f 2a34468ca1c59dddc7ae4010b0f00e43162d5e8f8d2261c5de5394389d50b2ff [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:57:55.787Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T05:57:56.408Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T05:57:56.437Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T05:58:12.130Z] Still waiting to schedule task [2021-05-10T05:58:12.130Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3946’ is offline; ‘prd-centos7-docker-4c-2g-3986’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T05:58:12.169Z] Still waiting to schedule task [2021-05-10T05:58:12.169Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T06:08:27.353Z] Running on prd-centos7-docker-4c-2g-4005 in /w/workspace/xfoundry_go-mod-messaging_PR-107 [Pipeline] { [Pipeline] ws [2021-05-10T06:08:27.457Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:08:30.983Z] using credential edgex-jenkins-ssh [2021-05-10T06:08:30.998Z] Cloning the remote Git repository [2021-05-10T06:08:31.030Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:08:31.126Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2021-05-10T06:08:31.199Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:08:31.199Z] > git --version # timeout=10 [2021-05-10T06:08:31.205Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:31.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:31.231Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:32.247Z] Merging remotes/origin/master commit 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 into PR head commit b114c648e294ad24ce218a845365f4efa3524ebd [2021-05-10T06:08:32.449Z] Merge succeeded, producing b114c648e294ad24ce218a845365f4efa3524ebd [2021-05-10T06:08:32.450Z] Checking out Revision b114c648e294ad24ce218a845365f4efa3524ebd (PR-107) [2021-05-10T06:08:31.795Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-05-10T06:08:31.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:31.829Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-05-10T06:08:31.860Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:08:31.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:31.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:08:32.259Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:32.267Z] > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # timeout=10 [2021-05-10T06:08:32.336Z] > git remote # timeout=10 [2021-05-10T06:08:32.353Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:08:32.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:32.398Z] > git merge 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 # timeout=10 [2021-05-10T06:08:32.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:08:32.460Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:32.472Z] > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # timeout=10 [2021-05-10T06:08:36.789Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2021-05-10T06:08:36.841Z] > git --version # timeout=10 [2021-05-10T06:08:36.848Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:36.853Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:08:39.769Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:40.202Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:40.583Z] + sudo service docker restart [2021-05-10T06:08:40.583Z] + true [2021-05-10T06:08:40.583Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-10T06:08:41.791Z] ========================================================= [2021-05-10T06:08:41.791Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T06:08:41.791Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:08:42.144Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T06:08:42.735Z] Sending build context to Docker daemon 583.7kB [2021-05-10T06:08:42.735Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-10T06:08:42.735Z] Step 2/7 : FROM ${BASE} [2021-05-10T06:08:43.009Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T06:08:43.009Z] 540db60ca938: Pulling fs layer [2021-05-10T06:08:43.009Z] adcc1eea9eea: Pulling fs layer [2021-05-10T06:08:43.009Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T06:08:43.009Z] 0510c868ecb4: Pulling fs layer [2021-05-10T06:08:43.009Z] afea3b2eda06: Pulling fs layer [2021-05-10T06:08:43.009Z] 7809a108b3ef: Pulling fs layer [2021-05-10T06:08:43.009Z] f706445af74f: Pulling fs layer [2021-05-10T06:08:43.009Z] afea3b2eda06: Waiting [2021-05-10T06:08:43.009Z] 7809a108b3ef: Waiting [2021-05-10T06:08:43.009Z] f706445af74f: Waiting [2021-05-10T06:08:43.009Z] 0510c868ecb4: Waiting [2021-05-10T06:08:43.009Z] 4c4ab2625f07: Download complete [2021-05-10T06:08:43.009Z] adcc1eea9eea: Download complete [2021-05-10T06:08:43.009Z] afea3b2eda06: Verifying Checksum [2021-05-10T06:08:43.009Z] afea3b2eda06: Download complete [2021-05-10T06:08:43.273Z] 7809a108b3ef: Verifying Checksum [2021-05-10T06:08:43.273Z] 7809a108b3ef: Download complete [2021-05-10T06:08:43.273Z] 540db60ca938: Verifying Checksum [2021-05-10T06:08:43.273Z] 540db60ca938: Download complete [2021-05-10T06:08:43.545Z] 540db60ca938: Pull complete [2021-05-10T06:08:43.824Z] adcc1eea9eea: Pull complete [2021-05-10T06:08:44.088Z] 4c4ab2625f07: Pull complete [2021-05-10T06:08:50.755Z] f706445af74f: Verifying Checksum [2021-05-10T06:08:50.755Z] f706445af74f: Download complete [2021-05-10T06:08:53.344Z] 0510c868ecb4: Verifying Checksum [2021-05-10T06:08:53.344Z] 0510c868ecb4: Download complete [2021-05-10T06:09:00.008Z] 0510c868ecb4: Pull complete [2021-05-10T06:09:00.008Z] afea3b2eda06: Pull complete [2021-05-10T06:09:00.008Z] 7809a108b3ef: Pull complete [2021-05-10T06:09:04.322Z] f706445af74f: Pull complete [2021-05-10T06:09:04.322Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T06:09:04.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T06:09:04.322Z] ---> b068be0155e3 [2021-05-10T06:09:04.322Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:09:04.322Z] ---> Running in 9abd57b675ba [2021-05-10T06:09:04.322Z] Removing intermediate container 9abd57b675ba [2021-05-10T06:09:04.322Z] ---> ee6fb00beecc [2021-05-10T06:09:04.322Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-10T06:09:04.591Z] ---> Running in c447a41416e7 [2021-05-10T06:09:05.171Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:07.114Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:07.698Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T06:09:07.964Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T06:09:08.228Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T06:09:08.228Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:09:08.497Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:09:08.761Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:09:08.761Z] OK: 150 MiB in 45 packages [2021-05-10T06:09:09.361Z] Removing intermediate container c447a41416e7 [2021-05-10T06:09:09.361Z] ---> dbb56398b0cb [2021-05-10T06:09:09.361Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-10T06:09:09.361Z] ---> Running in 01f424dfbc00 [2021-05-10T06:09:09.637Z] Removing intermediate container 01f424dfbc00 [2021-05-10T06:09:09.637Z] ---> 068be5bbf69d [2021-05-10T06:09:09.637Z] Step 6/7 : COPY go.mod . [2021-05-10T06:09:09.903Z] ---> 5c80b5823cd7 [2021-05-10T06:09:09.903Z] Step 7/7 : RUN go mod download [2021-05-10T06:09:09.903Z] ---> Running in ba4345f4ca4d [2021-05-10T06:09:22.462Z] Removing intermediate container ba4345f4ca4d [2021-05-10T06:09:22.462Z] ---> 5d2187a82f06 [2021-05-10T06:09:22.462Z] Successfully built 5d2187a82f06 [2021-05-10T06:09:22.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:22.846Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:09:22.847Z] . [Pipeline] withDockerContainer [2021-05-10T06:09:23.013Z] prd-centos7-docker-4c-2g-4005 does not seem to be running inside a container [2021-05-10T06:09:23.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:09:23.991Z] $ docker top 6ae70dd4dc6782455f9c67fa96173dd4a9d47f4e1c3efe97b53c7a72383ba06d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:09:24.605Z] + go version [2021-05-10T06:09:24.606Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T06:09:24.644Z] $ docker stop --time=1 6ae70dd4dc6782455f9c67fa96173dd4a9d47f4e1c3efe97b53c7a72383ba06d [2021-05-10T06:09:25.558Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3992 in /w/workspace/xfoundry_go-mod-messaging_PR-107 [2021-05-10T06:09:26.018Z] $ docker rm -f 6ae70dd4dc6782455f9c67fa96173dd4a9d47f4e1c3efe97b53c7a72383ba06d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-05-10T06:09:26.309Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:26.969Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:09:26.970Z] . [Pipeline] withDockerContainer [2021-05-10T06:09:27.152Z] prd-centos7-docker-4c-2g-4005 does not seem to be running inside a container [2021-05-10T06:09:27.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:09:27.981Z] $ docker top 89f45b96677b6c7f20190949439f70d74ab58966f0e18caf1486f16e92dd9918 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:09:28.549Z] + go mod tidy [Pipeline] sh [2021-05-10T06:09:29.290Z] + make test [2021-05-10T06:09:29.290Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T06:09:34.097Z] using credential edgex-jenkins-ssh [2021-05-10T06:09:34.123Z] Cloning the remote Git repository [2021-05-10T06:09:34.193Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:09:34.313Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2021-05-10T06:09:34.399Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:09:34.402Z] > git --version # timeout=10 [2021-05-10T06:09:34.420Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:34.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:34.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:35.439Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-05-10T06:09:35.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:35.515Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2021-05-10T06:09:35.567Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2021-05-10T06:09:35.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:35.586Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:09:36.115Z] Merging remotes/origin/master commit 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 into PR head commit b114c648e294ad24ce218a845365f4efa3524ebd [2021-05-10T06:09:36.403Z] Merge succeeded, producing b114c648e294ad24ce218a845365f4efa3524ebd [2021-05-10T06:09:36.403Z] Checking out Revision b114c648e294ad24ce218a845365f4efa3524ebd (PR-107) [2021-05-10T06:09:36.148Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:36.165Z] > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # timeout=10 [2021-05-10T06:09:36.292Z] > git remote # timeout=10 [2021-05-10T06:09:36.314Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:09:36.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:36.353Z] > git merge 30691f318f2ffa5ebd294b16a2b98f5ad6aeaa69 # timeout=10 [2021-05-10T06:09:36.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:09:36.417Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:36.431Z] > git checkout -f b114c648e294ad24ce218a845365f4efa3524ebd # timeout=10 [2021-05-10T06:09:37.616Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2021-05-10T06:09:39.684Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.039s coverage: 90.0% of statements [2021-05-10T06:09:40.319Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.021s coverage: 67.3% of statements [2021-05-10T06:09:40.319Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2021-05-10T06:09:41.430Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2021-05-10T06:09:41.520Z] > git --version # timeout=10 [2021-05-10T06:09:41.534Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:41.553Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:09:43.335Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:43.897Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:44.378Z] + sudo service docker restart [2021-05-10T06:09:44.378Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-10T06:09:46.827Z] ========================================================= [2021-05-10T06:09:46.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T06:09:46.827Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:47.246Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T06:09:48.299Z] Sending build context to Docker daemon 582.7kB [2021-05-10T06:09:48.300Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-10T06:09:48.300Z] Step 2/7 : FROM ${BASE} [2021-05-10T06:09:48.950Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T06:09:48.950Z] 595b0fe564bb: Pulling fs layer [2021-05-10T06:09:48.950Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T06:09:48.950Z] 316046926c0a: Pulling fs layer [2021-05-10T06:09:48.950Z] 4ebd0625c992: Pulling fs layer [2021-05-10T06:09:48.950Z] 207e8628e3a3: Pulling fs layer [2021-05-10T06:09:48.950Z] c791037a9be2: Pulling fs layer [2021-05-10T06:09:48.950Z] ffd874e62e21: Pulling fs layer [2021-05-10T06:09:48.950Z] 207e8628e3a3: Waiting [2021-05-10T06:09:48.950Z] c791037a9be2: Waiting [2021-05-10T06:09:48.950Z] ffd874e62e21: Waiting [2021-05-10T06:09:48.950Z] 316046926c0a: Verifying Checksum [2021-05-10T06:09:48.950Z] 316046926c0a: Download complete [2021-05-10T06:09:48.950Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T06:09:48.950Z] 7186ed65a4f7: Download complete [2021-05-10T06:09:48.950Z] 207e8628e3a3: Download complete [2021-05-10T06:09:48.950Z] c791037a9be2: Verifying Checksum [2021-05-10T06:09:48.950Z] c791037a9be2: Download complete [2021-05-10T06:09:48.950Z] 595b0fe564bb: Verifying Checksum [2021-05-10T06:09:48.950Z] 595b0fe564bb: Download complete [2021-05-10T06:09:49.981Z] 595b0fe564bb: Pull complete [2021-05-10T06:09:50.608Z] 7186ed65a4f7: Pull complete [2021-05-10T06:09:50.898Z] 316046926c0a: Pull complete [2021-05-10T06:09:51.896Z] ffd874e62e21: Verifying Checksum [2021-05-10T06:09:51.896Z] ffd874e62e21: Download complete [2021-05-10T06:09:53.942Z] 4ebd0625c992: Verifying Checksum [2021-05-10T06:09:53.942Z] 4ebd0625c992: Download complete [2021-05-10T06:10:04.187Z] 4ebd0625c992: Pull complete [2021-05-10T06:10:04.187Z] 207e8628e3a3: Pull complete [2021-05-10T06:10:04.786Z] c791037a9be2: Pull complete [2021-05-10T06:10:07.425Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.372s coverage: 83.8% of statements [2021-05-10T06:10:07.425Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.009s coverage: 85.7% of statements [2021-05-10T06:10:07.425Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.014s coverage: 100.0% of statements [2021-05-10T06:10:07.425Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.007s coverage: 100.0% of statements [2021-05-10T06:10:07.425Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.006s coverage: 90.9% of statements [2021-05-10T06:10:07.425Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:10:08.246Z] ffd874e62e21: Pull complete [2021-05-10T06:10:08.246Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T06:10:08.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T06:10:08.246Z] ---> cfc18b08335c [2021-05-10T06:10:08.246Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:10:11.650Z] ---> Running in e715e93d8e75 [2021-05-10T06:10:11.939Z] Removing intermediate container e715e93d8e75 [2021-05-10T06:10:11.939Z] ---> 42c3ae94702c [2021-05-10T06:10:11.939Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-10T06:10:11.939Z] ---> Running in 720e0f645512 [2021-05-10T06:10:13.383Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:14.103Z] gofmt -l . [2021-05-10T06:10:14.103Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T06:10:14.147Z] $ docker stop --time=1 89f45b96677b6c7f20190949439f70d74ab58966f0e18caf1486f16e92dd9918 [2021-05-10T06:10:15.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:15.835Z] $ docker rm -f 89f45b96677b6c7f20190949439f70d74ab58966f0e18caf1486f16e92dd9918 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:10:16.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:10:16.808Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T06:10:16.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [2021-05-10T06:10:17.085Z] (2/5) Installing libzmq (4.3.3-r1) [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 [2021-05-10T06:10:17.363Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T06:10:17.364Z] (4/5) Installing libsodium-dev (1.0.18-r0) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:10:17.638Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:10:17.860Z] ---> job-cost.sh [2021-05-10T06:10:17.860Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R4Kf [2021-05-10T06:10:17.919Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:10:17.919Z] OK: 139 MiB in 45 packages [2021-05-10T06:10:19.953Z] Removing intermediate container 720e0f645512 [2021-05-10T06:10:19.953Z] ---> 60f6e847da5a [2021-05-10T06:10:19.953Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-10T06:10:19.953Z] ---> Running in 4cb943b82bb1 [2021-05-10T06:10:20.232Z] Removing intermediate container 4cb943b82bb1 [2021-05-10T06:10:20.232Z] ---> 157e23c9b8e2 [2021-05-10T06:10:20.232Z] Step 6/7 : COPY go.mod . [2021-05-10T06:10:21.223Z] ---> 93d79c523acf [2021-05-10T06:10:21.224Z] Step 7/7 : RUN go mod download [2021-05-10T06:10:21.224Z] ---> Running in 210ff4eff29e [2021-05-10T06:10:36.492Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:10:37.424Z] Removing intermediate container 210ff4eff29e [2021-05-10T06:10:37.424Z] ---> f7254825d636 [2021-05-10T06:10:37.424Z] Successfully built f7254825d636 [2021-05-10T06:10:37.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:37.812Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:10:37.812Z] . [Pipeline] withDockerContainer [2021-05-10T06:10:38.079Z] prd-ubuntu18.04-docker-arm64-4c-16g-3992 does not seem to be running inside a container [2021-05-10T06:10:38.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:10:40.738Z] $ docker top 888282f290d8361c4b128def948ce8b070d4e5d40a61a439d5f726cdbe903457 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:10:41.964Z] + go version [2021-05-10T06:10:41.964Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T06:10:42.005Z] $ docker stop --time=1 888282f290d8361c4b128def948ce8b070d4e5d40a61a439d5f726cdbe903457 [2021-05-10T06:10:44.080Z] $ docker rm -f 888282f290d8361c4b128def948ce8b070d4e5d40a61a439d5f726cdbe903457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:45.181Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:10:45.181Z] . [Pipeline] withDockerContainer [2021-05-10T06:10:45.524Z] prd-ubuntu18.04-docker-arm64-4c-16g-3992 does not seem to be running inside a container [2021-05-10T06:10:45.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:10:47.435Z] $ docker top 8198bc0e5a3a52783fdcc28e9023398a38ca45e779156012cd610de9092cf7e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:10:48.509Z] + go mod tidy [Pipeline] sh [2021-05-10T06:10:49.534Z] + make test [2021-05-10T06:10:49.534Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T06:11:03.145Z] lf-activate-venv(): INFO: Adding /tmp/venv-R4Kf/bin to PATH [2021-05-10T06:11:03.145Z] INFO: No Stack... [2021-05-10T06:11:03.145Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:11:04.105Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:11:04.521Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2021-05-10T06:11:04.521Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:11:04.658Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [2021-05-10T06:11:04.669Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] did not exist. Created. [2021-05-10T06:11:04.677Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:11:05.149Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T06:11:05.356Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:11:05.378Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:11:11.855Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2021-05-10T06:11:18.641Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.071s coverage: 90.0% of statements [2021-05-10T06:11:33.867Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.048s coverage: 67.3% of statements [2021-05-10T06:11:33.867Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2021-05-10T06:11:56.163Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.397s coverage: 83.8% of statements [2021-05-10T06:11:56.163Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.025s coverage: 85.7% of statements [2021-05-10T06:11:56.163Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.048s coverage: 100.0% of statements [2021-05-10T06:11:56.163Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.044s coverage: 100.0% of statements [2021-05-10T06:11:56.163Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.016s coverage: 90.9% of statements [2021-05-10T06:11:56.767Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:12:19.017Z] gofmt -l . [2021-05-10T06:12:19.017Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T06:12:19.062Z] $ docker stop --time=1 8198bc0e5a3a52783fdcc28e9023398a38ca45e779156012cd610de9092cf7e4 [2021-05-10T06:12:21.174Z] $ docker rm -f 8198bc0e5a3a52783fdcc28e9023398a38ca45e779156012cd610de9092cf7e4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:12:22.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:12:22.169Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T06:12:23.135Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:12:23.977Z] ---> job-cost.sh [2021-05-10T06:12:23.977Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7BPt [2021-05-10T06:13:32.006Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:15:23.802Z] lf-activate-venv(): INFO: Adding /tmp/venv-7BPt/bin to PATH [2021-05-10T06:15:23.802Z] INFO: No Stack... [2021-05-10T06:15:23.802Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T06:15:23.802Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:15:24.171Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2021-05-10T06:15:24.171Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:15:24.341Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [2021-05-10T06:15:24.348Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] did not exist. Created. [2021-05-10T06:15:24.348Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:15:24.838Z] /w/workspace/go-mod-messaging/1@tmp/durable-db410cad/script.sh: 1: /w/workspace/go-mod-messaging/1@tmp/durable-db410cad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T06:15:25.228Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T06:15:25.274Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T06:15:25.444Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:15:25.463Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-107-1-stack-cost] [Pipeline] // lock [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 [2021-05-10T06:15:26.528Z] provisioning config files... [2021-05-10T06:15:26.550Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/config4192103962157233951tmp [Pipeline] { [Pipeline] sh [2021-05-10T06:15:27.037Z] + set +x [2021-05-10T06:15:27.037Z] + bash -s -- [2021-05-10T06:15:27.037Z] + curl -s https://codecov.io/bash [2021-05-10T06:15:27.344Z] [2021-05-10T06:15:27.344Z] _____ _ [2021-05-10T06:15:27.344Z] / ____| | | [2021-05-10T06:15:27.344Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T06:15:27.344Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T06:15:27.344Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T06:15:27.344Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T06:15:27.344Z] Bash-1.0.2 [2021-05-10T06:15:27.344Z] [2021-05-10T06:15:27.344Z] [2021-05-10T06:15:27.344Z] ==> git version 2.24.3 found [2021-05-10T06:15:27.344Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T06:15:27.344Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T06:15:27.344Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T06:15:27.344Z] ==> Jenkins CI detected. [2021-05-10T06:15:27.344Z] project root: . [2021-05-10T06:15:27.344Z] --> token set from env [2021-05-10T06:15:27.344Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T06:15:27.619Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T06:15:27.619Z] ==> Python coveragepy not found [2021-05-10T06:15:27.619Z] ==> Searching for coverage reports in: [2021-05-10T06:15:27.619Z] + . [2021-05-10T06:15:27.619Z] -> Found 1 reports [2021-05-10T06:15:27.619Z] ==> Detecting git/mercurial file structure [2021-05-10T06:15:27.619Z] ==> Reading reports [2021-05-10T06:15:27.619Z] + ./coverage.out bytes=21942 [2021-05-10T06:15:27.619Z] ==> Appending adjustments [2021-05-10T06:15:27.619Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T06:15:27.890Z] + Found adjustments [2021-05-10T06:15:27.890Z] ==> Gzipping contents [2021-05-10T06:15:27.890Z] 8.0K /tmp/codecov.JPBiH5.gz [2021-05-10T06:15:27.890Z] ==> Uploading reports [2021-05-10T06:15:27.890Z] url: https://codecov.io [2021-05-10T06:15:27.890Z] query: branch=PR-107&commit=b114c648e294ad24ce218a845365f4efa3524ebd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=107&job=&cmd_args= [2021-05-10T06:15:27.890Z] -> Pinging Codecov [2021-05-10T06:15:27.890Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-107&commit=b114c648e294ad24ce218a845365f4efa3524ebd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=107&job=&cmd_args= [2021-05-10T06:15:28.502Z] -> Uploading to [2021-05-10T06:15:28.502Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/F6E385568367DD0E4001BA4F8F1CB792/b114c648e294ad24ce218a845365f4efa3524ebd/708569ed-7d76-4300-ba9c-ec987169c4aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T061528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f430b9c4c4def4ab5c4d28e7a61a380829940f0fd382bd4386a9609055a2a1a7 [2021-05-10T06:15:28.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T06:15:28.502Z] Dload Upload Total Spent Left Speed [2021-05-10T06:15:29.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5260 0 0 100 5260 0 10532 --:--:-- --:--:-- --:--:-- 10541 [2021-05-10T06:15:29.102Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/b114c648e294ad24ce218a845365f4efa3524ebd [Pipeline] } [2021-05-10T06:15:29.150Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:15:31.108Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:15:31.767Z] ---> package-listing.sh [2021-05-10T06:15:31.767Z] ++ facter osfamily [2021-05-10T06:15:31.767Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T06:15:32.048Z] + OS_FAMILY=redhat [2021-05-10T06:15:32.048Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-107 [2021-05-10T06:15:32.048Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T06:15:32.048Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T06:15:32.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T06:15:32.048Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T06:15:32.048Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-107 ']' [2021-05-10T06:15:32.048Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T06:15:32.048Z] + case "${OS_FAMILY}" in [2021-05-10T06:15:32.048Z] + rpm -qa [2021-05-10T06:15:32.048Z] + sort [2021-05-10T06:15:38.825Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T06:15:38.825Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T06:15:38.825Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T06:15:38.825Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-107 ']' [2021-05-10T06:15:38.825Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-107/archives/ [2021-05-10T06:15:38.825Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-107/archives/ [Pipeline] echo [2021-05-10T06:15:38.866Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T06:15:39.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:15:40.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:40.012Z] [2021-05-10T06:15:40.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:15:40.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:40.410Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T06:15:40.410Z] df20fa9351a1: Pulling fs layer [2021-05-10T06:15:40.410Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T06:15:40.410Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T06:15:40.410Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T06:15:40.410Z] 93b61091891f: Pulling fs layer [2021-05-10T06:15:40.410Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T06:15:40.410Z] 5e14af77c1be: Pulling fs layer [2021-05-10T06:15:40.410Z] 01666e4c0597: Pulling fs layer [2021-05-10T06:15:40.410Z] aa168da1d23b: Pulling fs layer [2021-05-10T06:15:40.410Z] 93b9cdb0e59b: Waiting [2021-05-10T06:15:40.410Z] 5e14af77c1be: Waiting [2021-05-10T06:15:40.410Z] 01666e4c0597: Waiting [2021-05-10T06:15:40.410Z] aa168da1d23b: Waiting [2021-05-10T06:15:40.410Z] 46f8f816bc3b: Waiting [2021-05-10T06:15:40.410Z] 93b61091891f: Waiting [2021-05-10T06:15:40.410Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T06:15:40.410Z] 36b3adc4ff6f: Download complete [2021-05-10T06:15:40.410Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T06:15:40.410Z] 46f8f816bc3b: Download complete [2021-05-10T06:15:40.720Z] df20fa9351a1: Verifying Checksum [2021-05-10T06:15:40.720Z] df20fa9351a1: Download complete [2021-05-10T06:15:40.720Z] 93b9cdb0e59b: Download complete [2021-05-10T06:15:41.031Z] 01666e4c0597: Download complete [2021-05-10T06:15:41.031Z] 93b61091891f: Verifying Checksum [2021-05-10T06:15:41.031Z] 93b61091891f: Download complete [2021-05-10T06:15:42.136Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T06:15:42.136Z] 8ad3a11d3b57: Download complete [2021-05-10T06:15:42.435Z] df20fa9351a1: Pull complete [2021-05-10T06:15:42.720Z] 36b3adc4ff6f: Pull complete [2021-05-10T06:15:44.175Z] 8ad3a11d3b57: Pull complete [2021-05-10T06:15:44.175Z] 46f8f816bc3b: Pull complete [2021-05-10T06:15:44.811Z] 93b61091891f: Pull complete [2021-05-10T06:15:45.091Z] 93b9cdb0e59b: Pull complete [2021-05-10T06:15:45.091Z] 5e14af77c1be: Pull complete [2021-05-10T06:15:45.712Z] 01666e4c0597: Pull complete [2021-05-10T06:15:50.259Z] aa168da1d23b: Verifying Checksum [2021-05-10T06:15:50.259Z] aa168da1d23b: Download complete [2021-05-10T06:15:58.673Z] aa168da1d23b: Pull complete [2021-05-10T06:15:58.673Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T06:15:58.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:58.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T06:15:59.110Z] prd-centos7-docker-4c-2g-3974 does not seem to be running inside a container [2021-05-10T06:15:59.215Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-messaging_PR-107 -v /w/workspace/xfoundry_go-mod-messaging_PR-107:/w/workspace/xfoundry_go-mod-messaging_PR-107:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-107@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-107@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T06:16:03.390Z] $ docker top e0bc50c7f33329e5d4d1abd44aaff6d6aa93963a1bd76bb19a36684996dc8ac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:16:04.002Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T06:16:04.364Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T06:16:04.706Z] + ls /var/log/sa-host [2021-05-10T06:16:04.707Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T06:16:04.707Z] file_magic: OK [2021-05-10T06:16:04.707Z] HZ: Using current value: 100 [2021-05-10T06:16:04.707Z] file_header: OK [2021-05-10T06:16:04.707Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:16:04.707Z] Statistics: [2021-05-10T06:16:04.707Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T06:16:04.707Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T06:16:04.707Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T06:16:04.707Z] file_magic: OK [2021-05-10T06:16:04.707Z] HZ: Using current value: 100 [2021-05-10T06:16:04.707Z] file_header: OK [2021-05-10T06:16:04.707Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:16:04.707Z] Statistics: [2021-05-10T06:16:04.707Z] Hnuu...uuuununununu... [2021-05-10T06:16:04.707Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T06:16:04.958Z] provisioning config files... [2021-05-10T06:16:04.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-107@tmp/config499743224874911700tmp [Pipeline] { [Pipeline] echo [2021-05-10T06:16:05.040Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:05.396Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T06:16:05.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T06:16:05.493Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:05.835Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T06:16:05.879Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:06.254Z] ---> sudo-logs.sh [2021-05-10T06:16:06.254Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T06:16:06.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:06.986Z] ---> job-cost.sh [2021-05-10T06:16:06.986Z] lf-activate-venv: SKIPPING [2021-05-10T06:16:06.986Z] DEBUG: total: 0.20999999344348907 [2021-05-10T06:16:06.986Z] INFO: Retrieving Stack Cost... [2021-05-10T06:16:08.395Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:16:08.999Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T06:16:09.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:09.408Z] ---> logs-deploy.sh [2021-05-10T06:16:09.408Z] lf-activate-venv: SKIPPING [2021-05-10T06:16:09.408Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-107/1 [2021-05-10T06:16:09.408Z] INFO: archiving workspace using pattern(s): [2021-05-10T06:16:12.011Z] Archives upload complete. [2021-05-10T06:16:12.011Z] INFO: archiving logs to Nexus