Pull request #35 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9+ecc710d5197e59ae7f4883e76f8aa49dbd120517 (a9f8ee652edd9464625a0a80286bd3e19f83b36f) 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/device-rest-go/branches/PR-35/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:device-rest-go, goVersion:1.13] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go 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-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre 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-160’ is offline; ‘prd-centos7-docker-4c-2g-161’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-164 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [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/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-35 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # 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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # 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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 Commit message: "Remove unused attribution in Attribution.txt" 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 06:50:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:50:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:50:06 ========================================================= 06:50:06 EdgeX Global Pipelines Version Info 06:50:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:50:09 ------------------- 06:50:09 stable info: 06:50:09 ------------------- 06:50:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:50:09 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 06:50:09 Message: update stable to v1.0.106 06:50:10 ------------------- 06:50:10 experimental info: 06:50:10 ------------------- 06:50:10 Commited By: **** collab-it+edgex@linuxfoundation.org 06:50:10 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 06:50:10 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 06:50:13 + git log --format=format:%s -1 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [Pipeline] echo 06:50:13 GIT_COMMIT: 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo 06:50:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:50:14 06:50:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:50:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:50:15 latest: Pulling from edgex-devops/git-semver 06:50:15 31603596830f: Pulling fs layer 06:50:15 2a8b12db71e7: Pulling fs layer 06:50:15 6ca5941a6612: Pulling fs layer 06:50:15 ecc8261a40a4: Pulling fs layer 06:50:15 ecc8261a40a4: Waiting 06:50:15 2a8b12db71e7: Verifying Checksum 06:50:15 2a8b12db71e7: Download complete 06:50:15 31603596830f: Verifying Checksum 06:50:15 31603596830f: Download complete 06:50:16 6ca5941a6612: Verifying Checksum 06:50:16 6ca5941a6612: Download complete 06:50:16 ecc8261a40a4: Verifying Checksum 06:50:16 ecc8261a40a4: Download complete 06:50:16 31603596830f: Pull complete 06:50:16 2a8b12db71e7: Pull complete 06:50:17 6ca5941a6612: Pull complete 06:50:18 ecc8261a40a4: Pull complete 06:50:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:50:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:50:18 prd-centos7-docker-4c-2g-164 does not seem to be running inside a container 06:50:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@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 06:50:21 $ docker top 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:50:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:50:21 [ssh-agent] Looking for ssh-agent implementation... 06:50:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:50:22 $ docker exec 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent 06:50:22 SSH_AUTH_SOCK=/tmp/ssh-nhlxJUo8ZGgM/agent.13 06:50:22 SSH_AGENT_PID=18 06:50:22 Running ssh-add (command line suppressed) 06:50:23 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2041781637349558787.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2041781637349558787.key) 06:50:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:50:23 + git describe --exact-match --tags HEAD 06:50:23 fatal: No names found, cannot describe anything. [Pipeline] } 06:50:24 $ docker exec --env ******** --env ******** 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent -k 06:50:24 unset SSH_AUTH_SOCK; 06:50:24 unset SSH_AGENT_PID; 06:50:24 echo Agent pid 18 killed; 06:50:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:50:24 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:50:24 This usually means this commit has not been tagged. [Pipeline] sshagent 06:50:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:50:24 [ssh-agent] Looking for ssh-agent implementation... 06:50:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:50:25 $ docker exec 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent 06:50:25 SSH_AUTH_SOCK=/tmp/ssh-7ShQTMOnFgKG/agent.47 06:50:25 SSH_AGENT_PID=52 06:50:25 Running ssh-add (command line suppressed) 06:50:25 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_7770508070508098957.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_7770508070508098957.key) 06:50:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:50:26 + git semver init 06:50:26 # -> Open(): unable to determine branch for HEAD 06:50:26 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.git 06:50:26 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-35 06:50:26 # $SEMVER_REMOTE_NAME = origin 06:50:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:50:26 # $SEMVER_USER_NAME = edgex-jenkins 06:50:26 # $SEMVER_BRANCH = PR-35 06:50:26 # $SEMVER_TEMP = /tmp/semver-530542921 06:50:26 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:50:28 # '/tmp/semver-530542921' -> '/w/workspace/dgexfoundry_device-rest-go_PR-35/.semver' 06:50:28 # -> Force: false 06:50:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.semver [Pipeline] } 06:50:28 $ docker exec --env ******** --env ******** 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent -k 06:50:29 unset SSH_AUTH_SOCK; 06:50:29 unset SSH_AGENT_PID; 06:50:29 echo Agent pid 52 killed; 06:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:50:29 + git semver [Pipeline] } 06:50:30 $ docker stop --time=1 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 06:50:31 $ docker rm -f 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:50:34 Stashed 19 file(s) [Pipeline] echo 06:50:34 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 06:50:34 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 06:50:50 Still waiting to schedule task 06:50:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:50:50 Still waiting to schedule task 06:50:50 ‘prd-centos7-docker-4c-2g-158’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-157’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-167’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-168’ is offline 06:52:22 Running on prd-centos7-docker-4c-2g-170 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws 06:52:22 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:52:30 using credential edgex-jenkins-ssh 06:52:30 Cloning the remote Git repository 06:52:30 Cloning with configured refspecs honoured and without tags 06:52:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:52:30 > git init /w/workspace/device-rest-go/1 # timeout=10 06:52:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:52:30 > git --version # timeout=10 06:52:30 > git --version # 'git version 2.16.5' 06:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:32 Fetching without tags 06:52:32 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:52:33 Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:52:33 Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) 06:52:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:52:32 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 06:52:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:52:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:32 > git config core.sparsecheckout # timeout=10 06:52:32 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 06:52:32 > git remote # timeout=10 06:52:33 > git config --get remote.origin.url # timeout=10 06:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:33 > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 06:52:33 > git rev-parse HEAD^{commit} # timeout=10 06:52:33 > git config core.sparsecheckout # timeout=10 06:52:33 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 06:52:37 Commit message: "Remove unused attribution in Attribution.txt" 06:52:37 > git --version # timeout=10 06:52:37 > git --version # 'git version 2.16.5' 06:52:37 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:52:39 ========================================================= 06:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:52:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:40 + 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 . 06:52:40 Sending build context to Docker daemon 8.039MB 06:52:40 Step 1/10 : ARG BASE=golang:1.13-alpine 06:52:40 Step 2/10 : FROM ${BASE} 06:52:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-171 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { 06:52:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:52:41 df20fa9351a1: Pulling fs layer 06:52:41 ed8968b2872e: Pulling fs layer 06:52:41 a92cc7c5fd73: Pulling fs layer 06:52:41 2dd03ba5bac4: Pulling fs layer 06:52:41 1e091d79d1de: Pulling fs layer 06:52:41 481702a1767f: Pulling fs layer 06:52:41 f64a6f60c768: Pulling fs layer 06:52:41 e78d2573fc39: Pulling fs layer 06:52:41 e876d2f968b6: Pulling fs layer 06:52:41 ce8a83651883: Pulling fs layer 06:52:41 07967f4d0e4b: Pulling fs layer 06:52:41 2dd03ba5bac4: Waiting 06:52:41 1e091d79d1de: Waiting 06:52:41 481702a1767f: Waiting 06:52:41 f64a6f60c768: Waiting 06:52:41 e78d2573fc39: Waiting 06:52:41 e876d2f968b6: Waiting 06:52:41 ce8a83651883: Waiting 06:52:41 07967f4d0e4b: Waiting 06:52:41 a92cc7c5fd73: Verifying Checksum 06:52:41 a92cc7c5fd73: Download complete 06:52:41 ed8968b2872e: Download complete 06:52:41 1e091d79d1de: Verifying Checksum 06:52:41 1e091d79d1de: Download complete 06:52:41 481702a1767f: Verifying Checksum 06:52:41 481702a1767f: Download complete [Pipeline] ws 06:52:41 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:52:41 df20fa9351a1: Verifying Checksum 06:52:41 df20fa9351a1: Download complete 06:52:42 df20fa9351a1: Pull complete 06:52:43 f64a6f60c768: Verifying Checksum 06:52:43 f64a6f60c768: Download complete 06:52:43 e876d2f968b6: Verifying Checksum 06:52:43 e876d2f968b6: Download complete 06:52:43 ed8968b2872e: Pull complete 06:52:43 a92cc7c5fd73: Pull complete 06:52:44 ce8a83651883: Verifying Checksum 06:52:44 ce8a83651883: Download complete 06:52:44 2dd03ba5bac4: Verifying Checksum 06:52:44 2dd03ba5bac4: Download complete 06:52:45 07967f4d0e4b: Verifying Checksum 06:52:45 07967f4d0e4b: Download complete 06:52:45 e78d2573fc39: Verifying Checksum 06:52:45 e78d2573fc39: Download complete 06:52:46 using credential edgex-jenkins-ssh 06:52:46 Cloning the remote Git repository 06:52:46 Cloning with configured refspecs honoured and without tags 06:52:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:52:46 > git init /w/workspace/device-rest-go/1 # timeout=10 06:52:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:52:46 > git --version # timeout=10 06:52:46 > git --version # 'git version 2.17.1' 06:52:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:49 Fetching without tags 06:52:49 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:52:50 Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:52:50 Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) 06:52:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:52:49 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 06:52:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:52:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:49 > git config core.sparsecheckout # timeout=10 06:52:49 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 06:52:49 > git remote # timeout=10 06:52:49 > git config --get remote.origin.url # timeout=10 06:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:49 > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 06:52:50 > git rev-parse HEAD^{commit} # timeout=10 06:52:50 > git config core.sparsecheckout # timeout=10 06:52:50 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 06:52:54 Commit message: "Remove unused attribution in Attribution.txt" 06:52:54 > git --version # timeout=10 06:52:54 > git --version # 'git version 2.17.1' 06:52:54 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 06:52:55 2dd03ba5bac4: Pull complete 06:52:55 1e091d79d1de: Pull complete 06:52:55 481702a1767f: Pull complete [Pipeline] echo 06:52:56 ========================================================= 06:52:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:52:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:57 + 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 . 06:52:58 Sending build context to Docker daemon 8.039MB 06:52:58 Step 1/10 : ARG BASE=golang:1.13-alpine 06:52:58 Step 2/10 : FROM ${BASE} 06:52:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:52:59 b538f80385f9: Pulling fs layer 06:52:59 74f711af9a0d: Pulling fs layer 06:52:59 99f96fe45779: Pulling fs layer 06:52:59 fd7a069fd194: Pulling fs layer 06:52:59 66aa3694b03b: Pulling fs layer 06:52:59 170f70906a0f: Pulling fs layer 06:52:59 ad7c5574e4b9: Pulling fs layer 06:52:59 e772456be8f7: Pulling fs layer 06:52:59 c890913d741a: Pulling fs layer 06:52:59 2480fcc9aa5a: Pulling fs layer 06:52:59 09adf4765672: Pulling fs layer 06:52:59 fd7a069fd194: Waiting 06:52:59 66aa3694b03b: Waiting 06:52:59 170f70906a0f: Waiting 06:52:59 ad7c5574e4b9: Waiting 06:52:59 e772456be8f7: Waiting 06:52:59 c890913d741a: Waiting 06:52:59 09adf4765672: Waiting 06:52:59 2480fcc9aa5a: Waiting 06:52:59 99f96fe45779: Verifying Checksum 06:52:59 99f96fe45779: Download complete 06:52:59 74f711af9a0d: Download complete 06:52:59 66aa3694b03b: Verifying Checksum 06:52:59 66aa3694b03b: Download complete 06:52:59 170f70906a0f: Verifying Checksum 06:52:59 170f70906a0f: Download complete 06:52:59 b538f80385f9: Verifying Checksum 06:52:59 b538f80385f9: Pull complete 06:53:00 74f711af9a0d: Pull complete 06:53:01 f64a6f60c768: Pull complete 06:53:01 99f96fe45779: Pull complete 06:53:03 ad7c5574e4b9: Verifying Checksum 06:53:03 ad7c5574e4b9: Download complete 06:53:03 c890913d741a: Verifying Checksum 06:53:03 c890913d741a: Download complete 06:53:04 2480fcc9aa5a: Verifying Checksum 06:53:04 2480fcc9aa5a: Download complete 06:53:04 09adf4765672: Download complete 06:53:05 e78d2573fc39: Pull complete 06:53:05 e876d2f968b6: Pull complete 06:53:05 e772456be8f7: Verifying Checksum 06:53:05 e772456be8f7: Download complete 06:53:06 fd7a069fd194: Verifying Checksum 06:53:06 fd7a069fd194: Download complete 06:53:07 ce8a83651883: Pull complete 06:53:07 07967f4d0e4b: Pull complete 06:53:07 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:53:07 ---> 5d7c900382c6 06:53:07 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:53:09 ---> Running in 76bb8316ed8e 06:53:09 Removing intermediate container 76bb8316ed8e 06:53:09 ---> 8467b563246d 06:53:09 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:53:09 ---> Running in a6595e974443 06:53:10 Removing intermediate container a6595e974443 06:53:10 ---> d562e20daed2 06:53:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:53:10 ---> Running in 08ea8813bd87 06:53:10 Removing intermediate container 08ea8813bd87 06:53:10 ---> 85068b11ab72 06:53:10 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:10 ---> Running in 86e9f9e8ece2 06:53:12 Removing intermediate container 86e9f9e8ece2 06:53:12 ---> c6e82a95adac 06:53:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:53:12 ---> Running in 12a7a0206851 06:53:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:53:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:53:14 OK: 166 MiB in 39 packages 06:53:14 Removing intermediate container 12a7a0206851 06:53:14 ---> f8dec9633438 06:53:14 Step 8/10 : WORKDIR /device-rest-go 06:53:14 ---> Running in 7243731c94ba 06:53:14 Removing intermediate container 7243731c94ba 06:53:14 ---> 2e9ccc4c2238 06:53:14 Step 9/10 : COPY . . 06:53:15 ---> 1e59e34a2b17 06:53:15 Step 10/10 : RUN go mod download 06:53:15 ---> Running in b758451af757 06:53:18 fd7a069fd194: Pull complete 06:53:18 66aa3694b03b: Pull complete 06:53:18 170f70906a0f: Pull complete 06:53:19 go: finding github.com/BurntSushi/toml v0.3.1 06:53:19 go: finding github.com/OneOfOne/xxhash v1.2.6 06:53:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:53:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:53:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:53:19 go: finding github.com/bgentry/speakeasy v0.1.0 06:53:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:53:19 go: finding github.com/davecgh/go-spew v1.1.1 06:53:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:53:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:53:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:53:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:53:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:53:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:53:19 go: finding github.com/fatih/color v1.7.0 06:53:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:53:20 go: finding github.com/go-kit/kit v0.8.0 06:53:20 go: finding github.com/go-logfmt/logfmt v0.4.0 06:53:20 go: finding github.com/go-stack/stack v1.8.0 06:53:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:53:20 go: finding github.com/google/uuid v1.1.0 06:53:20 go: finding github.com/gorilla/mux v1.7.1 06:53:20 go: finding github.com/hashicorp/consul/api v1.1.0 06:53:20 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:53:20 go: finding github.com/hashicorp/errwrap v1.0.0 06:53:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:53:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:53:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:53:20 go: finding github.com/hashicorp/go-multierror v1.0.0 06:53:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:53:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:53:20 go: finding github.com/hashicorp/go-syslog v1.0.0 06:53:20 go: finding github.com/hashicorp/go-uuid v1.0.1 06:53:20 go: finding github.com/hashicorp/go.net v0.0.1 06:53:20 go: finding github.com/hashicorp/golang-lru v0.5.0 06:53:20 go: finding github.com/hashicorp/logutils v1.0.0 06:53:20 go: finding github.com/hashicorp/mdns v1.0.0 06:53:20 go: finding github.com/hashicorp/memberlist v0.1.3 06:53:21 go: finding github.com/hashicorp/serf v0.8.2 06:53:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:53:21 go: finding github.com/mattn/go-colorable v0.0.9 06:53:21 go: finding github.com/mattn/go-isatty v0.0.3 06:53:21 go: finding github.com/miekg/dns v1.0.14 06:53:21 go: finding github.com/mitchellh/cli v1.0.0 06:53:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:53:21 go: finding github.com/mitchellh/copystructure v1.0.0 06:53:21 go: finding github.com/mitchellh/go-homedir v1.0.0 06:53:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:53:21 go: finding github.com/mitchellh/gox v0.4.0 06:53:21 go: finding github.com/mitchellh/iochan v1.0.0 06:53:21 go: finding github.com/mitchellh/mapstructure v1.1.2 06:53:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:53:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:53:21 go: finding github.com/pelletier/go-toml v1.2.0 06:53:21 go: finding github.com/pkg/errors v0.8.1 06:53:21 go: finding github.com/pmezard/go-difflib v1.0.0 06:53:21 go: finding github.com/posener/complete v1.1.1 06:53:21 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:53:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:53:22 go: finding github.com/spf13/cast v1.3.0 06:53:22 go: finding github.com/stretchr/objx v0.1.0 06:53:22 go: finding github.com/stretchr/testify v1.5.1 06:53:22 go: finding github.com/ugorji/go v1.1.4 06:53:22 go: finding github.com/x448/float16 v0.8.4 06:53:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:53:22 ad7c5574e4b9: Pull complete 06:53:22 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:53:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:53:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:53:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:53:22 go: finding gopkg.in/yaml.v2 v2.2.8 06:53:26 e772456be8f7: Pull complete 06:53:26 c890913d741a: Pull complete 06:53:29 2480fcc9aa5a: Pull complete 06:53:29 09adf4765672: Pull complete 06:53:29 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:53:29 ---> 2248a725d1cf 06:53:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:53:30 Removing intermediate container b758451af757 06:53:30 ---> 3a1ae3f6e170 06:53:30 Successfully built 3a1ae3f6e170 06:53:30 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 06:53:31 + docker inspect -f . ci-base-image-x86_64 06:53:31 . [Pipeline] withDockerContainer 06:53:31 prd-centos7-docker-4c-2g-170 does not seem to be running inside a container 06:53:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 06:53:33 $ docker top 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:33 ---> Running in 99bc18bed360 06:53:34 + go version 06:53:34 go version go1.13.13 linux/amd64 06:53:34 Removing intermediate container 99bc18bed360 06:53:34 ---> a17b5ec0d5b4 06:53:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:53:34 ---> Running in 2f0d2191f2e0 [Pipeline] sh 06:53:34 Removing intermediate container 2f0d2191f2e0 06:53:34 ---> 346625218af0 06:53:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:53:34 ---> Running in 214b73a81a33 06:53:35 Removing intermediate container 214b73a81a33 06:53:35 ---> 26e552f5e772 06:53:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:35 + make test 06:53:35 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:53:35 ---> Running in 53c8e211708f 06:53:36 ? github.com/edgexfoundry/device-rest-go [no test files] 06:53:37 Removing intermediate container 53c8e211708f 06:53:37 ---> 10e647f29e42 06:53:37 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:53:38 ---> Running in 4cf81f7e5d41 06:53:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:53:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:53:40 OK: 142 MiB in 39 packages 06:53:42 Removing intermediate container 4cf81f7e5d41 06:53:42 ---> 2af91e7e97f6 06:53:42 Step 8/10 : WORKDIR /device-rest-go 06:53:42 ---> Running in 193dde3eecf0 06:53:43 Removing intermediate container 193dde3eecf0 06:53:43 ---> 10a033c9eee6 06:53:43 Step 9/10 : COPY . . 06:53:43 ---> ab4fbb3a48e7 06:53:43 Step 10/10 : RUN go mod download 06:53:44 ---> Running in 4ed438f51efb 06:53:47 go: finding github.com/BurntSushi/toml v0.3.1 06:53:47 go: finding github.com/OneOfOne/xxhash v1.2.6 06:53:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:53:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:53:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:53:47 go: finding github.com/bgentry/speakeasy v0.1.0 06:53:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:53:47 go: finding github.com/davecgh/go-spew v1.1.1 06:53:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:53:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:53:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:53:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:53:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:53:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:53:47 go: finding github.com/fatih/color v1.7.0 06:53:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:53:47 go: finding github.com/go-kit/kit v0.8.0 06:53:48 go: finding github.com/go-logfmt/logfmt v0.4.0 06:53:48 go: finding github.com/go-stack/stack v1.8.0 06:53:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:53:48 go: finding github.com/google/uuid v1.1.0 06:53:48 go: finding github.com/gorilla/mux v1.7.1 06:53:48 go: finding github.com/hashicorp/consul/api v1.1.0 06:53:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:53:48 go: finding github.com/hashicorp/errwrap v1.0.0 06:53:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:53:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:53:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:53:48 go: finding github.com/hashicorp/go-multierror v1.0.0 06:53:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:53:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:53:48 go: finding github.com/hashicorp/go-syslog v1.0.0 06:53:48 go: finding github.com/hashicorp/go-uuid v1.0.1 06:53:48 go: finding github.com/hashicorp/go.net v0.0.1 06:53:48 go: finding github.com/hashicorp/golang-lru v0.5.0 06:53:48 go: finding github.com/hashicorp/logutils v1.0.0 06:53:48 go: finding github.com/hashicorp/mdns v1.0.0 06:53:49 go: finding github.com/hashicorp/memberlist v0.1.3 06:53:49 go: finding github.com/hashicorp/serf v0.8.2 06:53:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:53:49 go: finding github.com/mattn/go-colorable v0.0.9 06:53:49 go: finding github.com/mattn/go-isatty v0.0.3 06:53:49 go: finding github.com/miekg/dns v1.0.14 06:53:49 go: finding github.com/mitchellh/cli v1.0.0 06:53:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:53:49 go: finding github.com/mitchellh/copystructure v1.0.0 06:53:49 go: finding github.com/mitchellh/go-homedir v1.0.0 06:53:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:53:49 go: finding github.com/mitchellh/gox v0.4.0 06:53:49 go: finding github.com/mitchellh/iochan v1.0.0 06:53:49 go: finding github.com/mitchellh/mapstructure v1.1.2 06:53:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:53:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:53:49 go: finding github.com/pelletier/go-toml v1.2.0 06:53:49 go: finding github.com/pkg/errors v0.8.1 06:53:49 go: finding github.com/pmezard/go-difflib v1.0.0 06:53:49 go: finding github.com/posener/complete v1.1.1 06:53:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:53:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:53:49 go: finding github.com/spf13/cast v1.3.0 06:53:49 go: finding github.com/stretchr/objx v0.1.0 06:53:49 go: finding github.com/stretchr/testify v1.5.1 06:53:49 go: finding github.com/ugorji/go v1.1.4 06:53:49 go: finding github.com/x448/float16 v0.8.4 06:53:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:53:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:53:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:53:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:53:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:53:50 go: finding gopkg.in/yaml.v2 v2.2.8 06:53:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:53:55 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements 06:53:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:53:58 gofmt -l . 06:53:58 [ "`gofmt -l .`" = "" ] 06:53:58 ./bin/test-go-mod-tidy.sh 06:53:58 ./bin/test-attribution-txt.sh [Pipeline] stash 06:54:00 Removing intermediate container 4ed438f51efb 06:54:00 ---> 8da24816cbf6 06:54:00 Successfully built 8da24816cbf6 06:54:00 Successfully tagged ci-base-image-arm64:latest 06:54:00 Stashed 1 file(s) [Pipeline] } 06:54:00 $ docker stop --time=1 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 06:54:02 $ docker rm -f 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix 06:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 06:54:05 + docker inspect -f . ci-base-image-arm64 06:54:05 . [Pipeline] withDockerContainer 06:54:05 + ls -al . 06:54:05 total 96 06:54:05 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 24 06:53 . 06:54:05 drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 06:52 .. 06:54:05 -rw-rw-r--. 1 jenkins jenkins 4566 Aug 24 06:52 Attribution.txt 06:54:05 drwxrwxr-x. 2 jenkins jenkins 64 Aug 24 06:52 bin 06:54:05 drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 06:52 cmd 06:54:05 -rw-r--r--. 1 jenkins jenkins 9369 Aug 24 06:53 coverage.out 06:54:05 -rw-rw-r--. 1 jenkins jenkins 1504 Aug 24 06:52 Dockerfile 06:54:05 -rw-rw-r--. 1 jenkins jenkins 989 Aug 24 06:52 Dockerfile.build 06:54:05 -rw-rw-r--. 1 jenkins jenkins 151 Aug 24 06:52 .dockerignore 06:54:05 drwxrwxr-x. 2 jenkins jenkins 93 Aug 24 06:53 driver 06:54:05 drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 06:52 .git 06:54:05 drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 06:52 .github 06:54:05 -rw-rw-r--. 1 jenkins jenkins 339 Aug 24 06:52 .gitignore 06:54:05 -rw-r--r--. 1 jenkins jenkins 266 Aug 24 06:53 go.mod 06:54:05 -rw-r--r--. 1 jenkins jenkins 12533 Aug 24 06:53 go.sum 06:54:05 -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 06:52 Jenkinsfile 06:54:05 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE 06:54:05 -rw-rw-r--. 1 jenkins jenkins 951 Aug 24 06:52 Makefile 06:54:05 -rw-rw-r--. 1 jenkins jenkins 5716 Aug 24 06:52 README.md 06:54:05 drwxrwxr-x. 3 jenkins jenkins 45 Aug 24 06:52 .semver 06:54:05 drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 06:52 snap 06:54:05 -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 06:50 VERSION 06:54:05 -rw-rw-r--. 1 jenkins jenkins 713 Aug 24 06:52 version.go 06:54:05 prd-ubuntu18.04-docker-arm64-4c-16g-171 does not seem to be running inside a container 06:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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-arm64 cat 06:54:07 $ docker top 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:54:08 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 --label arch=amd64 --label version=0.0.0 . 06:54:08 Sending build context to Docker daemon 8.051MB 06:54:08 Step 1/24 : ARG BASE=golang:1.13-alpine 06:54:08 Step 2/24 : FROM ${BASE} AS builder 06:54:08 ---> 3a1ae3f6e170 06:54:08 Step 3/24 : ARG MAKE='make build' 06:54:08 ---> Running in 3c42250d8ea3 06:54:08 Removing intermediate container 3c42250d8ea3 06:54:08 ---> 296d9bfde7c0 06:54:08 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 06:54:08 + go version 06:54:08 go version go1.13.13 linux/arm64 [Pipeline] sh 06:54:09 ---> Running in 470014c37cfa 06:54:09 Removing intermediate container 470014c37cfa 06:54:09 ---> 0720086843be 06:54:09 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:54:09 ---> Running in 2430be8aff7d 06:54:09 Removing intermediate container 2430be8aff7d 06:54:09 ---> 4fbe0e8d2077 06:54:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:09 ---> Running in b888730de57d 06:54:10 + make test 06:54:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:54:11 ? github.com/edgexfoundry/device-rest-go [no test files] 06:54:11 Removing intermediate container b888730de57d 06:54:11 ---> cab884eef68c 06:54:11 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:11 ---> Running in a110babbc6ae 06:54:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:54:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:54:13 OK: 166 MiB in 39 packages 06:54:13 Removing intermediate container a110babbc6ae 06:54:13 ---> 2616246b485c 06:54:13 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:54:13 ---> Running in ef4dab9f85db 06:54:13 Removing intermediate container ef4dab9f85db 06:54:13 ---> 478eae49c0cc 06:54:13 Step 9/24 : COPY go.mod . 06:54:14 ---> 8549c93b0fdb 06:54:14 Step 10/24 : COPY Makefile . 06:54:15 ---> f7b04079e383 06:54:15 Step 11/24 : RUN make update 06:54:15 ---> Running in 56558db123b9 06:54:16 CGO_ENABLED=0 GO111MODULE=on go mod download 06:54:17 Removing intermediate container 56558db123b9 06:54:17 ---> 554a860e8172 06:54:17 Step 12/24 : COPY . . 06:54:17 ---> 78018592b787 06:54:17 Step 13/24 : RUN $MAKE 06:54:17 ---> Running in 00e84aae1de7 06:54:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:54:41 Removing intermediate container 00e84aae1de7 06:54:41 ---> 019c0426010a 06:54:41 Step 14/24 : FROM alpine:latest 06:54:41 latest: Pulling from library/alpine 06:54:41 df20fa9351a1: Already exists 06:54:41 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:54:41 Status: Downloaded newer image for alpine:latest 06:54:41 ---> a24bb4013296 06:54:41 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:54:41 ---> Running in aa1ba27e4af3 06:54:41 Removing intermediate container aa1ba27e4af3 06:54:41 ---> 3fa8c684817e 06:54:41 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 06:54:41 ---> Running in 92fc1a91b12a 06:54:41 Removing intermediate container 92fc1a91b12a 06:54:41 ---> 58ffb8eddf72 06:54:41 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:54:41 ---> 28c53f0bcda2 06:54:41 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:54:41 ---> 3937b2dc0ff1 06:54:41 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:54:41 ---> a0f750fed575 06:54:41 Step 20/24 : EXPOSE 49986 06:54:41 ---> Running in d667f6f6f5eb 06:54:42 Removing intermediate container d667f6f6f5eb 06:54:42 ---> 61bba8245034 06:54:42 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:54:42 ---> Running in 29bd832ca99c 06:54:42 Removing intermediate container 29bd832ca99c 06:54:42 ---> 207e8e893d14 06:54:42 Step 22/24 : LABEL arch=amd64 06:54:42 ---> Running in 65bd42b21072 06:54:42 Removing intermediate container 65bd42b21072 06:54:42 ---> d68c06b41cf1 06:54:42 Step 23/24 : LABEL git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:54:42 ---> Running in bf0a4e64b439 06:54:42 Removing intermediate container bf0a4e64b439 06:54:42 ---> cdbde44c3ea7 06:54:42 Step 24/24 : LABEL version=0.0.0 06:54:42 ---> Running in e4381aa8077b 06:54:43 Removing intermediate container e4381aa8077b 06:54:43 ---> 1920daf662a0 06:54:43 [Warning] One or more build-args [ARCH] were not consumed 06:54:43 Successfully built 1920daf662a0 06:54:43 Successfully tagged docker-device-rest-go:latest [Pipeline] } 06:54:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:54:43 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements 06:54:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] // script [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] } 06:54:48 gofmt -l . 06:54:48 [ "`gofmt -l .`" = "" ] 06:54:48 ./bin/test-go-mod-tidy.sh 06:54:48 ./bin/test-attribution-txt.sh [Pipeline] stash 06:54:49 Warning: overwriting stash ‘coverage-report’ 06:54:50 Stashed 1 file(s) [Pipeline] } 06:54:50 $ docker stop --time=1 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 06:54:52 $ docker rm -f 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:54 + ls -al . 06:54:54 total 128 06:54:54 drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 06:54 . 06:54:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:52 .. 06:54:54 -rw-rw-r-- 1 jenkins jenkins 151 Aug 24 06:52 .dockerignore 06:54:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 06:52 .git 06:54:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 .github 06:54:54 -rw-rw-r-- 1 jenkins jenkins 339 Aug 24 06:52 .gitignore 06:54:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 .semver 06:54:54 -rw-rw-r-- 1 jenkins jenkins 4566 Aug 24 06:52 Attribution.txt 06:54:54 -rw-rw-r-- 1 jenkins jenkins 1504 Aug 24 06:52 Dockerfile 06:54:54 -rw-rw-r-- 1 jenkins jenkins 989 Aug 24 06:52 Dockerfile.build 06:54:54 -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 06:52 Jenkinsfile 06:54:54 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE 06:54:54 -rw-rw-r-- 1 jenkins jenkins 951 Aug 24 06:52 Makefile 06:54:54 -rw-rw-r-- 1 jenkins jenkins 5716 Aug 24 06:52 README.md 06:54:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 06:50 VERSION 06:54:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 bin 06:54:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 cmd 06:54:54 -rw-r--r-- 1 jenkins jenkins 9369 Aug 24 06:54 coverage.out 06:54:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:54 driver 06:54:54 -rw-r--r-- 1 jenkins jenkins 266 Aug 24 06:54 go.mod 06:54:54 -rw-r--r-- 1 jenkins jenkins 12533 Aug 24 06:54 go.sum 06:54:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:52 snap 06:54:54 -rw-rw-r-- 1 jenkins jenkins 713 Aug 24 06:52 version.go [Pipeline] isUnix [Pipeline] sh 06:54:54 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 --label arch=arm64 --label version=0.0.0 . 06:54:54 Sending build context to Docker daemon 8.051MB 06:54:55 Step 1/24 : ARG BASE=golang:1.13-alpine 06:54:55 Step 2/24 : FROM ${BASE} AS builder 06:54:55 ---> 8da24816cbf6 06:54:55 Step 3/24 : ARG MAKE='make build' 06:54:55 ---> Running in 97725f3be978 06:54:55 Removing intermediate container 97725f3be978 06:54:55 ---> dca1caaae3f0 06:54:55 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 06:54:55 ---> Running in cacccf806af7 06:54:56 Removing intermediate container cacccf806af7 06:54:56 ---> c49ef8abb71f 06:54:56 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:54:56 ---> Running in d0772119da53 06:54:57 Removing intermediate container d0772119da53 06:54:57 ---> 3510937247c9 06:54:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:57 ---> Running in d9c2fdbb0533 06:54:59 Removing intermediate container d9c2fdbb0533 06:54:59 ---> 0b157bf6995e 06:54:59 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:59 ---> Running in e451bdea3b9c 06:55:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:55:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:55:02 OK: 142 MiB in 39 packages 06:55:03 Removing intermediate container e451bdea3b9c 06:55:03 ---> 02bb8f621c94 06:55:03 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:55:03 ---> Running in 4d221fb1a110 06:55:04 Removing intermediate container 4d221fb1a110 06:55:04 ---> 839b52e238f4 06:55:04 Step 9/24 : COPY go.mod . 06:55:05 ---> 96207f63247d 06:55:05 Step 10/24 : COPY Makefile . 06:55:05 ---> 8d80c781a74c 06:55:05 Step 11/24 : RUN make update 06:55:06 ---> Running in d2277c81ab97 06:55:07 CGO_ENABLED=0 GO111MODULE=on go mod download 06:55:08 Removing intermediate container d2277c81ab97 06:55:08 ---> e4a67985a0bd 06:55:08 Step 12/24 : COPY . . 06:55:09 ---> 7b9b0c205210 06:55:09 Step 13/24 : RUN $MAKE 06:55:10 ---> Running in c5f2aef45008 06:55:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:55:43 Removing intermediate container c5f2aef45008 06:55:43 ---> 21212bee0dd2 06:55:43 Step 14/24 : FROM alpine:latest 06:55:43 latest: Pulling from library/alpine 06:55:43 b538f80385f9: Already exists 06:55:43 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:55:43 Status: Downloaded newer image for alpine:latest 06:55:43 ---> 62ee0e9f8440 06:55:43 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:55:43 ---> Running in dd773ca350d7 06:55:43 Removing intermediate container dd773ca350d7 06:55:43 ---> 4b609b57c091 06:55:43 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 06:55:43 ---> Running in 733a53e29243 06:55:43 Removing intermediate container 733a53e29243 06:55:43 ---> 4f5b4bed2e51 06:55:43 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:55:43 ---> 8afa4654a34d 06:55:43 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:55:43 ---> 4422c967b211 06:55:43 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:55:44 ---> 271c65ddd79b 06:55:44 Step 20/24 : EXPOSE 49986 06:55:44 ---> Running in 024e8d60c83f 06:55:45 Removing intermediate container 024e8d60c83f 06:55:45 ---> 4c21eeaf3168 06:55:45 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:55:45 ---> Running in b9509943e5ec 06:55:45 Removing intermediate container b9509943e5ec 06:55:45 ---> 9956e0420231 06:55:45 Step 22/24 : LABEL arch=arm64 06:55:45 ---> Running in b7e64dbb16ef 06:55:46 Removing intermediate container b7e64dbb16ef 06:55:46 ---> abb8af28f799 06:55:46 Step 23/24 : LABEL git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 06:55:46 ---> Running in fb33d1f41d8f 06:55:47 Removing intermediate container fb33d1f41d8f 06:55:47 ---> 58862b2fbbab 06:55:47 Step 24/24 : LABEL version=0.0.0 06:55:47 ---> Running in a8b1ee6a859b 06:55:47 Removing intermediate container a8b1ee6a859b 06:55:47 ---> 2df477dbecb1 06:55:47 [Warning] One or more build-args [ARCH] were not consumed 06:55:47 Successfully built 2df477dbecb1 06:55:47 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [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 06:55:50 provisioning config files... 06:55:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config2997307058887340096tmp [Pipeline] { [Pipeline] sh 06:55:50 + curl -s https://codecov.io/bash 06:55:50 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config2997307058887340096tmp [Pipeline] } 06:55:50 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 06:55:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:55:55 ---> package-listing.sh 06:55:55 ++ facter osfamily 06:55:55 ++ tr '[:upper:]' '[:lower:]' 06:55:55 + OS_FAMILY=redhat 06:55:55 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-35 06:55:55 + START_PACKAGES=/tmp/packages_start.txt 06:55:55 + END_PACKAGES=/tmp/packages_end.txt 06:55:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:55:55 + PACKAGES=/tmp/packages_start.txt 06:55:55 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' 06:55:55 + PACKAGES=/tmp/packages_end.txt 06:55:55 + case "${OS_FAMILY}" in 06:55:55 + sort 06:55:55 + rpm -qa 06:55:59 + '[' -f /tmp/packages_start.txt ']' 06:55:59 + '[' -f /tmp/packages_end.txt ']' 06:55:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:55:59 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' 06:55:59 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ 06:55:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [Pipeline] isUnix [Pipeline] sh 06:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:56:00 06:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:56:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:56:00 alpine: Pulling from edgex-lftools-log-publisher 06:56:00 c9b1b535fdd9: Pulling fs layer 06:56:00 2cc5ad85d9ab: Pulling fs layer 06:56:00 756a868c4378: Pulling fs layer 06:56:00 444b2fc9a129: Pulling fs layer 06:56:00 ea15f1150254: Pulling fs layer 06:56:00 41b27a9f41bf: Pulling fs layer 06:56:00 28c525ee5125: Pulling fs layer 06:56:00 094b1ea09ed8: Pulling fs layer 06:56:00 138eaada9080: Pulling fs layer 06:56:00 0622d0fa9048: Pulling fs layer 06:56:00 41b27a9f41bf: Waiting 06:56:00 28c525ee5125: Waiting 06:56:00 094b1ea09ed8: Waiting 06:56:00 138eaada9080: Waiting 06:56:00 0622d0fa9048: Waiting 06:56:00 444b2fc9a129: Waiting 06:56:00 ea15f1150254: Waiting 06:56:00 2cc5ad85d9ab: Verifying Checksum 06:56:00 2cc5ad85d9ab: Download complete 06:56:00 444b2fc9a129: Verifying Checksum 06:56:00 444b2fc9a129: Download complete 06:56:00 c9b1b535fdd9: Verifying Checksum 06:56:00 c9b1b535fdd9: Download complete 06:56:00 ea15f1150254: Verifying Checksum 06:56:00 ea15f1150254: Download complete 06:56:01 28c525ee5125: Verifying Checksum 06:56:01 28c525ee5125: Download complete 06:56:01 c9b1b535fdd9: Pull complete 06:56:02 756a868c4378: Verifying Checksum 06:56:02 756a868c4378: Download complete 06:56:02 094b1ea09ed8: Verifying Checksum 06:56:02 094b1ea09ed8: Download complete 06:56:02 138eaada9080: Verifying Checksum 06:56:02 138eaada9080: Download complete 06:56:02 0622d0fa9048: Verifying Checksum 06:56:02 0622d0fa9048: Download complete 06:56:02 2cc5ad85d9ab: Pull complete 06:56:03 41b27a9f41bf: Verifying Checksum 06:56:03 41b27a9f41bf: Download complete 06:56:05 756a868c4378: Pull complete 06:56:05 444b2fc9a129: Pull complete 06:56:06 ea15f1150254: Pull complete 06:56:11 41b27a9f41bf: Pull complete 06:56:11 28c525ee5125: Pull complete 06:56:16 094b1ea09ed8: Pull complete 06:56:16 138eaada9080: Pull complete 06:56:16 0622d0fa9048: Pull complete 06:56:16 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:56:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:56:17 prd-centos7-docker-4c-2g-164 does not seem to be running inside a container 06:56:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@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 06:56:19 $ docker top b8b6dab0f51141f35963af6b9063305a5bb3570e7ba8770f8ad580f1d00c13d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:19 provisioning config files... 06:56:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config6235974167915118602tmp [Pipeline] { [Pipeline] echo 06:56:19 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:56:20 ---> create-netrc.sh [Pipeline] echo 06:56:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:56:20 ---> logs-deploy.sh 06:56:20 + ARCHIVE_ARTIFACTS= 06:56:20 + LOGS_SERVER=https://logs.edgexfoundry.org 06:56:20 + '[' https://logs.edgexfoundry.org == None ']' 06:56:20 + NEXUS_URL=https://nexus.edgexfoundry.org 06:56:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 06:56:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-35/1/ 06:56:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 /w/workspace/dgexfoundry_device-rest-go_PR-35 06:56:22 Archives upload complete. 06:56:22 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-35/1/