Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c8dd1d4b66d45a12708ca1de511d8e38cfa652cf+d1293de4d9578f3042d3a270d86781b2d60a4f59 (e8a4f3d8674e9e02ecd586b83725bbc1347b45c4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-17674 in /w/workspace/exfoundry_go-mod-messaging_PR-79 [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-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit c8dd1d4b66d45a12708ca1de511d8e38cfa652cf Merge succeeded, producing ccfb1da71f549249966c93c261b3b06e2d5ffae9 Checking out Revision ccfb1da71f549249966c93c261b3b06e2d5ffae9 (PR-79) > git config core.sparsecheckout # timeout=10 > git checkout -f c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccfb1da71f549249966c93c261b3b06e2d5ffae9 # timeout=10 Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" > git rev-list --no-walk c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-30T00:29:44.405Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-30T00:29:44.776Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-30T00:29:44.929Z] ========================================================= [2020-12-30T00:29:44.929Z] EdgeX Global Pipelines Version Info [2020-12-30T00:29:44.929Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:29:46.658Z] ------------------- [2020-12-30T00:29:46.658Z] stable info: [2020-12-30T00:29:46.658Z] ------------------- [2020-12-30T00:29:46.658Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-30T00:29:46.658Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T00:29:46.658Z] Message: update stable to v1.0.173 [2020-12-30T00:29:47.668Z] ------------------- [2020-12-30T00:29:47.668Z] experimental info: [2020-12-30T00:29:47.668Z] ------------------- [2020-12-30T00:29:47.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-30T00:29:47.668Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T00:29:47.668Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-30T00:29:48.012Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2020-12-30T00:29:48.104Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2020-12-30T00:29:48.210Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-30T00:29:48.319Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-30T00:29:48.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-30T00:29:48.532Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-30T00:29:48.670Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-30T00:29:48.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-30T00:29:48.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-30T00:29:48.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-30T00:29:49.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-30T00:29:49.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-messaging [Pipeline] echo [2020-12-30T00:29:49.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-30T00:29:49.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-30T00:29:49.493Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T00:29:50.471Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T00:29:50.614Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T00:29:50.713Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T00:29:50.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-30T00:29:50.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-30T00:29:51.075Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-30T00:29:51.162Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-30T00:29:51.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-30T00:29:51.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-30T00:29:51.465Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-30T00:29:51.550Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-30T00:29:51.650Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-30T00:29:51.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo [2020-12-30T00:29:51.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo [2020-12-30T00:29:51.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo [2020-12-30T00:29:52.072Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccfb1da71f549249966c93c261b3b06e2d5ffae9 [Pipeline] echo [2020-12-30T00:29:52.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccfb1da [Pipeline] echo [2020-12-30T00:29:52.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T00:29:53.006Z] + git log --format=format:%s -1 ccfb1da71f549249966c93c261b3b06e2d5ffae9 [Pipeline] echo [2020-12-30T00:29:53.092Z] GIT_COMMIT: ccfb1da71f549249966c93c261b3b06e2d5ffae9, Commit Message: Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD [Pipeline] echo [2020-12-30T00:29:53.144Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:29:53.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:29:53.996Z] [2020-12-30T00:29:53.996Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:29:54.376Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:29:54.376Z] latest: Pulling from edgex-devops/git-semver [2020-12-30T00:29:54.376Z] 31603596830f: Pulling fs layer [2020-12-30T00:29:54.376Z] 2a8b12db71e7: Pulling fs layer [2020-12-30T00:29:54.376Z] 6ca5941a6612: Pulling fs layer [2020-12-30T00:29:54.376Z] ecc8261a40a4: Pulling fs layer [2020-12-30T00:29:54.376Z] ecc8261a40a4: Waiting [2020-12-30T00:29:54.376Z] 2a8b12db71e7: Verifying Checksum [2020-12-30T00:29:54.376Z] 2a8b12db71e7: Download complete [2020-12-30T00:29:54.642Z] 31603596830f: Verifying Checksum [2020-12-30T00:29:54.642Z] 31603596830f: Download complete [2020-12-30T00:29:54.642Z] ecc8261a40a4: Verifying Checksum [2020-12-30T00:29:54.642Z] ecc8261a40a4: Download complete [2020-12-30T00:29:54.642Z] 6ca5941a6612: Verifying Checksum [2020-12-30T00:29:54.642Z] 6ca5941a6612: Download complete [2020-12-30T00:29:55.232Z] 31603596830f: Pull complete [2020-12-30T00:29:55.232Z] 2a8b12db71e7: Pull complete [2020-12-30T00:29:56.194Z] 6ca5941a6612: Pull complete [2020-12-30T00:29:56.462Z] ecc8261a40a4: Pull complete [2020-12-30T00:29:56.462Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-30T00:29:56.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T00:29:56.462Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-30T00:29:56.661Z] prd-centos7-docker-4c-2g-17674 does not seem to be running inside a container [2020-12-30T00:29:56.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-79 -v /w/workspace/exfoundry_go-mod-messaging_PR-79:/w/workspace/exfoundry_go-mod-messaging_PR-79:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-79@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-79@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 [2020-12-30T00:29:59.500Z] $ docker top 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-30T00:29:59.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T00:29:59.845Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T00:30:00.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T00:30:00.133Z] $ docker exec 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 ssh-agent [2020-12-30T00:30:00.349Z] SSH_AUTH_SOCK=/tmp/ssh-yhY4IdlwBppP/agent.11 [2020-12-30T00:30:00.349Z] SSH_AGENT_PID=16 [2020-12-30T00:30:00.367Z] Running ssh-add (command line suppressed) [2020-12-30T00:30:00.526Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/private_key_2190379891023884744.key (/w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/private_key_2190379891023884744.key) [2020-12-30T00:30:00.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T00:30:00.934Z] + git tag --points-at HEAD [Pipeline] } [2020-12-30T00:30:00.961Z] $ docker exec --env ******** --env ******** 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 ssh-agent -k [2020-12-30T00:30:01.123Z] unset SSH_AUTH_SOCK; [2020-12-30T00:30:01.124Z] unset SSH_AGENT_PID; [2020-12-30T00:30:01.124Z] echo Agent pid 16 killed; [2020-12-30T00:30:01.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-30T00:30:01.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T00:30:01.371Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T00:30:01.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T00:30:01.714Z] $ docker exec 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 ssh-agent [2020-12-30T00:30:01.957Z] SSH_AUTH_SOCK=/tmp/ssh-MvPcvOM6hBkS/agent.46 [2020-12-30T00:30:01.957Z] SSH_AGENT_PID=52 [2020-12-30T00:30:01.975Z] Running ssh-add (command line suppressed) [2020-12-30T00:30:02.152Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/private_key_2349742701554585904.key (/w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/private_key_2349742701554585904.key) [2020-12-30T00:30:02.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T00:30:02.614Z] + git semver init [2020-12-30T00:30:02.615Z] # -> Open(): unable to determine branch for HEAD [2020-12-30T00:30:02.615Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-79/.git [2020-12-30T00:30:02.615Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-79 [2020-12-30T00:30:02.615Z] # $SEMVER_REMOTE_NAME = origin [2020-12-30T00:30:02.615Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-30T00:30:02.615Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-30T00:30:02.615Z] # $SEMVER_BRANCH = PR-79 [2020-12-30T00:30:02.615Z] # $SEMVER_TEMP = /tmp/semver-025940283 [2020-12-30T00:30:02.615Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-12-30T00:30:03.586Z] # '/tmp/semver-025940283' -> '/w/workspace/exfoundry_go-mod-messaging_PR-79/.semver' [2020-12-30T00:30:03.586Z] # -> Force: false [2020-12-30T00:30:03.586Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-79/.semver [Pipeline] } [2020-12-30T00:30:03.612Z] $ docker exec --env ******** --env ******** 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 ssh-agent -k [2020-12-30T00:30:03.802Z] unset SSH_AUTH_SOCK; [2020-12-30T00:30:03.803Z] unset SSH_AGENT_PID; [2020-12-30T00:30:03.803Z] echo Agent pid 52 killed; [2020-12-30T00:30:03.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-30T00:30:04.360Z] + git semver [Pipeline] } [2020-12-30T00:30:04.385Z] $ docker stop --time=1 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 [2020-12-30T00:30:06.111Z] $ docker rm -f 9f03f44a883a10a74f9f71b991786a55faa3e588073576a4a1a507414db14f20 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T00:30:06.730Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-30T00:30:07.316Z] Stashed 1 file(s) [Pipeline] echo [2020-12-30T00:30:07.319Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-30T00:30:22.891Z] Still waiting to schedule task [2020-12-30T00:30:22.891Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17671’ is offline; ‘prd-centos7-docker-4c-2g-17680’ is offline; ‘prd-centos7-docker-4c-2g-17681’ is offline [2020-12-30T00:30:22.893Z] Still waiting to schedule task [2020-12-30T00:30:22.893Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-17670’ [2020-12-30T00:32:29.723Z] Running on prd-centos7-docker-4c-2g-17689 in /w/workspace/exfoundry_go-mod-messaging_PR-79 [Pipeline] { [Pipeline] ws [2020-12-30T00:32:29.783Z] Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout [2020-12-30T00:32:38.147Z] using credential edgex-jenkins-ssh [2020-12-30T00:32:38.218Z] Cloning the remote Git repository [2020-12-30T00:32:38.441Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:32:38.588Z] > git init /w/workspace/go-mod-messaging/2 # timeout=10 [2020-12-30T00:32:38.714Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:32:38.714Z] > git --version # timeout=10 [2020-12-30T00:32:38.764Z] > git --version # 'git version 2.24.3' [2020-12-30T00:32:38.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:32:38.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:32:40.905Z] Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit c8dd1d4b66d45a12708ca1de511d8e38cfa652cf [2020-12-30T00:32:40.346Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-30T00:32:40.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:32:40.441Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-30T00:32:40.478Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:32:40.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:32:40.485Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T00:32:40.922Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:32:40.954Z] > git checkout -f c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 [2020-12-30T00:32:41.068Z] > git remote # timeout=10 [2020-12-30T00:32:41.100Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T00:32:41.209Z] Merge succeeded, producing a71f012be6f396c4f71e590ae3b767a84aca3c9e [2020-12-30T00:32:41.209Z] Checking out Revision a71f012be6f396c4f71e590ae3b767a84aca3c9e (PR-79) [2020-12-30T00:32:41.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:32:41.146Z] > git merge d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 [2020-12-30T00:32:41.175Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T00:32:41.216Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:32:41.235Z] > git checkout -f a71f012be6f396c4f71e590ae3b767a84aca3c9e # timeout=10 [2020-12-30T00:32:45.299Z] Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" [2020-12-30T00:32:45.308Z] > git rev-list --no-walk c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T00:32:47.250Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:32:47.720Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:32:48.085Z] + sudo service docker restart [2020-12-30T00:32:48.085Z] + true [2020-12-30T00:32:48.085Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-30T00:32:50.279Z] ========================================================= [2020-12-30T00:32:50.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-30T00:32:50.280Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:32:50.842Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-30T00:32:51.885Z] Sending build context to Docker daemon 498.2kB [2020-12-30T00:32:51.885Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-30T00:32:51.885Z] Step 2/7 : FROM ${BASE} [2020-12-30T00:32:52.181Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-30T00:32:52.181Z] 188c0c94c7c5: Pulling fs layer [2020-12-30T00:32:52.181Z] 0ef7d3d256c8: Pulling fs layer [2020-12-30T00:32:52.181Z] de9db76c5a1d: Pulling fs layer [2020-12-30T00:32:52.181Z] bca2f99d35d6: Pulling fs layer [2020-12-30T00:32:52.181Z] 93359f2a8cfa: Pulling fs layer [2020-12-30T00:32:52.181Z] 7c6f9722023f: Pulling fs layer [2020-12-30T00:32:52.181Z] a35cf1a2eb13: Pulling fs layer [2020-12-30T00:32:52.181Z] bca2f99d35d6: Waiting [2020-12-30T00:32:52.181Z] 93359f2a8cfa: Waiting [2020-12-30T00:32:52.181Z] 7c6f9722023f: Waiting [2020-12-30T00:32:52.181Z] a35cf1a2eb13: Waiting [2020-12-30T00:32:52.512Z] de9db76c5a1d: Download complete [2020-12-30T00:32:52.512Z] 0ef7d3d256c8: Verifying Checksum [2020-12-30T00:32:52.512Z] 0ef7d3d256c8: Download complete [2020-12-30T00:32:52.793Z] 93359f2a8cfa: Verifying Checksum [2020-12-30T00:32:52.793Z] 93359f2a8cfa: Download complete [2020-12-30T00:32:52.793Z] 7c6f9722023f: Verifying Checksum [2020-12-30T00:32:52.793Z] 7c6f9722023f: Download complete [2020-12-30T00:32:53.432Z] 188c0c94c7c5: Verifying Checksum [2020-12-30T00:32:53.432Z] 188c0c94c7c5: Download complete [2020-12-30T00:32:54.059Z] 188c0c94c7c5: Pull complete [2020-12-30T00:32:54.759Z] 0ef7d3d256c8: Pull complete [2020-12-30T00:32:55.041Z] de9db76c5a1d: Pull complete [2020-12-30T00:32:59.501Z] a35cf1a2eb13: Verifying Checksum [2020-12-30T00:32:59.501Z] a35cf1a2eb13: Download complete [2020-12-30T00:33:00.963Z] bca2f99d35d6: Download complete [2020-12-30T00:33:13.616Z] bca2f99d35d6: Pull complete [2020-12-30T00:33:13.616Z] 93359f2a8cfa: Pull complete [2020-12-30T00:33:13.616Z] 7c6f9722023f: Pull complete [2020-12-30T00:33:19.159Z] a35cf1a2eb13: Pull complete [2020-12-30T00:33:19.159Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-30T00:33:19.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-30T00:33:19.159Z] ---> a62c8e92a672 [2020-12-30T00:33:19.159Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T00:33:19.159Z] ---> Running in 820f3c211a62 [2020-12-30T00:33:19.438Z] Removing intermediate container 820f3c211a62 [2020-12-30T00:33:19.438Z] ---> dc1179e68e4e [2020-12-30T00:33:19.438Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-30T00:33:19.719Z] ---> Running in b600ee2d4376 [2020-12-30T00:33:20.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-30T00:33:21.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-30T00:33:22.862Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-30T00:33:23.267Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-30T00:33:23.587Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-30T00:33:23.587Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-30T00:33:23.587Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-30T00:33:23.869Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T00:33:23.869Z] OK: 167 MiB in 44 packages [2020-12-30T00:33:24.867Z] Removing intermediate container b600ee2d4376 [2020-12-30T00:33:24.867Z] ---> 17de5634b8a5 [2020-12-30T00:33:24.867Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-30T00:33:24.867Z] ---> Running in 972bf0fa2e7b [2020-12-30T00:33:25.143Z] Removing intermediate container 972bf0fa2e7b [2020-12-30T00:33:25.143Z] ---> 65ef21aea964 [2020-12-30T00:33:25.143Z] Step 6/7 : COPY go.mod . [2020-12-30T00:33:25.804Z] ---> a64c260d4b3c [2020-12-30T00:33:25.804Z] Step 7/7 : RUN go mod download [2020-12-30T00:33:25.804Z] ---> Running in 95d9d8f4048d [2020-12-30T00:33:41.145Z] Removing intermediate container 95d9d8f4048d [2020-12-30T00:33:41.146Z] ---> a424c704cce1 [2020-12-30T00:33:41.146Z] Successfully built a424c704cce1 [2020-12-30T00:33:41.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:33:41.527Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T00:33:41.527Z] . [Pipeline] withDockerContainer [2020-12-30T00:33:41.868Z] prd-centos7-docker-4c-2g-17689 does not seem to be running inside a container [2020-12-30T00:33:41.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T00:33:43.290Z] $ docker top 1ecaf314fbe13722c624a186ba4b5d135a57ca7c2c0a341fe8792d596731efbb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:33:44.346Z] + go version [2020-12-30T00:33:44.347Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-30T00:33:44.371Z] $ docker stop --time=1 1ecaf314fbe13722c624a186ba4b5d135a57ca7c2c0a341fe8792d596731efbb [2020-12-30T00:33:45.919Z] $ docker rm -f 1ecaf314fbe13722c624a186ba4b5d135a57ca7c2c0a341fe8792d596731efbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:33:47.023Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T00:33:47.023Z] . [Pipeline] withDockerContainer [2020-12-30T00:33:47.374Z] prd-centos7-docker-4c-2g-17689 does not seem to be running inside a container [2020-12-30T00:33:47.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T00:33:47.602Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17692 in /w/workspace/exfoundry_go-mod-messaging_PR-79 [2020-12-30T00:33:48.902Z] $ docker top e1b17cac6e69a9a18ef06dc2c8f277367f556e26afefb01ee73e1569dc21b663 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-12-30T00:33:49.573Z] Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout [2020-12-30T00:33:50.275Z] + make test [2020-12-30T00:33:50.275Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T00:33:55.631Z] using credential edgex-jenkins-ssh [2020-12-30T00:33:55.689Z] Cloning the remote Git repository [2020-12-30T00:33:55.791Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:33:55.916Z] > git init /w/workspace/go-mod-messaging/2 # timeout=10 [2020-12-30T00:33:56.012Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:33:56.013Z] > git --version # timeout=10 [2020-12-30T00:33:56.033Z] > git --version # 'git version 2.17.1' [2020-12-30T00:33:56.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:33:56.122Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:33:56.901Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-30T00:33:56.923Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T00:33:56.963Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-12-30T00:33:57.014Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-12-30T00:33:57.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:33:57.027Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T00:33:57.526Z] Merging remotes/origin/master commit d1293de4d9578f3042d3a270d86781b2d60a4f59 into PR head commit c8dd1d4b66d45a12708ca1de511d8e38cfa652cf [2020-12-30T00:33:57.877Z] Merge succeeded, producing feef462d8d033b3227dddeca3edea3f506c7597b [2020-12-30T00:33:57.878Z] Checking out Revision feef462d8d033b3227dddeca3edea3f506c7597b (PR-79) [2020-12-30T00:33:57.569Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:33:57.590Z] > git checkout -f c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 [2020-12-30T00:33:57.685Z] > git remote # timeout=10 [2020-12-30T00:33:57.706Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T00:33:57.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T00:33:57.745Z] > git merge d1293de4d9578f3042d3a270d86781b2d60a4f59 # timeout=10 [2020-12-30T00:33:57.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T00:33:57.908Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T00:33:57.936Z] > git checkout -f feef462d8d033b3227dddeca3edea3f506c7597b # timeout=10 [2020-12-30T00:34:02.538Z] Commit message: "Merge commit 'd1293de4d9578f3042d3a270d86781b2d60a4f59' into HEAD" [2020-12-30T00:34:02.570Z] > git rev-list --no-walk c8dd1d4b66d45a12708ca1de511d8e38cfa652cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-12-30T00:34:03.212Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T00:34:04.339Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:34:04.843Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T00:34:05.201Z] + sudo service docker restart [2020-12-30T00:34:05.201Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-30T00:34:08.226Z] ========================================================= [2020-12-30T00:34:08.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-30T00:34:08.226Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:34:08.663Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-30T00:34:09.656Z] Sending build context to Docker daemon 497.2kB [2020-12-30T00:34:09.656Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-30T00:34:09.656Z] Step 2/7 : FROM ${BASE} [2020-12-30T00:34:09.930Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-30T00:34:09.930Z] 5f621e34cdf4: Pulling fs layer [2020-12-30T00:34:09.930Z] a4357932f1b6: Pulling fs layer [2020-12-30T00:34:09.930Z] 18c013af1878: Pulling fs layer [2020-12-30T00:34:09.930Z] 00ac8860ef70: Pulling fs layer [2020-12-30T00:34:09.930Z] 63d7cb157983: Pulling fs layer [2020-12-30T00:34:09.930Z] b116817d02f9: Pulling fs layer [2020-12-30T00:34:09.930Z] 745a02a5169b: Pulling fs layer [2020-12-30T00:34:09.930Z] 63d7cb157983: Waiting [2020-12-30T00:34:09.930Z] b116817d02f9: Waiting [2020-12-30T00:34:09.930Z] 745a02a5169b: Waiting [2020-12-30T00:34:09.930Z] 00ac8860ef70: Waiting [2020-12-30T00:34:09.930Z] 18c013af1878: Download complete [2020-12-30T00:34:09.930Z] a4357932f1b6: Verifying Checksum [2020-12-30T00:34:09.930Z] a4357932f1b6: Download complete [2020-12-30T00:34:09.930Z] 63d7cb157983: Verifying Checksum [2020-12-30T00:34:09.930Z] 63d7cb157983: Download complete [2020-12-30T00:34:10.205Z] b116817d02f9: Verifying Checksum [2020-12-30T00:34:10.205Z] b116817d02f9: Download complete [2020-12-30T00:34:11.192Z] 5f621e34cdf4: Download complete [2020-12-30T00:34:11.798Z] 5f621e34cdf4: Pull complete [2020-12-30T00:34:12.408Z] a4357932f1b6: Pull complete [2020-12-30T00:34:12.686Z] 18c013af1878: Pull complete [2020-12-30T00:34:13.284Z] 745a02a5169b: Verifying Checksum [2020-12-30T00:34:13.284Z] 745a02a5169b: Download complete [2020-12-30T00:34:14.278Z] 00ac8860ef70: Verifying Checksum [2020-12-30T00:34:14.278Z] 00ac8860ef70: Download complete [2020-12-30T00:34:22.101Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 15.066s coverage: 89.0% of statements [2020-12-30T00:34:22.101Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.026s coverage: 77.1% of statements [2020-12-30T00:34:22.101Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] [2020-12-30T00:34:26.692Z] 00ac8860ef70: Pull complete [2020-12-30T00:34:26.692Z] 63d7cb157983: Pull complete [2020-12-30T00:34:26.692Z] b116817d02f9: Pull complete [2020-12-30T00:34:28.699Z] 745a02a5169b: Pull complete [2020-12-30T00:34:28.699Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-30T00:34:28.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-30T00:34:28.699Z] ---> b7e6874047d6 [2020-12-30T00:34:28.699Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T00:34:31.434Z] ---> Running in 49bcab2bd500 [2020-12-30T00:34:32.053Z] Removing intermediate container 49bcab2bd500 [2020-12-30T00:34:32.053Z] ---> 9d6f14946ccf [2020-12-30T00:34:32.053Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-30T00:34:32.053Z] ---> Running in 80f83c5ad95f [2020-12-30T00:34:33.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-30T00:34:34.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-30T00:34:34.543Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.402s coverage: 84.1% of statements [2020-12-30T00:34:34.543Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.009s coverage: 85.7% of statements [2020-12-30T00:34:34.543Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.159s coverage: 100.0% of statements [2020-12-30T00:34:34.543Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.045s coverage: 100.0% of statements [2020-12-30T00:34:34.543Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.036s coverage: 90.9% of statements [2020-12-30T00:34:34.543Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-30T00:34:35.131Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-30T00:34:35.132Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-30T00:34:35.406Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-30T00:34:35.406Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-30T00:34:35.406Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-30T00:34:35.686Z] Executing busybox-1.31.1-r19.trigger [2020-12-30T00:34:35.686Z] OK: 144 MiB in 44 packages [2020-12-30T00:34:36.515Z] gofmt -l . [2020-12-30T00:34:36.515Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-30T00:34:36.550Z] $ docker stop --time=1 e1b17cac6e69a9a18ef06dc2c8f277367f556e26afefb01ee73e1569dc21b663 [2020-12-30T00:34:37.166Z] Removing intermediate container 80f83c5ad95f [2020-12-30T00:34:37.166Z] ---> 228a3e00d90e [2020-12-30T00:34:37.166Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-30T00:34:37.166Z] ---> Running in 43ef58abc579 [2020-12-30T00:34:37.765Z] Removing intermediate container 43ef58abc579 [2020-12-30T00:34:37.765Z] ---> 34ffd7943969 [2020-12-30T00:34:37.765Z] Step 6/7 : COPY go.mod . [2020-12-30T00:34:38.373Z] ---> 910133f7db16 [2020-12-30T00:34:38.373Z] Step 7/7 : RUN go mod download [2020-12-30T00:34:38.390Z] $ docker rm -f e1b17cac6e69a9a18ef06dc2c8f277367f556e26afefb01ee73e1569dc21b663 [2020-12-30T00:34:38.651Z] ---> Running in 32d440882791 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T00:34:39.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-30T00:34:39.670Z] 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] } [2020-12-30T00:34:53.779Z] Removing intermediate container 32d440882791 [2020-12-30T00:34:53.779Z] ---> 89a81bb71bf5 [2020-12-30T00:34:53.779Z] Successfully built 89a81bb71bf5 [2020-12-30T00:34:53.779Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:34:54.141Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T00:34:54.141Z] . [Pipeline] withDockerContainer [2020-12-30T00:34:54.482Z] prd-ubuntu18.04-docker-arm64-4c-16g-17692 does not seem to be running inside a container [2020-12-30T00:34:54.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T00:34:56.289Z] $ docker top ff9f1ec35ec3f32d4db66e07308577d3934e950fd03ee8e2762e765f4a986b7a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:34:57.335Z] + go version [2020-12-30T00:34:57.335Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-30T00:34:57.373Z] $ docker stop --time=1 ff9f1ec35ec3f32d4db66e07308577d3934e950fd03ee8e2762e765f4a986b7a [2020-12-30T00:34:59.361Z] $ docker rm -f ff9f1ec35ec3f32d4db66e07308577d3934e950fd03ee8e2762e765f4a986b7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:35:00.373Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T00:35:00.373Z] . [Pipeline] withDockerContainer [2020-12-30T00:35:00.640Z] prd-ubuntu18.04-docker-arm64-4c-16g-17692 does not seem to be running inside a container [2020-12-30T00:35:00.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T00:35:02.268Z] $ docker top f6dc564288b2b7d10995fb1302950d9154fc248f2441c98fd6c242f38b65db26 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:35:03.318Z] + make test [2020-12-30T00:35:03.318Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T00:35:15.805Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-12-30T00:35:38.094Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 15.034s coverage: 89.0% of statements [2020-12-30T00:35:38.094Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams 0.024s coverage: 77.1% of statements [2020-12-30T00:35:38.094Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg/redis/streams/mocks [no test files] [2020-12-30T00:35:56.385Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.370s coverage: 84.1% of statements [2020-12-30T00:35:56.385Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.017s coverage: 85.7% of statements [2020-12-30T00:35:56.385Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.049s coverage: 100.0% of statements [2020-12-30T00:35:56.385Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/redis 0.041s coverage: 100.0% of statements [2020-12-30T00:35:56.385Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.009s coverage: 90.9% of statements [2020-12-30T00:35:56.385Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-30T00:35:56.984Z] gofmt -l . [2020-12-30T00:35:57.260Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-30T00:35:57.564Z] $ docker stop --time=1 f6dc564288b2b7d10995fb1302950d9154fc248f2441c98fd6c242f38b65db26 [2020-12-30T00:35:59.642Z] $ docker rm -f f6dc564288b2b7d10995fb1302950d9154fc248f2441c98fd6c242f38b65db26 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T00:36:00.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-30T00:36:00.432Z] Warning: overwriting stash ‘coverage-report’ [2020-12-30T00:36:01.205Z] 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] } [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 [2020-12-30T00:36:03.082Z] provisioning config files... [2020-12-30T00:36:03.101Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/config3121417180970815342tmp [Pipeline] { [Pipeline] sh [2020-12-30T00:36:03.502Z] + set +x [2020-12-30T00:36:03.502Z] + curl -s https://codecov.io/bash [2020-12-30T00:36:03.502Z] + bash -s -- [2020-12-30T00:36:03.773Z] [2020-12-30T00:36:03.773Z] _____ _ [2020-12-30T00:36:03.773Z] / ____| | | [2020-12-30T00:36:03.773Z] | | ___ __| | ___ ___ _____ __ [2020-12-30T00:36:03.773Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-30T00:36:03.773Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-30T00:36:03.773Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-30T00:36:03.773Z] Bash-20201223-5ad85e3 [2020-12-30T00:36:03.773Z] [2020-12-30T00:36:03.773Z] [2020-12-30T00:36:03.773Z] ==> git version 2.24.3 found [2020-12-30T00:36:03.773Z] ==> 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 [2020-12-30T00:36:03.773Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-30T00:36:03.773Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-30T00:36:03.773Z] ==> Jenkins CI detected. [2020-12-30T00:36:03.773Z] project root: . [2020-12-30T00:36:03.773Z] --> token set from env [2020-12-30T00:36:03.773Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-30T00:36:03.773Z] ==> Running gcov in . (disable via -X gcov) [2020-12-30T00:36:03.773Z] ==> Python coveragepy not found [2020-12-30T00:36:03.773Z] ==> Searching for coverage reports in: [2020-12-30T00:36:03.773Z] + . [2020-12-30T00:36:03.773Z] -> Found 1 reports [2020-12-30T00:36:03.773Z] ==> Detecting git/mercurial file structure [2020-12-30T00:36:03.773Z] ==> Reading reports [2020-12-30T00:36:03.773Z] + ./coverage.out bytes=20975 [2020-12-30T00:36:03.773Z] ==> Appending adjustments [2020-12-30T00:36:03.773Z] https://docs.codecov.io/docs/fixing-reports [2020-12-30T00:36:04.040Z] + Found adjustments [2020-12-30T00:36:04.040Z] ==> Gzipping contents [2020-12-30T00:36:04.040Z] 8.0K /tmp/codecov.7nrpi6.gz [2020-12-30T00:36:04.040Z] ==> Uploading reports [2020-12-30T00:36:04.040Z] url: https://codecov.io [2020-12-30T00:36:04.040Z] query: branch=PR-79&commit=ccfb1da71f549249966c93c261b3b06e2d5ffae9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=79&job=&cmd_args= [2020-12-30T00:36:04.040Z] -> Pinging Codecov [2020-12-30T00:36:04.040Z] https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-79&commit=ccfb1da71f549249966c93c261b3b06e2d5ffae9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=79&job=&cmd_args= [2020-12-30T00:36:04.623Z] -> Uploading to [2020-12-30T00:36:04.623Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-30/F6E385568367DD0E4001BA4F8F1CB792/ccfb1da71f549249966c93c261b3b06e2d5ffae9/4126bd59-176e-4a8e-a642-1352ca80b32d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201230%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201230T003604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2784701b440ff68e1f75d50298df87ebcc7786eab7b3dd1cfdef459dd02d10d2 [2020-12-30T00:36:04.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-30T00:36:04.623Z] Dload Upload Total Spent Left Speed [2020-12-30T00:36:04.888Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5236 0 0 100 5236 0 12416 --:--:-- --:--:-- --:--:-- 12407 [2020-12-30T00:36:04.888Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/ccfb1da71f549249966c93c261b3b06e2d5ffae9 [Pipeline] } [2020-12-30T00:36:04.905Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-12-30T00:36:07.481Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:08.076Z] ---> package-listing.sh [2020-12-30T00:36:08.076Z] ++ facter osfamily [2020-12-30T00:36:08.076Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-30T00:36:08.076Z] + OS_FAMILY=redhat [2020-12-30T00:36:08.076Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-79 [2020-12-30T00:36:08.076Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-30T00:36:08.076Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-30T00:36:08.076Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-30T00:36:08.076Z] + PACKAGES=/tmp/packages_start.txt [2020-12-30T00:36:08.076Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-79 ']' [2020-12-30T00:36:08.076Z] + PACKAGES=/tmp/packages_end.txt [2020-12-30T00:36:08.076Z] + case "${OS_FAMILY}" in [2020-12-30T00:36:08.076Z] + rpm -qa [2020-12-30T00:36:08.076Z] + sort [2020-12-30T00:36:12.334Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-30T00:36:12.334Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-30T00:36:12.334Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-30T00:36:12.334Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-79 ']' [2020-12-30T00:36:12.334Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-79/archives/ [2020-12-30T00:36:12.334Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-79/archives/ [Pipeline] echo [2020-12-30T00:36:12.353Z] 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-30T00:36:12.654Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:36:12.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:36:12.970Z] [2020-12-30T00:36:12.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-30T00:36:13.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:36:13.323Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-30T00:36:13.323Z] df20fa9351a1: Pulling fs layer [2020-12-30T00:36:13.323Z] 36b3adc4ff6f: Pulling fs layer [2020-12-30T00:36:13.323Z] 8ad3a11d3b57: Pulling fs layer [2020-12-30T00:36:13.323Z] 46f8f816bc3b: Pulling fs layer [2020-12-30T00:36:13.323Z] 93b61091891f: Pulling fs layer [2020-12-30T00:36:13.323Z] 93b9cdb0e59b: Pulling fs layer [2020-12-30T00:36:13.323Z] 5e14af77c1be: Pulling fs layer [2020-12-30T00:36:13.323Z] 01666e4c0597: Pulling fs layer [2020-12-30T00:36:13.323Z] aa168da1d23b: Pulling fs layer [2020-12-30T00:36:13.323Z] 46f8f816bc3b: Waiting [2020-12-30T00:36:13.323Z] 93b61091891f: Waiting [2020-12-30T00:36:13.323Z] 93b9cdb0e59b: Waiting [2020-12-30T00:36:13.323Z] 5e14af77c1be: Waiting [2020-12-30T00:36:13.323Z] aa168da1d23b: Waiting [2020-12-30T00:36:13.323Z] 36b3adc4ff6f: Verifying Checksum [2020-12-30T00:36:13.323Z] 36b3adc4ff6f: Download complete [2020-12-30T00:36:13.323Z] 46f8f816bc3b: Verifying Checksum [2020-12-30T00:36:13.323Z] 46f8f816bc3b: Download complete [2020-12-30T00:36:13.323Z] df20fa9351a1: Verifying Checksum [2020-12-30T00:36:13.323Z] df20fa9351a1: Download complete [2020-12-30T00:36:13.598Z] 93b9cdb0e59b: Verifying Checksum [2020-12-30T00:36:13.598Z] 93b9cdb0e59b: Download complete [2020-12-30T00:36:13.598Z] 5e14af77c1be: Download complete [2020-12-30T00:36:13.598Z] 93b61091891f: Download complete [2020-12-30T00:36:13.598Z] 01666e4c0597: Verifying Checksum [2020-12-30T00:36:13.598Z] 01666e4c0597: Download complete [2020-12-30T00:36:13.873Z] df20fa9351a1: Pull complete [2020-12-30T00:36:14.138Z] 36b3adc4ff6f: Pull complete [2020-12-30T00:36:14.403Z] 8ad3a11d3b57: Verifying Checksum [2020-12-30T00:36:14.403Z] 8ad3a11d3b57: Download complete [2020-12-30T00:36:15.360Z] 8ad3a11d3b57: Pull complete [2020-12-30T00:36:15.360Z] 46f8f816bc3b: Pull complete [2020-12-30T00:36:16.783Z] 93b61091891f: Pull complete [2020-12-30T00:36:16.783Z] aa168da1d23b: Download complete [2020-12-30T00:36:16.783Z] 93b9cdb0e59b: Pull complete [2020-12-30T00:36:16.783Z] 5e14af77c1be: Pull complete [2020-12-30T00:36:17.047Z] 01666e4c0597: Pull complete [2020-12-30T00:36:25.282Z] aa168da1d23b: Pull complete [2020-12-30T00:36:25.282Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-30T00:36:25.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T00:36:25.282Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-30T00:36:25.548Z] prd-centos7-docker-4c-2g-17674 does not seem to be running inside a container [2020-12-30T00:36:25.627Z] $ 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-79/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-79 -v /w/workspace/exfoundry_go-mod-messaging_PR-79:/w/workspace/exfoundry_go-mod-messaging_PR-79:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-79@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-79@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 [2020-12-30T00:36:29.733Z] $ docker top 0c664c612f09df38b797b8c9e75bfc424f5574df586e2b88f5525ab1ccb9fdc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T00:36:30.314Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-30T00:36:30.632Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-30T00:36:30.938Z] + ls /var/log/sa-host [2020-12-30T00:36:30.938Z] + sadf -c /var/log/sa-host/sa23 [2020-12-30T00:36:30.938Z] file_magic: OK [2020-12-30T00:36:30.938Z] HZ: Using current value: 100 [2020-12-30T00:36:30.938Z] file_header: OK [2020-12-30T00:36:30.938Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-30T00:36:30.938Z] Statistics: [2020-12-30T00:36:30.938Z] Hnuu...uuuununununu... [2020-12-30T00:36:30.938Z] File successfully converted to sysstat format version 12.2.1 [2020-12-30T00:36:30.938Z] + sadf -c /var/log/sa-host/sa30 [2020-12-30T00:36:30.938Z] file_magic: OK [2020-12-30T00:36:30.938Z] HZ: Using current value: 100 [2020-12-30T00:36:30.938Z] file_header: OK [2020-12-30T00:36:30.938Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-30T00:36:30.938Z] Statistics: [2020-12-30T00:36:30.938Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-30T00:36:30.938Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-30T00:36:31.132Z] provisioning config files... [2020-12-30T00:36:31.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-79@tmp/config6329959603413623214tmp [Pipeline] { [Pipeline] echo [2020-12-30T00:36:31.218Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:31.528Z] ---> create-netrc.sh [Pipeline] } [2020-12-30T00:36:31.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-30T00:36:31.646Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:31.953Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-30T00:36:31.965Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:32.266Z] ---> sudo-logs.sh [2020-12-30T00:36:32.266Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-30T00:36:32.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:32.583Z] ---> job-cost.sh [2020-12-30T00:36:32.583Z] lf-activate-venv: SKIPPING [2020-12-30T00:36:32.583Z] INFO: No Stack... [2020-12-30T00:36:33.984Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-30T00:36:34.249Z] INFO: Archiving Costs [Pipeline] echo [2020-12-30T00:36:34.264Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T00:36:34.580Z] ---> logs-deploy.sh [2020-12-30T00:36:34.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-79/2 [2020-12-30T00:36:34.580Z] INFO: archiving workspace using pattern(s): [2020-12-30T00:36:36.529Z] Archives upload complete. [2020-12-30T00:36:36.794Z] INFO: archiving logs to Nexus