Pull request #236 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 lindseysimple for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at ce12e3ca5eff886d773c4b0e75431aaee5057a0a rather than 1b58bf3054d7daa62a8799464b5cd267255e3d4a Obtained Jenkinsfile from ce12e3ca5eff886d773c4b0e75431aaee5057a0a Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, goVersion:1.13, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Running on prd-centos7-docker-4c-2g-3726 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-236 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit 1b58bf3054d7daa62a8799464b5cd267255e3d4a Merge succeeded, producing 1b58bf3054d7daa62a8799464b5cd267255e3d4a Checking out Revision 1b58bf3054d7daa62a8799464b5cd267255e3d4a (PR-236) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # 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 ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # timeout=10 Commit message: "Create core data DTOs and models for V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:58:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk f2ef1117ab0aca942e810ccfaf17763a1e9d4cc0 # timeout=10 13:58:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:58:11 ========================================================= 13:58:11 EdgeX Global Pipelines Version Info 13:58:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:58:13 ------------------- 13:58:13 stable info: 13:58:13 ------------------- 13:58:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:58:13 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:58:13 Message: update stable to v1.0.89 13:58:13 ------------------- 13:58:13 experimental info: 13:58:13 ------------------- 13:58:13 Commited By: **** collab-it+edgex@linuxfoundation.org 13:58:13 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 13:58:13 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:58:14 13:58:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:58:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:58:15 latest: Pulling from edgex-devops/git-semver 13:58:15 9123ac7c32f7: Pulling fs layer 13:58:15 b8cc5d1170e3: Pulling fs layer 13:58:15 2924cbbf6a41: Pulling fs layer 13:58:15 93b08a4f1073: Pulling fs layer 13:58:15 93b08a4f1073: Waiting 13:58:15 b8cc5d1170e3: Verifying Checksum 13:58:15 b8cc5d1170e3: Download complete 13:58:15 9123ac7c32f7: Verifying Checksum 13:58:15 9123ac7c32f7: Download complete 13:58:15 93b08a4f1073: Verifying Checksum 13:58:15 93b08a4f1073: Download complete 13:58:15 2924cbbf6a41: Verifying Checksum 13:58:15 2924cbbf6a41: Download complete 13:58:15 9123ac7c32f7: Pull complete 13:58:15 b8cc5d1170e3: Pull complete 13:58:16 2924cbbf6a41: Pull complete 13:58:16 93b08a4f1073: Pull complete 13:58:16 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:58:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:58:16 prd-centos7-docker-4c-2g-3726 does not seem to be running inside a container 13:58:16 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:58:18 $ docker top 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:58:19 [ssh-agent] Looking for ssh-agent implementation... 13:58:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:58:19 $ docker exec 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 ssh-agent 13:58:19 SSH_AUTH_SOCK=/tmp/ssh-iy7lzWLEGuTj/agent.11 13:58:19 SSH_AGENT_PID=16 13:58:19 Running ssh-add (command line suppressed) 13:58:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_2287178230558565665.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_2287178230558565665.key) 13:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:58:19 + git describe --exact-match --tags HEAD 13:58:19 fatal: No names found, cannot describe anything. [Pipeline] } 13:58:19 $ docker exec --env ******** --env ******** 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 ssh-agent -k 13:58:20 unset SSH_AUTH_SOCK; 13:58:20 unset SSH_AGENT_PID; 13:58:20 echo Agent pid 16 killed; 13:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:58:20 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:58:20 This usually means this commit has not been tagged. [Pipeline] sshagent 13:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:58:20 [ssh-agent] Looking for ssh-agent implementation... 13:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:58:20 $ docker exec 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 ssh-agent 13:58:20 SSH_AUTH_SOCK=/tmp/ssh-eRGJHmzf8tIS/agent.44 13:58:20 SSH_AGENT_PID=49 13:58:20 Running ssh-add (command line suppressed) 13:58:20 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_1029470347746798328.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_1029470347746798328.key) 13:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:58:20 + git semver init 13:58:20 # -> Open(): unable to determine branch for HEAD 13:58:20 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.git 13:58:20 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-236 13:58:20 # $SEMVER_REMOTE_NAME = origin 13:58:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:58:20 # $SEMVER_USER_NAME = edgex-jenkins 13:58:20 # $SEMVER_BRANCH = PR-236 13:58:20 # $SEMVER_TEMP = /tmp/semver-527884161 13:58:20 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 13:58:21 # '/tmp/semver-527884161' -> '/w/workspace/dry_go-mod-core-contracts_PR-236/.semver' 13:58:21 # -> Force: false 13:58:21 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.semver [Pipeline] } 13:58:21 $ docker exec --env ******** --env ******** 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 ssh-agent -k 13:58:21 unset SSH_AUTH_SOCK; 13:58:21 unset SSH_AGENT_PID; 13:58:21 echo Agent pid 49 killed; 13:58:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:58:22 + git semver [Pipeline] } 13:58:22 $ docker stop --time=1 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 13:58:23 $ docker rm -f 9e07bc2fad28b5a69ab3c8786de49dd9709e22d9281288b20def623047444127 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:58:24 Stashed 75 file(s) [Pipeline] echo 13:58:24 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 13:58:39 Still waiting to schedule task 13:58:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:58:39 Still waiting to schedule task 13:58:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:00:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3727 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws 14:00:24 Running in /w/workspace/go-mod-core-contracts/22 [Pipeline] { [Pipeline] checkout 14:00:28 using credential edgex-jenkins-ssh 14:00:28 Cloning the remote Git repository 14:00:28 Cloning with configured refspecs honoured and without tags 14:00:28 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:00:28 > git init /w/workspace/go-mod-core-contracts/22 # timeout=10 14:00:29 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:00:29 > git --version # timeout=10 14:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:00:29 Fetching without tags 14:00:30 Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit 1b58bf3054d7daa62a8799464b5cd267255e3d4a 14:00:29 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:00:29 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 14:00:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:00:29 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:00:29 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:00:30 > git config core.sparsecheckout # timeout=10 14:00:30 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # timeout=10 14:00:30 Merge succeeded, producing 1b58bf3054d7daa62a8799464b5cd267255e3d4a 14:00:30 Checking out Revision 1b58bf3054d7daa62a8799464b5cd267255e3d4a (PR-236) 14:00:30 > git remote # timeout=10 14:00:30 > git config --get remote.origin.url # timeout=10 14:00:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:30 > git merge ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 14:00:30 > git rev-parse HEAD^{commit} # timeout=10 14:00:30 > git config core.sparsecheckout # timeout=10 14:00:30 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # timeout=10 14:00:35 Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:00:36 ========================================================= 14:00:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:00:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:00:37 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:00:38 Sending build context to Docker daemon 1.81MB 14:00:38 Step 1/7 : ARG BASE=golang:1.13-alpine 14:00:38 Step 2/7 : FROM ${BASE} 14:00:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:00:38 cde5963f3b93: Pulling fs layer 14:00:38 2a23fa8c16f7: Pulling fs layer 14:00:38 777b28850792: Pulling fs layer 14:00:38 8a11ddd9e578: Pulling fs layer 14:00:38 4cf88f913ddb: Pulling fs layer 14:00:38 1df406cf5192: Pulling fs layer 14:00:38 cd6300453558: Pulling fs layer 14:00:38 b9c365052c96: Pulling fs layer 14:00:38 a2d8cc88f415: Pulling fs layer 14:00:38 ea1d1ca13537: Pulling fs layer 14:00:38 3750a50a1c5e: Pulling fs layer 14:00:38 8a11ddd9e578: Waiting 14:00:38 4cf88f913ddb: Waiting 14:00:38 1df406cf5192: Waiting 14:00:38 cd6300453558: Waiting 14:00:38 b9c365052c96: Waiting 14:00:38 a2d8cc88f415: Waiting 14:00:38 3750a50a1c5e: Waiting 14:00:38 ea1d1ca13537: Waiting 14:00:38 777b28850792: Download complete 14:00:38 2a23fa8c16f7: Verifying Checksum 14:00:38 2a23fa8c16f7: Download complete 14:00:38 4cf88f913ddb: Verifying Checksum 14:00:38 4cf88f913ddb: Download complete 14:00:38 1df406cf5192: Verifying Checksum 14:00:38 1df406cf5192: Download complete 14:00:39 cde5963f3b93: Verifying Checksum 14:00:39 cde5963f3b93: Download complete 14:00:39 cde5963f3b93: Pull complete 14:00:40 2a23fa8c16f7: Pull complete 14:00:40 777b28850792: Pull complete 14:00:40 cd6300453558: Verifying Checksum 14:00:40 cd6300453558: Download complete 14:00:40 a2d8cc88f415: Download complete 14:00:42 ea1d1ca13537: Verifying Checksum 14:00:42 ea1d1ca13537: Download complete 14:00:42 3750a50a1c5e: Download complete 14:00:43 b9c365052c96: Verifying Checksum 14:00:43 b9c365052c96: Download complete 14:00:44 8a11ddd9e578: Verifying Checksum 14:00:44 8a11ddd9e578: Download complete 14:00:57 8a11ddd9e578: Pull complete 14:00:57 4cf88f913ddb: Pull complete 14:00:57 1df406cf5192: Pull complete 14:01:01 cd6300453558: Pull complete 14:01:06 b9c365052c96: Pull complete 14:01:06 a2d8cc88f415: Pull complete 14:01:08 ea1d1ca13537: Pull complete 14:01:08 3750a50a1c5e: Pull complete 14:01:08 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:01:08 ---> 78745c68409d 14:01:08 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:01:14 ---> Running in abf9d7446d95 14:01:14 Removing intermediate container abf9d7446d95 14:01:14 ---> f7fd762ab736 14:01:14 Step 4/7 : RUN apk add bash 14:01:14 ---> Running in b076a9fa64e8 14:01:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:01:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:01:17 OK: 125 MiB in 39 packages 14:01:18 Removing intermediate container b076a9fa64e8 14:01:18 ---> 74d30eb9e856 14:01:18 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:01:18 ---> Running in 609c8f233bf6 14:01:18 Removing intermediate container 609c8f233bf6 14:01:18 ---> 8762c0232d36 14:01:18 Step 6/7 : COPY go.mod . 14:01:19 ---> 2542ea7fc6b9 14:01:19 Step 7/7 : RUN go mod download 14:01:19 ---> Running in facc60912a90 14:01:23 go: finding github.com/davecgh/go-spew v1.1.0 14:01:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:01:23 go: finding github.com/go-kit/kit v0.8.0 14:01:23 go: finding github.com/go-logfmt/logfmt v0.4.0 14:01:23 go: finding github.com/go-playground/assert/v2 v2.0.1 14:01:23 go: finding github.com/go-playground/locales v0.13.0 14:01:23 go: finding github.com/go-playground/universal-translator v0.17.0 14:01:23 go: finding github.com/go-playground/validator/v10 v10.3.0 14:01:23 go: finding github.com/go-stack/stack v1.8.0 14:01:23 go: finding github.com/google/uuid v1.1.0 14:01:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:01:23 go: finding github.com/leodido/go-urn v1.2.0 14:01:23 go: finding github.com/pmezard/go-difflib v1.0.0 14:01:23 go: finding github.com/stretchr/objx v0.1.0 14:01:23 go: finding github.com/stretchr/testify v1.4.0 14:01:23 go: finding github.com/x448/float16 v0.8.4 14:01:23 go: finding golang.org/x/text v0.3.2 14:01:23 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:01:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:01:23 go: finding gopkg.in/yaml.v2 v2.2.2 14:01:35 Removing intermediate container facc60912a90 14:01:35 ---> 91320d2d647d 14:01:35 Successfully built 91320d2d647d 14:01:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:01:36 + docker inspect -f . ci-base-image-arm64 14:01:36 . [Pipeline] withDockerContainer 14:01:36 prd-ubuntu18.04-docker-arm64-4c-16g-3727 does not seem to be running inside a container 14:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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 ******** ci-base-image-arm64 cat 14:01:38 $ docker top 17b8b853aaabd95138b967c4ac8e02c11077ec626d870c319ba354420bdda719 -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:39 + go version 14:01:39 go version go1.13.5 linux/arm64 [Pipeline] sh 14:01:40 + make test 14:01:40 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:02:03 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:02:03 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.053s coverage: 85.7% of statements 14:02:03 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.067s coverage: 100.0% of statements 14:02:03 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.042s coverage: 45.4% of statements 14:02:05 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.026s coverage: 77.8% of statements 14:02:05 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:02:06 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.025s coverage: 6.4% of statements 14:02:07 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.052s coverage: 14.4% of statements 14:02:07 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.046s coverage: 100.0% of statements 14:02:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.063s coverage: 100.0% of statements 14:02:09 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:02:09 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:02:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.033s coverage: 100.0% of statements 14:02:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.533s coverage: 100.0% of statements 14:02:15 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.158s coverage: 62.5% of statements 14:02:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.058s coverage: 26.3% of statements 14:02:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.039s coverage: 15.4% of statements 14:02:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.014s coverage: 15.4% of statements 14:02:15 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.057s coverage: 14.3% of statements 14:02:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:02:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.016s coverage: 83.3% of statements 14:02:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 14:02:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.031s coverage: 90.9% of statements 14:02:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 14:02:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 14:02:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:02:22 gofmt -l . 14:02:22 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:02:22 Stashed 1 file(s) [Pipeline] } 14:02:22 $ docker stop --time=1 17b8b853aaabd95138b967c4ac8e02c11077ec626d870c319ba354420bdda719 14:02:24 $ docker rm -f 17b8b853aaabd95138b967c4ac8e02c11077ec626d870c319ba354420bdda719 [Pipeline] // withDockerContainer [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] } 14:02:39 Running on prd-centos7-docker-4c-2g-3728 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws 14:02:39 Running in /w/workspace/go-mod-core-contracts/22 [Pipeline] { [Pipeline] checkout 14:02:42 using credential edgex-jenkins-ssh 14:02:42 Cloning the remote Git repository 14:02:42 Cloning with configured refspecs honoured and without tags 14:02:42 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:02:42 > git init /w/workspace/go-mod-core-contracts/22 # timeout=10 14:02:42 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:02:42 > git --version # timeout=10 14:02:42 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:44 Fetching without tags 14:02:43 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:02:44 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 14:02:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:44 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:02:44 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:02:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:44 Merging remotes/origin/master commit ce12e3ca5eff886d773c4b0e75431aaee5057a0a into PR head commit 1b58bf3054d7daa62a8799464b5cd267255e3d4a 14:02:44 Merge succeeded, producing 1b58bf3054d7daa62a8799464b5cd267255e3d4a 14:02:44 Checking out Revision 1b58bf3054d7daa62a8799464b5cd267255e3d4a (PR-236) 14:02:44 > git config core.sparsecheckout # timeout=10 14:02:44 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # timeout=10 14:02:44 > git remote # timeout=10 14:02:44 > git config --get remote.origin.url # timeout=10 14:02:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:44 > git merge ce12e3ca5eff886d773c4b0e75431aaee5057a0a # timeout=10 14:02:44 > git rev-parse HEAD^{commit} # timeout=10 14:02:44 > git config core.sparsecheckout # timeout=10 14:02:44 > git checkout -f 1b58bf3054d7daa62a8799464b5cd267255e3d4a # timeout=10 14:02:48 Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:02:48 ========================================================= 14:02:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:02:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:02:49 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 14:02:50 Sending build context to Docker daemon 1.81MB 14:02:50 Step 1/7 : ARG BASE=golang:1.13-alpine 14:02:50 Step 2/7 : FROM ${BASE} 14:02:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:02:50 e6b0cf9c0882: Pulling fs layer 14:02:50 2848faf0eed1: Pulling fs layer 14:02:50 0f37312ad70f: Pulling fs layer 14:02:50 5788d62ee057: Pulling fs layer 14:02:50 0e6b1d234666: Pulling fs layer 14:02:50 bf5d7aec512f: Pulling fs layer 14:02:50 34c802a77dc8: Pulling fs layer 14:02:50 9eb99e56ec68: Pulling fs layer 14:02:50 27c7a5d97fbd: Pulling fs layer 14:02:50 5c102a31e300: Pulling fs layer 14:02:50 dcfb455df0a1: Pulling fs layer 14:02:50 0e6b1d234666: Waiting 14:02:50 bf5d7aec512f: Waiting 14:02:50 34c802a77dc8: Waiting 14:02:50 5788d62ee057: Waiting 14:02:50 9eb99e56ec68: Waiting 14:02:50 27c7a5d97fbd: Waiting 14:02:50 5c102a31e300: Waiting 14:02:50 dcfb455df0a1: Waiting 14:02:50 0f37312ad70f: Verifying Checksum 14:02:50 0f37312ad70f: Download complete 14:02:50 2848faf0eed1: Download complete 14:02:50 0e6b1d234666: Verifying Checksum 14:02:50 0e6b1d234666: Download complete 14:02:50 bf5d7aec512f: Verifying Checksum 14:02:50 bf5d7aec512f: Download complete 14:02:50 e6b0cf9c0882: Verifying Checksum 14:02:50 e6b0cf9c0882: Download complete 14:02:51 34c802a77dc8: Verifying Checksum 14:02:51 34c802a77dc8: Download complete 14:02:51 27c7a5d97fbd: Verifying Checksum 14:02:51 27c7a5d97fbd: Download complete 14:02:51 5c102a31e300: Download complete 14:02:51 9eb99e56ec68: Verifying Checksum 14:02:51 9eb99e56ec68: Download complete 14:02:51 dcfb455df0a1: Verifying Checksum 14:02:51 dcfb455df0a1: Download complete 14:02:51 5788d62ee057: Verifying Checksum 14:02:51 5788d62ee057: Download complete 14:02:52 e6b0cf9c0882: Pull complete 14:02:53 2848faf0eed1: Pull complete 14:02:53 0f37312ad70f: Pull complete 14:02:58 5788d62ee057: Pull complete 14:02:58 0e6b1d234666: Pull complete 14:02:58 bf5d7aec512f: Pull complete 14:03:04 34c802a77dc8: Pull complete 14:03:06 9eb99e56ec68: Pull complete 14:03:06 27c7a5d97fbd: Pull complete 14:03:07 5c102a31e300: Pull complete 14:03:07 dcfb455df0a1: Pull complete 14:03:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:03:07 ---> 7c70fe431013 14:03:07 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:03:09 ---> Running in 70993f4d9c70 14:03:09 Removing intermediate container 70993f4d9c70 14:03:09 ---> 0eb40a480e89 14:03:09 Step 4/7 : RUN apk add bash 14:03:09 ---> Running in bba5eddc6070 14:03:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:03:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:03:11 OK: 143 MiB in 39 packages 14:03:11 Removing intermediate container bba5eddc6070 14:03:11 ---> 418e30ae6d3b 14:03:11 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:03:12 ---> Running in 8ecc015f2f14 14:03:12 Removing intermediate container 8ecc015f2f14 14:03:12 ---> 8a6bcfa124cc 14:03:12 Step 6/7 : COPY go.mod . 14:03:12 ---> a1b4eb6c3515 14:03:12 Step 7/7 : RUN go mod download 14:03:12 ---> Running in 448477f0e127 14:03:13 go: finding github.com/davecgh/go-spew v1.1.0 14:03:13 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:03:13 go: finding github.com/go-kit/kit v0.8.0 14:03:13 go: finding github.com/go-logfmt/logfmt v0.4.0 14:03:13 go: finding github.com/go-playground/assert/v2 v2.0.1 14:03:13 go: finding github.com/go-playground/locales v0.13.0 14:03:13 go: finding github.com/go-playground/universal-translator v0.17.0 14:03:13 go: finding github.com/go-playground/validator/v10 v10.3.0 14:03:13 go: finding github.com/go-stack/stack v1.8.0 14:03:13 go: finding github.com/google/uuid v1.1.0 14:03:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:03:13 go: finding github.com/leodido/go-urn v1.2.0 14:03:13 go: finding github.com/pmezard/go-difflib v1.0.0 14:03:13 go: finding github.com/stretchr/objx v0.1.0 14:03:13 go: finding github.com/stretchr/testify v1.4.0 14:03:13 go: finding github.com/x448/float16 v0.8.4 14:03:13 go: finding golang.org/x/text v0.3.2 14:03:13 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:03:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:03:13 go: finding gopkg.in/yaml.v2 v2.2.2 14:03:22 Removing intermediate container 448477f0e127 14:03:22 ---> 77ad163b1cc3 14:03:22 Successfully built 77ad163b1cc3 14:03:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:03:22 + docker inspect -f . ci-base-image-x86_64 14:03:22 . [Pipeline] withDockerContainer 14:03:22 prd-centos7-docker-4c-2g-3728 does not seem to be running inside a container 14:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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 ******** ci-base-image-x86_64 cat 14:03:23 $ docker top c9eb147331c33d1aa5eca102c9f3efd80e3ee024af3cfbe7ad7efefb7003b82f -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:23 + go version 14:03:23 go version go1.13.5 linux/amd64 [Pipeline] sh 14:03:23 + make test 14:03:23 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:03:30 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:03:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.010s coverage: 85.7% of statements 14:03:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.038s coverage: 100.0% of statements 14:03:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.030s coverage: 45.4% of statements 14:03:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.007s coverage: 77.8% of statements 14:03:31 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:03:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.004s coverage: 6.4% of statements 14:03:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.017s coverage: 14.4% of statements 14:03:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.010s coverage: 100.0% of statements 14:03:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.025s coverage: 100.0% of statements 14:03:32 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:03:32 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:03:32 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.004s coverage: 100.0% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.505s coverage: 100.0% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.018s coverage: 62.5% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.044s coverage: 26.3% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.027s coverage: 15.4% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.018s coverage: 15.4% of statements 14:03:34 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.026s coverage: 14.3% of statements 14:03:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:03:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.004s coverage: 83.3% of statements 14:03:36 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 14:03:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.007s coverage: 90.9% of statements 14:03:36 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 14:03:36 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 14:03:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:03:38 gofmt -l . 14:03:38 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:03:38 Warning: overwriting stash ‘coverage-report’ 14:03:38 Stashed 1 file(s) [Pipeline] } 14:03:38 $ docker stop --time=1 c9eb147331c33d1aa5eca102c9f3efd80e3ee024af3cfbe7ad7efefb7003b82f 14:03:40 $ docker rm -f c9eb147331c33d1aa5eca102c9f3efd80e3ee024af3cfbe7ad7efefb7003b82f [Pipeline] // withDockerContainer [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 14:03:41 provisioning config files... 14:03:41 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config9076186014971081810tmp [Pipeline] { [Pipeline] sh 14:03:41 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config9076186014971081810tmp 14:03:41 + curl -s https://codecov.io/bash 14:03:42 14:03:42 _____ _ 14:03:42 / ____| | | 14:03:42 | | ___ __| | ___ ___ _____ __ 14:03:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:03:42 | |___| (_) | (_| | __/ (_| (_) \ V / 14:03:42 \_____\___/ \__,_|\___|\___\___/ \_/ 14:03:42 Bash-20200602-f809a24 14:03:42 14:03:42 14:03:42 ==> Jenkins CI detected. 14:03:42 project root: . 14:03:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:03:42 ==> Running gcov in . (disable via -X gcov) 14:03:42 ==> Python coveragepy not found 14:03:42 ==> Searching for coverage reports in: 14:03:42 + . 14:03:42 -> Found 1 reports 14:03:42 ==> Detecting git/mercurial file structure 14:03:42 ==> Reading reports 14:03:42 + ./coverage.out bytes=83707 14:03:42 ==> Appending adjustments 14:03:42 https://docs.codecov.io/docs/fixing-reports 14:03:42 + Found adjustments 14:03:42 ==> Gzipping contents 14:03:42 ==> Uploading reports 14:03:42 url: https://codecov.io 14:03:42 query: branch=PR-236&commit=1b58bf3054d7daa62a8799464b5cd267255e3d4a&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-236%2F22%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=236&job= 14:03:42 -> Pinging Codecov 14:03:42 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-236&commit=1b58bf3054d7daa62a8799464b5cd267255e3d4a&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-236%2F22%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=236&job= 14:03:43 -> Uploading 14:03:43 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/1b58bf3054d7daa62a8799464b5cd267255e3d4a [Pipeline] } 14:03:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:03:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:03:45 ---> package-listing.sh 14:03:45 ++ facter osfamily 14:03:45 ++ tr '[:upper:]' '[:lower:]' 14:03:45 + OS_FAMILY=redhat 14:03:45 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-236 14:03:45 + START_PACKAGES=/tmp/packages_start.txt 14:03:45 + END_PACKAGES=/tmp/packages_end.txt 14:03:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:03:45 + PACKAGES=/tmp/packages_start.txt 14:03:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' 14:03:45 + PACKAGES=/tmp/packages_end.txt 14:03:45 + case "${OS_FAMILY}" in 14:03:45 + rpm -qa 14:03:45 + sort 14:03:49 + '[' -f /tmp/packages_start.txt ']' 14:03:49 + '[' -f /tmp/packages_end.txt ']' 14:03:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:03:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' 14:03:49 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ 14:03:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ [Pipeline] isUnix [Pipeline] sh 14:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:03:49 14:03:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:03:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:03:50 alpine: Pulling from edgex-lftools-log-publisher 14:03:50 c9b1b535fdd9: Pulling fs layer 14:03:50 2cc5ad85d9ab: Pulling fs layer 14:03:50 756a868c4378: Pulling fs layer 14:03:50 444b2fc9a129: Pulling fs layer 14:03:50 ea15f1150254: Pulling fs layer 14:03:50 41b27a9f41bf: Pulling fs layer 14:03:50 28c525ee5125: Pulling fs layer 14:03:50 094b1ea09ed8: Pulling fs layer 14:03:50 138eaada9080: Pulling fs layer 14:03:50 0622d0fa9048: Pulling fs layer 14:03:50 444b2fc9a129: Waiting 14:03:50 ea15f1150254: Waiting 14:03:50 41b27a9f41bf: Waiting 14:03:50 28c525ee5125: Waiting 14:03:50 094b1ea09ed8: Waiting 14:03:50 138eaada9080: Waiting 14:03:50 0622d0fa9048: Waiting 14:03:50 2cc5ad85d9ab: Verifying Checksum 14:03:50 2cc5ad85d9ab: Download complete 14:03:50 444b2fc9a129: Download complete 14:03:50 c9b1b535fdd9: Verifying Checksum 14:03:50 ea15f1150254: Verifying Checksum 14:03:50 ea15f1150254: Download complete 14:03:50 28c525ee5125: Verifying Checksum 14:03:50 28c525ee5125: Download complete 14:03:50 756a868c4378: Verifying Checksum 14:03:50 756a868c4378: Download complete 14:03:50 c9b1b535fdd9: Pull complete 14:03:50 138eaada9080: Verifying Checksum 14:03:50 138eaada9080: Download complete 14:03:50 094b1ea09ed8: Verifying Checksum 14:03:50 094b1ea09ed8: Download complete 14:03:50 0622d0fa9048: Verifying Checksum 14:03:50 0622d0fa9048: Download complete 14:03:50 2cc5ad85d9ab: Pull complete 14:03:51 41b27a9f41bf: Verifying Checksum 14:03:51 41b27a9f41bf: Download complete 14:03:52 756a868c4378: Pull complete 14:03:52 444b2fc9a129: Pull complete 14:03:52 ea15f1150254: Pull complete 14:03:56 41b27a9f41bf: Pull complete 14:03:56 28c525ee5125: Pull complete 14:03:59 094b1ea09ed8: Pull complete 14:03:59 138eaada9080: Pull complete 14:03:59 0622d0fa9048: Pull complete 14:03:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:04:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:04:00 prd-centos7-docker-4c-2g-3726 does not seem to be running inside a container 14:04:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:04:03 $ docker top e36b80d75a6a8cce05b571d82ae59d43faf32b98397c03fdadade5d1cb29155c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:04:04 provisioning config files... 14:04:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config8850738297773865544tmp [Pipeline] { [Pipeline] echo 14:04:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:04:04 ---> create-netrc.sh [Pipeline] echo 14:04:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:04:04 ---> logs-deploy.sh 14:04:04 + ARCHIVE_ARTIFACTS= 14:04:04 + LOGS_SERVER=https://logs.edgexfoundry.org 14:04:04 + '[' https://logs.edgexfoundry.org == None ']' 14:04:04 + NEXUS_URL=https://nexus.edgexfoundry.org 14:04:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/22 14:04:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/22/ 14:04:04 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/22 /w/workspace/dry_go-mod-core-contracts_PR-236 14:04:05 Archives upload complete. 14:04:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/22 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/22/