Pull request #273 opened 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 difince for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from ab261ba8b8c2513915b855f8cc03f8843c0c1018+06f35a91c3483fdb0f6c49f522d5f90e47e2d85a (1cbb140867011c10872ce630eacb8707f9a50934) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-273/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-398 in /w/workspace/dry_go-mod-core-contracts_PR-273 [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-273 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a into PR head commit ab261ba8b8c2513915b855f8cc03f8843c0c1018 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/273/head:refs/remotes/origin/PR-273 # 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/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 Merge succeeded, producing ab261ba8b8c2513915b855f8cc03f8843c0c1018 Checking out Revision ab261ba8b8c2513915b855f8cc03f8843c0c1018 (PR-273) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 Commit message: "Make the contracts complient with edgex-go on device admin/oper status update" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:07:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:07:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:07:12 ========================================================= 14:07:12 EdgeX Global Pipelines Version Info 14:07:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:07:14 ------------------- 14:07:14 stable info: 14:07:14 ------------------- 14:07:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:07:14 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 14:07:14 Message: update stable to v1.0.106 14:07:15 ------------------- 14:07:15 experimental info: 14:07:15 ------------------- 14:07:15 Commited By: **** collab-it+edgex@linuxfoundation.org 14:07:15 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 14:07:15 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:07:17 + git log --format=format:%s -1 ab261ba8b8c2513915b855f8cc03f8843c0c1018 [Pipeline] echo 14:07:17 GIT_COMMIT: ab261ba8b8c2513915b855f8cc03f8843c0c1018, Commit Message: Make the contracts complient with edgex-go on device admin/oper status update [Pipeline] echo 14:07:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:07:19 14:07:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:07:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:07:19 latest: Pulling from edgex-devops/git-semver 14:07:19 31603596830f: Pulling fs layer 14:07:19 2a8b12db71e7: Pulling fs layer 14:07:19 6ca5941a6612: Pulling fs layer 14:07:19 ecc8261a40a4: Pulling fs layer 14:07:19 ecc8261a40a4: Waiting 14:07:19 2a8b12db71e7: Verifying Checksum 14:07:19 2a8b12db71e7: Download complete 14:07:19 31603596830f: Download complete 14:07:19 ecc8261a40a4: Verifying Checksum 14:07:19 ecc8261a40a4: Download complete 14:07:19 6ca5941a6612: Verifying Checksum 14:07:19 6ca5941a6612: Download complete 14:07:19 31603596830f: Pull complete 14:07:20 2a8b12db71e7: Pull complete 14:07:20 6ca5941a6612: Pull complete 14:07:20 ecc8261a40a4: Pull complete 14:07:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:07:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:07:21 prd-centos7-docker-4c-2g-398 does not seem to be running inside a container 14:07:21 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-273 -v /w/workspace/dry_go-mod-core-contracts_PR-273:/w/workspace/dry_go-mod-core-contracts_PR-273:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-273@tmp:/w/workspace/dry_go-mod-core-contracts_PR-273@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:07:23 $ docker top 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:23 [ssh-agent] Looking for ssh-agent implementation... 14:07:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:23 $ docker exec 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 ssh-agent 14:07:23 SSH_AUTH_SOCK=/tmp/ssh-marXbEEOBtGT/agent.13 14:07:23 SSH_AGENT_PID=18 14:07:23 Running ssh-add (command line suppressed) 14:07:23 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-273@tmp/private_key_5121244319192000847.key (/w/workspace/dry_go-mod-core-contracts_PR-273@tmp/private_key_5121244319192000847.key) 14:07:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:24 + git describe --exact-match --tags HEAD 14:07:24 fatal: No names found, cannot describe anything. [Pipeline] } 14:07:24 $ docker exec --env ******** --env ******** 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 ssh-agent -k 14:07:24 unset SSH_AUTH_SOCK; 14:07:24 unset SSH_AGENT_PID; 14:07:24 echo Agent pid 18 killed; 14:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:07:24 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:07:24 This usually means this commit has not been tagged. [Pipeline] sshagent 14:07:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:25 [ssh-agent] Looking for ssh-agent implementation... 14:07:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:25 $ docker exec 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 ssh-agent 14:07:25 SSH_AUTH_SOCK=/tmp/ssh-SoQ2ZSCH40Fo/agent.46 14:07:25 SSH_AGENT_PID=51 14:07:25 Running ssh-add (command line suppressed) 14:07:25 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-273@tmp/private_key_1928718378246817134.key (/w/workspace/dry_go-mod-core-contracts_PR-273@tmp/private_key_1928718378246817134.key) 14:07:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:25 + git semver init 14:07:25 # -> Open(): unable to determine branch for HEAD 14:07:25 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-273/.git 14:07:25 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-273 14:07:25 # $SEMVER_REMOTE_NAME = origin 14:07:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:07:25 # $SEMVER_USER_NAME = edgex-jenkins 14:07:25 # $SEMVER_BRANCH = PR-273 14:07:25 # $SEMVER_TEMP = /tmp/semver-666861142 14:07:25 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 14:07:26 # '/tmp/semver-666861142' -> '/w/workspace/dry_go-mod-core-contracts_PR-273/.semver' 14:07:26 # -> Force: false 14:07:26 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-273/.semver [Pipeline] } 14:07:26 $ docker exec --env ******** --env ******** 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 ssh-agent -k 14:07:26 unset SSH_AUTH_SOCK; 14:07:26 unset SSH_AGENT_PID; 14:07:26 echo Agent pid 51 killed; 14:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:27 + git semver [Pipeline] } 14:07:27 $ docker stop --time=1 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 14:07:28 $ docker rm -f 3cd4f45a2506954b9ec83a8310ab0db2b4c5538151a975ba4ed4fcb1c66cc3b3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:07:29 Stashed 88 file(s) [Pipeline] echo 14:07:29 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 14:07:29 Archived original 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 14:07:45 Still waiting to schedule task 14:07:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:07:45 Still waiting to schedule task 14:07:45 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:09:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-399 in /w/workspace/dry_go-mod-core-contracts_PR-273 [Pipeline] { [Pipeline] ws 14:09:34 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 14:09:38 using credential edgex-jenkins-ssh 14:09:38 Cloning the remote Git repository 14:09:38 Cloning with configured refspecs honoured and without tags 14:09:38 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:09:39 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 14:09:39 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:09:39 > git --version # timeout=10 14:09:39 > git --version # 'git version 2.17.1' 14:09:39 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:09:40 Fetching without tags 14:09:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:09:40 > git config --add remote.origin.fetch +refs/pull/273/head:refs/remotes/origin/PR-273 # timeout=10 14:09:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:09:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:09:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:09:40 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:09:40 Merging remotes/origin/master commit 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a into PR head commit ab261ba8b8c2513915b855f8cc03f8843c0c1018 14:09:40 Merge succeeded, producing ab261ba8b8c2513915b855f8cc03f8843c0c1018 14:09:40 Checking out Revision ab261ba8b8c2513915b855f8cc03f8843c0c1018 (PR-273) 14:09:40 > git config core.sparsecheckout # timeout=10 14:09:40 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 14:09:40 > git remote # timeout=10 14:09:40 > git config --get remote.origin.url # timeout=10 14:09:40 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:40 > git merge 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a # timeout=10 14:09:40 > git rev-parse HEAD^{commit} # timeout=10 14:09:40 > git config core.sparsecheckout # timeout=10 14:09:40 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 14:09:45 Commit message: "Make the contracts complient with edgex-go on device admin/oper status update" 14:09:45 > git --version # timeout=10 14:09:45 > git --version # 'git version 2.17.1' 14:09:45 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:09:46 ========================================================= 14:09:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:09:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:09:48 + 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:09:49 Sending build context to Docker daemon 2.129MB 14:09:49 Step 1/7 : ARG BASE=golang:1.13-alpine 14:09:49 Step 2/7 : FROM ${BASE} 14:09:49 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:09:49 b538f80385f9: Pulling fs layer 14:09:49 74f711af9a0d: Pulling fs layer 14:09:49 99f96fe45779: Pulling fs layer 14:09:49 fd7a069fd194: Pulling fs layer 14:09:49 66aa3694b03b: Pulling fs layer 14:09:49 170f70906a0f: Pulling fs layer 14:09:49 ad7c5574e4b9: Pulling fs layer 14:09:49 e772456be8f7: Pulling fs layer 14:09:49 c890913d741a: Pulling fs layer 14:09:49 2480fcc9aa5a: Pulling fs layer 14:09:49 09adf4765672: Pulling fs layer 14:09:49 fd7a069fd194: Waiting 14:09:49 66aa3694b03b: Waiting 14:09:49 170f70906a0f: Waiting 14:09:49 ad7c5574e4b9: Waiting 14:09:49 e772456be8f7: Waiting 14:09:49 c890913d741a: Waiting 14:09:49 2480fcc9aa5a: Waiting 14:09:49 09adf4765672: Waiting 14:09:49 99f96fe45779: Verifying Checksum 14:09:49 99f96fe45779: Download complete 14:09:49 74f711af9a0d: Verifying Checksum 14:09:49 66aa3694b03b: Verifying Checksum 14:09:49 66aa3694b03b: Download complete 14:09:49 170f70906a0f: Verifying Checksum 14:09:49 170f70906a0f: Download complete 14:09:49 b538f80385f9: Verifying Checksum 14:09:49 b538f80385f9: Download complete 14:09:50 b538f80385f9: Pull complete 14:09:50 74f711af9a0d: Pull complete 14:09:51 99f96fe45779: Pull complete 14:09:52 ad7c5574e4b9: Verifying Checksum 14:09:52 ad7c5574e4b9: Download complete 14:09:52 c890913d741a: Verifying Checksum 14:09:52 c890913d741a: Download complete 14:09:54 2480fcc9aa5a: Verifying Checksum 14:09:54 2480fcc9aa5a: Download complete 14:09:54 09adf4765672: Download complete 14:09:54 e772456be8f7: Verifying Checksum 14:09:54 e772456be8f7: Download complete 14:09:55 fd7a069fd194: Download complete 14:10:07 fd7a069fd194: Pull complete 14:10:07 66aa3694b03b: Pull complete 14:10:07 170f70906a0f: Pull complete 14:10:11 ad7c5574e4b9: Pull complete 14:10:16 e772456be8f7: Pull complete 14:10:16 c890913d741a: Pull complete 14:10:18 2480fcc9aa5a: Pull complete 14:10:18 09adf4765672: Pull complete 14:10:18 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 14:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:10:18 ---> 2248a725d1cf 14:10:18 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:10:23 ---> Running in 0cd201989ebc 14:10:23 Removing intermediate container 0cd201989ebc 14:10:23 ---> 275f47226e6c 14:10:23 Step 4/7 : RUN apk add bash 14:10:23 ---> Running in 80353c4ba7e3 14:10:23 Running on prd-centos7-docker-4c-2g-400 in /w/workspace/dry_go-mod-core-contracts_PR-273 [Pipeline] { [Pipeline] ws 14:10:24 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 14:10:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:10:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:10:27 using credential edgex-jenkins-ssh 14:10:27 Cloning the remote Git repository 14:10:27 Cloning with configured refspecs honoured and without tags 14:10:27 OK: 142 MiB in 39 packages 14:10:27 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:10:27 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 14:10:27 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:10:27 > git --version # timeout=10 14:10:27 > git --version # 'git version 2.16.5' 14:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:10:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:10:27 Fetching without tags 14:10:28 Removing intermediate container 80353c4ba7e3 14:10:28 ---> 75785452d1fd 14:10:28 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:10:28 ---> Running in c0c28c3ee4f4 14:10:28 Merging remotes/origin/master commit 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a into PR head commit ab261ba8b8c2513915b855f8cc03f8843c0c1018 14:10:28 Merge succeeded, producing ab261ba8b8c2513915b855f8cc03f8843c0c1018 14:10:28 Checking out Revision ab261ba8b8c2513915b855f8cc03f8843c0c1018 (PR-273) 14:10:28 Removing intermediate container c0c28c3ee4f4 14:10:28 ---> 90c155d0a03f 14:10:28 Step 6/7 : COPY go.mod . 14:10:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:10:27 > git config --add remote.origin.fetch +refs/pull/273/head:refs/remotes/origin/PR-273 # timeout=10 14:10:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:10:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:10:27 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:10:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:10:28 > git config core.sparsecheckout # timeout=10 14:10:28 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 14:10:28 > git remote # timeout=10 14:10:28 > git config --get remote.origin.url # timeout=10 14:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 14:10:28 > git merge 06f35a91c3483fdb0f6c49f522d5f90e47e2d85a # timeout=10 14:10:28 > git rev-parse HEAD^{commit} # timeout=10 14:10:28 > git config core.sparsecheckout # timeout=10 14:10:28 > git checkout -f ab261ba8b8c2513915b855f8cc03f8843c0c1018 # timeout=10 14:10:29 ---> 3b91e55a1b91 14:10:29 Step 7/7 : RUN go mod download 14:10:29 ---> Running in a8335178d97d 14:10:32 Commit message: "Make the contracts complient with edgex-go on device admin/oper status update" 14:10:32 > git --version # timeout=10 14:10:32 > git --version # 'git version 2.16.5' 14:10:32 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 14:10:32 go: finding github.com/davecgh/go-spew v1.1.0 14:10:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:10:32 go: finding github.com/go-kit/kit v0.8.0 14:10:32 go: finding github.com/go-logfmt/logfmt v0.4.0 14:10:32 go: finding github.com/go-playground/assert/v2 v2.0.1 14:10:32 go: finding github.com/go-playground/locales v0.13.0 14:10:32 go: finding github.com/go-playground/universal-translator v0.17.0 14:10:32 go: finding github.com/go-playground/validator/v10 v10.3.0 14:10:32 go: finding github.com/go-stack/stack v1.8.0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 14:10:32 go: finding github.com/google/uuid v1.1.0 14:10:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:10:32 go: finding github.com/leodido/go-urn v1.2.0 14:10:32 go: finding github.com/pmezard/go-difflib v1.0.0 14:10:32 go: finding github.com/stretchr/objx v0.1.0 14:10:32 go: finding github.com/stretchr/testify v1.5.1 14:10:32 go: finding github.com/x448/float16 v0.8.4 [Pipeline] script [Pipeline] { [Pipeline] unstash 14:10:33 go: finding golang.org/x/text v0.3.2 14:10:33 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:10:33 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:10:33 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] echo 14:10:33 ========================================================= 14:10:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:10:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:10:33 + 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:10:34 Sending build context to Docker daemon 2.129MB 14:10:34 Step 1/7 : ARG BASE=golang:1.13-alpine 14:10:34 Step 2/7 : FROM ${BASE} 14:10:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:10:34 df20fa9351a1: Pulling fs layer 14:10:34 ed8968b2872e: Pulling fs layer 14:10:34 a92cc7c5fd73: Pulling fs layer 14:10:34 2dd03ba5bac4: Pulling fs layer 14:10:34 1e091d79d1de: Pulling fs layer 14:10:34 481702a1767f: Pulling fs layer 14:10:34 f64a6f60c768: Pulling fs layer 14:10:34 e78d2573fc39: Pulling fs layer 14:10:34 e876d2f968b6: Pulling fs layer 14:10:34 ce8a83651883: Pulling fs layer 14:10:34 07967f4d0e4b: Pulling fs layer 14:10:34 f64a6f60c768: Waiting 14:10:34 e78d2573fc39: Waiting 14:10:34 07967f4d0e4b: Waiting 14:10:34 ce8a83651883: Waiting 14:10:34 e876d2f968b6: Waiting 14:10:34 1e091d79d1de: Waiting 14:10:34 481702a1767f: Waiting 14:10:34 2dd03ba5bac4: Waiting 14:10:34 a92cc7c5fd73: Download complete 14:10:34 ed8968b2872e: Verifying Checksum 14:10:34 ed8968b2872e: Download complete 14:10:34 1e091d79d1de: Verifying Checksum 14:10:34 1e091d79d1de: Download complete 14:10:34 481702a1767f: Verifying Checksum 14:10:34 481702a1767f: Download complete 14:10:34 df20fa9351a1: Verifying Checksum 14:10:34 df20fa9351a1: Download complete 14:10:34 df20fa9351a1: Pull complete 14:10:35 ed8968b2872e: Pull complete 14:10:35 a92cc7c5fd73: Pull complete 14:10:35 f64a6f60c768: Verifying Checksum 14:10:35 f64a6f60c768: Download complete 14:10:35 e876d2f968b6: Verifying Checksum 14:10:35 e876d2f968b6: Download complete 14:10:36 e78d2573fc39: Verifying Checksum 14:10:36 e78d2573fc39: Download complete 14:10:36 2dd03ba5bac4: Verifying Checksum 14:10:36 2dd03ba5bac4: Download complete 14:10:36 07967f4d0e4b: Verifying Checksum 14:10:36 07967f4d0e4b: Download complete 14:10:36 ce8a83651883: Verifying Checksum 14:10:36 ce8a83651883: Download complete 14:10:43 2dd03ba5bac4: Pull complete 14:10:43 1e091d79d1de: Pull complete 14:10:43 481702a1767f: Pull complete 14:10:45 Removing intermediate container a8335178d97d 14:10:45 ---> 8589b26d28e2 14:10:45 Successfully built 8589b26d28e2 14:10:45 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:10:46 + docker inspect -f . ci-base-image-arm64 14:10:46 . [Pipeline] withDockerContainer 14:10:46 prd-ubuntu18.04-docker-arm64-4c-16g-399 does not seem to be running inside a container 14:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:10:48 f64a6f60c768: Pull complete 14:10:48 $ docker top 4dd0a010d047a54b31015d54334be36bef85efda49cbf53b3c652d4d4cf8dfe5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:50 + go version 14:10:50 go version go1.13.13 linux/arm64 [Pipeline] sh 14:10:51 e78d2573fc39: Pull complete 14:10:51 + make test 14:10:51 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:10:51 e876d2f968b6: Pull complete 14:10:52 ce8a83651883: Pull complete 14:10:52 07967f4d0e4b: Pull complete 14:10:52 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 14:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:10:52 ---> 5d7c900382c6 14:10:52 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:10:53 ---> Running in b1b230873cfd 14:10:53 Removing intermediate container b1b230873cfd 14:10:53 ---> d98851bb18bd 14:10:53 Step 4/7 : RUN apk add bash 14:10:54 ---> Running in 7b88b0d8bccd 14:10:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:10:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:10:55 OK: 166 MiB in 39 packages 14:10:56 Removing intermediate container 7b88b0d8bccd 14:10:56 ---> 9308a56d8278 14:10:56 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:10:56 ---> Running in fc107c192682 14:10:56 Removing intermediate container fc107c192682 14:10:56 ---> a2144694e966 14:10:56 Step 6/7 : COPY go.mod . 14:10:56 ---> 632d229e534e 14:10:56 Step 7/7 : RUN go mod download 14:10:56 ---> Running in bc8f257a3150 14:10:58 go: finding github.com/davecgh/go-spew v1.1.0 14:10:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:10:58 go: finding github.com/go-kit/kit v0.8.0 14:10:58 go: finding github.com/go-logfmt/logfmt v0.4.0 14:10:58 go: finding github.com/go-playground/assert/v2 v2.0.1 14:10:58 go: finding github.com/go-playground/locales v0.13.0 14:10:58 go: finding github.com/go-playground/universal-translator v0.17.0 14:10:59 go: finding github.com/go-playground/validator/v10 v10.3.0 14:10:59 go: finding github.com/go-stack/stack v1.8.0 14:10:59 go: finding github.com/google/uuid v1.1.0 14:10:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:10:59 go: finding github.com/leodido/go-urn v1.2.0 14:10:59 go: finding github.com/pmezard/go-difflib v1.0.0 14:10:59 go: finding github.com/stretchr/objx v0.1.0 14:10:59 go: finding github.com/stretchr/testify v1.5.1 14:10:59 go: finding github.com/x448/float16 v0.8.4 14:10:59 go: finding golang.org/x/text v0.3.2 14:10:59 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 14:10:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:10:59 go: finding gopkg.in/yaml.v2 v2.2.8 14:11:07 Removing intermediate container bc8f257a3150 14:11:07 ---> bbefd3941893 14:11:07 Successfully built bbefd3941893 14:11:07 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:11:08 + docker inspect -f . ci-base-image-x86_64 14:11:08 . [Pipeline] withDockerContainer 14:11:08 prd-centos7-docker-4c-2g-400 does not seem to be running inside a container 14:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:11:09 $ docker top 384ba22e5245d9235b5d61a0910234f6a1bbd8cd8453eca42457f4fc8b933d1e -eo pid,comm [Pipeline] { [Pipeline] sh 14:11:10 + go version 14:11:10 go version go1.13.13 linux/amd64 [Pipeline] sh 14:11:10 + make test 14:11:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:11:13 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:11:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.051s coverage: 85.7% of statements 14:11:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.032s coverage: 100.0% of statements 14:11:16 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.052s coverage: 45.4% of statements 14:11:16 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.033s coverage: 77.8% of statements 14:11:16 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:11:16 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 6.4% of statements 14:11:17 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:11:17 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.093s coverage: 14.8% of statements 14:11:17 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.083s coverage: 100.0% of statements 14:11:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.014s coverage: 85.7% of statements 14:11:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.009s coverage: 100.0% of statements 14:11:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.070s coverage: 45.4% of statements 14:11:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.023s coverage: 77.8% of statements 14:11:19 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:11:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.008s coverage: 6.4% of statements 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.112s coverage: 91.8% of statements 14:11:20 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:11:20 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.011s coverage: 100.0% of statements 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.023s coverage: 14.8% of statements 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.011s coverage: 100.0% of statements 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.023s coverage: 91.8% of statements 14:11:20 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:11:20 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:11:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.047s coverage: 100.0% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.048s coverage: 62.6% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.015s coverage: 15.4% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.043s coverage: 15.4% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.041s coverage: 14.3% of statements 14:11:23 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 17.9% of statements 14:11:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.028s coverage: 100.0% of statements 14:11:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.027s coverage: 95.0% of statements 14:11:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 14:11:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 14:11:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:11:25 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.108s coverage: 62.6% of statements 14:11:25 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.045s coverage: 26.3% of statements 14:11:25 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.016s coverage: 15.4% of statements 14:11:25 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.053s coverage: 15.4% of statements 14:11:25 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.021s coverage: 14.3% of statements 14:11:25 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:11:26 gofmt -l . 14:11:26 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:11:26 Stashed 1 file(s) [Pipeline] } 14:11:26 $ docker stop --time=1 384ba22e5245d9235b5d61a0910234f6a1bbd8cd8453eca42457f4fc8b933d1e 14:11:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.055s coverage: 17.9% of statements 14:11:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.040s coverage: 100.0% of statements 14:11:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.074s coverage: 95.0% of statements 14:11:28 $ docker rm -f 384ba22e5245d9235b5d61a0910234f6a1bbd8cd8453eca42457f4fc8b933d1e 14:11:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.030s coverage: 100.0% of statements 14:11:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 14:11:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... [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:11:33 gofmt -l . 14:11:33 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:11:34 Warning: overwriting stash ‘coverage-report’ 14:11:34 Stashed 1 file(s) [Pipeline] } 14:11:34 $ docker stop --time=1 4dd0a010d047a54b31015d54334be36bef85efda49cbf53b3c652d4d4cf8dfe5 14:11:37 $ docker rm -f 4dd0a010d047a54b31015d54334be36bef85efda49cbf53b3c652d4d4cf8dfe5 [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:11:40 provisioning config files... 14:11:40 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-273@tmp/config5023994438373693470tmp [Pipeline] { [Pipeline] sh 14:11:40 + curl -s https://codecov.io/bash 14:11:40 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-273@tmp/config5023994438373693470tmp [Pipeline] } 14:11:41 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] { (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 14:11:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:11:45 ---> package-listing.sh 14:11:45 ++ facter osfamily 14:11:45 ++ tr '[:upper:]' '[:lower:]' 14:11:45 + OS_FAMILY=redhat 14:11:45 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-273 14:11:45 + START_PACKAGES=/tmp/packages_start.txt 14:11:45 + END_PACKAGES=/tmp/packages_end.txt 14:11:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:11:45 + PACKAGES=/tmp/packages_start.txt 14:11:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-273 ']' 14:11:45 + PACKAGES=/tmp/packages_end.txt 14:11:45 + case "${OS_FAMILY}" in 14:11:45 + rpm -qa 14:11:45 + sort 14:11:49 + '[' -f /tmp/packages_start.txt ']' 14:11:49 + '[' -f /tmp/packages_end.txt ']' 14:11:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:11:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-273 ']' 14:11:49 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-273/archives/ 14:11:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-273/archives/ [Pipeline] isUnix [Pipeline] sh 14:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:11:49 14:11:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:11:50 alpine: Pulling from edgex-lftools-log-publisher 14:11:50 c9b1b535fdd9: Pulling fs layer 14:11:50 2cc5ad85d9ab: Pulling fs layer 14:11:50 756a868c4378: Pulling fs layer 14:11:50 444b2fc9a129: Pulling fs layer 14:11:50 ea15f1150254: Pulling fs layer 14:11:50 41b27a9f41bf: Pulling fs layer 14:11:50 28c525ee5125: Pulling fs layer 14:11:50 094b1ea09ed8: Pulling fs layer 14:11:50 138eaada9080: Pulling fs layer 14:11:50 0622d0fa9048: Pulling fs layer 14:11:50 444b2fc9a129: Waiting 14:11:50 ea15f1150254: Waiting 14:11:50 41b27a9f41bf: Waiting 14:11:50 28c525ee5125: Waiting 14:11:50 094b1ea09ed8: Waiting 14:11:50 138eaada9080: Waiting 14:11:50 0622d0fa9048: Waiting 14:11:50 2cc5ad85d9ab: Verifying Checksum 14:11:50 2cc5ad85d9ab: Download complete 14:11:50 444b2fc9a129: Verifying Checksum 14:11:50 444b2fc9a129: Download complete 14:11:50 c9b1b535fdd9: Download complete 14:11:50 ea15f1150254: Verifying Checksum 14:11:50 ea15f1150254: Download complete 14:11:50 28c525ee5125: Verifying Checksum 14:11:50 28c525ee5125: Download complete 14:11:50 756a868c4378: Verifying Checksum 14:11:50 756a868c4378: Download complete 14:11:50 c9b1b535fdd9: Pull complete 14:11:50 138eaada9080: Verifying Checksum 14:11:50 138eaada9080: Download complete 14:11:50 0622d0fa9048: Verifying Checksum 14:11:50 0622d0fa9048: Download complete 14:11:50 094b1ea09ed8: Verifying Checksum 14:11:50 094b1ea09ed8: Download complete 14:11:51 41b27a9f41bf: Verifying Checksum 14:11:51 41b27a9f41bf: Download complete 14:11:51 2cc5ad85d9ab: Pull complete 14:11:52 756a868c4378: Pull complete 14:11:52 444b2fc9a129: Pull complete 14:11:53 ea15f1150254: Pull complete 14:11:57 41b27a9f41bf: Pull complete 14:11:57 28c525ee5125: Pull complete 14:12:00 094b1ea09ed8: Pull complete 14:12:00 138eaada9080: Pull complete 14:12:00 0622d0fa9048: Pull complete 14:12:00 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:12:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:12:00 prd-centos7-docker-4c-2g-398 does not seem to be running inside a container 14:12: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-273 -v /w/workspace/dry_go-mod-core-contracts_PR-273:/w/workspace/dry_go-mod-core-contracts_PR-273:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-273@tmp:/w/workspace/dry_go-mod-core-contracts_PR-273@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:12:04 $ docker top a4faff96a706717d17d602dfc78ce9c0f451c18a725ed445aa5ac9b8eadd17b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:12:04 provisioning config files... 14:12:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-273@tmp/config4322815625879182768tmp [Pipeline] { [Pipeline] echo 14:12:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:12:05 ---> create-netrc.sh [Pipeline] echo 14:12:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:12:05 ---> logs-deploy.sh 14:12:05 + ARCHIVE_ARTIFACTS= 14:12:05 + LOGS_SERVER=https://logs.edgexfoundry.org 14:12:05 + '[' https://logs.edgexfoundry.org == None ']' 14:12:05 + NEXUS_URL=https://nexus.edgexfoundry.org 14:12:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-273/1 14:12:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-273/1/ 14:12:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-273/1 /w/workspace/dry_go-mod-core-contracts_PR-273 14:12:06 Archives upload complete. 14:12:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-273/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-273/1/