Pull request #24 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lranjbar for edgexfoundry/device-rest-go Obtained Jenkinsfile from fb37ef4b9bc194b7f6bf939622199a9b30416d72+44d29830d52e322790143f809155a22bedb1a813 (b64370da3fdaf45e2fce6639cac04864a693eed4) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3065 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [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-24 # 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/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # 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/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # 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 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 Commit message: "fix: Update package name in main.go to match the one in version.go" First time build. Skipping changelog. > git rev-list --no-walk 4eaf934174a36e4f848d22e7c703559c2845ebed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:57:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:57:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:57:42 ========================================================= 18:57:42 EdgeX Global Pipelines Version Info 18:57:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:57:44 ------------------- 18:57:44 stable info: 18:57:44 ------------------- 18:57:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:57:44 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:57:44 Message: update stable to v1.0.89 18:57:45 ------------------- 18:57:45 experimental info: 18:57:45 ------------------- 18:57:45 Commited By: **** collab-it+edgex@linuxfoundation.org 18:57:45 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:57:45 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:57:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:57:46 18:57:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:57:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:57:47 latest: Pulling from edgex-devops/git-semver 18:57:47 9123ac7c32f7: Pulling fs layer 18:57:47 b8cc5d1170e3: Pulling fs layer 18:57:47 2924cbbf6a41: Pulling fs layer 18:57:47 93b08a4f1073: Pulling fs layer 18:57:47 93b08a4f1073: Waiting 18:57:47 b8cc5d1170e3: Verifying Checksum 18:57:47 b8cc5d1170e3: Download complete 18:57:47 9123ac7c32f7: Download complete 18:57:47 93b08a4f1073: Verifying Checksum 18:57:47 93b08a4f1073: Download complete 18:57:47 2924cbbf6a41: Verifying Checksum 18:57:47 9123ac7c32f7: Pull complete 18:57:47 b8cc5d1170e3: Pull complete 18:57:48 2924cbbf6a41: Pull complete 18:57:48 93b08a4f1073: Pull complete 18:57:48 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:57:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:57:48 prd-centos7-docker-4c-2g-3065 does not seem to be running inside a container 18:57:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-24 -v /w/workspace/dgexfoundry_device-rest-go_PR-24:/w/workspace/dgexfoundry_device-rest-go_PR-24:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:57:50 $ docker top 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:51 [ssh-agent] Looking for ssh-agent implementation... 18:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:51 $ docker exec 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent 18:57:51 SSH_AUTH_SOCK=/tmp/ssh-VPz8MYxgzdmS/agent.11 18:57:51 SSH_AGENT_PID=16 18:57:51 Running ssh-add (command line suppressed) 18:57:51 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_7743468904501465871.key (/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_7743468904501465871.key) 18:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:52 + git describe --exact-match --tags HEAD 18:57:52 fatal: No names found, cannot describe anything. [Pipeline] } 18:57:52 $ docker exec --env ******** --env ******** 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent -k 18:57:52 unset SSH_AUTH_SOCK; 18:57:52 unset SSH_AGENT_PID; 18:57:52 echo Agent pid 16 killed; 18:57:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:57:52 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:57:52 This usually means this commit has not been tagged. [Pipeline] sshagent 18:57:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:52 [ssh-agent] Looking for ssh-agent implementation... 18:57:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:52 $ docker exec 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent 18:57:52 SSH_AUTH_SOCK=/tmp/ssh-xGgmD0MCRP1J/agent.45 18:57:52 SSH_AGENT_PID=50 18:57:52 Running ssh-add (command line suppressed) 18:57:52 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_5615804466441299741.key (/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_5615804466441299741.key) 18:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:53 + git semver init 18:57:53 # -> Open(): unable to determine branch for HEAD 18:57:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-24/.git 18:57:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-24 18:57:53 # $SEMVER_REMOTE_NAME = origin 18:57:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:57:53 # $SEMVER_USER_NAME = edgex-jenkins 18:57:53 # $SEMVER_BRANCH = PR-24 18:57:53 # $SEMVER_TEMP = /tmp/semver-717662968 18:57:53 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:57:54 # '/tmp/semver-717662968' -> '/w/workspace/dgexfoundry_device-rest-go_PR-24/.semver' 18:57:54 # -> Force: false 18:57:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-24/.semver [Pipeline] } 18:57:54 $ docker exec --env ******** --env ******** 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent -k 18:57:54 unset SSH_AUTH_SOCK; 18:57:54 unset SSH_AGENT_PID; 18:57:54 echo Agent pid 50 killed; 18:57:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:54 + git semver [Pipeline] } 18:57:54 $ docker stop --time=1 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 18:57:56 $ docker rm -f 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:57:57 Stashed 23 file(s) [Pipeline] echo 18:57:57 [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 18:58:12 Still waiting to schedule task 18:58:12 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3065’ 18:58:12 Still waiting to schedule task 18:58:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 18:59:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3066 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [Pipeline] { [Pipeline] ws 18:59:52 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 18:59:57 using credential edgex-jenkins-ssh 18:59:58 Cloning the remote Git repository 18:59:58 Cloning with configured refspecs honoured and without tags 18:59:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:59:58 > git init /w/workspace/device-rest-go/3 # timeout=10 18:59:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:59:58 > git --version # timeout=10 18:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:00 Fetching without tags 19:00:00 Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:00:00 Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:00:00 Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) 18:59:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:59:59 > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # timeout=10 18:59:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:59:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:59:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:59:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:00 > git config core.sparsecheckout # timeout=10 19:00:00 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 19:00:00 > git remote # timeout=10 19:00:00 > git config --get remote.origin.url # timeout=10 19:00:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:00 > git merge 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 19:00:00 > git rev-parse HEAD^{commit} # timeout=10 19:00:00 > git config core.sparsecheckout # timeout=10 19:00:00 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 19:00:05 Commit message: "fix: Update package name in main.go to match the one in version.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:00:07 ========================================================= 19:00:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:00:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:00:08 + 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 . 19:00:09 Sending build context to Docker daemon 8.022MB 19:00:09 Step 1/10 : ARG BASE=golang:1.13-alpine 19:00:09 Step 2/10 : FROM ${BASE} 19:00:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:00:09 cde5963f3b93: Pulling fs layer 19:00:09 2a23fa8c16f7: Pulling fs layer 19:00:09 777b28850792: Pulling fs layer 19:00:09 8a11ddd9e578: Pulling fs layer 19:00:09 4cf88f913ddb: Pulling fs layer 19:00:09 1df406cf5192: Pulling fs layer 19:00:09 cd6300453558: Pulling fs layer 19:00:09 b9c365052c96: Pulling fs layer 19:00:09 a2d8cc88f415: Pulling fs layer 19:00:09 ea1d1ca13537: Pulling fs layer 19:00:09 3750a50a1c5e: Pulling fs layer 19:00:09 cd6300453558: Waiting 19:00:09 b9c365052c96: Waiting 19:00:09 a2d8cc88f415: Waiting 19:00:09 ea1d1ca13537: Waiting 19:00:09 8a11ddd9e578: Waiting 19:00:09 4cf88f913ddb: Waiting 19:00:09 1df406cf5192: Waiting 19:00:09 777b28850792: Download complete 19:00:09 2a23fa8c16f7: Verifying Checksum 19:00:09 2a23fa8c16f7: Download complete 19:00:09 4cf88f913ddb: Download complete 19:00:09 1df406cf5192: Verifying Checksum 19:00:09 1df406cf5192: Download complete 19:00:09 cde5963f3b93: Verifying Checksum 19:00:09 cde5963f3b93: Download complete 19:00:10 cde5963f3b93: Pull complete 19:00:11 2a23fa8c16f7: Pull complete 19:00:11 777b28850792: Pull complete 19:00:11 cd6300453558: Verifying Checksum 19:00:11 cd6300453558: Download complete 19:00:11 a2d8cc88f415: Download complete 19:00:13 ea1d1ca13537: Verifying Checksum 19:00:13 ea1d1ca13537: Download complete 19:00:13 3750a50a1c5e: Download complete 19:00:14 8a11ddd9e578: Verifying Checksum 19:00:14 8a11ddd9e578: Download complete 19:00:14 b9c365052c96: Verifying Checksum 19:00:14 b9c365052c96: Download complete 19:00:27 8a11ddd9e578: Pull complete 19:00:27 4cf88f913ddb: Pull complete 19:00:27 1df406cf5192: Pull complete 19:00:31 cd6300453558: Pull complete 19:00:35 b9c365052c96: Pull complete 19:00:35 a2d8cc88f415: Pull complete 19:00:38 ea1d1ca13537: Pull complete 19:00:38 3750a50a1c5e: Pull complete 19:00:38 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 19:00:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:00:38 ---> 78745c68409d 19:00:38 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:00:43 ---> Running in 471a94f30301 19:00:43 Removing intermediate container 471a94f30301 19:00:43 ---> ae93dac399dc 19:00:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:00:43 ---> Running in 4d7922fd9a7d 19:00:44 Removing intermediate container 4d7922fd9a7d 19:00:44 ---> fb5b06d67e3d 19:00:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:00:44 ---> Running in 0a6884e8abbb 19:00:44 Removing intermediate container 0a6884e8abbb 19:00:44 ---> 9b2933549ff0 19:00:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:00:44 ---> Running in 0b43a279d80c 19:00:46 Running on prd-centos7-docker-4c-2g-3067 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [Pipeline] { [Pipeline] ws 19:00:46 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 19:00:47 Removing intermediate container 0b43a279d80c 19:00:47 ---> 4292708bc441 19:00:47 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:47 ---> Running in caf1f4cde311 19:00:48 using credential edgex-jenkins-ssh 19:00:48 Cloning the remote Git repository 19:00:48 Cloning with configured refspecs honoured and without tags 19:00:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:00:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:00:48 > git init /w/workspace/device-rest-go/3 # timeout=10 19:00:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:00:48 > git --version # timeout=10 19:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:00:50 OK: 125 MiB in 39 packages 19:00:50 Fetching without tags 19:00:50 Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:00:50 Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:00:50 Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) 19:00:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:00:50 > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # timeout=10 19:00:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:00:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:50 > git config core.sparsecheckout # timeout=10 19:00:50 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 19:00:50 > git remote # timeout=10 19:00:50 > git config --get remote.origin.url # timeout=10 19:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:50 > git merge 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 19:00:50 > git rev-parse HEAD^{commit} # timeout=10 19:00:50 > git config core.sparsecheckout # timeout=10 19:00:50 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 19:00:51 Removing intermediate container caf1f4cde311 19:00:51 ---> 9ce1097590f2 19:00:51 Step 8/10 : WORKDIR /device-rest-go 19:00:51 ---> Running in f9eff9e61864 19:00:51 Removing intermediate container f9eff9e61864 19:00:51 ---> 3d14651bf3db 19:00:51 Step 9/10 : COPY . . 19:00:53 ---> 69506fa7d417 19:00:53 Step 10/10 : RUN go mod download 19:00:53 ---> Running in 267982357d64 19:00:54 Commit message: "fix: Update package name in main.go to match the one in version.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:00:55 ========================================================= 19:00:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:00:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:00:55 go: finding github.com/BurntSushi/toml v0.3.1 19:00:55 go: finding github.com/OneOfOne/xxhash v1.2.6 19:00:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:00:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:00:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:00:55 go: finding github.com/bgentry/speakeasy v0.1.0 19:00:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:00:55 go: finding github.com/davecgh/go-spew v1.1.1 19:00:55 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 19:00:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 19:00:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:00:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:00:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:00:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:00:55 go: finding github.com/fatih/color v1.7.0 19:00:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:00:55 go: finding github.com/go-kit/kit v0.8.0 19:00:55 go: finding github.com/go-logfmt/logfmt v0.4.0 19:00:55 go: finding github.com/go-stack/stack v1.8.0 19:00:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:00:55 go: finding github.com/google/uuid v1.1.0 19:00:55 go: finding github.com/gorilla/mux v1.7.1 19:00:55 go: finding github.com/hashicorp/consul/api v1.1.0 19:00:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:00:55 go: finding github.com/hashicorp/errwrap v1.0.0 19:00:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:00:55 + 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 . 19:00:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:00:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:00:55 go: finding github.com/hashicorp/go-multierror v1.0.0 19:00:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:00:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:00:55 go: finding github.com/hashicorp/go-syslog v1.0.0 19:00:55 go: finding github.com/hashicorp/go-uuid v1.0.1 19:00:55 go: finding github.com/hashicorp/go.net v0.0.1 19:00:55 go: finding github.com/hashicorp/golang-lru v0.5.0 19:00:55 go: finding github.com/hashicorp/logutils v1.0.0 19:00:55 go: finding github.com/hashicorp/mdns v1.0.0 19:00:55 go: finding github.com/hashicorp/memberlist v0.1.3 19:00:55 go: finding github.com/hashicorp/serf v0.8.2 19:00:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:00:55 go: finding github.com/mattn/go-colorable v0.0.9 19:00:55 go: finding github.com/mattn/go-isatty v0.0.3 19:00:55 go: finding github.com/miekg/dns v1.0.14 19:00:55 go: finding github.com/mitchellh/cli v1.0.0 19:00:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:00:55 go: finding github.com/mitchellh/copystructure v1.0.0 19:00:55 go: finding github.com/mitchellh/go-homedir v1.0.0 19:00:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:00:55 go: finding github.com/mitchellh/gox v0.4.0 19:00:55 go: finding github.com/mitchellh/iochan v1.0.0 19:00:55 go: finding github.com/mitchellh/mapstructure v1.1.2 19:00:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:00:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:00:55 go: finding github.com/pelletier/go-toml v1.2.0 19:00:55 go: finding github.com/pkg/errors v0.8.1 19:00:56 Sending build context to Docker daemon 8.022MB 19:00:56 Step 1/10 : ARG BASE=golang:1.13-alpine 19:00:56 Step 2/10 : FROM ${BASE} 19:00:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:00:56 e6b0cf9c0882: Pulling fs layer 19:00:56 2848faf0eed1: Pulling fs layer 19:00:56 0f37312ad70f: Pulling fs layer 19:00:56 5788d62ee057: Pulling fs layer 19:00:56 0e6b1d234666: Pulling fs layer 19:00:56 bf5d7aec512f: Pulling fs layer 19:00:56 34c802a77dc8: Pulling fs layer 19:00:56 9eb99e56ec68: Pulling fs layer 19:00:56 27c7a5d97fbd: Pulling fs layer 19:00:56 5c102a31e300: Pulling fs layer 19:00:56 dcfb455df0a1: Pulling fs layer 19:00:56 34c802a77dc8: Waiting 19:00:56 9eb99e56ec68: Waiting 19:00:56 27c7a5d97fbd: Waiting 19:00:56 5c102a31e300: Waiting 19:00:56 dcfb455df0a1: Waiting 19:00:56 5788d62ee057: Waiting 19:00:56 0e6b1d234666: Waiting 19:00:56 bf5d7aec512f: Waiting 19:00:56 0f37312ad70f: Verifying Checksum 19:00:56 0f37312ad70f: Download complete 19:00:56 2848faf0eed1: Verifying Checksum 19:00:56 2848faf0eed1: Download complete 19:00:56 0e6b1d234666: Download complete 19:00:56 go: finding github.com/pmezard/go-difflib v1.0.0 19:00:56 go: finding github.com/posener/complete v1.1.1 19:00:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:00:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:00:56 go: finding github.com/spf13/cast v1.3.0 19:00:56 go: finding github.com/stretchr/objx v0.1.0 19:00:56 go: finding github.com/stretchr/testify v1.5.1 19:00:56 go: finding github.com/ugorji/go v1.1.4 19:00:56 go: finding github.com/x448/float16 v0.8.4 19:00:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:00:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:00:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:00:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:00:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:00:56 go: finding gopkg.in/yaml.v2 v2.2.8 19:00:56 bf5d7aec512f: Download complete 19:00:56 e6b0cf9c0882: Verifying Checksum 19:00:56 e6b0cf9c0882: Download complete 19:00:56 e6b0cf9c0882: Pull complete 19:00:57 34c802a77dc8: Verifying Checksum 19:00:57 34c802a77dc8: Download complete 19:00:57 2848faf0eed1: Pull complete 19:00:57 27c7a5d97fbd: Verifying Checksum 19:00:57 27c7a5d97fbd: Download complete 19:00:57 5788d62ee057: Verifying Checksum 19:00:57 5788d62ee057: Download complete 19:00:57 5c102a31e300: Download complete 19:00:57 dcfb455df0a1: Verifying Checksum 19:00:57 dcfb455df0a1: Download complete 19:00:57 9eb99e56ec68: Verifying Checksum 19:00:57 9eb99e56ec68: Download complete 19:00:58 0f37312ad70f: Pull complete 19:01:04 5788d62ee057: Pull complete 19:01:04 0e6b1d234666: Pull complete 19:01:04 bf5d7aec512f: Pull complete 19:01:06 Removing intermediate container 267982357d64 19:01:06 ---> 3207b7dc01ff 19:01:06 Successfully built 3207b7dc01ff 19:01:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:01:06 + docker inspect -f . ci-base-image-arm64 19:01:06 . [Pipeline] withDockerContainer 19:01:07 prd-ubuntu18.04-docker-arm64-4c-16g-3066 does not seem to be running inside a container 19:01:07 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:01:08 34c802a77dc8: Pull complete 19:01:08 $ docker top 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:10 + go version 19:01:10 go version go1.13.5 linux/arm64 [Pipeline] sh 19:01:10 9eb99e56ec68: Pull complete 19:01:10 27c7a5d97fbd: Pull complete 19:01:11 + make test 19:01:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:01:12 5c102a31e300: Pull complete 19:01:12 dcfb455df0a1: Pull complete 19:01:12 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 19:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:01:12 ---> 7c70fe431013 19:01:12 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:01:12 ? github.com/edgexfoundry/device-rest-go [no test files] 19:01:12 ---> Running in 45263740c4d7 19:01:12 Removing intermediate container 45263740c4d7 19:01:12 ---> 5bbe0a9927a4 19:01:12 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:01:12 ---> Running in 1ac5e9863250 19:01:13 Removing intermediate container 1ac5e9863250 19:01:13 ---> ab38ebf9d3bc 19:01:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:01:13 ---> Running in c10ceddb3266 19:01:13 Removing intermediate container c10ceddb3266 19:01:13 ---> e40fb7bc37fc 19:01:13 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:13 ---> Running in 9be7e556040a 19:01:14 Removing intermediate container 9be7e556040a 19:01:14 ---> 616574dea161 19:01:14 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:14 ---> Running in fd5f06dac434 19:01:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:01:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:01:16 OK: 143 MiB in 39 packages 19:01:17 Removing intermediate container fd5f06dac434 19:01:17 ---> 1f368a9825b5 19:01:17 Step 8/10 : WORKDIR /device-rest-go 19:01:17 ---> Running in bbd0588218ae 19:01:17 Removing intermediate container bbd0588218ae 19:01:17 ---> 857646070e14 19:01:17 Step 9/10 : COPY . . 19:01:17 ---> e70dc431d6d4 19:01:17 Step 10/10 : RUN go mod download 19:01:17 ---> Running in 13206c4031c7 19:01:19 go: finding github.com/BurntSushi/toml v0.3.1 19:01:19 go: finding github.com/OneOfOne/xxhash v1.2.6 19:01:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:01:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:01:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:01:19 go: finding github.com/bgentry/speakeasy v0.1.0 19:01:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:01:19 go: finding github.com/davecgh/go-spew v1.1.1 19:01:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 19:01:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 19:01:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:01:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:01:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:01:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:01:19 go: finding github.com/fatih/color v1.7.0 19:01:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:01:19 go: finding github.com/go-kit/kit v0.8.0 19:01:19 go: finding github.com/go-logfmt/logfmt v0.4.0 19:01:19 go: finding github.com/go-stack/stack v1.8.0 19:01:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:01:19 go: finding github.com/google/uuid v1.1.0 19:01:19 go: finding github.com/gorilla/mux v1.7.1 19:01:19 go: finding github.com/hashicorp/consul/api v1.1.0 19:01:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:01:19 go: finding github.com/hashicorp/errwrap v1.0.0 19:01:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:01:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:01:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:01:19 go: finding github.com/hashicorp/go-multierror v1.0.0 19:01:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:01:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:01:19 go: finding github.com/hashicorp/go-syslog v1.0.0 19:01:19 go: finding github.com/hashicorp/go-uuid v1.0.1 19:01:19 go: finding github.com/hashicorp/go.net v0.0.1 19:01:19 go: finding github.com/hashicorp/golang-lru v0.5.0 19:01:19 go: finding github.com/hashicorp/logutils v1.0.0 19:01:19 go: finding github.com/hashicorp/mdns v1.0.0 19:01:19 go: finding github.com/hashicorp/memberlist v0.1.3 19:01:19 go: finding github.com/hashicorp/serf v0.8.2 19:01:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:01:19 go: finding github.com/mattn/go-colorable v0.0.9 19:01:19 go: finding github.com/mattn/go-isatty v0.0.3 19:01:19 go: finding github.com/miekg/dns v1.0.14 19:01:19 go: finding github.com/mitchellh/cli v1.0.0 19:01:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:01:19 go: finding github.com/mitchellh/copystructure v1.0.0 19:01:19 go: finding github.com/mitchellh/go-homedir v1.0.0 19:01:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:01:19 go: finding github.com/mitchellh/gox v0.4.0 19:01:19 go: finding github.com/mitchellh/iochan v1.0.0 19:01:19 go: finding github.com/mitchellh/mapstructure v1.1.2 19:01:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:01:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:01:19 go: finding github.com/pelletier/go-toml v1.2.0 19:01:19 go: finding github.com/pkg/errors v0.8.1 19:01:19 go: finding github.com/pmezard/go-difflib v1.0.0 19:01:19 go: finding github.com/posener/complete v1.1.1 19:01:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:01:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:01:20 go: finding github.com/spf13/cast v1.3.0 19:01:20 go: finding github.com/stretchr/objx v0.1.0 19:01:20 go: finding github.com/stretchr/testify v1.5.1 19:01:20 go: finding github.com/ugorji/go v1.1.4 19:01:20 go: finding github.com/x448/float16 v0.8.4 19:01:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:01:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:01:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:01:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:01:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:01:20 go: finding gopkg.in/yaml.v2 v2.2.8 19:01:28 Removing intermediate container 13206c4031c7 19:01:28 ---> cf18da6b73f3 19:01:28 Successfully built cf18da6b73f3 19:01:28 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 19:01:28 + docker inspect -f . ci-base-image-x86_64 19:01:28 . [Pipeline] withDockerContainer 19:01:28 prd-centos7-docker-4c-2g-3067 does not seem to be running inside a container 19:01:28 $ 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-x86_64 cat 19:01:29 $ docker top 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:30 + go version 19:01:30 go version go1.13.5 linux/amd64 [Pipeline] sh 19:01:30 + make test 19:01:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:01:31 ? github.com/edgexfoundry/device-rest-go [no test files] 19:01:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:01:41 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements 19:01:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:01:42 gofmt -l . 19:01:42 [ "`gofmt -l .`" = "" ] 19:01:42 ./bin/test-go-mod-tidy.sh 19:01:42 ./bin/test-attribution-txt.sh [Pipeline] stash 19:01:43 Stashed 1 file(s) [Pipeline] } 19:01:43 $ docker stop --time=1 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a 19:01:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:01:44 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements 19:01:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:01:45 $ docker rm -f 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:47 + ls -al . 19:01:47 total 96 19:01:47 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 15 19:01 . 19:01:47 drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 19:00 .. 19:01:47 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 15 19:00 Attribution.txt 19:01:47 drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 19:00 bin 19:01:47 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 19:00 cmd 19:01:47 -rw-r--r--. 1 jenkins jenkins 9369 Jun 15 19:01 coverage.out 19:01:47 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 15 19:00 Dockerfile 19:01:47 -rw-rw-r--. 1 jenkins jenkins 989 Jun 15 19:00 Dockerfile.build 19:01:47 -rw-rw-r--. 1 jenkins jenkins 151 Jun 15 19:00 .dockerignore 19:01:47 drwxrwxr-x. 2 jenkins jenkins 93 Jun 15 19:01 driver 19:01:47 drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 19:00 .git 19:01:47 -rw-rw-r--. 1 jenkins jenkins 339 Jun 15 19:00 .gitignore 19:01:47 -rw-r--r--. 1 jenkins jenkins 266 Jun 15 19:01 go.mod 19:01:47 -rw-r--r--. 1 jenkins jenkins 12533 Jun 15 19:01 go.sum 19:01:47 -rw-rw-r--. 1 jenkins jenkins 702 Jun 15 19:00 Jenkinsfile 19:01:47 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 19:00 LICENSE 19:01:47 -rw-rw-r--. 1 jenkins jenkins 951 Jun 15 19:00 Makefile 19:01:47 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 15 19:00 README.md 19:01:47 drwxrwxr-x. 3 jenkins jenkins 45 Jun 15 19:00 .semver 19:01:47 -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 18:57 VERSION 19:01:47 -rw-rw-r--. 1 jenkins jenkins 713 Jun 15 19:00 version.go [Pipeline] isUnix [Pipeline] sh 19:01:47 + 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=fb37ef4b9bc194b7f6bf939622199a9b30416d72 --label arch=amd64 --label version=0.0.0 . 19:01:47 Sending build context to Docker daemon 8.034MB 19:01:47 Step 1/24 : ARG BASE=golang:1.13-alpine 19:01:47 Step 2/24 : FROM ${BASE} AS builder 19:01:47 ---> cf18da6b73f3 19:01:47 Step 3/24 : ARG MAKE='make build' 19:01:48 ---> Running in 0b6c5c58e613 19:01:48 Removing intermediate container 0b6c5c58e613 19:01:48 ---> 98a32baf9845 19:01:48 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 19:01:48 gofmt -l . 19:01:48 [ "`gofmt -l .`" = "" ] 19:01:48 ---> Running in b5969a34413a 19:01:48 Removing intermediate container b5969a34413a 19:01:48 ---> 05ad3c970a80 19:01:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:01:48 ---> Running in 7d6f610e6c44 19:01:48 ./bin/test-go-mod-tidy.sh 19:01:48 Removing intermediate container 7d6f610e6c44 19:01:48 ---> 3556c2b2f6cf 19:01:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:48 ---> Running in 4483368c4aba 19:01:48 ./bin/test-attribution-txt.sh [Pipeline] stash 19:01:49 Warning: overwriting stash ‘coverage-report’ 19:01:49 Removing intermediate container 4483368c4aba 19:01:49 ---> 3b41e87d4526 19:01:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:49 ---> Running in 5af48c543b44 19:01:49 Stashed 1 file(s) [Pipeline] } 19:01:49 $ docker stop --time=1 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 19:01:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:01:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:01:50 OK: 143 MiB in 39 packages 19:01:51 Removing intermediate container 5af48c543b44 19:01:51 ---> 9548182dc333 19:01:51 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:01:51 ---> Running in 001d8d970c09 19:01:51 Removing intermediate container 001d8d970c09 19:01:51 ---> 0b8e16e1a5e7 19:01:51 Step 9/24 : COPY go.mod . 19:01:51 ---> bef05c3bef47 19:01:51 Step 10/24 : COPY Makefile . 19:01:51 ---> eae35eb92627 19:01:51 Step 11/24 : RUN make update 19:01:51 ---> Running in aa605259dd28 19:01:51 $ docker rm -f 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 19:01:52 CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 19:01:52 Removing intermediate container aa605259dd28 19:01:52 ---> bd9246d2c032 19:01:52 Step 12/24 : COPY . . [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:53 ---> 379f4980cc2b 19:01:53 Step 13/24 : RUN $MAKE 19:01:53 ---> Running in fac0f62bffb7 19:01:53 + ls -al . 19:01:53 total 120 19:01:53 drwxrwxr-x 7 jenkins jenkins 4096 Jun 15 19:01 . 19:01:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 18:59 .. 19:01:53 -rw-rw-r-- 1 jenkins jenkins 151 Jun 15 19:00 .dockerignore 19:01:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 19:00 .git 19:01:53 -rw-rw-r-- 1 jenkins jenkins 339 Jun 15 19:00 .gitignore 19:01:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 19:00 .semver 19:01:53 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 15 19:00 Attribution.txt 19:01:53 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 15 19:00 Dockerfile 19:01:53 -rw-rw-r-- 1 jenkins jenkins 989 Jun 15 19:00 Dockerfile.build 19:01:53 -rw-rw-r-- 1 jenkins jenkins 702 Jun 15 19:00 Jenkinsfile 19:01:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 19:00 LICENSE 19:01:53 -rw-rw-r-- 1 jenkins jenkins 951 Jun 15 19:00 Makefile 19:01:53 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 15 19:00 README.md 19:01:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 18:57 VERSION 19:01:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 19:00 bin 19:01:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 19:00 cmd 19:01:53 -rw-r--r-- 1 jenkins jenkins 9369 Jun 15 19:01 coverage.out 19:01:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 19:01 driver 19:01:53 -rw-r--r-- 1 jenkins jenkins 266 Jun 15 19:01 go.mod 19:01:53 -rw-r--r-- 1 jenkins jenkins 12533 Jun 15 19:01 go.sum 19:01:53 -rw-rw-r-- 1 jenkins jenkins 713 Jun 15 19:00 version.go [Pipeline] isUnix [Pipeline] sh 19:01:53 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 19:01:53 + 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=fb37ef4b9bc194b7f6bf939622199a9b30416d72 --label arch=arm64 --label version=0.0.0 . 19:01:53 Sending build context to Docker daemon 8.034MB 19:01:54 Step 1/24 : ARG BASE=golang:1.13-alpine 19:01:54 Step 2/24 : FROM ${BASE} AS builder 19:01:54 ---> 3207b7dc01ff 19:01:54 Step 3/24 : ARG MAKE='make build' 19:01:54 ---> Running in 18355ddaae02 19:01:54 Removing intermediate container 18355ddaae02 19:01:54 ---> 435ce124ed61 19:01:54 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 19:01:55 ---> Running in 8c4ff8987b72 19:01:55 Removing intermediate container 8c4ff8987b72 19:01:55 ---> fc7813baea78 19:01:55 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:01:55 ---> Running in a9d577b8db6f 19:01:55 Removing intermediate container a9d577b8db6f 19:01:55 ---> 3508300f338d 19:01:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:56 ---> Running in 7cf08c75118f 19:01:58 Removing intermediate container 7cf08c75118f 19:01:58 ---> a867151f4238 19:01:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:58 ---> Running in e8f6a195d39f 19:02:00 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:02:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:02:01 OK: 125 MiB in 39 packages 19:02:02 Removing intermediate container e8f6a195d39f 19:02:02 ---> 345015b21b90 19:02:02 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:02:02 ---> Running in 99162773e735 19:02:02 Removing intermediate container 99162773e735 19:02:02 ---> 96c3262aded0 19:02:02 Step 9/24 : COPY go.mod . 19:02:03 Removing intermediate container fac0f62bffb7 19:02:03 ---> 15a2dee936c9 19:02:03 Step 14/24 : FROM alpine:latest 19:02:03 latest: Pulling from library/alpine 19:02:03 df20fa9351a1: Pulling fs layer 19:02:03 ---> 7c6defcad259 19:02:03 Step 10/24 : COPY Makefile . 19:02:03 df20fa9351a1: Download complete 19:02:04 df20fa9351a1: Pull complete 19:02:04 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:02:04 Status: Downloaded newer image for alpine:latest 19:02:04 ---> a24bb4013296 19:02:04 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:02:04 ---> Running in 5c90c9a681cb 19:02:04 ---> a2d7e7f6d38e 19:02:04 Step 11/24 : RUN make update 19:02:04 ---> Running in ba7add7e1c87 19:02:04 Removing intermediate container 5c90c9a681cb 19:02:04 ---> e82849410d93 19:02:04 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 19:02:04 ---> Running in 3b08da0584b4 19:02:04 Removing intermediate container 3b08da0584b4 19:02:04 ---> 59cb541a865d 19:02:04 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:02:04 ---> 4c0ae4ca80a4 19:02:04 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:02:05 ---> a972c15e87eb 19:02:05 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:02:05 ---> bbe7ff2451fa 19:02:05 Step 20/24 : EXPOSE 49986 19:02:05 ---> Running in aa7c582c0961 19:02:05 Removing intermediate container aa7c582c0961 19:02:05 ---> 017aee9c8155 19:02:05 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 19:02:05 ---> Running in 88fcec3e1ff6 19:02:05 CGO_ENABLED=0 GO111MODULE=on go mod download 19:02:06 Removing intermediate container 88fcec3e1ff6 19:02:06 ---> 78a6f47ea4e0 19:02:06 Step 22/24 : LABEL arch=amd64 19:02:06 ---> Running in 40bbd6098562 19:02:06 Removing intermediate container 40bbd6098562 19:02:06 ---> f78ef2407313 19:02:06 Step 23/24 : LABEL git_sha=fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:02:06 ---> Running in 7a7ab7394783 19:02:06 Removing intermediate container 7a7ab7394783 19:02:06 ---> 26b622485c4d 19:02:06 Step 24/24 : LABEL version=0.0.0 19:02:06 ---> Running in 000aefce69de 19:02:06 Removing intermediate container 000aefce69de 19:02:06 ---> efe265845071 19:02:06 [Warning] One or more build-args [ARCH] were not consumed 19:02:06 Successfully built efe265845071 19:02:06 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 19:02:06 Removing intermediate container ba7add7e1c87 19:02:06 ---> 52bc406dfbfb 19:02:06 Step 12/24 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:02:08 ---> 5696e6545268 19:02:08 Step 13/24 : RUN $MAKE 19:02:08 ---> Running in 774952b29288 19:02:09 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 19:02:36 Removing intermediate container 774952b29288 19:02:36 ---> 4ce92820276b 19:02:36 Step 14/24 : FROM alpine:latest 19:02:36 latest: Pulling from library/alpine 19:02:36 b538f80385f9: Pulling fs layer 19:02:36 b538f80385f9: Verifying Checksum 19:02:36 b538f80385f9: Download complete 19:02:36 b538f80385f9: Pull complete 19:02:36 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:02:36 Status: Downloaded newer image for alpine:latest 19:02:36 ---> 62ee0e9f8440 19:02:36 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:02:36 ---> Running in 03d9cc3bd60a 19:02:37 Removing intermediate container 03d9cc3bd60a 19:02:37 ---> 234da0b6c797 19:02:37 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 19:02:37 ---> Running in 44de3c13b0fa 19:02:37 Removing intermediate container 44de3c13b0fa 19:02:37 ---> 1bacf5e6ba8d 19:02:37 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:02:38 ---> e126c6b1b27a 19:02:38 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:02:39 ---> 023d0c06c6f4 19:02:39 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:02:40 ---> 6cdb766e2027 19:02:40 Step 20/24 : EXPOSE 49986 19:02:40 ---> Running in 832953b4d975 19:02:40 Removing intermediate container 832953b4d975 19:02:40 ---> e12483c2451f 19:02:40 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 19:02:40 ---> Running in 921f713bbe6e 19:02:41 Removing intermediate container 921f713bbe6e 19:02:41 ---> 016234e9162d 19:02:41 Step 22/24 : LABEL arch=arm64 19:02:41 ---> Running in 715ccc56a571 19:02:42 Removing intermediate container 715ccc56a571 19:02:42 ---> c1d33085dbcf 19:02:42 Step 23/24 : LABEL git_sha=fb37ef4b9bc194b7f6bf939622199a9b30416d72 19:02:42 ---> Running in 561a797fc733 19:02:42 Removing intermediate container 561a797fc733 19:02:42 ---> 52001e800743 19:02:42 Step 24/24 : LABEL version=0.0.0 19:02:42 ---> Running in 87e4c2993c80 19:02:43 Removing intermediate container 87e4c2993c80 19:02:43 ---> fff3af722f8f 19:02:43 [Warning] One or more build-args [ARCH] were not consumed 19:02:43 Successfully built fff3af722f8f 19:02:43 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 19:02:44 provisioning config files... 19:02:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config1702870294432595700tmp [Pipeline] { [Pipeline] sh 19:02:44 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config1702870294432595700tmp 19:02:44 + curl -s https://codecov.io/bash 19:02:44 19:02:44 _____ _ 19:02:44 / ____| | | 19:02:44 | | ___ __| | ___ ___ _____ __ 19:02:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:02:44 | |___| (_) | (_| | __/ (_| (_) \ V / 19:02:44 \_____\___/ \__,_|\___|\___\___/ \_/ 19:02:44 Bash-20200602-f809a24 19:02:44 19:02:44 19:02:44 ==> Jenkins CI detected. 19:02:44 project root: . 19:02:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:02:44 ==> Running gcov in . (disable via -X gcov) 19:02:44 ==> Python coveragepy not found 19:02:44 ==> Searching for coverage reports in: 19:02:44 + . 19:02:44 -> Found 1 reports 19:02:44 ==> Detecting git/mercurial file structure 19:02:44 ==> Reading reports 19:02:44 + ./coverage.out bytes=9369 19:02:44 ==> Appending adjustments 19:02:44 https://docs.codecov.io/docs/fixing-reports 19:02:44 + Found adjustments 19:02:44 ==> Gzipping contents 19:02:44 ==> Uploading reports 19:02:44 url: https://codecov.io 19:02:44 query: branch=PR-24&commit=fb37ef4b9bc194b7f6bf939622199a9b30416d72&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=24&job= 19:02:44 -> Pinging Codecov 19:02:44 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-24&commit=fb37ef4b9bc194b7f6bf939622199a9b30416d72&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=24&job= 19:02:45 -> Uploading 19:02:46 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/fb37ef4b9bc194b7f6bf939622199a9b30416d72 [Pipeline] } 19:02:46 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 19:02:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:02:47 ---> package-listing.sh 19:02:47 ++ facter osfamily 19:02:47 ++ tr '[:upper:]' '[:lower:]' 19:02:47 + OS_FAMILY=redhat 19:02:47 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-24 19:02:47 + START_PACKAGES=/tmp/packages_start.txt 19:02:47 + END_PACKAGES=/tmp/packages_end.txt 19:02:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:02:47 + PACKAGES=/tmp/packages_start.txt 19:02:47 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-24 ']' 19:02:47 + PACKAGES=/tmp/packages_end.txt 19:02:47 + case "${OS_FAMILY}" in 19:02:47 + rpm -qa 19:02:47 + sort 19:02:54 + '[' -f /tmp/packages_start.txt ']' 19:02:54 + '[' -f /tmp/packages_end.txt ']' 19:02:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:02:54 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-24 ']' 19:02:54 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-24/archives/ 19:02:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-24/archives/ [Pipeline] isUnix [Pipeline] sh 19:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:54 19:02:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:02:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:55 alpine: Pulling from edgex-lftools-log-publisher 19:02:55 c9b1b535fdd9: Pulling fs layer 19:02:55 2cc5ad85d9ab: Pulling fs layer 19:02:55 756a868c4378: Pulling fs layer 19:02:55 444b2fc9a129: Pulling fs layer 19:02:55 ea15f1150254: Pulling fs layer 19:02:55 41b27a9f41bf: Pulling fs layer 19:02:55 28c525ee5125: Pulling fs layer 19:02:55 094b1ea09ed8: Pulling fs layer 19:02:55 138eaada9080: Pulling fs layer 19:02:55 0622d0fa9048: Pulling fs layer 19:02:55 444b2fc9a129: Waiting 19:02:55 28c525ee5125: Waiting 19:02:55 094b1ea09ed8: Waiting 19:02:55 138eaada9080: Waiting 19:02:55 41b27a9f41bf: Waiting 19:02:55 0622d0fa9048: Waiting 19:02:55 ea15f1150254: Waiting 19:02:55 2cc5ad85d9ab: Verifying Checksum 19:02:55 2cc5ad85d9ab: Download complete 19:02:55 444b2fc9a129: Verifying Checksum 19:02:55 444b2fc9a129: Download complete 19:02:55 c9b1b535fdd9: Verifying Checksum 19:02:55 c9b1b535fdd9: Download complete 19:02:55 ea15f1150254: Verifying Checksum 19:02:55 ea15f1150254: Download complete 19:02:55 28c525ee5125: Download complete 19:02:55 756a868c4378: Verifying Checksum 19:02:55 756a868c4378: Download complete 19:02:55 c9b1b535fdd9: Pull complete 19:02:55 138eaada9080: Verifying Checksum 19:02:55 138eaada9080: Download complete 19:02:55 094b1ea09ed8: Verifying Checksum 19:02:55 094b1ea09ed8: Download complete 19:02:55 0622d0fa9048: Verifying Checksum 19:02:55 0622d0fa9048: Download complete 19:02:56 2cc5ad85d9ab: Pull complete 19:02:56 41b27a9f41bf: Verifying Checksum 19:02:56 41b27a9f41bf: Download complete 19:02:57 756a868c4378: Pull complete 19:02:57 444b2fc9a129: Pull complete 19:02:57 ea15f1150254: Pull complete 19:03:02 41b27a9f41bf: Pull complete 19:03:02 28c525ee5125: Pull complete 19:03:04 094b1ea09ed8: Pull complete 19:03:04 138eaada9080: Pull complete 19:03:04 0622d0fa9048: Pull complete 19:03:04 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:03:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:03:05 prd-centos7-docker-4c-2g-3065 does not seem to be running inside a container 19:03:05 $ 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-24 -v /w/workspace/dgexfoundry_device-rest-go_PR-24:/w/workspace/dgexfoundry_device-rest-go_PR-24:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:03:08 $ docker top 2a91db04223f33a5eee18de90821a574be47ecad13b4b45482f36ea7f11c6fd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:09 provisioning config files... 19:03:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config5846603630630286050tmp [Pipeline] { [Pipeline] echo 19:03:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:03:09 ---> create-netrc.sh [Pipeline] echo 19:03:09 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:03:09 ---> logs-deploy.sh 19:03:09 + ARCHIVE_ARTIFACTS= 19:03:09 + LOGS_SERVER=https://logs.edgexfoundry.org 19:03:09 + '[' https://logs.edgexfoundry.org == None ']' 19:03:09 + NEXUS_URL=https://nexus.edgexfoundry.org 19:03:09 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 19:03:09 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-24/3/ 19:03:09 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 /w/workspace/dgexfoundry_device-rest-go_PR-24 19:03:11 Archives upload complete. 19:03:11 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-24/3/