Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4bd72d1048461c3190bcae66c33b17a9f04957dc+b106d00ae92e946d2103bc6c1464522635373c7b (96d20e9cea909dc48d6df87e31802c4662f9e35f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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 ‘prd-centos7-docker-4c-2g-4039’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3317’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3513’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3841’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4038’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4041 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 4bd72d1048461c3190bcae66c33b17a9f04957dc > 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 4bd72d1048461c3190bcae66c33b17a9f04957dc # timeout=10 Merge succeeded, producing 8e8a274c2051a48e8760f01859ec05b7de79ef6e Checking out Revision 8e8a274c2051a48e8760f01859ec05b7de79ef6e (PR-27) > 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 8e8a274c2051a48e8760f01859ec05b7de79ef6e # 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 01:01:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:01:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:01:51 ========================================================= 01:01:51 EdgeX Global Pipelines Version Info 01:01:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1fd59165960452bd12312ea10ca1880eedf6192f # timeout=10 01:01:52 ------------------- 01:01:52 stable info: 01:01:52 ------------------- 01:01:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:01:52 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 01:01:52 Message: update stable to v1.0.89 01:01:53 ------------------- 01:01:53 experimental info: 01:01:53 ------------------- 01:01:53 Commited By: **** collab-it+edgex@linuxfoundation.org 01:01:53 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 01:01:53 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 01:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:55 01:01:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:01:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:55 latest: Pulling from edgex-devops/git-semver 01:01:55 9123ac7c32f7: Pulling fs layer 01:01:55 b8cc5d1170e3: Pulling fs layer 01:01:55 2924cbbf6a41: Pulling fs layer 01:01:55 93b08a4f1073: Pulling fs layer 01:01:55 93b08a4f1073: Waiting 01:01:55 b8cc5d1170e3: Verifying Checksum 01:01:55 b8cc5d1170e3: Download complete 01:01:55 9123ac7c32f7: Verifying Checksum 01:01:55 9123ac7c32f7: Download complete 01:01:55 93b08a4f1073: Verifying Checksum 01:01:55 93b08a4f1073: Download complete 01:01:55 2924cbbf6a41: Verifying Checksum 01:01:55 2924cbbf6a41: Download complete 01:01:55 9123ac7c32f7: Pull complete 01:01:55 b8cc5d1170e3: Pull complete 01:01:56 2924cbbf6a41: Pull complete 01:01:56 93b08a4f1073: Pull complete 01:01:56 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 01:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:01:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:01:56 prd-centos7-docker-4c-2g-4041 does not seem to be running inside a container 01:01:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:01:58 $ docker top 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:58 [ssh-agent] Looking for ssh-agent implementation... 01:01:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:59 $ docker exec 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 ssh-agent 01:01:59 SSH_AUTH_SOCK=/tmp/ssh-HkOKx3Txz2SR/agent.11 01:01:59 SSH_AGENT_PID=16 01:01:59 Running ssh-add (command line suppressed) 01:01:59 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_7792254645130341679.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_7792254645130341679.key) 01:01:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:59 + git describe --exact-match --tags HEAD 01:01:59 fatal: No names found, cannot describe anything. [Pipeline] } 01:01:59 $ docker exec --env ******** --env ******** 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 ssh-agent -k 01:01:59 unset SSH_AUTH_SOCK; 01:01:59 unset SSH_AGENT_PID; 01:01:59 echo Agent pid 16 killed; 01:01:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:01:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:01:59 This usually means this commit has not been tagged. [Pipeline] sshagent 01:01:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:59 [ssh-agent] Looking for ssh-agent implementation... 01:02:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:00 $ docker exec 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 ssh-agent 01:02:00 SSH_AUTH_SOCK=/tmp/ssh-GDM2VvnUReqa/agent.44 01:02:00 SSH_AGENT_PID=49 01:02:00 Running ssh-add (command line suppressed) 01:02:00 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_7980026990192197913.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_7980026990192197913.key) 01:02:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:00 + git semver init 01:02:00 # -> Open(): unable to determine branch for HEAD 01:02:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git 01:02:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 01:02:00 # $SEMVER_REMOTE_NAME = origin 01:02:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:02:00 # $SEMVER_USER_NAME = edgex-jenkins 01:02:00 # $SEMVER_BRANCH = PR-27 01:02:00 # $SEMVER_TEMP = /tmp/semver-486832828 01:02:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:02:02 # '/tmp/semver-486832828' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' 01:02:02 # -> Force: false 01:02:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } 01:02:02 $ docker exec --env ******** --env ******** 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 ssh-agent -k 01:02:02 unset SSH_AUTH_SOCK; 01:02:02 unset SSH_AGENT_PID; 01:02:02 echo Agent pid 49 killed; 01:02:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:02 + git semver [Pipeline] } 01:02:02 $ docker stop --time=1 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 01:02:04 $ docker rm -f 819fa7c754dcb6df33cc05ebb47ae08159a469831b82b8bdac9de475d8f304f3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:02:05 Stashed 24 file(s) [Pipeline] echo 01:02:05 [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 01:02:20 Still waiting to schedule task 01:02:20 ‘prd-centos7-docker-4c-2g-4036’ is offline; ‘prd-centos7-docker-4c-2g-4039’ is offline; ‘prd-centos7-docker-4c-2g-4043’ is offline; ‘prd-centos7-docker-4c-2g-4044’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3317’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3513’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3841’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4038’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4042’ doesn’t have label ‘centos7-docker-4c-2g’ 01:02:20 Still waiting to schedule task 01:02:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:04:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4046 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 01:04:33 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:04:38 using credential edgex-jenkins-ssh 01:04:38 Cloning the remote Git repository 01:04:38 Cloning with configured refspecs honoured and without tags 01:04:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:04:39 > git init /w/workspace/device-rest-go/3 # timeout=10 01:04:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:04:39 > git --version # timeout=10 01:04:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:39 > 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 01:04:41 Fetching without tags 01:04:42 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 4bd72d1048461c3190bcae66c33b17a9f04957dc 01:04:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:04:41 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 01:04:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:04:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:04:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:04:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:41 > 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 01:04:42 > git config core.sparsecheckout # timeout=10 01:04:42 > git checkout -f 4bd72d1048461c3190bcae66c33b17a9f04957dc # timeout=10 01:04:43 Merge succeeded, producing 4aa37998d047e060a8eb82524dd6100e335e0a44 01:04:43 Checking out Revision 4aa37998d047e060a8eb82524dd6100e335e0a44 (PR-27) 01:04:42 > git remote # timeout=10 01:04:42 > git config --get remote.origin.url # timeout=10 01:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:42 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 01:04:43 > git rev-parse HEAD^{commit} # timeout=10 01:04:43 > git config core.sparsecheckout # timeout=10 01:04:43 > git checkout -f 4aa37998d047e060a8eb82524dd6100e335e0a44 # timeout=10 01:04:47 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 01:04:47 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 01:04:47 > git rev-list --no-walk 1fd59165960452bd12312ea10ca1880eedf6192f # timeout=10 [Pipeline] echo 01:04:49 ========================================================= 01:04:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:04:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:04:50 + 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 . 01:04:51 Sending build context to Docker daemon 23.17MB 01:04:51 Step 1/10 : ARG BASE=golang:1.13-alpine 01:04:51 Step 2/10 : FROM ${BASE} 01:04:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:04:52 cde5963f3b93: Pulling fs layer 01:04:52 2a23fa8c16f7: Pulling fs layer 01:04:52 777b28850792: Pulling fs layer 01:04:52 8a11ddd9e578: Pulling fs layer 01:04:52 4cf88f913ddb: Pulling fs layer 01:04:52 1df406cf5192: Pulling fs layer 01:04:52 cd6300453558: Pulling fs layer 01:04:52 8a11ddd9e578: Waiting 01:04:52 b9c365052c96: Pulling fs layer 01:04:52 a2d8cc88f415: Pulling fs layer 01:04:52 4cf88f913ddb: Waiting 01:04:52 ea1d1ca13537: Pulling fs layer 01:04:52 3750a50a1c5e: Pulling fs layer 01:04:52 1df406cf5192: Waiting 01:04:52 cd6300453558: Waiting 01:04:52 b9c365052c96: Waiting 01:04:52 a2d8cc88f415: Waiting 01:04:52 ea1d1ca13537: Waiting 01:04:52 777b28850792: Verifying Checksum 01:04:52 777b28850792: Download complete 01:04:52 2a23fa8c16f7: Verifying Checksum 01:04:52 2a23fa8c16f7: Download complete 01:04:52 4cf88f913ddb: Download complete 01:04:52 1df406cf5192: Verifying Checksum 01:04:52 1df406cf5192: Download complete 01:04:52 cde5963f3b93: Verifying Checksum 01:04:52 cde5963f3b93: Download complete 01:04:53 cde5963f3b93: Pull complete 01:04:54 2a23fa8c16f7: Pull complete 01:04:54 777b28850792: Pull complete 01:04:54 cd6300453558: Verifying Checksum 01:04:54 cd6300453558: Download complete 01:04:54 a2d8cc88f415: Verifying Checksum 01:04:54 a2d8cc88f415: Download complete 01:04:56 ea1d1ca13537: Verifying Checksum 01:04:56 ea1d1ca13537: Download complete 01:04:56 3750a50a1c5e: Verifying Checksum 01:04:56 3750a50a1c5e: Download complete 01:04:57 8a11ddd9e578: Verifying Checksum 01:04:57 8a11ddd9e578: Download complete 01:04:57 b9c365052c96: Verifying Checksum 01:04:57 b9c365052c96: Download complete 01:05:09 8a11ddd9e578: Pull complete 01:05:09 4cf88f913ddb: Pull complete 01:05:09 1df406cf5192: Pull complete 01:05:13 cd6300453558: Pull complete 01:05:18 b9c365052c96: Pull complete 01:05:18 a2d8cc88f415: Pull complete 01:05:20 ea1d1ca13537: Pull complete 01:05:20 3750a50a1c5e: Pull complete 01:05:20 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 01:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:05:20 ---> 78745c68409d 01:05:20 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:05:26 ---> Running in d19d1c8c3c90 01:05:26 Removing intermediate container d19d1c8c3c90 01:05:26 ---> 4af70183817d 01:05:26 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:05:26 ---> Running in 7cb5accabaf6 01:05:26 Removing intermediate container 7cb5accabaf6 01:05:26 ---> bac1c0118650 01:05:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:05:26 ---> Running in 16456491828f 01:05:27 Removing intermediate container 16456491828f 01:05:27 ---> 54f5975f4608 01:05:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:27 ---> Running in a10e5c362ba9 01:05:29 Removing intermediate container a10e5c362ba9 01:05:29 ---> 57bf6956ebc9 01:05:29 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:29 ---> Running in aa705af1ce1e 01:05:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:05:32 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:05:32 OK: 125 MiB in 39 packages 01:05:34 Removing intermediate container aa705af1ce1e 01:05:34 ---> 4071b89a22dd 01:05:34 Step 8/10 : WORKDIR /device-rest-go 01:05:34 ---> Running in 592c701c4373 01:05:34 Removing intermediate container 592c701c4373 01:05:34 ---> 42b75071fc70 01:05:34 Step 9/10 : COPY . . 01:05:36 ---> 141276292619 01:05:36 Step 10/10 : RUN go mod download 01:05:36 ---> Running in a7469cf3efc9 01:05:39 go: finding github.com/BurntSushi/toml v0.3.1 01:05:39 go: finding github.com/OneOfOne/xxhash v1.2.6 01:05:39 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:05:39 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:05:39 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:05:39 go: finding github.com/bgentry/speakeasy v0.1.0 01:05:39 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:05:39 go: finding github.com/davecgh/go-spew v1.1.1 01:05:39 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 01:05:39 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 01:05:39 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:05:39 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:05:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:05:39 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:05:39 go: finding github.com/fatih/color v1.7.0 01:05:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:05:39 go: finding github.com/go-kit/kit v0.8.0 01:05:39 go: finding github.com/go-logfmt/logfmt v0.4.0 01:05:39 go: finding github.com/go-stack/stack v1.8.0 01:05:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:05:39 go: finding github.com/google/uuid v1.1.0 01:05:39 go: finding github.com/gorilla/mux v1.7.1 01:05:39 go: finding github.com/hashicorp/consul/api v1.1.0 01:05:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:05:39 go: finding github.com/hashicorp/errwrap v1.0.0 01:05:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:05:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:05:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:05:40 go: finding github.com/hashicorp/go-multierror v1.0.0 01:05:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:05:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:05:40 go: finding github.com/hashicorp/go-syslog v1.0.0 01:05:40 go: finding github.com/hashicorp/go-uuid v1.0.1 01:05:40 go: finding github.com/hashicorp/go.net v0.0.1 01:05:40 go: finding github.com/hashicorp/golang-lru v0.5.0 01:05:40 go: finding github.com/hashicorp/logutils v1.0.0 01:05:40 go: finding github.com/hashicorp/mdns v1.0.0 01:05:40 go: finding github.com/hashicorp/memberlist v0.1.3 01:05:40 go: finding github.com/hashicorp/serf v0.8.2 01:05:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:05:40 go: finding github.com/mattn/go-colorable v0.0.9 01:05:40 go: finding github.com/mattn/go-isatty v0.0.3 01:05:40 go: finding github.com/miekg/dns v1.0.14 01:05:40 go: finding github.com/mitchellh/cli v1.0.0 01:05:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:05:40 go: finding github.com/mitchellh/copystructure v1.0.0 01:05:40 go: finding github.com/mitchellh/go-homedir v1.0.0 01:05:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:05:40 go: finding github.com/mitchellh/gox v0.4.0 01:05:40 go: finding github.com/mitchellh/iochan v1.0.0 01:05:40 go: finding github.com/mitchellh/mapstructure v1.1.2 01:05:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:05:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:05:40 go: finding github.com/pelletier/go-toml v1.2.0 01:05:40 go: finding github.com/pkg/errors v0.8.1 01:05:40 go: finding github.com/pmezard/go-difflib v1.0.0 01:05:40 go: finding github.com/posener/complete v1.1.1 01:05:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:05:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:05:41 go: finding github.com/spf13/cast v1.3.0 01:05:41 go: finding github.com/stretchr/objx v0.1.0 01:05:41 go: finding github.com/stretchr/testify v1.5.1 01:05:41 go: finding github.com/ugorji/go v1.1.4 01:05:41 go: finding github.com/x448/float16 v0.8.4 01:05:41 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:05:41 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:05:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:05:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:05:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:05:41 go: finding gopkg.in/yaml.v2 v2.2.8 01:05:51 Removing intermediate container a7469cf3efc9 01:05:51 ---> 544fef51c635 01:05:51 Successfully built 544fef51c635 01:05:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:05:52 + docker inspect -f . ci-base-image-arm64 01:05:52 . [Pipeline] withDockerContainer 01:05:52 prd-ubuntu18.04-docker-arm64-4c-16g-4046 does not seem to be running inside a container 01:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 01:05:54 $ docker top b6efdfb7876c7d81d5202f1477dc8e0ffb22a6357a2b1d1ffcf08fdcf9128200 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:55 + go version 01:05:55 go version go1.13.5 linux/arm64 [Pipeline] sh 01:05:56 Running on prd-centos7-docker-4c-2g-4048 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 01:05:56 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:05:56 + make test 01:05:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:05:57 ? github.com/edgexfoundry/device-rest-go [no test files] 01:05:58 using credential edgex-jenkins-ssh 01:05:58 Cloning the remote Git repository 01:05:58 Cloning with configured refspecs honoured and without tags 01:05:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:05:58 > git init /w/workspace/device-rest-go/3 # timeout=10 01:05:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:05:58 > git --version # timeout=10 01:05:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:58 > 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 01:06:00 Fetching without tags 01:06:00 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 4bd72d1048461c3190bcae66c33b17a9f04957dc 01:05:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:05:59 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 01:05:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:05:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:05:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:59 > 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 01:06:00 > git config core.sparsecheckout # timeout=10 01:06:00 > git checkout -f 4bd72d1048461c3190bcae66c33b17a9f04957dc # timeout=10 01:06:00 > git remote # timeout=10 01:06:00 > git config --get remote.origin.url # timeout=10 01:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:00 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 01:06:00 Merge succeeded, producing c471306622f7c71485d3d8ccd77e09fd79d714ed 01:06:00 Checking out Revision c471306622f7c71485d3d8ccd77e09fd79d714ed (PR-27) 01:06:00 > git rev-parse HEAD^{commit} # timeout=10 01:06:00 > git config core.sparsecheckout # timeout=10 01:06:00 > git checkout -f c471306622f7c71485d3d8ccd77e09fd79d714ed # timeout=10 01:06:04 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 01:06:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:06:05 ========================================================= 01:06:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:06:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:06:04 > git rev-list --no-walk 1fd59165960452bd12312ea10ca1880eedf6192f # timeout=10 01:06:06 + 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 . 01:06:06 Sending build context to Docker daemon 23.17MB 01:06:06 Step 1/10 : ARG BASE=golang:1.13-alpine 01:06:06 Step 2/10 : FROM ${BASE} 01:06:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:06:06 e6b0cf9c0882: Pulling fs layer 01:06:06 2848faf0eed1: Pulling fs layer 01:06:06 0f37312ad70f: Pulling fs layer 01:06:06 5788d62ee057: Pulling fs layer 01:06:06 0e6b1d234666: Pulling fs layer 01:06:06 bf5d7aec512f: Pulling fs layer 01:06:06 34c802a77dc8: Pulling fs layer 01:06:06 9eb99e56ec68: Pulling fs layer 01:06:06 27c7a5d97fbd: Pulling fs layer 01:06:06 5c102a31e300: Pulling fs layer 01:06:06 dcfb455df0a1: Pulling fs layer 01:06:06 5788d62ee057: Waiting 01:06:06 34c802a77dc8: Waiting 01:06:06 9eb99e56ec68: Waiting 01:06:06 bf5d7aec512f: Waiting 01:06:06 27c7a5d97fbd: Waiting 01:06:06 5c102a31e300: Waiting 01:06:06 dcfb455df0a1: Waiting 01:06:06 0f37312ad70f: Verifying Checksum 01:06:06 0f37312ad70f: Download complete 01:06:06 2848faf0eed1: Download complete 01:06:06 0e6b1d234666: Download complete 01:06:06 bf5d7aec512f: Verifying Checksum 01:06:06 bf5d7aec512f: Download complete 01:06:06 e6b0cf9c0882: Verifying Checksum 01:06:06 e6b0cf9c0882: Download complete 01:06:07 34c802a77dc8: Verifying Checksum 01:06:07 34c802a77dc8: Download complete 01:06:07 27c7a5d97fbd: Verifying Checksum 01:06:07 27c7a5d97fbd: Download complete 01:06:08 5788d62ee057: Verifying Checksum 01:06:08 5788d62ee057: Download complete 01:06:08 9eb99e56ec68: Verifying Checksum 01:06:08 9eb99e56ec68: Download complete 01:06:08 5c102a31e300: Verifying Checksum 01:06:08 5c102a31e300: Download complete 01:06:08 dcfb455df0a1: Verifying Checksum 01:06:08 dcfb455df0a1: Download complete 01:06:09 e6b0cf9c0882: Pull complete 01:06:09 2848faf0eed1: Pull complete 01:06:09 0f37312ad70f: Pull complete 01:06:16 5788d62ee057: Pull complete 01:06:16 0e6b1d234666: Pull complete 01:06:16 bf5d7aec512f: Pull complete 01:06:19 34c802a77dc8: Pull complete 01:06:22 9eb99e56ec68: Pull complete 01:06:23 27c7a5d97fbd: Pull complete 01:06:23 5c102a31e300: Pull complete 01:06:23 dcfb455df0a1: Pull complete 01:06:23 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 01:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:06:23 ---> 7c70fe431013 01:06:23 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:06:25 ---> Running in 21b2abc25e7d 01:06:25 Removing intermediate container 21b2abc25e7d 01:06:25 ---> 515a34d11e56 01:06:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:06:25 ---> Running in 56286cfe3763 01:06:25 Removing intermediate container 56286cfe3763 01:06:25 ---> 57f828a080f8 01:06:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:06:25 ---> Running in e47708a5c81a 01:06:25 Removing intermediate container e47708a5c81a 01:06:25 ---> c6f9e8fbebaa 01:06:25 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:25 ---> Running in 66d58436230a 01:06:27 Removing intermediate container 66d58436230a 01:06:27 ---> e4dbd81ee7f3 01:06:27 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:27 ---> Running in 5df3067cca8b 01:06:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:06:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:06:28 OK: 143 MiB in 39 packages 01:06:29 Removing intermediate container 5df3067cca8b 01:06:29 ---> 6adc3e33cb13 01:06:29 Step 8/10 : WORKDIR /device-rest-go 01:06:29 ---> Running in aecfa1469ded 01:06:29 Removing intermediate container aecfa1469ded 01:06:29 ---> 1413d8b35959 01:06:29 Step 9/10 : COPY . . 01:06:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:06:30 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 01:06:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:06:30 ---> 5da068748759 01:06:30 Step 10/10 : RUN go mod download 01:06:30 ---> Running in 9c1c7420c977 01:06:32 go: finding github.com/BurntSushi/toml v0.3.1 01:06:32 go: finding github.com/OneOfOne/xxhash v1.2.6 01:06:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:06:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:06:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:06:32 go: finding github.com/bgentry/speakeasy v0.1.0 01:06:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:06:32 go: finding github.com/davecgh/go-spew v1.1.1 01:06:32 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 01:06:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 01:06:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:06:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:06:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:06:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:06:32 go: finding github.com/fatih/color v1.7.0 01:06:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:06:32 go: finding github.com/go-kit/kit v0.8.0 01:06:32 go: finding github.com/go-logfmt/logfmt v0.4.0 01:06:32 go: finding github.com/go-stack/stack v1.8.0 01:06:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:06:32 go: finding github.com/google/uuid v1.1.0 01:06:32 go: finding github.com/gorilla/mux v1.7.1 01:06:32 go: finding github.com/hashicorp/consul/api v1.1.0 01:06:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:06:32 go: finding github.com/hashicorp/errwrap v1.0.0 01:06:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:06:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:06:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:06:32 go: finding github.com/hashicorp/go-multierror v1.0.0 01:06:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:06:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:06:32 go: finding github.com/hashicorp/go-syslog v1.0.0 01:06:32 go: finding github.com/hashicorp/go-uuid v1.0.1 01:06:32 go: finding github.com/hashicorp/go.net v0.0.1 01:06:32 go: finding github.com/hashicorp/golang-lru v0.5.0 01:06:32 go: finding github.com/hashicorp/logutils v1.0.0 01:06:32 go: finding github.com/hashicorp/mdns v1.0.0 01:06:32 go: finding github.com/hashicorp/memberlist v0.1.3 01:06:32 go: finding github.com/hashicorp/serf v0.8.2 01:06:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:06:32 go: finding github.com/mattn/go-colorable v0.0.9 01:06:32 go: finding github.com/mattn/go-isatty v0.0.3 01:06:32 go: finding github.com/miekg/dns v1.0.14 01:06:32 go: finding github.com/mitchellh/cli v1.0.0 01:06:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:06:32 go: finding github.com/mitchellh/copystructure v1.0.0 01:06:32 go: finding github.com/mitchellh/go-homedir v1.0.0 01:06:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:06:32 go: finding github.com/mitchellh/gox v0.4.0 01:06:32 go: finding github.com/mitchellh/iochan v1.0.0 01:06:32 go: finding github.com/mitchellh/mapstructure v1.1.2 01:06:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:06:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:06:32 go: finding github.com/pelletier/go-toml v1.2.0 01:06:32 go: finding github.com/pkg/errors v0.8.1 01:06:32 go: finding github.com/pmezard/go-difflib v1.0.0 01:06:32 go: finding github.com/posener/complete v1.1.1 01:06:32 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:06:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:06:32 go: finding github.com/spf13/cast v1.3.0 01:06:32 go: finding github.com/stretchr/objx v0.1.0 01:06:32 go: finding github.com/stretchr/testify v1.5.1 01:06:32 go: finding github.com/ugorji/go v1.1.4 01:06:32 go: finding github.com/x448/float16 v0.8.4 01:06:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:06:32 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:06:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:06:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:06:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:06:32 go: finding gopkg.in/yaml.v2 v2.2.8 01:06:33 gofmt -l . 01:06:33 [ "`gofmt -l .`" = "" ] 01:06:33 ./bin/test-go-mod-tidy.sh 01:06:34 ./bin/test-attribution-txt.sh [Pipeline] stash 01:06:35 Stashed 1 file(s) [Pipeline] } 01:06:35 $ docker stop --time=1 b6efdfb7876c7d81d5202f1477dc8e0ffb22a6357a2b1d1ffcf08fdcf9128200 01:06:37 $ docker rm -f b6efdfb7876c7d81d5202f1477dc8e0ffb22a6357a2b1d1ffcf08fdcf9128200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:38 + ls -al . 01:06:38 total 128 01:06:38 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 01:06 . 01:06:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:04 .. 01:06:38 -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 01:04 .dockerignore 01:06:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 01:04 .git 01:06:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:04 .github 01:06:38 -rw-rw-r-- 1 jenkins jenkins 339 Jun 23 01:04 .gitignore 01:06:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:04 .semver 01:06:38 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 23 01:04 Attribution.txt 01:06:38 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 23 01:04 Dockerfile 01:06:38 -rw-rw-r-- 1 jenkins jenkins 989 Jun 23 01:04 Dockerfile.build 01:06:38 -rw-rw-r-- 1 jenkins jenkins 702 Jun 23 01:04 Jenkinsfile 01:06:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 01:04 LICENSE 01:06:38 -rw-rw-r-- 1 jenkins jenkins 951 Jun 23 01:04 Makefile 01:06:38 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 23 01:04 README.md 01:06:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 01:02 VERSION 01:06:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:04 bin 01:06:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:04 cmd 01:06:38 -rw-r--r-- 1 jenkins jenkins 9369 Jun 23 01:06 coverage.out 01:06:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:06 driver 01:06:38 -rw-r--r-- 1 jenkins jenkins 266 Jun 23 01:06 go.mod 01:06:38 -rw-r--r-- 1 jenkins jenkins 12533 Jun 23 01:06 go.sum 01:06:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:04 snap 01:06:38 -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 01:04 version.go [Pipeline] isUnix [Pipeline] sh 01:06:39 + 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=8e8a274c2051a48e8760f01859ec05b7de79ef6e --label arch=arm64 --label version=0.0.0 . 01:06:39 Sending build context to Docker daemon 23.18MB 01:06:39 Step 1/24 : ARG BASE=golang:1.13-alpine 01:06:39 Step 2/24 : FROM ${BASE} AS builder 01:06:39 ---> 544fef51c635 01:06:39 Step 3/24 : ARG MAKE='make build' 01:06:40 ---> Running in 5b1a0cb79451 01:06:40 Removing intermediate container 5b1a0cb79451 01:06:40 ---> 6d9d311bc939 01:06:40 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 01:06:40 ---> Running in cdd6ca9d4cdf 01:06:40 Removing intermediate container 9c1c7420c977 01:06:40 ---> aa765f601072 01:06:40 Successfully built aa765f601072 01:06:40 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 01:06:41 + docker inspect -f . ci-base-image-x86_64 01:06:41 . 01:06:41 Removing intermediate container cdd6ca9d4cdf [2020-06-23T01:06:41.200Z] ---> 2c2247e66bca 01:06:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:06:41 ---> Running in f2aa91f39999 [Pipeline] withDockerContainer 01:06:41 prd-centos7-docker-4c-2g-4048 does not seem to be running inside a container 01:06:41 Removing intermediate container f2aa91f39999 01:06:41 ---> 94e28eec88db 01:06:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat 01:06:41 ---> Running in 5ef613322f9c 01:06:42 $ docker top dd7c68f449f55dddbecfdef11c98fa29e5533f78c82924f393575ce4557b2a4d -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:43 + go version 01:06:43 go version go1.13.5 linux/amd64 [Pipeline] sh 01:06:43 + make test 01:06:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:06:44 Removing intermediate container 5ef613322f9c 01:06:44 ---> d3f43751dc1b 01:06:44 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:44 ---> Running in 5fe45b6a322e 01:06:44 ? github.com/edgexfoundry/device-rest-go [no test files] 01:06:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:06:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:06:46 OK: 125 MiB in 39 packages 01:06:48 Removing intermediate container 5fe45b6a322e 01:06:48 ---> 4b0a259ee14f 01:06:48 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:06:48 ---> Running in e75c86907d5d 01:06:49 Removing intermediate container e75c86907d5d 01:06:49 ---> b6a76efe21dc 01:06:49 Step 9/24 : COPY go.mod . 01:06:49 ---> f2578615c3e2 01:06:49 Step 10/24 : COPY Makefile . 01:06:50 ---> 6562ad1ad468 01:06:50 Step 11/24 : RUN make update 01:06:50 ---> Running in 10d63387c7aa 01:06:51 CGO_ENABLED=0 GO111MODULE=on go mod download 01:06:53 Removing intermediate container 10d63387c7aa 01:06:53 ---> c10717bb9d68 01:06:53 Step 12/24 : COPY . . 01:06:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:06:54 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 56.3% of statements 01:06:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:06:55 ---> b22ecc241b12 01:06:55 Step 13/24 : RUN $MAKE 01:06:55 ---> Running in f298e6c73a67 01:06:55 gofmt -l . 01:06:55 [ "`gofmt -l .`" = "" ] 01:06:55 ./bin/test-go-mod-tidy.sh 01:06:56 ./bin/test-attribution-txt.sh 01:06:56 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 [Pipeline] stash 01:06:56 Warning: overwriting stash ‘coverage-report’ 01:06:57 Stashed 1 file(s) [Pipeline] } 01:06:57 $ docker stop --time=1 dd7c68f449f55dddbecfdef11c98fa29e5533f78c82924f393575ce4557b2a4d 01:06:59 $ docker rm -f dd7c68f449f55dddbecfdef11c98fa29e5533f78c82924f393575ce4557b2a4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:00 + ls -al . 01:07:00 total 96 01:07:00 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 01:06 . 01:07:00 drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 01:05 .. 01:07:00 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 23 01:06 Attribution.txt 01:07:00 drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 01:06 bin 01:07:00 drwxrwxr-x. 3 jenkins jenkins 51 Jun 23 01:06 cmd 01:07:00 -rw-r--r--. 1 jenkins jenkins 9369 Jun 23 01:06 coverage.out 01:07:00 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 23 01:06 Dockerfile 01:07:00 -rw-rw-r--. 1 jenkins jenkins 989 Jun 23 01:06 Dockerfile.build 01:07:00 -rw-rw-r--. 1 jenkins jenkins 151 Jun 23 01:06 .dockerignore 01:07:00 drwxrwxr-x. 2 jenkins jenkins 93 Jun 23 01:06 driver 01:07:00 drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 01:06 .git 01:07:00 drwxrwxr-x. 2 jenkins jenkins 38 Jun 23 01:06 .github 01:07:00 -rw-rw-r--. 1 jenkins jenkins 339 Jun 23 01:06 .gitignore 01:07:00 -rw-r--r--. 1 jenkins jenkins 266 Jun 23 01:06 go.mod 01:07:00 -rw-r--r--. 1 jenkins jenkins 12533 Jun 23 01:06 go.sum 01:07:00 -rw-rw-r--. 1 jenkins jenkins 702 Jun 23 01:06 Jenkinsfile 01:07:00 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 01:06 LICENSE 01:07:00 -rw-rw-r--. 1 jenkins jenkins 951 Jun 23 01:06 Makefile 01:07:00 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 23 01:06 README.md 01:07:00 drwxrwxr-x. 3 jenkins jenkins 45 Jun 23 01:06 .semver 01:07:00 drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 01:06 snap 01:07:00 -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 01:02 VERSION 01:07:00 -rw-rw-r--. 1 jenkins jenkins 713 Jun 23 01:06 version.go [Pipeline] isUnix [Pipeline] sh 01:07:00 + 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=8e8a274c2051a48e8760f01859ec05b7de79ef6e --label arch=amd64 --label version=0.0.0 . 01:07:00 Sending build context to Docker daemon 23.18MB 01:07:00 Step 1/24 : ARG BASE=golang:1.13-alpine 01:07:00 Step 2/24 : FROM ${BASE} AS builder 01:07:00 ---> aa765f601072 01:07:00 Step 3/24 : ARG MAKE='make build' 01:07:00 ---> Running in 19cc791ef0be 01:07:01 Removing intermediate container 19cc791ef0be 01:07:01 ---> a798c566dada 01:07:01 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 01:07:01 ---> Running in 0ae1db4778b8 01:07:01 Removing intermediate container 0ae1db4778b8 01:07:01 ---> 3ac07f1e9839 01:07:01 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:07:01 ---> Running in 8bd8d15bf999 01:07:01 Removing intermediate container 8bd8d15bf999 01:07:01 ---> 5fc6089c5f2d 01:07:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:01 ---> Running in 298c2ad95a71 01:07:02 Removing intermediate container 298c2ad95a71 01:07:02 ---> ba23f782a5c2 01:07:02 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:02 ---> Running in 644bd2ccc578 01:07:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:07:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:07:04 OK: 143 MiB in 39 packages 01:07:05 Removing intermediate container 644bd2ccc578 01:07:05 ---> 7916d21d7dea 01:07:05 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:07:05 ---> Running in 1368436e4422 01:07:05 Removing intermediate container 1368436e4422 01:07:05 ---> 8972f04af5a8 01:07:05 Step 9/24 : COPY go.mod . 01:07:05 ---> 77d3beab98f2 01:07:05 Step 10/24 : COPY Makefile . 01:07:05 ---> e0f6c3f09739 01:07:05 Step 11/24 : RUN make update 01:07:05 ---> Running in 0944f02b0a4e 01:07:06 CGO_ENABLED=0 GO111MODULE=on go mod download 01:07:07 Removing intermediate container 0944f02b0a4e 01:07:07 ---> e1b9c76a74f3 01:07:07 Step 12/24 : COPY . . 01:07:07 ---> 5d6f2753c206 01:07:07 Step 13/24 : RUN $MAKE 01:07:07 ---> Running in f6c45f57acc7 01:07:08 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 01:07:18 Removing intermediate container f6c45f57acc7 01:07:18 ---> f92287b53514 01:07:18 Step 14/24 : FROM alpine:latest 01:07:18 latest: Pulling from library/alpine 01:07:19 df20fa9351a1: Pulling fs layer 01:07:19 df20fa9351a1: Download complete 01:07:19 df20fa9351a1: Pull complete 01:07:19 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:07:19 Status: Downloaded newer image for alpine:latest 01:07:19 ---> a24bb4013296 01:07:19 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:07:19 ---> Running in 07ae874f6435 01:07:19 Removing intermediate container 07ae874f6435 01:07:19 ---> 50791aa662b2 01:07:19 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 01:07:19 ---> Running in 1015aaf0abd1 01:07:19 Removing intermediate container 1015aaf0abd1 01:07:19 ---> 2c19b5d93934 01:07:19 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:07:20 ---> 73b3acd3b24e 01:07:20 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:07:20 ---> 018e23705779 01:07:20 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:07:21 ---> 4df26d2a6bde 01:07:21 Step 20/24 : EXPOSE 49986 01:07:21 ---> Running in deaa9d284221 01:07:21 Removing intermediate container deaa9d284221 01:07:21 ---> cb58bd095697 01:07:21 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 01:07:21 ---> Running in afc646fedfb1 01:07:21 Removing intermediate container afc646fedfb1 01:07:21 ---> 398d6fe56a17 01:07:21 Step 22/24 : LABEL arch=amd64 01:07:21 ---> Running in 7dd767cca051 01:07:21 Removing intermediate container 7dd767cca051 01:07:21 ---> 6e0c1b5212d2 01:07:21 Step 23/24 : LABEL git_sha=8e8a274c2051a48e8760f01859ec05b7de79ef6e 01:07:21 ---> Running in edcb6e3a495b 01:07:21 Removing intermediate container edcb6e3a495b 01:07:21 ---> 317da4d03c39 01:07:21 Step 24/24 : LABEL version=0.0.0 01:07:21 ---> Running in 6c7f7a21b57a 01:07:22 Removing intermediate container 6c7f7a21b57a 01:07:22 ---> cc157f60717d 01:07:22 [Warning] One or more build-args [ARCH] were not consumed 01:07:22 Successfully built cc157f60717d 01:07:22 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] } 01:07:29 Removing intermediate container f298e6c73a67 01:07:29 ---> b2aba29f85a2 01:07:29 Step 14/24 : FROM alpine:latest 01:07:29 latest: Pulling from library/alpine 01:07:29 b538f80385f9: Pulling fs layer 01:07:29 b538f80385f9: Verifying Checksum 01:07:29 b538f80385f9: Download complete 01:07:29 b538f80385f9: Pull complete 01:07:29 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:07:29 Status: Downloaded newer image for alpine:latest 01:07:29 ---> 62ee0e9f8440 01:07:29 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:07:29 ---> Running in fef273cc5cac 01:07:29 Removing intermediate container fef273cc5cac 01:07:29 ---> 9fe3e5e03eda 01:07:29 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 01:07:29 ---> Running in 247eb52ede6e 01:07:29 Removing intermediate container 247eb52ede6e 01:07:29 ---> ff5f8964e153 01:07:29 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:07:29 ---> 47705e01dac7 01:07:29 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:07:29 ---> 338b0dfc83a8 01:07:29 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:07:31 ---> 72bdee8caaae 01:07:31 Step 20/24 : EXPOSE 49986 01:07:31 ---> Running in 462a56817679 01:07:31 Removing intermediate container 462a56817679 01:07:31 ---> 5e792cd2c4ca 01:07:31 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 01:07:31 ---> Running in dc588b04a4a4 01:07:32 Removing intermediate container dc588b04a4a4 01:07:32 ---> 45a2cb5687b5 01:07:32 Step 22/24 : LABEL arch=arm64 01:07:32 ---> Running in e72a94956721 01:07:32 Removing intermediate container e72a94956721 01:07:32 ---> 0e59d2a2d4a6 01:07:32 Step 23/24 : LABEL git_sha=8e8a274c2051a48e8760f01859ec05b7de79ef6e 01:07:32 ---> Running in 5ec3cbbca84e 01:07:33 Removing intermediate container 5ec3cbbca84e 01:07:33 ---> e71e4814ce35 01:07:33 Step 24/24 : LABEL version=0.0.0 01:07:33 ---> Running in 248674f6e680 01:07:33 Removing intermediate container 248674f6e680 01:07:33 ---> d5f2e3586cb1 01:07:33 [Warning] One or more build-args [ARCH] were not consumed 01:07:33 Successfully built d5f2e3586cb1 01:07:34 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 01:07:34 provisioning config files... 01:07:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config2837872317233252412tmp [Pipeline] { [Pipeline] sh 01:07:35 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config2837872317233252412tmp 01:07:35 + curl -s https://codecov.io/bash 01:07:35 01:07:35 _____ _ 01:07:35 / ____| | | 01:07:35 | | ___ __| | ___ ___ _____ __ 01:07:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:07:35 | |___| (_) | (_| | __/ (_| (_) \ V / 01:07:35 \_____\___/ \__,_|\___|\___\___/ \_/ 01:07:35 Bash-20200602-f809a24 01:07:35 01:07:35 01:07:35 ==> Jenkins CI detected. 01:07:35 project root: . 01:07:35 Fixing merge commit SHA 01:07:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:07:35 ==> Running gcov in . (disable via -X gcov) 01:07:35 ==> Python coveragepy not found 01:07:35 ==> Searching for coverage reports in: 01:07:35 + . 01:07:35 -> Found 1 reports 01:07:35 ==> Detecting git/mercurial file structure 01:07:35 ==> Reading reports 01:07:35 + ./coverage.out bytes=9369 01:07:35 ==> Appending adjustments 01:07:35 https://docs.codecov.io/docs/fixing-reports 01:07:35 + Found adjustments 01:07:35 ==> Gzipping contents 01:07:35 ==> Uploading reports 01:07:35 url: https://codecov.io 01:07:35 query: branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= 01:07:35 -> Pinging Codecov 01:07:35 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= 01:07:35 -> Uploading 01:07:36 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } 01:07:36 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 01:07:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:37 ---> package-listing.sh 01:07:37 ++ facter osfamily 01:07:37 ++ tr '[:upper:]' '[:lower:]' 01:07:37 + OS_FAMILY=redhat 01:07:37 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 01:07:37 + START_PACKAGES=/tmp/packages_start.txt 01:07:37 + END_PACKAGES=/tmp/packages_end.txt 01:07:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:37 + PACKAGES=/tmp/packages_start.txt 01:07:37 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 01:07:37 + PACKAGES=/tmp/packages_end.txt 01:07:37 + case "${OS_FAMILY}" in 01:07:37 + sort 01:07:37 + rpm -qa 01:07:42 + '[' -f /tmp/packages_start.txt ']' 01:07:42 + '[' -f /tmp/packages_end.txt ']' 01:07:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:42 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 01:07:42 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ 01:07:42 + 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 01:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:07:42 01:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:07:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:07:42 alpine: Pulling from edgex-lftools-log-publisher 01:07:42 c9b1b535fdd9: Pulling fs layer 01:07:42 2cc5ad85d9ab: Pulling fs layer 01:07:42 756a868c4378: Pulling fs layer 01:07:42 444b2fc9a129: Pulling fs layer 01:07:42 ea15f1150254: Pulling fs layer 01:07:42 41b27a9f41bf: Pulling fs layer 01:07:42 28c525ee5125: Pulling fs layer 01:07:42 094b1ea09ed8: Pulling fs layer 01:07:42 138eaada9080: Pulling fs layer 01:07:42 0622d0fa9048: Pulling fs layer 01:07:42 444b2fc9a129: Waiting 01:07:42 ea15f1150254: Waiting 01:07:42 28c525ee5125: Waiting 01:07:42 094b1ea09ed8: Waiting 01:07:42 0622d0fa9048: Waiting 01:07:42 138eaada9080: Waiting 01:07:42 41b27a9f41bf: Waiting 01:07:42 2cc5ad85d9ab: Verifying Checksum 01:07:42 2cc5ad85d9ab: Download complete 01:07:42 444b2fc9a129: Verifying Checksum 01:07:42 444b2fc9a129: Download complete 01:07:42 c9b1b535fdd9: Download complete 01:07:42 ea15f1150254: Verifying Checksum 01:07:42 ea15f1150254: Download complete 01:07:43 28c525ee5125: Verifying Checksum 01:07:43 28c525ee5125: Download complete 01:07:43 756a868c4378: Verifying Checksum 01:07:43 756a868c4378: Download complete 01:07:43 c9b1b535fdd9: Pull complete 01:07:43 138eaada9080: Verifying Checksum 01:07:43 138eaada9080: Download complete 01:07:43 0622d0fa9048: Verifying Checksum 01:07:43 0622d0fa9048: Download complete 01:07:43 094b1ea09ed8: Verifying Checksum 01:07:43 094b1ea09ed8: Download complete 01:07:43 2cc5ad85d9ab: Pull complete 01:07:43 41b27a9f41bf: Verifying Checksum 01:07:43 41b27a9f41bf: Download complete 01:07:45 756a868c4378: Pull complete 01:07:45 444b2fc9a129: Pull complete 01:07:45 ea15f1150254: Pull complete 01:07:49 41b27a9f41bf: Pull complete 01:07:49 28c525ee5125: Pull complete 01:07:53 094b1ea09ed8: Pull complete 01:07:53 138eaada9080: Pull complete 01:07:53 0622d0fa9048: Pull complete 01:07:53 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 01:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:07:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:07:53 prd-centos7-docker-4c-2g-4041 does not seem to be running inside a container 01:07:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:07:56 $ docker top ce535df033c4b5c23edf5b0d79f401cbd90d6152456aacf6ed482962dd147c5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:57 provisioning config files... 01:07:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config2177597819746377101tmp [Pipeline] { [Pipeline] echo 01:07:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:57 ---> create-netrc.sh [Pipeline] echo 01:07:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:57 ---> logs-deploy.sh 01:07:57 + ARCHIVE_ARTIFACTS= 01:07:57 + LOGS_SERVER=https://logs.edgexfoundry.org 01:07:57 + '[' https://logs.edgexfoundry.org == None ']' 01:07:57 + NEXUS_URL=https://nexus.edgexfoundry.org 01:07:57 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/3 01:07:57 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/3/ 01:07:57 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/3 /w/workspace/dgexfoundry_device-rest-go_PR-27 01:07:59 Archives upload complete. 01:07:59 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/3/ 01:07:59 ---> uname -a: 01:07:59 Linux ce535df033c4 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 01:07:59 01:07:59 01:07:59 ---> lscpu: 01:07:59 Architecture: x86_64 01:07:59 CPU op-mode(s): 32-bit, 64-bit 01:07:59 Byte Order: Little Endian 01:07:59 Address sizes: 40 bits physical, 48 bits virtual 01:07:59 CPU(s): 4 01:07:59 On-line CPU(s) list: 0-3 01:07:59 Thread(s) per core: 1 01:07:59 Core(s) per socket: 1 01:07:59 Socket(s): 4 01:07:59 NUMA node(s): 1 01:07:59 Vendor ID: GenuineIntel 01:07:59 CPU family: 6 01:07:59 Model: 44 01:07:59 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:07:59 Stepping: 1 01:07:59 CPU MHz: 2933.438 01:07:59 BogoMIPS: 5866.87 01:07:59 Virtualization: VT-x 01:07:59 Hypervisor vendor: KVM 01:07:59 Virtualization type: full 01:07:59 L1d cache: 128 KiB 01:07:59 L1i cache: 128 KiB 01:07:59 L2 cache: 16 MiB 01:07:59 L3 cache: 64 MiB 01:07:59 NUMA node0 CPU(s): 0-3 01:07:59 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:07:59 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:07:59 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:07:59 Vulnerability Meltdown: Mitigation; PTI 01:07:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:07:59 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:07:59 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:07:59 Vulnerability Tsx async abort: Not affected 01:07:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 01:07:59 01:07:59