Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d86e0ec19fa4789cd7ee7ceff953a09417d716ae 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3597 in /w/workspace/edgexfoundry_device-rest-go_snap [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/edgexfoundry_device-rest-go_snap # 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/heads/snap:refs/remotes/origin/snap # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching without tags Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) 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/heads/snap:refs/remotes/origin/snap # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:22:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:22:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:22:38 ========================================================= 18:22:38 EdgeX Global Pipelines Version Info 18:22:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 18:22:39 ------------------- 18:22:39 stable info: 18:22:39 ------------------- 18:22:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:22:39 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:22:39 Message: update stable to v1.0.89 18:22:40 ------------------- 18:22:40 experimental info: 18:22:40 ------------------- 18:22:40 Commited By: **** collab-it+edgex@linuxfoundation.org 18:22:40 Commit SHA: 16c8cae96dc596cf5e922f0da0f924f9f59267c3 18:22:40 Message: update experimental to v0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:22:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:42 18:22:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:22:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:43 latest: Pulling from edgex-devops/git-semver 18:22:43 9123ac7c32f7: Pulling fs layer 18:22:43 b8cc5d1170e3: Pulling fs layer 18:22:43 2924cbbf6a41: Pulling fs layer 18:22:43 93b08a4f1073: Pulling fs layer 18:22:43 93b08a4f1073: Waiting 18:22:43 b8cc5d1170e3: Verifying Checksum 18:22:43 b8cc5d1170e3: Download complete 18:22:43 9123ac7c32f7: Verifying Checksum 18:22:43 9123ac7c32f7: Download complete 18:22:43 93b08a4f1073: Verifying Checksum 18:22:43 93b08a4f1073: Download complete 18:22:43 2924cbbf6a41: Verifying Checksum 18:22:43 2924cbbf6a41: Download complete 18:22:43 9123ac7c32f7: Pull complete 18:22:43 b8cc5d1170e3: Pull complete 18:22:44 2924cbbf6a41: Pull complete 18:22:44 93b08a4f1073: Pull complete 18:22:44 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:22:44 prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container 18:22:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:22:46 $ docker top db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:22:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:46 [ssh-agent] Looking for ssh-agent implementation... 18:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:47 $ docker exec db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent 18:22:47 SSH_AUTH_SOCK=/tmp/ssh-NsfXI5Id6NXN/agent.12 18:22:47 SSH_AGENT_PID=18 18:22:47 Running ssh-add (command line suppressed) 18:22:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_6012639363878147139.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_6012639363878147139.key) 18:22:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:47 + git describe --exact-match --tags HEAD 18:22:47 fatal: No names found, cannot describe anything. [Pipeline] } 18:22:47 $ docker exec --env ******** --env ******** db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent -k 18:22:47 unset SSH_AUTH_SOCK; 18:22:47 unset SSH_AGENT_PID; 18:22:47 echo Agent pid 18 killed; 18:22:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:22:48 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:22:48 This usually means this commit has not been tagged. [Pipeline] sshagent 18:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:48 [ssh-agent] Looking for ssh-agent implementation... 18:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:48 $ docker exec db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent 18:22:48 SSH_AUTH_SOCK=/tmp/ssh-AShdDCMlU5cm/agent.47 18:22:48 SSH_AGENT_PID=52 18:22:48 Running ssh-add (command line suppressed) 18:22:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_490069096362548630.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_490069096362548630.key) 18:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:48 + git semver init 18:22:48 # -> Open(): unable to determine branch for HEAD 18:22:48 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.git 18:22:48 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_snap 18:22:48 # $SEMVER_REMOTE_NAME = origin 18:22:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:22:48 # $SEMVER_USER_NAME = edgex-jenkins 18:22:48 # $SEMVER_BRANCH = snap 18:22:48 # $SEMVER_TEMP = /tmp/semver-055962543 18:22:48 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:22:49 # '/tmp/semver-055962543' -> '/w/workspace/edgexfoundry_device-rest-go_snap/.semver' 18:22:49 # -> Force: false 18:22:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.semver [Pipeline] } 18:22:49 $ docker exec --env ******** --env ******** db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent -k 18:22:49 unset SSH_AUTH_SOCK; 18:22:49 unset SSH_AGENT_PID; 18:22:49 echo Agent pid 52 killed; 18:22:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:22:50 + git semver [Pipeline] } 18:22:50 $ docker stop --time=1 db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 18:22:51 $ docker rm -f db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:22:52 Stashed 24 file(s) [Pipeline] echo 18:22:52 [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:23:08 Still waiting to schedule task 18:23:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:23:08 Still waiting to schedule task 18:23:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:24:12 Running on prd-centos7-docker-4c-2g-3600 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:24:12 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 18:24:14 using credential edgex-jenkins-ssh 18:24:14 Cloning the remote Git repository 18:24:14 Cloning with configured refspecs honoured and without tags 18:24:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:24:14 > git init /w/workspace/device-rest-go/4 # timeout=10 18:24:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:14 > git --version # timeout=10 18:24:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:15 Fetching without tags 18:24:16 Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) 18:24:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:15 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:15 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:16 > git config core.sparsecheckout # timeout=10 18:24:16 > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 18:24:19 Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:24:21 ========================================================= 18:24:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:24:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:24:21 + 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 . 18:24:22 Sending build context to Docker daemon 8.04MB 18:24:22 Step 1/10 : ARG BASE=golang:1.13-alpine 18:24:22 Step 2/10 : FROM ${BASE} 18:24:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:22 e6b0cf9c0882: Pulling fs layer 18:24:22 2848faf0eed1: Pulling fs layer 18:24:22 0f37312ad70f: Pulling fs layer 18:24:22 5788d62ee057: Pulling fs layer 18:24:22 0e6b1d234666: Pulling fs layer 18:24:22 bf5d7aec512f: Pulling fs layer 18:24:22 34c802a77dc8: Pulling fs layer 18:24:22 9eb99e56ec68: Pulling fs layer 18:24:22 27c7a5d97fbd: Pulling fs layer 18:24:22 5c102a31e300: Pulling fs layer 18:24:22 dcfb455df0a1: Pulling fs layer 18:24:22 5788d62ee057: Waiting 18:24:22 0e6b1d234666: Waiting 18:24:22 bf5d7aec512f: Waiting 18:24:22 34c802a77dc8: Waiting 18:24:22 5c102a31e300: Waiting 18:24:22 9eb99e56ec68: Waiting 18:24:22 dcfb455df0a1: Waiting 18:24:22 27c7a5d97fbd: Waiting 18:24:22 0f37312ad70f: Verifying Checksum 18:24:22 0f37312ad70f: Download complete 18:24:22 2848faf0eed1: Verifying Checksum 18:24:22 2848faf0eed1: Download complete 18:24:22 0e6b1d234666: Verifying Checksum 18:24:22 0e6b1d234666: Download complete 18:24:22 bf5d7aec512f: Verifying Checksum 18:24:22 bf5d7aec512f: Download complete 18:24:22 e6b0cf9c0882: Verifying Checksum 18:24:22 e6b0cf9c0882: Download complete 18:24:22 e6b0cf9c0882: Pull complete 18:24:23 34c802a77dc8: Verifying Checksum 18:24:23 34c802a77dc8: Download complete 18:24:23 27c7a5d97fbd: Verifying Checksum 18:24:23 27c7a5d97fbd: Download complete 18:24:23 5c102a31e300: Verifying Checksum 18:24:23 5c102a31e300: Download complete 18:24:23 9eb99e56ec68: Verifying Checksum 18:24:23 9eb99e56ec68: Download complete 18:24:23 5788d62ee057: Verifying Checksum 18:24:23 5788d62ee057: Download complete 18:24:23 dcfb455df0a1: Verifying Checksum 18:24:23 dcfb455df0a1: Download complete 18:24:25 2848faf0eed1: Pull complete 18:24:25 0f37312ad70f: Pull complete 18:24:31 5788d62ee057: Pull complete 18:24:31 0e6b1d234666: Pull complete 18:24:31 bf5d7aec512f: Pull complete 18:24:37 34c802a77dc8: Pull complete 18:24:39 9eb99e56ec68: Pull complete 18:24:39 27c7a5d97fbd: Pull complete 18:24:40 5c102a31e300: Pull complete 18:24:40 dcfb455df0a1: Pull complete 18:24:40 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:24:40 ---> 7c70fe431013 18:24:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:24:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3599 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:24:40 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 18:24:42 ---> Running in f4a39095f9c2 18:24:42 Removing intermediate container f4a39095f9c2 18:24:42 ---> 2b5be24abe18 18:24:42 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:24:42 ---> Running in 8c8a445c8719 18:24:42 Removing intermediate container 8c8a445c8719 18:24:42 ---> 121d58e6955b 18:24:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:24:42 ---> Running in d2d64b72e693 18:24:42 Removing intermediate container d2d64b72e693 18:24:42 ---> 593f6f67500a 18:24:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:42 ---> Running in f45de7456077 18:24:44 Removing intermediate container f45de7456077 18:24:44 ---> e60a9d594d3a 18:24:44 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:44 ---> Running in de6878acf82a 18:24:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:24:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:24:45 OK: 143 MiB in 39 packages 18:24:46 using credential edgex-jenkins-ssh 18:24:46 Cloning the remote Git repository 18:24:46 Cloning with configured refspecs honoured and without tags 18:24:46 Removing intermediate container de6878acf82a 18:24:46 ---> 0f886056e6c7 18:24:46 Step 8/10 : WORKDIR /device-rest-go 18:24:46 ---> Running in 21ecea2964e6 18:24:46 Removing intermediate container 21ecea2964e6 18:24:46 ---> 6f168aa2e7b9 18:24:46 Step 9/10 : COPY . . 18:24:47 ---> 8d1cf2d1f49e 18:24:47 Step 10/10 : RUN go mod download 18:24:47 ---> Running in eefcfa2b6e4e 18:24:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:24:46 > git init /w/workspace/device-rest-go/4 # timeout=10 18:24:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:46 > git --version # timeout=10 18:24:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:48 Fetching without tags 18:24:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:48 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:24:48 Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) 18:24:48 go: finding github.com/BurntSushi/toml v0.3.1 18:24:48 go: finding github.com/OneOfOne/xxhash v1.2.6 18:24:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:24:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:24:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:24:48 go: finding github.com/bgentry/speakeasy v0.1.0 18:24:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:24:48 go: finding github.com/davecgh/go-spew v1.1.1 18:24:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:24:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:24:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:24:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:24:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:24:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:24:48 go: finding github.com/fatih/color v1.7.0 18:24:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:24:48 go: finding github.com/go-kit/kit v0.8.0 18:24:48 go: finding github.com/go-logfmt/logfmt v0.4.0 18:24:48 go: finding github.com/go-stack/stack v1.8.0 18:24:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:24:48 go: finding github.com/google/uuid v1.1.0 18:24:48 go: finding github.com/gorilla/mux v1.7.1 18:24:48 go: finding github.com/hashicorp/consul/api v1.1.0 18:24:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:24:48 go: finding github.com/hashicorp/errwrap v1.0.0 18:24:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:24:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:24:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:24:48 go: finding github.com/hashicorp/go-multierror v1.0.0 18:24:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:24:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:24:49 go: finding github.com/hashicorp/go-syslog v1.0.0 18:24:49 go: finding github.com/hashicorp/go-uuid v1.0.1 18:24:49 go: finding github.com/hashicorp/go.net v0.0.1 18:24:49 go: finding github.com/hashicorp/golang-lru v0.5.0 18:24:49 go: finding github.com/hashicorp/logutils v1.0.0 18:24:49 go: finding github.com/hashicorp/mdns v1.0.0 18:24:49 go: finding github.com/hashicorp/memberlist v0.1.3 18:24:49 go: finding github.com/hashicorp/serf v0.8.2 18:24:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:24:49 go: finding github.com/mattn/go-colorable v0.0.9 18:24:49 go: finding github.com/mattn/go-isatty v0.0.3 18:24:49 go: finding github.com/miekg/dns v1.0.14 18:24:49 go: finding github.com/mitchellh/cli v1.0.0 18:24:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:24:49 go: finding github.com/mitchellh/copystructure v1.0.0 18:24:49 go: finding github.com/mitchellh/go-homedir v1.0.0 18:24:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:24:49 go: finding github.com/mitchellh/gox v0.4.0 18:24:49 go: finding github.com/mitchellh/iochan v1.0.0 18:24:49 go: finding github.com/mitchellh/mapstructure v1.1.2 18:24:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:24:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:24:49 go: finding github.com/pelletier/go-toml v1.2.0 18:24:49 go: finding github.com/pkg/errors v0.8.1 18:24:49 go: finding github.com/pmezard/go-difflib v1.0.0 18:24:49 go: finding github.com/posener/complete v1.1.1 18:24:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:24:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:24:49 go: finding github.com/spf13/cast v1.3.0 18:24:49 go: finding github.com/stretchr/objx v0.1.0 18:24:49 go: finding github.com/stretchr/testify v1.5.1 18:24:49 go: finding github.com/ugorji/go v1.1.4 18:24:49 go: finding github.com/x448/float16 v0.8.4 18:24:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:24:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:24:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:24:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:24:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:24:49 go: finding gopkg.in/yaml.v2 v2.2.8 18:24:48 > git config core.sparsecheckout # timeout=10 18:24:48 > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 18:24:53 Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:24:55 ========================================================= 18:24:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:24:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:24:56 + 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 . 18:24:57 Sending build context to Docker daemon 8.04MB 18:24:57 Step 1/10 : ARG BASE=golang:1.13-alpine 18:24:57 Step 2/10 : FROM ${BASE} 18:24:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:24:57 cde5963f3b93: Pulling fs layer 18:24:57 2a23fa8c16f7: Pulling fs layer 18:24:57 777b28850792: Pulling fs layer 18:24:57 8a11ddd9e578: Pulling fs layer 18:24:57 4cf88f913ddb: Pulling fs layer 18:24:57 1df406cf5192: Pulling fs layer 18:24:57 cd6300453558: Pulling fs layer 18:24:57 b9c365052c96: Pulling fs layer 18:24:57 a2d8cc88f415: Pulling fs layer 18:24:57 ea1d1ca13537: Pulling fs layer 18:24:57 3750a50a1c5e: Pulling fs layer 18:24:57 4cf88f913ddb: Waiting 18:24:57 1df406cf5192: Waiting 18:24:57 cd6300453558: Waiting 18:24:57 ea1d1ca13537: Waiting 18:24:57 b9c365052c96: Waiting 18:24:57 3750a50a1c5e: Waiting 18:24:57 a2d8cc88f415: Waiting 18:24:57 8a11ddd9e578: Waiting 18:24:57 777b28850792: Verifying Checksum 18:24:57 777b28850792: Download complete 18:24:57 2a23fa8c16f7: Verifying Checksum 18:24:57 2a23fa8c16f7: Download complete 18:24:57 4cf88f913ddb: Verifying Checksum 18:24:57 4cf88f913ddb: Download complete 18:24:57 1df406cf5192: Verifying Checksum 18:24:57 1df406cf5192: Download complete 18:24:57 cde5963f3b93: Verifying Checksum 18:24:57 Removing intermediate container eefcfa2b6e4e 18:24:57 ---> cfadb1d380c5 18:24:57 Successfully built cfadb1d380c5 18:24:57 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 18:24:58 + docker inspect -f . ci-base-image-x86_64 18:24:58 . [Pipeline] withDockerContainer 18:24:58 prd-centos7-docker-4c-2g-3600 does not seem to be running inside a container 18:24:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-x86_64 cat 18:24:58 cde5963f3b93: Pull complete 18:24:58 2a23fa8c16f7: Pull complete 18:24:59 cd6300453558: Verifying Checksum 18:24:59 cd6300453558: Download complete 18:24:59 a2d8cc88f415: Verifying Checksum 18:24:59 a2d8cc88f415: Download complete 18:24:59 777b28850792: Pull complete 18:24:59 $ docker top 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:59 + go version 18:24:59 go version go1.13.5 linux/amd64 [Pipeline] sh 18:25:00 + make test 18:25:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:25:00 ea1d1ca13537: Verifying Checksum 18:25:00 ea1d1ca13537: Download complete 18:25:00 3750a50a1c5e: Verifying Checksum 18:25:00 3750a50a1c5e: Download complete 18:25:01 ? github.com/edgexfoundry/device-rest-go [no test files] 18:25:02 b9c365052c96: Verifying Checksum 18:25:02 b9c365052c96: Download complete 18:25:03 8a11ddd9e578: Verifying Checksum 18:25:03 8a11ddd9e578: Download complete 18:25:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:25:11 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements 18:25:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:25:13 gofmt -l . 18:25:13 [ "`gofmt -l .`" = "" ] 18:25:13 ./bin/test-go-mod-tidy.sh 18:25:13 ./bin/test-attribution-txt.sh [Pipeline] stash 18:25:13 Stashed 1 file(s) [Pipeline] } 18:25:13 $ docker stop --time=1 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a 18:25:15 8a11ddd9e578: Pull complete 18:25:15 4cf88f913ddb: Pull complete 18:25:15 1df406cf5192: Pull complete 18:25:15 $ docker rm -f 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:17 + ls -al . 18:25:17 total 96 18:25:17 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 18 18:25 . 18:25:17 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 18:24 .. 18:25:17 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 18 18:24 Attribution.txt 18:25:17 drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 18:24 bin 18:25:17 drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 18:24 cmd 18:25:17 -rw-r--r--. 1 jenkins jenkins 9369 Jun 18 18:25 coverage.out 18:25:17 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 18 18:24 Dockerfile 18:25:17 -rw-rw-r--. 1 jenkins jenkins 989 Jun 18 18:24 Dockerfile.build 18:25:17 -rw-rw-r--. 1 jenkins jenkins 151 Jun 18 18:24 .dockerignore 18:25:17 drwxrwxr-x. 2 jenkins jenkins 93 Jun 18 18:25 driver 18:25:17 drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 18:24 .git 18:25:17 -rw-rw-r--. 1 jenkins jenkins 339 Jun 18 18:24 .gitignore 18:25:17 -rw-r--r--. 1 jenkins jenkins 266 Jun 18 18:25 go.mod 18:25:17 -rw-r--r--. 1 jenkins jenkins 12533 Jun 18 18:25 go.sum 18:25:17 -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 18:24 Jenkinsfile 18:25:17 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 18:24 LICENSE 18:25:17 -rw-rw-r--. 1 jenkins jenkins 951 Jun 18 18:24 Makefile 18:25:17 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 18 18:24 README.md 18:25:17 drwxrwxr-x. 3 jenkins jenkins 44 Jun 18 18:24 .semver 18:25:17 drwxrwxr-x. 4 jenkins jenkins 54 Jun 18 18:24 snap 18:25:17 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 18:22 VERSION 18:25:17 -rw-rw-r--. 1 jenkins jenkins 713 Jun 18 18:24 version.go [Pipeline] isUnix [Pipeline] sh 18:25:17 + 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=d86e0ec19fa4789cd7ee7ceff953a09417d716ae --label arch=amd64 --label version=0.0.0 . 18:25:17 Sending build context to Docker daemon 8.052MB 18:25:17 Step 1/24 : ARG BASE=golang:1.13-alpine 18:25:17 Step 2/24 : FROM ${BASE} AS builder 18:25:17 ---> cfadb1d380c5 18:25:17 Step 3/24 : ARG MAKE='make build' 18:25:17 ---> Running in a38ea0cdee86 18:25:17 Removing intermediate container a38ea0cdee86 18:25:17 ---> 1e1b139a9b5d 18:25:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:25:17 ---> Running in d6fe7f368a33 18:25:17 Removing intermediate container d6fe7f368a33 18:25:17 ---> f75533d82891 18:25:17 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:25:17 ---> Running in 74b3dacef47d 18:25:18 Removing intermediate container 74b3dacef47d 18:25:18 ---> 084930e655e1 18:25:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:18 ---> Running in cd3538436ed4 18:25:19 Removing intermediate container cd3538436ed4 18:25:19 ---> a47d58bae4d8 18:25:19 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:19 ---> Running in b5a8b99f3742 18:25:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:25:19 cd6300453558: Pull complete 18:25:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:25:20 OK: 143 MiB in 39 packages 18:25:21 Removing intermediate container b5a8b99f3742 18:25:21 ---> fe454951af03 18:25:21 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:25:21 ---> Running in 25d967fc2d40 18:25:21 Removing intermediate container 25d967fc2d40 18:25:21 ---> 00e15ecd7476 18:25:21 Step 9/24 : COPY go.mod . 18:25:21 ---> 8d9d1eaed1c3 18:25:21 Step 10/24 : COPY Makefile . 18:25:21 ---> 7def4265c157 18:25:21 Step 11/24 : RUN make update 18:25:21 ---> Running in c10e4e022881 18:25:22 CGO_ENABLED=0 GO111MODULE=on go mod download 18:25:22 Removing intermediate container c10e4e022881 18:25:22 ---> 24777587dee4 18:25:22 Step 12/24 : COPY . . 18:25:22 ---> 1f56c6c6f38d 18:25:22 Step 13/24 : RUN $MAKE 18:25:23 ---> Running in 569f8bb3cc4e 18:25:23 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 18:25:24 b9c365052c96: Pull complete 18:25:24 a2d8cc88f415: Pull complete 18:25:26 ea1d1ca13537: Pull complete 18:25:26 3750a50a1c5e: Pull complete 18:25:26 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:25:26 ---> 78745c68409d 18:25:26 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:25:32 ---> Running in 72db0ac8250a 18:25:32 Removing intermediate container 72db0ac8250a 18:25:32 ---> c06dbdbdd831 18:25:32 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:25:32 ---> Running in dcc12a3de46e 18:25:32 Removing intermediate container dcc12a3de46e 18:25:32 ---> 78da6f86f635 18:25:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:25:33 ---> Running in 8431c9d2ac43 18:25:33 Removing intermediate container 8431c9d2ac43 18:25:33 ---> 782c170c4ab3 18:25:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:33 ---> Running in c58040113242 18:25:35 Removing intermediate container 569f8bb3cc4e 18:25:35 ---> b8915c2620ec 18:25:35 Step 14/24 : FROM alpine:latest 18:25:35 latest: Pulling from library/alpine 18:25:35 df20fa9351a1: Pulling fs layer 18:25:35 df20fa9351a1: Verifying Checksum 18:25:35 df20fa9351a1: Download complete 18:25:35 df20fa9351a1: Pull complete 18:25:35 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:25:35 Status: Downloaded newer image for alpine:latest 18:25:35 ---> a24bb4013296 18:25:35 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:25:35 ---> Running in 9e5d6d0f4111 18:25:35 Removing intermediate container 9e5d6d0f4111 18:25:35 ---> d06ba27c9982 18:25:35 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:25:35 ---> Running in 3fa4af974c99 18:25:35 Removing intermediate container 3fa4af974c99 18:25:35 ---> 20ac7f915b8c 18:25:35 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:25:35 ---> 701afdfdbf78 18:25:35 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:25:35 ---> 96bff46f828c 18:25:35 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:25:36 Removing intermediate container c58040113242 18:25:36 ---> 4ab16f56128c 18:25:36 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:36 ---> Running in 238abb4601c1 18:25:36 ---> 3286f87b80fe 18:25:36 Step 20/24 : EXPOSE 49986 18:25:36 ---> Running in d3ea542c7b3d 18:25:36 Removing intermediate container d3ea542c7b3d 18:25:36 ---> b17c95671f43 18:25:36 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:25:36 ---> Running in 157167d04bff 18:25:36 Removing intermediate container 157167d04bff 18:25:36 ---> adb3e4ab27d3 18:25:36 Step 22/24 : LABEL arch=amd64 18:25:36 ---> Running in f46d17342a20 18:25:37 Removing intermediate container f46d17342a20 18:25:37 ---> 1b4842ea0453 18:25:37 Step 23/24 : LABEL git_sha=d86e0ec19fa4789cd7ee7ceff953a09417d716ae 18:25:37 ---> Running in f52eabee714a 18:25:37 Removing intermediate container f52eabee714a 18:25:37 ---> 9cddd140a3f8 18:25:37 Step 24/24 : LABEL version=0.0.0 18:25:37 ---> Running in 6630a1be774a 18:25:37 Removing intermediate container 6630a1be774a 18:25:37 ---> a4acbe3e2f27 18:25:37 [Warning] One or more build-args [ARCH] were not consumed 18:25:37 Successfully built a4acbe3e2f27 18:25:37 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 18:25:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:25:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:25:39 OK: 125 MiB in 39 packages 18:25:40 Removing intermediate container 238abb4601c1 18:25:40 ---> 02cbc95611e4 18:25:40 Step 8/10 : WORKDIR /device-rest-go 18:25:40 ---> Running in 27d186477ce7 18:25:40 Removing intermediate container 27d186477ce7 18:25:40 ---> 6844bc99c0e0 18:25:40 Step 9/10 : COPY . . 18:25:41 ---> 838067c6d1a1 18:25:41 Step 10/10 : RUN go mod download 18:25:42 ---> Running in 07312b436338 18:25:44 go: finding github.com/BurntSushi/toml v0.3.1 18:25:44 go: finding github.com/OneOfOne/xxhash v1.2.6 18:25:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:25:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:25:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:25:44 go: finding github.com/bgentry/speakeasy v0.1.0 18:25:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:25:44 go: finding github.com/davecgh/go-spew v1.1.1 18:25:44 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:25:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:25:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:25:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:25:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:25:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:25:44 go: finding github.com/fatih/color v1.7.0 18:25:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:25:44 go: finding github.com/go-kit/kit v0.8.0 18:25:44 go: finding github.com/go-logfmt/logfmt v0.4.0 18:25:44 go: finding github.com/go-stack/stack v1.8.0 18:25:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:25:44 go: finding github.com/google/uuid v1.1.0 18:25:44 go: finding github.com/gorilla/mux v1.7.1 18:25:44 go: finding github.com/hashicorp/consul/api v1.1.0 18:25:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:25:44 go: finding github.com/hashicorp/errwrap v1.0.0 18:25:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:25:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:25:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:25:44 go: finding github.com/hashicorp/go-multierror v1.0.0 18:25:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:25:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:25:44 go: finding github.com/hashicorp/go-syslog v1.0.0 18:25:44 go: finding github.com/hashicorp/go-uuid v1.0.1 18:25:44 go: finding github.com/hashicorp/go.net v0.0.1 18:25:44 go: finding github.com/hashicorp/golang-lru v0.5.0 18:25:44 go: finding github.com/hashicorp/logutils v1.0.0 18:25:44 go: finding github.com/hashicorp/mdns v1.0.0 18:25:44 go: finding github.com/hashicorp/memberlist v0.1.3 18:25:44 go: finding github.com/hashicorp/serf v0.8.2 18:25:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:25:44 go: finding github.com/mattn/go-colorable v0.0.9 18:25:44 go: finding github.com/mattn/go-isatty v0.0.3 18:25:44 go: finding github.com/miekg/dns v1.0.14 18:25:44 go: finding github.com/mitchellh/cli v1.0.0 18:25:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:25:44 go: finding github.com/mitchellh/copystructure v1.0.0 18:25:44 go: finding github.com/mitchellh/go-homedir v1.0.0 18:25:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:25:44 go: finding github.com/mitchellh/gox v0.4.0 18:25:45 go: finding github.com/mitchellh/iochan v1.0.0 18:25:45 go: finding github.com/mitchellh/mapstructure v1.1.2 18:25:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:25:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:25:45 go: finding github.com/pelletier/go-toml v1.2.0 18:25:45 go: finding github.com/pkg/errors v0.8.1 18:25:45 go: finding github.com/pmezard/go-difflib v1.0.0 18:25:45 go: finding github.com/posener/complete v1.1.1 18:25:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:25:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:25:45 go: finding github.com/spf13/cast v1.3.0 18:25:45 go: finding github.com/stretchr/objx v0.1.0 18:25:45 go: finding github.com/stretchr/testify v1.5.1 18:25:45 go: finding github.com/ugorji/go v1.1.4 18:25:45 go: finding github.com/x448/float16 v0.8.4 18:25:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:25:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:25:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:25:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:25:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:25:45 go: finding gopkg.in/yaml.v2 v2.2.8 18:25:55 Removing intermediate container 07312b436338 18:25:55 ---> f529b0e8506c 18:25:55 Successfully built f529b0e8506c 18:25:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:25:55 + docker inspect -f . ci-base-image-arm64 18:25:55 . [Pipeline] withDockerContainer 18:25:56 prd-ubuntu18.04-docker-arm64-4c-16g-3599 does not seem to be running inside a container 18:25:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat 18:25:57 $ docker top 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:59 + go version 18:25:59 go version go1.13.5 linux/arm64 [Pipeline] sh 18:26:00 + make test 18:26:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:26:01 ? github.com/edgexfoundry/device-rest-go [no test files] 18:26:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:26:33 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 56.3% of statements 18:26:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:26:37 gofmt -l . 18:26:37 [ "`gofmt -l .`" = "" ] 18:26:37 ./bin/test-go-mod-tidy.sh 18:26:37 ./bin/test-attribution-txt.sh [Pipeline] stash 18:26:37 Warning: overwriting stash ‘coverage-report’ 18:26:38 Stashed 1 file(s) [Pipeline] } 18:26:38 $ docker stop --time=1 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 18:26:40 $ docker rm -f 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:41 + ls -al . 18:26:41 total 124 18:26:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:26 . 18:26:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:24 .. 18:26:41 -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 18:24 .dockerignore 18:26:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:24 .git 18:26:41 -rw-rw-r-- 1 jenkins jenkins 339 Jun 18 18:24 .gitignore 18:26:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:24 .semver 18:26:41 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 18 18:24 Attribution.txt 18:26:41 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 18 18:24 Dockerfile 18:26:41 -rw-rw-r-- 1 jenkins jenkins 989 Jun 18 18:24 Dockerfile.build 18:26:41 -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 18:24 Jenkinsfile 18:26:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 18:24 LICENSE 18:26:41 -rw-rw-r-- 1 jenkins jenkins 951 Jun 18 18:24 Makefile 18:26:41 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 18 18:24 README.md 18:26:41 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 18:22 VERSION 18:26:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:24 bin 18:26:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:24 cmd 18:26:41 -rw-r--r-- 1 jenkins jenkins 9369 Jun 18 18:26 coverage.out 18:26:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:26 driver 18:26:41 -rw-r--r-- 1 jenkins jenkins 266 Jun 18 18:26 go.mod 18:26:41 -rw-r--r-- 1 jenkins jenkins 12533 Jun 18 18:26 go.sum 18:26:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:24 snap 18:26:41 -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 18:24 version.go [Pipeline] isUnix [Pipeline] sh 18:26:42 + 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=d86e0ec19fa4789cd7ee7ceff953a09417d716ae --label arch=arm64 --label version=0.0.0 . 18:26:42 Sending build context to Docker daemon 8.052MB 18:26:42 Step 1/24 : ARG BASE=golang:1.13-alpine 18:26:42 Step 2/24 : FROM ${BASE} AS builder 18:26:42 ---> f529b0e8506c 18:26:42 Step 3/24 : ARG MAKE='make build' 18:26:42 ---> Running in d8cfa5063e98 18:26:43 Removing intermediate container d8cfa5063e98 18:26:43 ---> 3188f70ed9ff 18:26:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:26:43 ---> Running in c5d3a0c617a7 18:26:43 Removing intermediate container c5d3a0c617a7 18:26:43 ---> b4d5849a2153 18:26:43 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:26:43 ---> Running in 46147a10b68e 18:26:44 Removing intermediate container 46147a10b68e 18:26:44 ---> 6c1cb059f14f 18:26:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:44 ---> Running in 4e147e1efcfc 18:26:47 Removing intermediate container 4e147e1efcfc 18:26:47 ---> c9dde4b2157d 18:26:47 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:47 ---> Running in c7263dcc5eb9 18:26:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:26:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:26:49 OK: 125 MiB in 39 packages 18:26:50 Removing intermediate container c7263dcc5eb9 18:26:50 ---> 8007536d4376 18:26:50 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:26:50 ---> Running in 61378882d3ee 18:26:51 Removing intermediate container 61378882d3ee 18:26:51 ---> 24db0a9a0296 18:26:51 Step 9/24 : COPY go.mod . 18:26:52 ---> ed335c9bcd26 18:26:52 Step 10/24 : COPY Makefile . 18:26:52 ---> 9b75a8ccf8a6 18:26:52 Step 11/24 : RUN make update 18:26:52 ---> Running in 3695e897a529 18:26:54 CGO_ENABLED=0 GO111MODULE=on go mod download 18:26:55 Removing intermediate container 3695e897a529 18:26:55 ---> fe366b3faf18 18:26:55 Step 12/24 : COPY . . 18:26:56 ---> 4714dce85f1c 18:26:56 Step 13/24 : RUN $MAKE 18:26:56 ---> Running in 40c7e7ece201 18:26:58 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 18:27:24 Removing intermediate container 40c7e7ece201 18:27:24 ---> c1e032a2c952 18:27:24 Step 14/24 : FROM alpine:latest 18:27:24 latest: Pulling from library/alpine 18:27:24 b538f80385f9: Pulling fs layer 18:27:24 b538f80385f9: Verifying Checksum 18:27:24 b538f80385f9: Download complete 18:27:25 b538f80385f9: Pull complete 18:27:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:27:25 Status: Downloaded newer image for alpine:latest 18:27:25 ---> 62ee0e9f8440 18:27:25 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:27:25 ---> Running in 39a463f5b9c5 18:27:25 Removing intermediate container 39a463f5b9c5 18:27:25 ---> 8a4d221dc583 18:27:25 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:27:26 ---> Running in bc5a786723e5 18:27:26 Removing intermediate container bc5a786723e5 18:27:26 ---> 1d85a57815e8 18:27:26 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:27:27 ---> c893b4d8ed3b 18:27:27 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:27:27 ---> 950d2fdb3c74 18:27:27 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:27:29 ---> d723976edf9e 18:27:29 Step 20/24 : EXPOSE 49986 18:27:29 ---> Running in 056a4b1c9349 18:27:29 Removing intermediate container 056a4b1c9349 18:27:29 ---> f568cd10f311 18:27:29 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:27:29 ---> Running in 2a868e26be21 18:27:30 Removing intermediate container 2a868e26be21 18:27:30 ---> 15b108832f85 18:27:30 Step 22/24 : LABEL arch=arm64 18:27:30 ---> Running in 6839eff2cdb1 18:27:31 Removing intermediate container 6839eff2cdb1 18:27:31 ---> 75d9545e397a 18:27:31 Step 23/24 : LABEL git_sha=d86e0ec19fa4789cd7ee7ceff953a09417d716ae 18:27:31 ---> Running in f09330a19c91 18:27:31 Removing intermediate container f09330a19c91 18:27:31 ---> 819d4a366a6c 18:27:31 Step 24/24 : LABEL version=0.0.0 18:27:31 ---> Running in c1e70febc41f 18:27:31 Removing intermediate container c1e70febc41f 18:27:31 ---> 5e46cb9b0312 18:27:31 [Warning] One or more build-args [ARCH] were not consumed 18:27:31 Successfully built 5e46cb9b0312 18:27:31 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 18:27:32 provisioning config files... 18:27:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config8996122317047593087tmp [Pipeline] { [Pipeline] sh 18:27:32 + curl -s https://codecov.io/bash 18:27:32 + bash -s - -t @/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config8996122317047593087tmp 18:27:33 18:27:33 _____ _ 18:27:33 / ____| | | 18:27:33 | | ___ __| | ___ ___ _____ __ 18:27:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:27:33 | |___| (_) | (_| | __/ (_| (_) \ V / 18:27:33 \_____\___/ \__,_|\___|\___\___/ \_/ 18:27:33 Bash-20200602-f809a24 18:27:33 18:27:33 18:27:33 ==> Jenkins CI detected. 18:27:33 project root: . 18:27:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:27:33 ==> Running gcov in . (disable via -X gcov) 18:27:33 ==> Python coveragepy not found 18:27:33 ==> Searching for coverage reports in: 18:27:33 + . 18:27:33 -> Found 1 reports 18:27:33 ==> Detecting git/mercurial file structure 18:27:33 ==> Reading reports 18:27:33 + ./coverage.out bytes=9369 18:27:33 ==> Appending adjustments 18:27:33 https://docs.codecov.io/docs/fixing-reports 18:27:33 + Found adjustments 18:27:33 ==> Gzipping contents 18:27:33 ==> Uploading reports 18:27:33 url: https://codecov.io 18:27:33 query: branch=snap&commit=d86e0ec19fa4789cd7ee7ceff953a09417d716ae&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:27:33 -> Pinging Codecov 18:27:33 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=snap&commit=d86e0ec19fa4789cd7ee7ceff953a09417d716ae&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:27:34 -> Uploading 18:27:34 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d86e0ec19fa4789cd7ee7ceff953a09417d716ae [Pipeline] } 18:27:34 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 18:27:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:27:36 ---> package-listing.sh 18:27:36 ++ facter osfamily 18:27:36 ++ tr '[:upper:]' '[:lower:]' 18:27:36 + OS_FAMILY=redhat 18:27:36 + workspace=/w/workspace/edgexfoundry_device-rest-go_snap 18:27:36 + START_PACKAGES=/tmp/packages_start.txt 18:27:36 + END_PACKAGES=/tmp/packages_end.txt 18:27:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:27:36 + PACKAGES=/tmp/packages_start.txt 18:27:36 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:27:36 + PACKAGES=/tmp/packages_end.txt 18:27:36 + case "${OS_FAMILY}" in 18:27:36 + rpm -qa 18:27:36 + sort 18:27:40 + '[' -f /tmp/packages_start.txt ']' 18:27:40 + '[' -f /tmp/packages_end.txt ']' 18:27:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:27:40 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:27:40 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ 18:27:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [Pipeline] isUnix [Pipeline] sh 18:27:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:27:40 18:27:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:27:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:27:40 alpine: Pulling from edgex-lftools-log-publisher 18:27:40 c9b1b535fdd9: Pulling fs layer 18:27:40 2cc5ad85d9ab: Pulling fs layer 18:27:40 756a868c4378: Pulling fs layer 18:27:40 444b2fc9a129: Pulling fs layer 18:27:40 ea15f1150254: Pulling fs layer 18:27:40 41b27a9f41bf: Pulling fs layer 18:27:40 28c525ee5125: Pulling fs layer 18:27:40 094b1ea09ed8: Pulling fs layer 18:27:40 138eaada9080: Pulling fs layer 18:27:40 0622d0fa9048: Pulling fs layer 18:27:40 28c525ee5125: Waiting 18:27:40 094b1ea09ed8: Waiting 18:27:40 0622d0fa9048: Waiting 18:27:40 444b2fc9a129: Waiting 18:27:40 ea15f1150254: Waiting 18:27:40 41b27a9f41bf: Waiting 18:27:40 138eaada9080: Waiting 18:27:40 2cc5ad85d9ab: Verifying Checksum 18:27:40 2cc5ad85d9ab: Download complete 18:27:40 444b2fc9a129: Verifying Checksum 18:27:40 444b2fc9a129: Download complete 18:27:40 c9b1b535fdd9: Verifying Checksum 18:27:40 c9b1b535fdd9: Download complete 18:27:40 ea15f1150254: Verifying Checksum 18:27:40 ea15f1150254: Download complete 18:27:41 28c525ee5125: Verifying Checksum 18:27:41 28c525ee5125: Download complete 18:27:41 756a868c4378: Verifying Checksum 18:27:41 756a868c4378: Download complete 18:27:41 c9b1b535fdd9: Pull complete 18:27:41 138eaada9080: Verifying Checksum 18:27:41 138eaada9080: Download complete 18:27:41 0622d0fa9048: Download complete 18:27:41 094b1ea09ed8: Verifying Checksum 18:27:41 094b1ea09ed8: Download complete 18:27:41 2cc5ad85d9ab: Pull complete 18:27:42 41b27a9f41bf: Verifying Checksum 18:27:42 41b27a9f41bf: Download complete 18:27:42 756a868c4378: Pull complete 18:27:43 444b2fc9a129: Pull complete 18:27:43 ea15f1150254: Pull complete 18:27:47 41b27a9f41bf: Pull complete 18:27:47 28c525ee5125: Pull complete 18:27:49 094b1ea09ed8: Pull complete 18:27:50 138eaada9080: Pull complete 18:27:50 0622d0fa9048: Pull complete 18:27:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:27:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:27:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:27:50 prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container 18:27:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:27:55 $ docker top 371045246ff53b284312e8b8407aa10811c2953920107c7f2ce3738eef3ddc72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:55 provisioning config files... 18:27:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config2797929960616605288tmp [Pipeline] { [Pipeline] echo 18:27:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:27:55 ---> create-netrc.sh [Pipeline] echo 18:27:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:27:56 ---> logs-deploy.sh 18:27:56 + ARCHIVE_ARTIFACTS= 18:27:56 + LOGS_SERVER=https://logs.edgexfoundry.org 18:27:56 + '[' https://logs.edgexfoundry.org == None ']' 18:27:56 + NEXUS_URL=https://nexus.edgexfoundry.org 18:27:56 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 18:27:56 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/4/ 18:27:56 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 /w/workspace/edgexfoundry_device-rest-go_snap 18:27:57 Archives upload complete. 18:27:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/4/