Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6a789b21587e08efa5f24f48d2b3dd019da7f7d4+b106d00ae92e946d2103bc6c1464522635373c7b (40d56fcc7855ba29cdbea188808d79b914678328) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-492’ Running on prd-centos7-docker-4c-2g-495 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [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-27 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 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/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 Merge succeeded, producing 269da8e8797ab8b19895ebade1b65d9ef4306791 Checking out Revision 269da8e8797ab8b19895ebade1b65d9ef4306791 (PR-27) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # 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/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # 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 b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:59:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:59:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:59:13 ========================================================= 23:59:13 EdgeX Global Pipelines Version Info 23:59:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:59:15 ------------------- 23:59:15 stable info: 23:59:15 ------------------- 23:59:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:59:15 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 23:59:15 Message: update stable to v1.0.99 23:59:16 ------------------- 23:59:16 experimental info: 23:59:16 ------------------- 23:59:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:59:16 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 23:59:16 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 23:59:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:59:18 23:59:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:59:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:59:18 latest: Pulling from edgex-devops/git-semver 23:59:18 31603596830f: Pulling fs layer 23:59:18 2a8b12db71e7: Pulling fs layer 23:59:18 6ca5941a6612: Pulling fs layer 23:59:18 ecc8261a40a4: Pulling fs layer 23:59:18 ecc8261a40a4: Waiting 23:59:18 2a8b12db71e7: Verifying Checksum 23:59:18 2a8b12db71e7: Download complete 23:59:18 31603596830f: Download complete 23:59:18 ecc8261a40a4: Verifying Checksum 23:59:18 ecc8261a40a4: Download complete 23:59:18 6ca5941a6612: Verifying Checksum 23:59:18 6ca5941a6612: Download complete 23:59:18 31603596830f: Pull complete 23:59:18 2a8b12db71e7: Pull complete 23:59:19 6ca5941a6612: Pull complete 23:59:19 ecc8261a40a4: Pull complete 23:59:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:59:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:59:19 prd-centos7-docker-4c-2g-495 does not seem to be running inside a container 23:59:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:59:22 $ docker top fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:59:22 [ssh-agent] Looking for ssh-agent implementation... 23:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:59:22 $ docker exec fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent 23:59:22 SSH_AUTH_SOCK=/tmp/ssh-unMFp2uUUv1h/agent.12 23:59:22 SSH_AGENT_PID=17 23:59:22 Running ssh-add (command line suppressed) 23:59:22 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6653393071659810131.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6653393071659810131.key) 23:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:59:23 + git describe --exact-match --tags HEAD 23:59:23 fatal: No names found, cannot describe anything. [Pipeline] } 23:59:23 $ docker exec --env ******** --env ******** fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent -k 23:59:23 unset SSH_AUTH_SOCK; 23:59:23 unset SSH_AGENT_PID; 23:59:23 echo Agent pid 17 killed; 23:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:59:23 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 23:59:23 This usually means this commit has not been tagged. [Pipeline] sshagent 23:59:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:59:23 [ssh-agent] Looking for ssh-agent implementation... 23:59:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:59:23 $ docker exec fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent 23:59:23 SSH_AUTH_SOCK=/tmp/ssh-E9MsYNkVirlj/agent.46 23:59:23 SSH_AGENT_PID=51 23:59:23 Running ssh-add (command line suppressed) 23:59:23 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_839234599075994700.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_839234599075994700.key) 23:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:59:24 + git semver init 23:59:24 # -> Open(): unable to determine branch for HEAD 23:59:24 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git 23:59:24 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 23:59:24 # $SEMVER_REMOTE_NAME = origin 23:59:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:59:24 # $SEMVER_USER_NAME = edgex-jenkins 23:59:24 # $SEMVER_BRANCH = PR-27 23:59:24 # $SEMVER_TEMP = /tmp/semver-262230358 23:59:24 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:59:25 # '/tmp/semver-262230358' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' 23:59:25 # -> Force: false 23:59:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } 23:59:25 $ docker exec --env ******** --env ******** fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent -k 23:59:25 unset SSH_AUTH_SOCK; 23:59:25 unset SSH_AGENT_PID; 23:59:25 echo Agent pid 51 killed; 23:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:59:25 + git semver [Pipeline] } 23:59:25 $ docker stop --time=1 fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba 23:59:27 $ docker rm -f fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 23:59:28 Stashed 17 file(s) [Pipeline] echo 23:59:28 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:59:43 Still waiting to schedule task 23:59:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:59:43 Still waiting to schedule task 23:59:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-493’ is offline 00:01:13 Running on prd-centos7-docker-4c-2g-497 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 00:01:13 Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout 00:01:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-496 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 00:01:13 Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout 00:01:16 using credential edgex-jenkins-ssh 00:01:16 Cloning the remote Git repository 00:01:16 Cloning with configured refspecs honoured and without tags 00:01:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:01:16 > git init /w/workspace/device-rest-go/11 # timeout=10 00:01:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:16 > git --version # timeout=10 00:01:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:17 Fetching without tags 00:01:18 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 00:01:18 Merge succeeded, producing d63707b02dacb34c2b9bc23db1a8e194f4dd3371 00:01:18 Checking out Revision d63707b02dacb34c2b9bc23db1a8e194f4dd3371 (PR-27) 00:01:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:17 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 00:01:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:18 > git config core.sparsecheckout # timeout=10 00:01:18 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 00:01:18 > git remote # timeout=10 00:01:18 > git config --get remote.origin.url # timeout=10 00:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:18 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 00:01:18 > git rev-parse HEAD^{commit} # timeout=10 00:01:18 > git config core.sparsecheckout # timeout=10 00:01:18 > git checkout -f d63707b02dacb34c2b9bc23db1a8e194f4dd3371 # timeout=10 00:01:18 using credential edgex-jenkins-ssh 00:01:18 Cloning the remote Git repository 00:01:18 Cloning with configured refspecs honoured and without tags 00:01:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:01:18 > git init /w/workspace/device-rest-go/11 # timeout=10 00:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:18 > git --version # timeout=10 00:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:20 Fetching without tags 00:01:21 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 00:01:21 Merge succeeded, producing 7b9ef4242e72135a412d86d56b5e517e72598b56 00:01:21 Checking out Revision 7b9ef4242e72135a412d86d56b5e517e72598b56 (PR-27) 00:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:20 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 00:01:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:21 > git config core.sparsecheckout # timeout=10 00:01:21 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 00:01:21 > git remote # timeout=10 00:01:21 > git config --get remote.origin.url # timeout=10 00:01:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:21 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 00:01:21 > git rev-parse HEAD^{commit} # timeout=10 00:01:21 > git config core.sparsecheckout # timeout=10 00:01:21 > git checkout -f 7b9ef4242e72135a412d86d56b5e517e72598b56 # timeout=10 00:01:21 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 00:01:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:01:21 > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:01:22 ========================================================= 00:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 00:01:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:01:23 + 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 . 00:01:23 Sending build context to Docker daemon 8.03MB 00:01:23 Step 1/10 : ARG BASE=golang:1.13-alpine 00:01:23 Step 2/10 : FROM ${BASE} 00:01:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 00:01:24 df20fa9351a1: Pulling fs layer 00:01:24 ed8968b2872e: Pulling fs layer 00:01:24 a92cc7c5fd73: Pulling fs layer 00:01:24 2dd03ba5bac4: Pulling fs layer 00:01:24 1e091d79d1de: Pulling fs layer 00:01:24 481702a1767f: Pulling fs layer 00:01:24 f64a6f60c768: Pulling fs layer 00:01:24 e78d2573fc39: Pulling fs layer 00:01:24 e876d2f968b6: Pulling fs layer 00:01:24 ce8a83651883: Pulling fs layer 00:01:24 07967f4d0e4b: Pulling fs layer 00:01:24 f64a6f60c768: Waiting 00:01:24 e78d2573fc39: Waiting 00:01:24 e876d2f968b6: Waiting 00:01:24 1e091d79d1de: Waiting 00:01:24 ce8a83651883: Waiting 00:01:24 481702a1767f: Waiting 00:01:24 07967f4d0e4b: Waiting 00:01:24 2dd03ba5bac4: Waiting 00:01:24 a92cc7c5fd73: Download complete 00:01:24 ed8968b2872e: Verifying Checksum 00:01:24 ed8968b2872e: Download complete 00:01:24 1e091d79d1de: Verifying Checksum 00:01:24 1e091d79d1de: Download complete 00:01:24 481702a1767f: Download complete 00:01:24 df20fa9351a1: Verifying Checksum 00:01:24 df20fa9351a1: Download complete 00:01:24 df20fa9351a1: Pull complete 00:01:25 f64a6f60c768: Verifying Checksum 00:01:25 f64a6f60c768: Download complete 00:01:25 e876d2f968b6: Verifying Checksum 00:01:25 e876d2f968b6: Download complete 00:01:25 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 00:01:25 First time build. Skipping changelog. 00:01:25 > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] withEnv [Pipeline] { 00:01:26 e78d2573fc39: Verifying Checksum 00:01:26 e78d2573fc39: Download complete 00:01:26 07967f4d0e4b: Verifying Checksum 00:01:26 07967f4d0e4b: Download complete 00:01:26 ce8a83651883: Verifying Checksum 00:01:26 ce8a83651883: Download complete 00:01:26 2dd03ba5bac4: Verifying Checksum 00:01:26 2dd03ba5bac4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 00:01:26 ed8968b2872e: Pull complete 00:01:26 a92cc7c5fd73: Pull complete [Pipeline] echo 00:01:27 ========================================================= 00:01:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 00:01:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:01:28 + 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 . 00:01:29 Sending build context to Docker daemon 8.03MB 00:01:29 Step 1/10 : ARG BASE=golang:1.13-alpine 00:01:29 Step 2/10 : FROM ${BASE} 00:01:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:01:29 b538f80385f9: Pulling fs layer 00:01:29 74f711af9a0d: Pulling fs layer 00:01:29 99f96fe45779: Pulling fs layer 00:01:29 fd7a069fd194: Pulling fs layer 00:01:29 66aa3694b03b: Pulling fs layer 00:01:29 170f70906a0f: Pulling fs layer 00:01:29 ad7c5574e4b9: Pulling fs layer 00:01:29 e772456be8f7: Pulling fs layer 00:01:29 c890913d741a: Pulling fs layer 00:01:29 2480fcc9aa5a: Pulling fs layer 00:01:29 09adf4765672: Pulling fs layer 00:01:29 fd7a069fd194: Waiting 00:01:29 ad7c5574e4b9: Waiting 00:01:29 e772456be8f7: Waiting 00:01:29 66aa3694b03b: Waiting 00:01:29 170f70906a0f: Waiting 00:01:29 c890913d741a: Waiting 00:01:29 2480fcc9aa5a: Waiting 00:01:29 09adf4765672: Waiting 00:01:29 99f96fe45779: Verifying Checksum 00:01:29 99f96fe45779: Download complete 00:01:29 74f711af9a0d: Verifying Checksum 00:01:29 74f711af9a0d: Download complete 00:01:29 66aa3694b03b: Download complete 00:01:29 170f70906a0f: Verifying Checksum 00:01:29 170f70906a0f: Download complete 00:01:29 b538f80385f9: Verifying Checksum 00:01:29 b538f80385f9: Download complete 00:01:30 b538f80385f9: Pull complete 00:01:31 74f711af9a0d: Pull complete 00:01:31 99f96fe45779: Pull complete 00:01:32 2dd03ba5bac4: Pull complete 00:01:32 ad7c5574e4b9: Verifying Checksum 00:01:32 ad7c5574e4b9: Download complete 00:01:32 1e091d79d1de: Pull complete 00:01:32 481702a1767f: Pull complete 00:01:32 c890913d741a: Verifying Checksum 00:01:32 c890913d741a: Download complete 00:01:34 2480fcc9aa5a: Verifying Checksum 00:01:34 2480fcc9aa5a: Download complete 00:01:34 09adf4765672: Verifying Checksum 00:01:34 09adf4765672: Download complete 00:01:35 e772456be8f7: Verifying Checksum 00:01:35 e772456be8f7: Download complete 00:01:35 fd7a069fd194: Verifying Checksum 00:01:35 fd7a069fd194: Download complete 00:01:39 f64a6f60c768: Pull complete 00:01:42 e78d2573fc39: Pull complete 00:01:42 e876d2f968b6: Pull complete 00:01:43 ce8a83651883: Pull complete 00:01:43 07967f4d0e4b: Pull complete 00:01:43 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 00:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 00:01:43 ---> 5d7c900382c6 00:01:43 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:01:45 ---> Running in 0cc2490165f8 00:01:45 Removing intermediate container 0cc2490165f8 00:01:45 ---> 36467f5c0a2a 00:01:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:01:45 ---> Running in bd83aa92e72a 00:01:45 Removing intermediate container bd83aa92e72a 00:01:45 ---> c10a04abf25f 00:01:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:01:45 ---> Running in 305bb5c0ad1c 00:01:45 Removing intermediate container 305bb5c0ad1c 00:01:45 ---> deeeef3b0221 00:01:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:45 ---> Running in 8dba48e30e89 00:01:47 Removing intermediate container 8dba48e30e89 00:01:47 ---> 5b74d79a86ea 00:01:47 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:47 ---> Running in fe5f9576f0f2 00:01:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:01:47 fd7a069fd194: Pull complete 00:01:47 66aa3694b03b: Pull complete 00:01:47 170f70906a0f: Pull complete 00:01:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:01:48 OK: 166 MiB in 39 packages 00:01:48 Removing intermediate container fe5f9576f0f2 00:01:48 ---> 91557b190cb5 00:01:48 Step 8/10 : WORKDIR /device-rest-go 00:01:48 ---> Running in 2f6e460b34a7 00:01:49 Removing intermediate container 2f6e460b34a7 00:01:49 ---> 386587f14cbb 00:01:49 Step 9/10 : COPY . . 00:01:49 ---> 0ce9c7542621 00:01:49 Step 10/10 : RUN go mod download 00:01:49 ---> Running in 6124c8c1caa2 00:01:51 ad7c5574e4b9: Pull complete 00:01:52 go: finding github.com/BurntSushi/toml v0.3.1 00:01:52 go: finding github.com/OneOfOne/xxhash v1.2.6 00:01:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:01:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:01:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:01:52 go: finding github.com/bgentry/speakeasy v0.1.0 00:01:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:01:52 go: finding github.com/davecgh/go-spew v1.1.1 00:01:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 00:01:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 00:01:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:01:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:01:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:01:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:01:52 go: finding github.com/fatih/color v1.7.0 00:01:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:01:52 go: finding github.com/go-kit/kit v0.8.0 00:01:52 go: finding github.com/go-logfmt/logfmt v0.4.0 00:01:52 go: finding github.com/go-stack/stack v1.8.0 00:01:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:01:52 go: finding github.com/google/uuid v1.1.0 00:01:52 go: finding github.com/gorilla/mux v1.7.1 00:01:52 go: finding github.com/hashicorp/consul/api v1.1.0 00:01:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:01:52 go: finding github.com/hashicorp/errwrap v1.0.0 00:01:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:01:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:01:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:01:52 go: finding github.com/hashicorp/go-multierror v1.0.0 00:01:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:01:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:01:52 go: finding github.com/hashicorp/go-syslog v1.0.0 00:01:52 go: finding github.com/hashicorp/go-uuid v1.0.1 00:01:52 go: finding github.com/hashicorp/go.net v0.0.1 00:01:52 go: finding github.com/hashicorp/golang-lru v0.5.0 00:01:52 go: finding github.com/hashicorp/logutils v1.0.0 00:01:52 go: finding github.com/hashicorp/mdns v1.0.0 00:01:52 go: finding github.com/hashicorp/memberlist v0.1.3 00:01:52 go: finding github.com/hashicorp/serf v0.8.2 00:01:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:01:52 go: finding github.com/mattn/go-colorable v0.0.9 00:01:53 go: finding github.com/mattn/go-isatty v0.0.3 00:01:53 go: finding github.com/miekg/dns v1.0.14 00:01:53 go: finding github.com/mitchellh/cli v1.0.0 00:01:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:01:53 go: finding github.com/mitchellh/copystructure v1.0.0 00:01:53 go: finding github.com/mitchellh/go-homedir v1.0.0 00:01:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:01:53 go: finding github.com/mitchellh/gox v0.4.0 00:01:53 go: finding github.com/mitchellh/iochan v1.0.0 00:01:53 go: finding github.com/mitchellh/mapstructure v1.1.2 00:01:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:01:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:01:53 go: finding github.com/pelletier/go-toml v1.2.0 00:01:53 go: finding github.com/pkg/errors v0.8.1 00:01:53 go: finding github.com/pmezard/go-difflib v1.0.0 00:01:53 go: finding github.com/posener/complete v1.1.1 00:01:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:01:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:01:53 go: finding github.com/spf13/cast v1.3.0 00:01:53 go: finding github.com/stretchr/objx v0.1.0 00:01:53 go: finding github.com/stretchr/testify v1.5.1 00:01:53 go: finding github.com/ugorji/go v1.1.4 00:01:53 go: finding github.com/x448/float16 v0.8.4 00:01:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:01:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:01:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:01:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:01:53 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:01:53 go: finding gopkg.in/yaml.v2 v2.2.8 00:01:55 e772456be8f7: Pull complete 00:01:55 c890913d741a: Pull complete 00:01:58 2480fcc9aa5a: Pull complete 00:01:58 09adf4765672: Pull complete 00:01:58 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 00:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 00:01:58 ---> 2248a725d1cf 00:01:58 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:02:01 Removing intermediate container 6124c8c1caa2 00:02:01 ---> bf911044c1d6 00:02:01 Successfully built bf911044c1d6 00:02:01 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 00:02:02 + docker inspect -f . ci-base-image-x86_64 00:02:02 . [Pipeline] withDockerContainer 00:02:02 prd-centos7-docker-4c-2g-497 does not seem to be running inside a container 00:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:02:03 $ docker top b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 -eo pid,comm [Pipeline] { 00:02:03 ---> Running in 174261d0dc34 [Pipeline] sh 00:02:04 Removing intermediate container 174261d0dc34 00:02:04 ---> 98d310491996 00:02:04 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:02:04 ---> Running in 3017d4342dba 00:02:04 + go version 00:02:04 go version go1.13.13 linux/amd64 [Pipeline] sh 00:02:04 + make test 00:02:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:02:04 Removing intermediate container 3017d4342dba 00:02:04 ---> 6f6d4edd80d7 00:02:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:02:04 ---> Running in c9a2d3529372 00:02:05 Removing intermediate container c9a2d3529372 00:02:05 ---> 598d5d2a3dde 00:02:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:05 ---> Running in 3f66b6f6d4c5 00:02:05 ? github.com/edgexfoundry/device-rest-go [no test files] 00:02:07 Removing intermediate container 3f66b6f6d4c5 00:02:07 ---> 3a3a7d5de3a8 00:02:07 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:07 ---> Running in 445868d20710 00:02:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:02:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:02:10 OK: 142 MiB in 39 packages 00:02:11 Removing intermediate container 445868d20710 00:02:11 ---> c949b3f693ea 00:02:11 Step 8/10 : WORKDIR /device-rest-go 00:02:12 ---> Running in 35c56f7f70e9 00:02:12 Removing intermediate container 35c56f7f70e9 00:02:12 ---> d4aaa6eda0f5 00:02:12 Step 9/10 : COPY . . 00:02:13 ---> fd057c5d7169 00:02:13 Step 10/10 : RUN go mod download 00:02:13 ---> Running in 25c8cfc992e6 00:02:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:02:15 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 56.3% of statements 00:02:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:02:16 go: finding github.com/BurntSushi/toml v0.3.1 00:02:16 go: finding github.com/OneOfOne/xxhash v1.2.6 00:02:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:02:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:02:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:02:16 go: finding github.com/bgentry/speakeasy v0.1.0 00:02:16 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:02:16 go: finding github.com/davecgh/go-spew v1.1.1 00:02:16 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 00:02:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 00:02:16 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:02:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:02:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:02:16 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:02:16 go: finding github.com/fatih/color v1.7.0 00:02:16 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:02:16 go: finding github.com/go-kit/kit v0.8.0 00:02:17 go: finding github.com/go-logfmt/logfmt v0.4.0 00:02:17 go: finding github.com/go-stack/stack v1.8.0 00:02:17 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:02:17 go: finding github.com/google/uuid v1.1.0 00:02:17 go: finding github.com/gorilla/mux v1.7.1 00:02:17 go: finding github.com/hashicorp/consul/api v1.1.0 00:02:17 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:02:17 go: finding github.com/hashicorp/errwrap v1.0.0 00:02:17 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:02:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:02:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:02:17 go: finding github.com/hashicorp/go-multierror v1.0.0 00:02:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:02:17 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:02:17 go: finding github.com/hashicorp/go-syslog v1.0.0 00:02:17 go: finding github.com/hashicorp/go-uuid v1.0.1 00:02:17 go: finding github.com/hashicorp/go.net v0.0.1 00:02:17 go: finding github.com/hashicorp/golang-lru v0.5.0 00:02:17 go: finding github.com/hashicorp/logutils v1.0.0 00:02:17 go: finding github.com/hashicorp/mdns v1.0.0 00:02:17 go: finding github.com/hashicorp/memberlist v0.1.3 00:02:17 go: finding github.com/hashicorp/serf v0.8.2 00:02:17 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:02:17 go: finding github.com/mattn/go-colorable v0.0.9 00:02:17 go: finding github.com/mattn/go-isatty v0.0.3 00:02:17 go: finding github.com/miekg/dns v1.0.14 00:02:17 go: finding github.com/mitchellh/cli v1.0.0 00:02:17 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:02:17 go: finding github.com/mitchellh/copystructure v1.0.0 00:02:17 go: finding github.com/mitchellh/go-homedir v1.0.0 00:02:17 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:02:17 go: finding github.com/mitchellh/gox v0.4.0 00:02:17 go: finding github.com/mitchellh/iochan v1.0.0 00:02:17 go: finding github.com/mitchellh/mapstructure v1.1.2 00:02:17 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:02:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:02:17 go: finding github.com/pelletier/go-toml v1.2.0 00:02:17 go: finding github.com/pkg/errors v0.8.1 00:02:17 go: finding github.com/pmezard/go-difflib v1.0.0 00:02:17 go: finding github.com/posener/complete v1.1.1 00:02:17 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:02:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:02:17 go: finding github.com/spf13/cast v1.3.0 00:02:17 go: finding github.com/stretchr/objx v0.1.0 00:02:17 go: finding github.com/stretchr/testify v1.5.1 00:02:17 go: finding github.com/ugorji/go v1.1.4 00:02:17 go: finding github.com/x448/float16 v0.8.4 00:02:17 gofmt -l . 00:02:17 [ "`gofmt -l .`" = "" ] 00:02:17 ./bin/test-go-mod-tidy.sh 00:02:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:02:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:02:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:02:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:02:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:02:18 go: finding gopkg.in/yaml.v2 v2.2.8 00:02:18 ./bin/test-attribution-txt.sh [Pipeline] stash 00:02:19 Stashed 1 file(s) [Pipeline] } 00:02:19 $ docker stop --time=1 b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 00:02:21 $ docker rm -f b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:02:24 + ls -al . 00:02:24 total 96 00:02:24 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 22 00:02 . 00:02:24 drwxrwxr-x. 4 jenkins jenkins 30 Jul 22 00:01 .. 00:02:24 -rw-rw-r--. 1 jenkins jenkins 4802 Jul 22 00:01 Attribution.txt 00:02:24 drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 00:01 bin 00:02:24 drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 00:01 cmd 00:02:24 -rw-r--r--. 1 jenkins jenkins 9369 Jul 22 00:02 coverage.out 00:02:24 -rw-rw-r--. 1 jenkins jenkins 1504 Jul 22 00:01 Dockerfile 00:02:24 -rw-rw-r--. 1 jenkins jenkins 989 Jul 22 00:01 Dockerfile.build 00:02:24 -rw-rw-r--. 1 jenkins jenkins 151 Jul 22 00:01 .dockerignore 00:02:24 drwxrwxr-x. 2 jenkins jenkins 93 Jul 22 00:02 driver 00:02:24 drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 00:01 .git 00:02:24 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 00:01 .github 00:02:24 -rw-rw-r--. 1 jenkins jenkins 339 Jul 22 00:01 .gitignore 00:02:24 -rw-r--r--. 1 jenkins jenkins 266 Jul 22 00:02 go.mod 00:02:24 -rw-r--r--. 1 jenkins jenkins 12533 Jul 22 00:02 go.sum 00:02:24 -rw-rw-r--. 1 jenkins jenkins 702 Jul 22 00:01 Jenkinsfile 00:02:24 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 00:01 LICENSE 00:02:24 -rw-rw-r--. 1 jenkins jenkins 951 Jul 22 00:01 Makefile 00:02:24 -rw-rw-r--. 1 jenkins jenkins 5716 Jul 22 00:01 README.md 00:02:24 drwxrwxr-x. 3 jenkins jenkins 45 Jul 22 00:01 .semver 00:02:24 drwxrwxr-x. 4 jenkins jenkins 54 Jul 22 00:01 snap 00:02:24 -rw-rw-r--. 1 jenkins jenkins 5 Jul 21 23:59 VERSION 00:02:24 -rw-rw-r--. 1 jenkins jenkins 713 Jul 22 00:01 version.go [Pipeline] isUnix [Pipeline] sh 00:02:24 + 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=269da8e8797ab8b19895ebade1b65d9ef4306791 --label arch=amd64 --label version=0.0.0 . 00:02:24 Sending build context to Docker daemon 8.042MB 00:02:24 Step 1/24 : ARG BASE=golang:1.13-alpine 00:02:24 Step 2/24 : FROM ${BASE} AS builder 00:02:24 ---> bf911044c1d6 00:02:24 Step 3/24 : ARG MAKE='make build' 00:02:24 ---> Running in 1bde5090a4d5 00:02:24 Removing intermediate container 1bde5090a4d5 00:02:24 ---> 2a292dbdc258 00:02:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 00:02:25 ---> Running in e01658c545c7 00:02:25 Removing intermediate container e01658c545c7 00:02:25 ---> 9ae29b506d70 00:02:25 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:02:25 ---> Running in 3dd99f2f76c8 00:02:25 Removing intermediate container 3dd99f2f76c8 00:02:25 ---> ddbd3fe3da88 00:02:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:25 ---> Running in aeed9e89e27e 00:02:26 Removing intermediate container aeed9e89e27e 00:02:26 ---> 546a0adaa680 00:02:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:26 ---> Running in a0b0f60b01b4 00:02:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:02:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:02:27 OK: 166 MiB in 39 packages 00:02:28 Removing intermediate container 25c8cfc992e6 00:02:28 ---> 4bd4085eec0d 00:02:28 Successfully built 4bd4085eec0d 00:02:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 00:02:28 Removing intermediate container a0b0f60b01b4 00:02:28 ---> 9510abbd9af0 00:02:28 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 00:02:28 ---> Running in 5a2ec571d6fa [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:02:28 Removing intermediate container 5a2ec571d6fa 00:02:28 ---> d902456dfcc5 00:02:28 Step 9/24 : COPY go.mod . 00:02:28 ---> be6d92004b38 00:02:28 Step 10/24 : COPY Makefile . 00:02:28 + docker inspect -f . ci-base-image-arm64 00:02:28 . [Pipeline] withDockerContainer 00:02:28 ---> f15466cd5652 00:02:28 Step 11/24 : RUN make update 00:02:28 ---> Running in 1731f71558a4 00:02:29 prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container 00:02:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@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 ******** ci-base-image-arm64 cat 00:02:29 CGO_ENABLED=0 GO111MODULE=on go mod download 00:02:30 Removing intermediate container 1731f71558a4 00:02:30 ---> f4ee257d43fe 00:02:30 Step 12/24 : COPY . . 00:02:31 ---> d958b0c01562 00:02:31 Step 13/24 : RUN $MAKE 00:02:31 ---> Running in 77079c10fc30 00:02:31 $ docker top 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:31 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 00:02:32 + go version 00:02:32 go version go1.13.13 linux/arm64 [Pipeline] sh 00:02:33 + make test 00:02:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:02:34 ? github.com/edgexfoundry/device-rest-go [no test files] 00:02:44 Removing intermediate container 77079c10fc30 00:02:44 ---> fbc58cdf5c3c 00:02:44 Step 14/24 : FROM alpine:latest 00:02:44 latest: Pulling from library/alpine 00:02:44 df20fa9351a1: Already exists 00:02:44 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 00:02:44 Status: Downloaded newer image for alpine:latest 00:02:44 ---> a24bb4013296 00:02:44 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:02:44 ---> Running in 040c31399d2c 00:02:44 Removing intermediate container 040c31399d2c 00:02:44 ---> fa9263fc1e07 00:02:44 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 00:02:44 ---> Running in aa172346f216 00:02:44 Removing intermediate container aa172346f216 00:02:44 ---> b999e1ceeb01 00:02:44 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 00:02:44 ---> 27293432f1d8 00:02:44 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 00:02:44 ---> 0823cfd4ac82 00:02:44 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 00:02:44 ---> ecff7bebf82a 00:02:44 Step 20/24 : EXPOSE 49986 00:02:44 ---> Running in 481484173eec 00:02:44 Removing intermediate container 481484173eec 00:02:44 ---> b3731c2b2bb2 00:02:44 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 00:02:44 ---> Running in cab40065be0d 00:02:44 Removing intermediate container cab40065be0d 00:02:44 ---> a89ebf4709cb 00:02:44 Step 22/24 : LABEL arch=amd64 00:02:44 ---> Running in de97ff25c541 00:02:45 Removing intermediate container de97ff25c541 00:02:45 ---> 446f050f7754 00:02:45 Step 23/24 : LABEL git_sha=269da8e8797ab8b19895ebade1b65d9ef4306791 00:02:45 ---> Running in cb0181b7e710 00:02:45 Removing intermediate container cb0181b7e710 00:02:45 ---> 41045a532ed5 00:02:45 Step 24/24 : LABEL version=0.0.0 00:02:45 ---> Running in e7eb4844d658 00:02:45 Removing intermediate container e7eb4844d658 00:02:45 ---> 5000d540bb02 00:02:45 [Warning] One or more build-args [ARCH] were not consumed 00:02:45 Successfully built 5000d540bb02 00:02:45 Successfully tagged docker-device-rest-go: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] } 00:03:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:03:07 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements 00:03:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:03:10 gofmt -l . 00:03:10 [ "`gofmt -l .`" = "" ] 00:03:10 ./bin/test-go-mod-tidy.sh 00:03:10 ./bin/test-attribution-txt.sh [Pipeline] stash 00:03:11 Warning: overwriting stash ‘coverage-report’ 00:03:11 Stashed 1 file(s) [Pipeline] } 00:03:11 $ docker stop --time=1 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de 00:03:14 $ docker rm -f 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:15 + ls -al . 00:03:15 total 128 00:03:15 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 00:03 . 00:03:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:01 .. 00:03:15 -rw-rw-r-- 1 jenkins jenkins 151 Jul 22 00:01 .dockerignore 00:03:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:01 .git 00:03:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:01 .github 00:03:15 -rw-rw-r-- 1 jenkins jenkins 339 Jul 22 00:01 .gitignore 00:03:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:01 .semver 00:03:15 -rw-rw-r-- 1 jenkins jenkins 4802 Jul 22 00:01 Attribution.txt 00:03:15 -rw-rw-r-- 1 jenkins jenkins 1504 Jul 22 00:01 Dockerfile 00:03:15 -rw-rw-r-- 1 jenkins jenkins 989 Jul 22 00:01 Dockerfile.build 00:03:15 -rw-rw-r-- 1 jenkins jenkins 702 Jul 22 00:01 Jenkinsfile 00:03:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 00:01 LICENSE 00:03:15 -rw-rw-r-- 1 jenkins jenkins 951 Jul 22 00:01 Makefile 00:03:15 -rw-rw-r-- 1 jenkins jenkins 5716 Jul 22 00:01 README.md 00:03:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 23:59 VERSION 00:03:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:01 bin 00:03:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:01 cmd 00:03:15 -rw-r--r-- 1 jenkins jenkins 9369 Jul 22 00:03 coverage.out 00:03:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:03 driver 00:03:15 -rw-r--r-- 1 jenkins jenkins 266 Jul 22 00:03 go.mod 00:03:15 -rw-r--r-- 1 jenkins jenkins 12533 Jul 22 00:03 go.sum 00:03:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:01 snap 00:03:15 -rw-rw-r-- 1 jenkins jenkins 713 Jul 22 00:01 version.go [Pipeline] isUnix [Pipeline] sh 00:03:16 + 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=269da8e8797ab8b19895ebade1b65d9ef4306791 --label arch=arm64 --label version=0.0.0 . 00:03:16 Sending build context to Docker daemon 8.042MB 00:03:16 Step 1/24 : ARG BASE=golang:1.13-alpine 00:03:16 Step 2/24 : FROM ${BASE} AS builder 00:03:16 ---> 4bd4085eec0d 00:03:16 Step 3/24 : ARG MAKE='make build' 00:03:16 ---> Running in 044a7a34bbb4 00:03:17 Removing intermediate container 044a7a34bbb4 00:03:17 ---> be0f1470905f 00:03:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 00:03:17 ---> Running in 2fba523087e9 00:03:17 Removing intermediate container 2fba523087e9 00:03:17 ---> 39f41c05dde0 00:03:17 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:03:17 ---> Running in abac4c74948a 00:03:18 Removing intermediate container abac4c74948a 00:03:18 ---> e6542faddbe9 00:03:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:18 ---> Running in 3735b1cb7295 00:03:21 Removing intermediate container 3735b1cb7295 00:03:21 ---> 9bdf78f565db 00:03:21 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:21 ---> Running in 7c3732f52c05 00:03:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:03:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:03:23 OK: 142 MiB in 39 packages 00:03:24 Removing intermediate container 7c3732f52c05 00:03:24 ---> 89b4e24d729b 00:03:24 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 00:03:25 ---> Running in 4d9d187e2467 00:03:25 Removing intermediate container 4d9d187e2467 00:03:25 ---> c8c50a94d549 00:03:25 Step 9/24 : COPY go.mod . 00:03:26 ---> f0905c3ac02d 00:03:26 Step 10/24 : COPY Makefile . 00:03:26 ---> 408a3895e290 00:03:26 Step 11/24 : RUN make update 00:03:26 ---> Running in 21794786007a 00:03:28 CGO_ENABLED=0 GO111MODULE=on go mod download 00:03:29 Removing intermediate container 21794786007a 00:03:29 ---> 7858a5d3ddf3 00:03:29 Step 12/24 : COPY . . 00:03:30 ---> 27376fd133c2 00:03:30 Step 13/24 : RUN $MAKE 00:03:30 ---> Running in 1a3cfc2d09ab 00:03:32 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 00:03:59 Removing intermediate container 1a3cfc2d09ab 00:03:59 ---> b41203bcd232 00:03:59 Step 14/24 : FROM alpine:latest 00:03:59 latest: Pulling from library/alpine 00:03:59 b538f80385f9: Already exists 00:03:59 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 00:03:59 Status: Downloaded newer image for alpine:latest 00:03:59 ---> 62ee0e9f8440 00:03:59 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:03:59 ---> Running in 51c312c2d58a 00:03:59 Removing intermediate container 51c312c2d58a 00:03:59 ---> 7f308d28acb6 00:03:59 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 00:04:00 ---> Running in 09746ded8642 00:04:00 Removing intermediate container 09746ded8642 00:04:00 ---> 85654432679c 00:04:00 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 00:04:01 ---> 9175dd58b916 00:04:01 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 00:04:01 ---> b7604ce55795 00:04:01 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 00:04:02 ---> 12334230f26c 00:04:02 Step 20/24 : EXPOSE 49986 00:04:03 ---> Running in f57eb0a5b77a 00:04:03 Removing intermediate container f57eb0a5b77a 00:04:03 ---> a454b46ed12c 00:04:03 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 00:04:03 ---> Running in 7f6cff66fb2b 00:04:04 Removing intermediate container 7f6cff66fb2b 00:04:04 ---> f8f2231d5cde 00:04:04 Step 22/24 : LABEL arch=arm64 00:04:04 ---> Running in 679af276ccb9 00:04:04 Removing intermediate container 679af276ccb9 00:04:04 ---> b3ea9a13ab81 00:04:04 Step 23/24 : LABEL git_sha=269da8e8797ab8b19895ebade1b65d9ef4306791 00:04:04 ---> Running in adeb5d61df49 00:04:05 Removing intermediate container adeb5d61df49 00:04:05 ---> 99883e703482 00:04:05 Step 24/24 : LABEL version=0.0.0 00:04:05 ---> Running in c63908d4deef 00:04:06 Removing intermediate container c63908d4deef 00:04:06 ---> 5851b381c199 00:04:06 [Warning] One or more build-args [ARCH] were not consumed 00:04:06 Successfully built 5851b381c199 00:04:06 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 00:04:07 provisioning config files... 00:04:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3012060686430639390tmp [Pipeline] { [Pipeline] sh 00:04:07 + curl -s https://codecov.io/bash 00:04:07 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3012060686430639390tmp [Pipeline] } 00:04:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:04:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:11 ---> package-listing.sh 00:04:11 ++ facter osfamily 00:04:11 ++ tr '[:upper:]' '[:lower:]' 00:04:11 + OS_FAMILY=redhat 00:04:11 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 00:04:11 + START_PACKAGES=/tmp/packages_start.txt 00:04:11 + END_PACKAGES=/tmp/packages_end.txt 00:04:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:11 + PACKAGES=/tmp/packages_start.txt 00:04:11 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 00:04:11 + PACKAGES=/tmp/packages_end.txt 00:04:11 + case "${OS_FAMILY}" in 00:04:11 + rpm -qa 00:04:11 + sort 00:04:15 + '[' -f /tmp/packages_start.txt ']' 00:04:15 + '[' -f /tmp/packages_end.txt ']' 00:04:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:15 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 00:04:15 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ 00:04:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [Pipeline] isUnix [Pipeline] sh 00:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:16 00:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:16 alpine: Pulling from edgex-lftools-log-publisher 00:04:16 c9b1b535fdd9: Pulling fs layer 00:04:16 2cc5ad85d9ab: Pulling fs layer 00:04:16 756a868c4378: Pulling fs layer 00:04:16 444b2fc9a129: Pulling fs layer 00:04:16 ea15f1150254: Pulling fs layer 00:04:16 41b27a9f41bf: Pulling fs layer 00:04:16 28c525ee5125: Pulling fs layer 00:04:16 094b1ea09ed8: Pulling fs layer 00:04:16 138eaada9080: Pulling fs layer 00:04:16 0622d0fa9048: Pulling fs layer 00:04:16 41b27a9f41bf: Waiting 00:04:16 28c525ee5125: Waiting 00:04:16 094b1ea09ed8: Waiting 00:04:16 138eaada9080: Waiting 00:04:16 0622d0fa9048: Waiting 00:04:16 444b2fc9a129: Waiting 00:04:16 ea15f1150254: Waiting 00:04:16 2cc5ad85d9ab: Verifying Checksum 00:04:16 2cc5ad85d9ab: Download complete 00:04:16 444b2fc9a129: Verifying Checksum 00:04:16 444b2fc9a129: Download complete 00:04:16 c9b1b535fdd9: Verifying Checksum 00:04:16 c9b1b535fdd9: Download complete 00:04:16 ea15f1150254: Verifying Checksum 00:04:16 ea15f1150254: Download complete 00:04:16 28c525ee5125: Verifying Checksum 00:04:16 28c525ee5125: Download complete 00:04:16 c9b1b535fdd9: Pull complete 00:04:17 756a868c4378: Verifying Checksum 00:04:17 756a868c4378: Download complete 00:04:17 138eaada9080: Verifying Checksum 00:04:17 138eaada9080: Download complete 00:04:17 2cc5ad85d9ab: Pull complete 00:04:17 0622d0fa9048: Verifying Checksum 00:04:17 0622d0fa9048: Download complete 00:04:17 094b1ea09ed8: Verifying Checksum 00:04:17 094b1ea09ed8: Download complete 00:04:17 41b27a9f41bf: Verifying Checksum 00:04:17 41b27a9f41bf: Download complete 00:04:18 756a868c4378: Pull complete 00:04:18 444b2fc9a129: Pull complete 00:04:19 ea15f1150254: Pull complete 00:04:23 41b27a9f41bf: Pull complete 00:04:23 28c525ee5125: Pull complete 00:04:26 094b1ea09ed8: Pull complete 00:04:26 138eaada9080: Pull complete 00:04:26 0622d0fa9048: Pull complete 00:04:26 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 00:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:04:26 prd-centos7-docker-4c-2g-495 does not seem to be running inside a container 00:04:26 $ 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-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:04:29 $ docker top e3f1726453ed8cffd36f12f790cc2388eb9abc97d1c1fa9e13ece353921e8469 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:29 provisioning config files... 00:04:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config2120403773058696660tmp [Pipeline] { [Pipeline] echo 00:04:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:30 ---> create-netrc.sh [Pipeline] echo 00:04:30 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:30 ---> logs-deploy.sh 00:04:30 + ARCHIVE_ARTIFACTS= 00:04:30 + LOGS_SERVER=https://logs.edgexfoundry.org 00:04:30 + '[' https://logs.edgexfoundry.org == None ']' 00:04:30 + NEXUS_URL=https://nexus.edgexfoundry.org 00:04:30 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 00:04:30 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/11/ 00:04:30 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 /w/workspace/dgexfoundry_device-rest-go_PR-27 00:04:31 Archives upload complete. 00:04:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/11/