Pull request #399 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 68565c5592537980ac61baff1ddc309eb04604eb+feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 (9b9c27abb07bb4f92f6d58b7ec8a57cb1fb3a018) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-core-contracts, 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-core-contracts-settings PROJECT: go-mod-core-contracts 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-core-contracts 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16256 in /w/workspace/dry_go-mod-core-contracts_PR-399 [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-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 into PR head commit 68565c5592537980ac61baff1ddc309eb04604eb Merge succeeded, producing d46816adef716b48d050b650da8fabd6c34ffe1a Checking out Revision d46816adef716b48d050b650da8fabd6c34ffe1a (PR-399) > git config core.sparsecheckout # timeout=10 > git checkout -f 68565c5592537980ac61baff1ddc309eb04604eb # 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 feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d46816adef716b48d050b650da8fabd6c34ffe1a # timeout=10 Commit message: "Merge commit 'feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-16T02:58:29.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-16T02:58:29.833Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk efe5b860039d3fa20edf8dde8191f7cc39f02a04 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-16T02:58:29.944Z] ========================================================= [2020-12-16T02:58:29.944Z] EdgeX Global Pipelines Version Info [2020-12-16T02:58:29.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-16T02:58:31.469Z] ------------------- [2020-12-16T02:58:31.469Z] stable info: [2020-12-16T02:58:31.469Z] ------------------- [2020-12-16T02:58:31.469Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T02:58:31.469Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T02:58:31.469Z] Message: update stable to v1.0.172 [2020-12-16T02:58:32.417Z] ------------------- [2020-12-16T02:58:32.417Z] experimental info: [2020-12-16T02:58:32.417Z] ------------------- [2020-12-16T02:58:32.417Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T02:58:32.417Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T02:58:32.417Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-16T02:58:32.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-16T02:58:32.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-16T02:58:32.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-16T02:58:33.006Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-16T02:58:33.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-16T02:58:33.376Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-16T02:58:33.544Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-16T02:58:33.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-16T02:58:33.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-16T02:58:33.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-16T02:58:33.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-16T02:58:34.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-16T02:58:34.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-16T02:58:34.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-16T02:58:34.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T02:58:34.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T02:58:34.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T02:58:34.612Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T02:58:34.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-16T02:58:34.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-16T02:58:34.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-16T02:58:34.996Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-16T02:58:35.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-16T02:58:35.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-16T02:58:35.287Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-16T02:58:35.383Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-16T02:58:35.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2020-12-16T02:58:35.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2020-12-16T02:58:35.691Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2020-12-16T02:58:35.778Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d46816adef716b48d050b650da8fabd6c34ffe1a [Pipeline] echo [2020-12-16T02:58:35.865Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d46816a [Pipeline] echo [2020-12-16T02:58:35.974Z] [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-16T02:58:36.668Z] + git log --format=format:%s -1 d46816adef716b48d050b650da8fabd6c34ffe1a [Pipeline] echo [2020-12-16T02:58:36.729Z] GIT_COMMIT: d46816adef716b48d050b650da8fabd6c34ffe1a, Commit Message: Merge commit 'feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5' into HEAD [Pipeline] echo [2020-12-16T02:58:36.774Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-16T02:58:37.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T02:58:38.009Z] [2020-12-16T02:58:38.009Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T02:58:38.368Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T02:58:38.369Z] latest: Pulling from edgex-devops/git-semver [2020-12-16T02:58:38.369Z] 31603596830f: Pulling fs layer [2020-12-16T02:58:38.369Z] 2a8b12db71e7: Pulling fs layer [2020-12-16T02:58:38.369Z] 6ca5941a6612: Pulling fs layer [2020-12-16T02:58:38.369Z] ecc8261a40a4: Pulling fs layer [2020-12-16T02:58:38.369Z] ecc8261a40a4: Waiting [2020-12-16T02:58:38.369Z] 2a8b12db71e7: Verifying Checksum [2020-12-16T02:58:38.369Z] 2a8b12db71e7: Download complete [2020-12-16T02:58:38.630Z] 31603596830f: Verifying Checksum [2020-12-16T02:58:38.630Z] 31603596830f: Download complete [2020-12-16T02:58:38.630Z] ecc8261a40a4: Verifying Checksum [2020-12-16T02:58:38.630Z] ecc8261a40a4: Download complete [2020-12-16T02:58:38.630Z] 6ca5941a6612: Verifying Checksum [2020-12-16T02:58:38.630Z] 6ca5941a6612: Download complete [2020-12-16T02:58:38.894Z] 31603596830f: Pull complete [2020-12-16T02:58:38.894Z] 2a8b12db71e7: Pull complete [2020-12-16T02:58:39.843Z] 6ca5941a6612: Pull complete [2020-12-16T02:58:39.843Z] ecc8261a40a4: Pull complete [2020-12-16T02:58:40.104Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-16T02:58:40.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T02:58:40.104Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-16T02:58:40.207Z] prd-centos7-docker-4c-2g-16256 does not seem to be running inside a container [2020-12-16T02:58:40.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-399 -v /w/workspace/dry_go-mod-core-contracts_PR-399:/w/workspace/dry_go-mod-core-contracts_PR-399:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-399@tmp:/w/workspace/dry_go-mod-core-contracts_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-16T02:58:42.173Z] $ docker top a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-16T02:58:42.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T02:58:42.511Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T02:58:42.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T02:58:42.750Z] $ docker exec a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e ssh-agent [2020-12-16T02:58:42.930Z] SSH_AUTH_SOCK=/tmp/ssh-DcrMZXITJGsf/agent.11 [2020-12-16T02:58:42.930Z] SSH_AGENT_PID=17 [2020-12-16T02:58:42.941Z] Running ssh-add (command line suppressed) [2020-12-16T02:58:43.068Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-399@tmp/private_key_346914807305894932.key (/w/workspace/dry_go-mod-core-contracts_PR-399@tmp/private_key_346914807305894932.key) [2020-12-16T02:58:43.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T02:58:43.476Z] + git tag --points-at HEAD [Pipeline] } [2020-12-16T02:58:43.498Z] $ docker exec --env ******** --env ******** a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e ssh-agent -k [2020-12-16T02:58:43.614Z] unset SSH_AUTH_SOCK; [2020-12-16T02:58:43.614Z] unset SSH_AGENT_PID; [2020-12-16T02:58:43.614Z] echo Agent pid 17 killed; [2020-12-16T02:58:43.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-16T02:58:43.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T02:58:43.817Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T02:58:43.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T02:58:43.994Z] $ docker exec a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e ssh-agent [2020-12-16T02:58:44.164Z] SSH_AUTH_SOCK=/tmp/ssh-5ZeGiCKlnaOZ/agent.46 [2020-12-16T02:58:44.164Z] SSH_AGENT_PID=51 [2020-12-16T02:58:44.174Z] Running ssh-add (command line suppressed) [2020-12-16T02:58:44.290Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-399@tmp/private_key_8594947424804062521.key (/w/workspace/dry_go-mod-core-contracts_PR-399@tmp/private_key_8594947424804062521.key) [2020-12-16T02:58:44.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T02:58:44.688Z] + git semver init [2020-12-16T02:58:44.688Z] # -> Open(): unable to determine branch for HEAD [2020-12-16T02:58:44.688Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-399/.git [2020-12-16T02:58:44.688Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-399 [2020-12-16T02:58:44.688Z] # $SEMVER_REMOTE_NAME = origin [2020-12-16T02:58:44.688Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-16T02:58:44.688Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-16T02:58:44.688Z] # $SEMVER_BRANCH = PR-399 [2020-12-16T02:58:44.688Z] # $SEMVER_TEMP = /tmp/semver-594738566 [2020-12-16T02:58:44.688Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-16T02:58:45.263Z] # '/tmp/semver-594738566' -> '/w/workspace/dry_go-mod-core-contracts_PR-399/.semver' [2020-12-16T02:58:45.263Z] # -> Force: false [2020-12-16T02:58:45.263Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-399/.semver [Pipeline] } [2020-12-16T02:58:45.276Z] $ docker exec --env ******** --env ******** a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e ssh-agent -k [2020-12-16T02:58:45.385Z] unset SSH_AUTH_SOCK; [2020-12-16T02:58:45.386Z] unset SSH_AGENT_PID; [2020-12-16T02:58:45.386Z] echo Agent pid 51 killed; [2020-12-16T02:58:45.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-16T02:58:45.896Z] + git semver [Pipeline] } [2020-12-16T02:58:45.913Z] $ docker stop --time=1 a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e [2020-12-16T02:58:47.734Z] $ docker rm -f a697dba1cdf6753c6b3f7e0f053ee5a90d7f0df3b0a1ff4f6bba945507030f5e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T02:58:48.277Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-16T02:58:48.782Z] Stashed 1 file(s) [Pipeline] echo [2020-12-16T02:58:48.785Z] [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-16T02:59:04.290Z] Still waiting to schedule task [2020-12-16T02:59:04.290Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-16T02:59:04.292Z] Still waiting to schedule task [2020-12-16T02:59:04.292Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16254’ is offline [2020-12-16T03:00:59.150Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16257 in /w/workspace/dry_go-mod-core-contracts_PR-399 [Pipeline] { [Pipeline] ws [2020-12-16T03:00:59.218Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-12-16T03:01:04.856Z] using credential edgex-jenkins-ssh [2020-12-16T03:01:04.925Z] Cloning the remote Git repository [2020-12-16T03:01:04.984Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:01:05.099Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-12-16T03:01:05.189Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:01:05.190Z] > git --version # timeout=10 [2020-12-16T03:01:05.219Z] > git --version # 'git version 2.17.1' [2020-12-16T03:01:05.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:01:05.281Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T03:01:06.617Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T03:01:06.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T03:01:06.686Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T03:01:06.742Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:01:06.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:01:06.760Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T03:01:07.465Z] Merging remotes/origin/master commit feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 into PR head commit 68565c5592537980ac61baff1ddc309eb04604eb [2020-12-16T03:01:07.848Z] Merge succeeded, producing 3b641cd6091695e834ad05eb391d2a650b2479a9 [2020-12-16T03:01:07.848Z] Checking out Revision 3b641cd6091695e834ad05eb391d2a650b2479a9 (PR-399) [2020-12-16T03:01:07.494Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T03:01:07.510Z] > git checkout -f 68565c5592537980ac61baff1ddc309eb04604eb # timeout=10 [2020-12-16T03:01:07.657Z] > git remote # timeout=10 [2020-12-16T03:01:07.678Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T03:01:07.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:01:07.707Z] > git merge feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 # timeout=10 [2020-12-16T03:01:07.834Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T03:01:07.858Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T03:01:07.880Z] > git checkout -f 3b641cd6091695e834ad05eb391d2a650b2479a9 # timeout=10 [2020-12-16T03:01:12.459Z] Commit message: "Merge commit 'feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5' into HEAD" [2020-12-16T03:01:12.483Z] First time build. Skipping changelog. [2020-12-16T03:01:12.472Z] > git rev-list --no-walk efe5b860039d3fa20edf8dde8191f7cc39f02a04 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T03:01:14.428Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-16T03:01:14.867Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T03:01:15.223Z] + true [2020-12-16T03:01:15.223Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-16T03:01:18.205Z] ========================================================= [2020-12-16T03:01:18.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-16T03:01:18.205Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:01:18.616Z] + 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-16T03:01:19.605Z] Sending build context to Docker daemon 2.024MB [2020-12-16T03:01:19.605Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-16T03:01:19.605Z] Step 2/7 : FROM ${BASE} [2020-12-16T03:01:19.890Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-16T03:01:19.890Z] 5f621e34cdf4: Pulling fs layer [2020-12-16T03:01:19.890Z] a4357932f1b6: Pulling fs layer [2020-12-16T03:01:19.890Z] 18c013af1878: Pulling fs layer [2020-12-16T03:01:19.890Z] 00ac8860ef70: Pulling fs layer [2020-12-16T03:01:19.890Z] 63d7cb157983: Pulling fs layer [2020-12-16T03:01:19.890Z] b116817d02f9: Pulling fs layer [2020-12-16T03:01:19.890Z] 745a02a5169b: Pulling fs layer [2020-12-16T03:01:19.890Z] 00ac8860ef70: Waiting [2020-12-16T03:01:19.890Z] 63d7cb157983: Waiting [2020-12-16T03:01:19.890Z] b116817d02f9: Waiting [2020-12-16T03:01:19.890Z] 745a02a5169b: Waiting [2020-12-16T03:01:19.890Z] 18c013af1878: Verifying Checksum [2020-12-16T03:01:19.890Z] 18c013af1878: Download complete [2020-12-16T03:01:19.890Z] a4357932f1b6: Download complete [2020-12-16T03:01:19.890Z] 63d7cb157983: Verifying Checksum [2020-12-16T03:01:19.890Z] 63d7cb157983: Download complete [2020-12-16T03:01:19.890Z] b116817d02f9: Verifying Checksum [2020-12-16T03:01:19.890Z] b116817d02f9: Download complete [2020-12-16T03:01:20.167Z] 5f621e34cdf4: Verifying Checksum [2020-12-16T03:01:20.167Z] 5f621e34cdf4: Download complete [2020-12-16T03:01:20.770Z] 5f621e34cdf4: Pull complete [2020-12-16T03:01:21.383Z] a4357932f1b6: Pull complete [2020-12-16T03:01:21.660Z] 18c013af1878: Pull complete [2020-12-16T03:01:22.264Z] 745a02a5169b: Verifying Checksum [2020-12-16T03:01:22.264Z] 745a02a5169b: Download complete [2020-12-16T03:01:23.714Z] 00ac8860ef70: Verifying Checksum [2020-12-16T03:01:23.714Z] 00ac8860ef70: Download complete [2020-12-16T03:01:33.891Z] 00ac8860ef70: Pull complete [2020-12-16T03:01:33.891Z] 63d7cb157983: Pull complete [2020-12-16T03:01:33.891Z] b116817d02f9: Pull complete [2020-12-16T03:01:38.243Z] 745a02a5169b: Pull complete [2020-12-16T03:01:38.243Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-16T03:01:38.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-16T03:01:38.243Z] ---> b7e6874047d6 [2020-12-16T03:01:38.243Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T03:01:40.889Z] ---> Running in a7ab7d65fc28 [2020-12-16T03:01:40.889Z] Removing intermediate container a7ab7d65fc28 [2020-12-16T03:01:40.889Z] ---> bf5770fb5d21 [2020-12-16T03:01:40.889Z] Step 4/7 : RUN apk add bash [2020-12-16T03:01:41.163Z] ---> Running in 772d64a09922 [2020-12-16T03:01:42.610Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-16T03:01:43.215Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-16T03:01:44.198Z] OK: 142 MiB in 39 packages [2020-12-16T03:01:45.188Z] Removing intermediate container 772d64a09922 [2020-12-16T03:01:45.188Z] ---> 9f519607a4c2 [2020-12-16T03:01:45.188Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-16T03:01:45.468Z] ---> Running in 4748c9351826 [2020-12-16T03:01:46.066Z] Removing intermediate container 4748c9351826 [2020-12-16T03:01:46.066Z] ---> 150c0f3c3d77 [2020-12-16T03:01:46.066Z] Step 6/7 : COPY go.mod . [2020-12-16T03:01:46.739Z] ---> 3bf69a9b88ad [2020-12-16T03:01:46.739Z] Step 7/7 : RUN go mod download [2020-12-16T03:01:47.024Z] ---> Running in 8277aaab239a [2020-12-16T03:01:49.456Z] Running on prd-centos7-docker-4c-2g-16258 in /w/workspace/dry_go-mod-core-contracts_PR-399 [Pipeline] { [Pipeline] ws [2020-12-16T03:01:49.514Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-12-16T03:01:58.433Z] using credential edgex-jenkins-ssh [2020-12-16T03:01:58.560Z] Cloning the remote Git repository [2020-12-16T03:01:58.629Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:01:58.758Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-12-16T03:01:58.916Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:01:58.919Z] > git --version # timeout=10 [2020-12-16T03:01:58.990Z] > git --version # 'git version 2.24.3' [2020-12-16T03:01:58.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:01:59.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T03:01:59.928Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T03:02:00.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T03:02:00.100Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T03:02:00.157Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T03:02:00.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:02:00.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T03:02:00.902Z] Merging remotes/origin/master commit feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 into PR head commit 68565c5592537980ac61baff1ddc309eb04604eb [2020-12-16T03:02:01.380Z] Merge succeeded, producing 8dbbaa0b190f3ead08f0427fa78dd2b230201dfa [2020-12-16T03:02:01.380Z] Checking out Revision 8dbbaa0b190f3ead08f0427fa78dd2b230201dfa (PR-399) [2020-12-16T03:02:02.156Z] Removing intermediate container 8277aaab239a [2020-12-16T03:02:02.156Z] ---> 4de26050fad8 [2020-12-16T03:02:02.156Z] Successfully built 4de26050fad8 [2020-12-16T03:02:02.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:02:00.933Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T03:02:00.989Z] > git checkout -f 68565c5592537980ac61baff1ddc309eb04604eb # timeout=10 [2020-12-16T03:02:01.122Z] > git remote # timeout=10 [2020-12-16T03:02:01.169Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T03:02:01.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T03:02:01.205Z] > git merge feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5 # timeout=10 [2020-12-16T03:02:01.277Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T03:02:01.393Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T03:02:01.412Z] > git checkout -f 8dbbaa0b190f3ead08f0427fa78dd2b230201dfa # timeout=10 [2020-12-16T03:02:02.508Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T03:02:02.508Z] . [Pipeline] withDockerContainer [2020-12-16T03:02:02.805Z] prd-ubuntu18.04-docker-arm64-4c-16g-16257 does not seem to be running inside a container [2020-12-16T03:02:02.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-16T03:02:04.491Z] $ docker top 5bad0d4986cfbf21067b60049c49927a8481f8b2fc95235e72f6f9b24a937051 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T03:02:05.547Z] + go version [2020-12-16T03:02:05.547Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-16T03:02:05.579Z] $ docker stop --time=1 5bad0d4986cfbf21067b60049c49927a8481f8b2fc95235e72f6f9b24a937051 [2020-12-16T03:02:06.477Z] Commit message: "Merge commit 'feca6d8a376c2ab2d4157ab8cba03f382b2c5dc5' into HEAD" [2020-12-16T03:02:06.552Z] First time build. Skipping changelog. [2020-12-16T03:02:06.491Z] > git rev-list --no-walk efe5b860039d3fa20edf8dde8191f7cc39f02a04 # timeout=10 [2020-12-16T03:02:07.599Z] $ docker rm -f 5bad0d4986cfbf21067b60049c49927a8481f8b2fc95235e72f6f9b24a937051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T03:02:08.687Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T03:02:08.687Z] . [Pipeline] withDockerContainer [2020-12-16T03:02:10.216Z] prd-ubuntu18.04-docker-arm64-4c-16g-16257 does not seem to be running inside a container [2020-12-16T03:02:10.227Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-16T03:02:10.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-16T03:02:11.803Z] $ docker top 8185d165afd2d5b96102ab7c1e54a626adebc5366f839da4e606ef9c155e001b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-12-16T03:02:12.514Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T03:02:12.855Z] + true [2020-12-16T03:02:12.855Z] + sudo service docker restart [2020-12-16T03:02:12.855Z] Redirecting to /bin/systemctl restart docker.service [2020-12-16T03:02:13.002Z] + make test [2020-12-16T03:02:13.002Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] unstash [Pipeline] echo [2020-12-16T03:02:14.711Z] ========================================================= [2020-12-16T03:02:14.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-16T03:02:14.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:02:15.162Z] + 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-16T03:02:16.338Z] Sending build context to Docker daemon 2.025MB [2020-12-16T03:02:16.338Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-16T03:02:16.338Z] Step 2/7 : FROM ${BASE} [2020-12-16T03:02:16.655Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-16T03:02:16.655Z] 188c0c94c7c5: Pulling fs layer [2020-12-16T03:02:16.655Z] 0ef7d3d256c8: Pulling fs layer [2020-12-16T03:02:16.655Z] de9db76c5a1d: Pulling fs layer [2020-12-16T03:02:16.655Z] bca2f99d35d6: Pulling fs layer [2020-12-16T03:02:16.655Z] 93359f2a8cfa: Pulling fs layer [2020-12-16T03:02:16.655Z] 7c6f9722023f: Pulling fs layer [2020-12-16T03:02:16.655Z] a35cf1a2eb13: Pulling fs layer [2020-12-16T03:02:16.655Z] bca2f99d35d6: Waiting [2020-12-16T03:02:16.655Z] 93359f2a8cfa: Waiting [2020-12-16T03:02:16.655Z] 7c6f9722023f: Waiting [2020-12-16T03:02:16.655Z] a35cf1a2eb13: Waiting [2020-12-16T03:02:16.955Z] de9db76c5a1d: Verifying Checksum [2020-12-16T03:02:16.955Z] de9db76c5a1d: Download complete [2020-12-16T03:02:16.955Z] 0ef7d3d256c8: Verifying Checksum [2020-12-16T03:02:16.955Z] 0ef7d3d256c8: Download complete [2020-12-16T03:02:16.955Z] 93359f2a8cfa: Verifying Checksum [2020-12-16T03:02:16.955Z] 93359f2a8cfa: Download complete [2020-12-16T03:02:16.955Z] 7c6f9722023f: Verifying Checksum [2020-12-16T03:02:16.955Z] 7c6f9722023f: Download complete [2020-12-16T03:02:16.955Z] 188c0c94c7c5: Verifying Checksum [2020-12-16T03:02:16.955Z] 188c0c94c7c5: Download complete [2020-12-16T03:02:18.101Z] 188c0c94c7c5: Pull complete [2020-12-16T03:02:18.436Z] 0ef7d3d256c8: Pull complete [2020-12-16T03:02:18.730Z] de9db76c5a1d: Pull complete [2020-12-16T03:02:21.410Z] a35cf1a2eb13: Verifying Checksum [2020-12-16T03:02:21.410Z] a35cf1a2eb13: Download complete [2020-12-16T03:02:22.872Z] bca2f99d35d6: Verifying Checksum [2020-12-16T03:02:22.872Z] bca2f99d35d6: Download complete [2020-12-16T03:02:35.220Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-16T03:02:35.454Z] bca2f99d35d6: Pull complete [2020-12-16T03:02:35.454Z] 93359f2a8cfa: Pull complete [2020-12-16T03:02:35.454Z] 7c6f9722023f: Pull complete [2020-12-16T03:02:36.675Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.024s coverage: 85.7% of statements [2020-12-16T03:02:36.675Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.048s coverage: 100.0% of statements [2020-12-16T03:02:37.662Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.057s coverage: 45.4% of statements [2020-12-16T03:02:37.662Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.047s coverage: 77.8% of statements [2020-12-16T03:02:37.662Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-16T03:02:39.126Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.013s coverage: 18.6% of statements [2020-12-16T03:02:41.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.034s coverage: 14.7% of statements [2020-12-16T03:02:41.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.017s coverage: 100.0% of statements [2020-12-16T03:02:41.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.094s coverage: 91.8% of statements [2020-12-16T03:02:41.117Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-16T03:02:41.117Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-16T03:02:41.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.027s coverage: 100.0% of statements [2020-12-16T03:02:41.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.022s coverage: 47.8% of statements [2020-12-16T03:02:42.447Z] a35cf1a2eb13: Pull complete [2020-12-16T03:02:42.447Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-16T03:02:42.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-16T03:02:42.447Z] ---> a62c8e92a672 [2020-12-16T03:02:42.447Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T03:02:42.447Z] ---> Running in 53099a8ed3b2 [2020-12-16T03:02:42.447Z] Removing intermediate container 53099a8ed3b2 [2020-12-16T03:02:42.447Z] ---> c9b1facfdfff [2020-12-16T03:02:42.447Z] Step 4/7 : RUN apk add bash [2020-12-16T03:02:42.447Z] ---> Running in cdf5cfdae927 [2020-12-16T03:02:43.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-16T03:02:44.081Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-16T03:02:45.144Z] OK: 166 MiB in 39 packages [2020-12-16T03:02:45.764Z] Removing intermediate container cdf5cfdae927 [2020-12-16T03:02:45.764Z] ---> 843d28a0013a [2020-12-16T03:02:45.764Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-16T03:02:46.054Z] ---> Running in dbc4ef1a9d18 [2020-12-16T03:02:46.347Z] Removing intermediate container dbc4ef1a9d18 [2020-12-16T03:02:46.347Z] ---> d22f9133f72a [2020-12-16T03:02:46.347Z] Step 6/7 : COPY go.mod . [2020-12-16T03:02:46.630Z] ---> 66f33f24984f [2020-12-16T03:02:46.630Z] Step 7/7 : RUN go mod download [2020-12-16T03:02:46.911Z] ---> Running in 0d195ccaec13 [2020-12-16T03:02:48.460Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.124s coverage: 63.0% of statements [2020-12-16T03:02:48.461Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.036s coverage: 26.3% of statements [2020-12-16T03:02:48.461Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.045s coverage: 15.4% of statements [2020-12-16T03:02:48.461Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.011s coverage: 15.4% of statements [2020-12-16T03:02:48.461Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.018s coverage: 14.3% of statements [2020-12-16T03:02:48.461Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-16T03:02:48.461Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.085s coverage: 85.3% of statements [2020-12-16T03:02:48.461Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-16T03:02:48.461Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-16T03:02:48.740Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.069s coverage: 43.5% of statements [2020-12-16T03:02:49.351Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.023s coverage: 100.0% of statements [2020-12-16T03:02:50.339Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.112s coverage: 95.2% of statements [2020-12-16T03:02:50.339Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements [2020-12-16T03:02:50.339Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-16T03:02:50.618Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-16T03:02:56.041Z] gofmt -l . [2020-12-16T03:02:56.041Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-16T03:02:56.667Z] $ docker stop --time=1 8185d165afd2d5b96102ab7c1e54a626adebc5366f839da4e606ef9c155e001b [2020-12-16T03:02:58.983Z] $ docker rm -f 8185d165afd2d5b96102ab7c1e54a626adebc5366f839da4e606ef9c155e001b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T03:02:59.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-16T03:03:01.156Z] 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] } [2020-12-16T03:03:02.172Z] Removing intermediate container 0d195ccaec13 [2020-12-16T03:03:02.172Z] ---> 17ad72a509f0 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-12-16T03:03:02.447Z] Successfully built 17ad72a509f0 [2020-12-16T03:03:02.448Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:03:02.980Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T03:03:03.626Z] . [Pipeline] withDockerContainer [2020-12-16T03:03:04.207Z] prd-centos7-docker-4c-2g-16258 does not seem to be running inside a container [2020-12-16T03:03:04.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-16T03:03:06.385Z] $ docker top 75aba983890497d095898b7ce0e713af0fac3bb668280ca3c5468b7c7f4fef01 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T03:03:07.805Z] + go version [2020-12-16T03:03:07.805Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-16T03:03:07.849Z] $ docker stop --time=1 75aba983890497d095898b7ce0e713af0fac3bb668280ca3c5468b7c7f4fef01 [2020-12-16T03:03:09.886Z] $ docker rm -f 75aba983890497d095898b7ce0e713af0fac3bb668280ca3c5468b7c7f4fef01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:03:11.081Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T03:03:11.081Z] . [Pipeline] withDockerContainer [2020-12-16T03:03:11.397Z] prd-centos7-docker-4c-2g-16258 does not seem to be running inside a container [2020-12-16T03:03:11.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-16T03:03:12.717Z] $ docker top 5607d04d346ea86098bf60caafb52b6c0cbaac4869818325f408bca45d786b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T03:03:14.021Z] + make test [2020-12-16T03:03:14.021Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-16T03:03:29.658Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-16T03:03:30.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.044s coverage: 85.7% of statements [2020-12-16T03:03:30.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.061s coverage: 100.0% of statements [2020-12-16T03:03:31.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.055s coverage: 45.4% of statements [2020-12-16T03:03:31.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.061s coverage: 77.8% of statements [2020-12-16T03:03:31.391Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-16T03:03:33.067Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 18.6% of statements [2020-12-16T03:03:34.192Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.069s coverage: 14.7% of statements [2020-12-16T03:03:34.192Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.020s coverage: 100.0% of statements [2020-12-16T03:03:34.932Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.040s coverage: 91.8% of statements [2020-12-16T03:03:34.932Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-16T03:03:34.932Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-16T03:03:34.932Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.035s coverage: 100.0% of statements [2020-12-16T03:03:34.932Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.027s coverage: 47.8% of statements [2020-12-16T03:03:40.720Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.103s coverage: 63.0% of statements [2020-12-16T03:03:40.720Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.023s coverage: 26.3% of statements [2020-12-16T03:03:40.720Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.018s coverage: 15.4% of statements [2020-12-16T03:03:40.720Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.046s coverage: 15.4% of statements [2020-12-16T03:03:40.720Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.090s coverage: 14.3% of statements [2020-12-16T03:03:40.720Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-16T03:03:42.298Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.040s coverage: 85.3% of statements [2020-12-16T03:03:42.299Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-16T03:03:42.299Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-16T03:03:42.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.026s coverage: 43.5% of statements [2020-12-16T03:03:42.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.085s coverage: 100.0% of statements [2020-12-16T03:03:42.909Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.068s coverage: 95.2% of statements [2020-12-16T03:03:43.233Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.039s coverage: 100.0% of statements [2020-12-16T03:03:43.233Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-16T03:03:43.578Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-16T03:03:48.366Z] gofmt -l . [2020-12-16T03:03:48.641Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-16T03:03:49.628Z] $ docker stop --time=1 5607d04d346ea86098bf60caafb52b6c0cbaac4869818325f408bca45d786b04 [2020-12-16T03:03:52.172Z] $ docker rm -f 5607d04d346ea86098bf60caafb52b6c0cbaac4869818325f408bca45d786b04 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T03:03:53.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-16T03:03:53.715Z] Warning: overwriting stash ‘coverage-report’ [2020-12-16T03:03:54.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-16T03:03:56.748Z] provisioning config files... [2020-12-16T03:03:56.766Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-399@tmp/config5083576364984475297tmp [Pipeline] { [Pipeline] sh [2020-12-16T03:03:57.149Z] + set +x [2020-12-16T03:03:57.149Z] + curl -s https://codecov.io/bash [2020-12-16T03:03:57.149Z] + bash -s -- [2020-12-16T03:03:57.413Z] [2020-12-16T03:03:57.413Z] _____ _ [2020-12-16T03:03:57.413Z] / ____| | | [2020-12-16T03:03:57.413Z] | | ___ __| | ___ ___ _____ __ [2020-12-16T03:03:57.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-16T03:03:57.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-16T03:03:57.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-16T03:03:57.413Z] Bash-20201130-cc6d3fe [2020-12-16T03:03:57.413Z] [2020-12-16T03:03:57.413Z] [2020-12-16T03:03:57.413Z] ==> Jenkins CI detected. [2020-12-16T03:03:57.413Z] project root: . [2020-12-16T03:03:57.413Z] --> token set from env [2020-12-16T03:03:57.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-16T03:03:57.413Z] ==> Running gcov in . (disable via -X gcov) [2020-12-16T03:03:57.413Z] ==> Python coveragepy not found [2020-12-16T03:03:57.413Z] ==> Searching for coverage reports in: [2020-12-16T03:03:57.413Z] + . [2020-12-16T03:03:57.413Z] -> Found 1 reports [2020-12-16T03:03:57.413Z] ==> Detecting git/mercurial file structure [2020-12-16T03:03:57.413Z] ==> Reading reports [2020-12-16T03:03:57.413Z] + ./coverage.out bytes=113695 [2020-12-16T03:03:57.413Z] ==> Appending adjustments [2020-12-16T03:03:57.413Z] https://docs.codecov.io/docs/fixing-reports [2020-12-16T03:03:57.992Z] + Found adjustments [2020-12-16T03:03:58.255Z] ==> Gzipping contents [2020-12-16T03:03:58.255Z] 20K /tmp/codecov.Ca2KX6.gz [2020-12-16T03:03:58.255Z] ==> Uploading reports [2020-12-16T03:03:58.255Z] url: https://codecov.io [2020-12-16T03:03:58.255Z] query: branch=PR-399&commit=d46816adef716b48d050b650da8fabd6c34ffe1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=399&job=&cmd_args= [2020-12-16T03:03:58.255Z] -> Pinging Codecov [2020-12-16T03:03:58.255Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-399&commit=d46816adef716b48d050b650da8fabd6c34ffe1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=399&job=&cmd_args= [2020-12-16T03:03:58.518Z] -> Uploading to [2020-12-16T03:03:58.518Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-16/71470A77251A30514AAF9C0BB2E5B6CE/d46816adef716b48d050b650da8fabd6c34ffe1a/557b225a-e393-4dd5-aff9-5879419f2763.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T030358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3936607ef881cba174ef9ec3e648e45d41b3b5c75acaece1cbe00b95fe845ea3 [2020-12-16T03:03:58.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-16T03:03:58.518Z] Dload Upload Total Spent Left Speed [2020-12-16T03:03:59.097Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18201 0 0 100 18201 0 39072 --:--:-- --:--:-- --:--:-- 39057 100 18201 0 0 100 18201 0 39056 --:--:-- --:--:-- --:--:-- 39057 [2020-12-16T03:03:59.097Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/d46816adef716b48d050b650da8fabd6c34ffe1a [Pipeline] } [2020-12-16T03:03:59.106Z] 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-16T03:04:02.021Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:02.332Z] ---> package-listing.sh [2020-12-16T03:04:02.332Z] ++ facter osfamily [2020-12-16T03:04:02.332Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-16T03:04:02.332Z] + OS_FAMILY=redhat [2020-12-16T03:04:02.332Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-399 [2020-12-16T03:04:02.332Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-16T03:04:02.332Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-16T03:04:02.332Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-16T03:04:02.332Z] + PACKAGES=/tmp/packages_start.txt [2020-12-16T03:04:02.332Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-399 ']' [2020-12-16T03:04:02.332Z] + PACKAGES=/tmp/packages_end.txt [2020-12-16T03:04:02.332Z] + case "${OS_FAMILY}" in [2020-12-16T03:04:02.332Z] + rpm -qa [2020-12-16T03:04:02.332Z] + sort [2020-12-16T03:04:07.644Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-16T03:04:07.644Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-16T03:04:07.644Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-16T03:04:07.644Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-399 ']' [2020-12-16T03:04:07.644Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-399/archives/ [2020-12-16T03:04:07.644Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-399/archives/ [Pipeline] echo [2020-12-16T03:04:07.660Z] 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/dry_go-mod-core-contracts_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-16T03:04:07.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:04:08.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T03:04:08.258Z] [2020-12-16T03:04:08.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-16T03:04:08.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T03:04:08.608Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-16T03:04:08.608Z] df20fa9351a1: Pulling fs layer [2020-12-16T03:04:08.608Z] 36b3adc4ff6f: Pulling fs layer [2020-12-16T03:04:08.608Z] 8ad3a11d3b57: Pulling fs layer [2020-12-16T03:04:08.608Z] 46f8f816bc3b: Pulling fs layer [2020-12-16T03:04:08.608Z] 93b61091891f: Pulling fs layer [2020-12-16T03:04:08.608Z] 93b9cdb0e59b: Pulling fs layer [2020-12-16T03:04:08.608Z] 5e14af77c1be: Pulling fs layer [2020-12-16T03:04:08.608Z] 01666e4c0597: Pulling fs layer [2020-12-16T03:04:08.608Z] aa168da1d23b: Pulling fs layer [2020-12-16T03:04:08.608Z] 93b9cdb0e59b: Waiting [2020-12-16T03:04:08.608Z] 5e14af77c1be: Waiting [2020-12-16T03:04:08.608Z] 01666e4c0597: Waiting [2020-12-16T03:04:08.608Z] aa168da1d23b: Waiting [2020-12-16T03:04:08.608Z] 46f8f816bc3b: Waiting [2020-12-16T03:04:08.608Z] 93b61091891f: Waiting [2020-12-16T03:04:08.608Z] 36b3adc4ff6f: Verifying Checksum [2020-12-16T03:04:08.608Z] 36b3adc4ff6f: Download complete [2020-12-16T03:04:08.608Z] 46f8f816bc3b: Verifying Checksum [2020-12-16T03:04:08.608Z] 46f8f816bc3b: Download complete [2020-12-16T03:04:08.875Z] df20fa9351a1: Verifying Checksum [2020-12-16T03:04:08.875Z] df20fa9351a1: Download complete [2020-12-16T03:04:08.875Z] 93b9cdb0e59b: Verifying Checksum [2020-12-16T03:04:08.875Z] 93b9cdb0e59b: Download complete [2020-12-16T03:04:08.875Z] 01666e4c0597: Verifying Checksum [2020-12-16T03:04:08.875Z] 01666e4c0597: Download complete [2020-12-16T03:04:08.875Z] 93b61091891f: Verifying Checksum [2020-12-16T03:04:08.875Z] 93b61091891f: Download complete [2020-12-16T03:04:08.875Z] 8ad3a11d3b57: Verifying Checksum [2020-12-16T03:04:08.875Z] 8ad3a11d3b57: Download complete [2020-12-16T03:04:09.141Z] df20fa9351a1: Pull complete [2020-12-16T03:04:09.404Z] 36b3adc4ff6f: Pull complete [2020-12-16T03:04:09.979Z] 8ad3a11d3b57: Pull complete [2020-12-16T03:04:10.242Z] 46f8f816bc3b: Pull complete [2020-12-16T03:04:10.510Z] 93b61091891f: Pull complete [2020-12-16T03:04:10.510Z] 93b9cdb0e59b: Pull complete [2020-12-16T03:04:10.510Z] 5e14af77c1be: Pull complete [2020-12-16T03:04:10.773Z] 01666e4c0597: Pull complete [2020-12-16T03:04:12.164Z] aa168da1d23b: Verifying Checksum [2020-12-16T03:04:12.164Z] aa168da1d23b: Download complete [2020-12-16T03:04:18.785Z] aa168da1d23b: Pull complete [2020-12-16T03:04:18.785Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-16T03:04:18.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T03:04:18.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-16T03:04:18.957Z] prd-centos7-docker-4c-2g-16256 does not seem to be running inside a container [2020-12-16T03:04:19.007Z] $ 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/dry_go-mod-core-contracts_PR-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-399 -v /w/workspace/dry_go-mod-core-contracts_PR-399:/w/workspace/dry_go-mod-core-contracts_PR-399:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-399@tmp:/w/workspace/dry_go-mod-core-contracts_PR-399@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-16T03:04:23.004Z] $ docker top afac6364d2cf57efdaca5ff17d988e922b88b2f88f166a3be0b1a3bffe7dead1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T03:04:23.590Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-16T03:04:23.892Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-16T03:04:24.192Z] + ls /var/log/sa-host [2020-12-16T03:04:24.192Z] + sadf -c /var/log/sa-host/sa16 [2020-12-16T03:04:24.192Z] file_magic: OK [2020-12-16T03:04:24.192Z] HZ: Using current value: 100 [2020-12-16T03:04:24.192Z] file_header: OK [2020-12-16T03:04:24.192Z] 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-16T03:04:24.192Z] Statistics: [2020-12-16T03:04:24.192Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-16T03:04:24.192Z] File successfully converted to sysstat format version 12.2.1 [2020-12-16T03:04:24.192Z] + sadf -c /var/log/sa-host/sa23 [2020-12-16T03:04:24.192Z] file_magic: OK [2020-12-16T03:04:24.192Z] HZ: Using current value: 100 [2020-12-16T03:04:24.192Z] file_header: OK [2020-12-16T03:04:24.192Z] 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-16T03:04:24.192Z] Statistics: [2020-12-16T03:04:24.192Z] Hnuu...uuuununununu... [2020-12-16T03:04:24.192Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-16T03:04:24.809Z] provisioning config files... [2020-12-16T03:04:24.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-399@tmp/config3343477724441179766tmp [Pipeline] { [Pipeline] echo [2020-12-16T03:04:24.897Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:25.205Z] ---> create-netrc.sh [Pipeline] } [2020-12-16T03:04:25.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-16T03:04:25.309Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:25.605Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-16T03:04:25.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:25.911Z] ---> sudo-logs.sh [2020-12-16T03:04:25.911Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-16T03:04:25.921Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:26.218Z] ---> job-cost.sh [2020-12-16T03:04:26.218Z] lf-activate-venv: SKIPPING [2020-12-16T03:04:26.218Z] INFO: No Stack... [2020-12-16T03:04:27.609Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-16T03:04:27.870Z] INFO: Archiving Costs [Pipeline] echo [2020-12-16T03:04:27.884Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T03:04:28.182Z] ---> logs-deploy.sh [2020-12-16T03:04:28.182Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-399/2 [2020-12-16T03:04:28.182Z] INFO: archiving workspace using pattern(s): [2020-12-16T03:04:30.104Z] Archives upload complete. [2020-12-16T03:04:30.104Z] INFO: archiving logs to Nexus