Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44d29830d52e322790143f809155a22bedb1a813 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2700’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2710’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2712 in /w/workspace/gexfoundry_device-rest-go_master [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/gexfoundry_device-rest-go_master # 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/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" > git rev-list --no-walk 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:54 ========================================================= 05:42:54 EdgeX Global Pipelines Version Info 05:42:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:56 ------------------- 05:42:56 stable info: 05:42:56 ------------------- 05:42:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:56 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:42:56 Message: update stable to v1.0.89 05:42:57 ------------------- 05:42:57 experimental info: 05:42:57 ------------------- 05:42:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:42:57 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:42:57 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 05:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:43:00 05:43:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:43:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:43:00 latest: Pulling from edgex-devops/git-semver 05:43:00 9123ac7c32f7: Pulling fs layer 05:43:00 b8cc5d1170e3: Pulling fs layer 05:43:00 2924cbbf6a41: Pulling fs layer 05:43:00 93b08a4f1073: Pulling fs layer 05:43:00 93b08a4f1073: Waiting 05:43:00 b8cc5d1170e3: Verifying Checksum 05:43:00 b8cc5d1170e3: Download complete 05:43:00 9123ac7c32f7: Verifying Checksum 05:43:00 9123ac7c32f7: Download complete 05:43:01 93b08a4f1073: Verifying Checksum 05:43:01 93b08a4f1073: Download complete 05:43:01 2924cbbf6a41: Verifying Checksum 05:43:01 2924cbbf6a41: Download complete 05:43:01 9123ac7c32f7: Pull complete 05:43:01 b8cc5d1170e3: Pull complete 05:43:03 2924cbbf6a41: Pull complete 05:43:03 93b08a4f1073: Pull complete 05:43:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:43:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:43:03 prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container 05:43:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 05:43:06 $ docker top 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:06 [ssh-agent] Looking for ssh-agent implementation... 05:43:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:06 $ docker exec 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent 05:43:06 SSH_AUTH_SOCK=/tmp/ssh-XyrFVvDIdbmM/agent.11 05:43:06 SSH_AGENT_PID=16 05:43:06 Running ssh-add (command line suppressed) 05:43:07 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7191972142118583973.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7191972142118583973.key) 05:43:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:07 + git describe --exact-match --tags HEAD 05:43:07 fatal: No names found, cannot describe anything. [Pipeline] } 05:43:08 $ docker exec --env ******** --env ******** 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent -k 05:43:08 unset SSH_AUTH_SOCK; 05:43:08 unset SSH_AGENT_PID; 05:43:08 echo Agent pid 16 killed; 05:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:43:08 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:43:08 This usually means this commit has not been tagged. [Pipeline] sshagent 05:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:08 [ssh-agent] Looking for ssh-agent implementation... 05:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:08 $ docker exec 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent 05:43:09 SSH_AUTH_SOCK=/tmp/ssh-xuEf4dYiH70w/agent.45 05:43:09 SSH_AGENT_PID=51 05:43:09 Running ssh-add (command line suppressed) 05:43:09 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_693502475962021292.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_693502475962021292.key) 05:43:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:10 + git semver init 05:43:10 # -> Open(): unable to determine branch for HEAD 05:43:10 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 05:43:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 05:43:10 # $SEMVER_REMOTE_NAME = origin 05:43:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:43:10 # $SEMVER_USER_NAME = edgex-jenkins 05:43:10 # $SEMVER_BRANCH = master 05:43:10 # $SEMVER_TEMP = /tmp/semver-340797237 05:43:10 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 05:43:11 # '/tmp/semver-340797237' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 05:43:11 # -> Force: false 05:43:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 05:43:11 $ docker exec --env ******** --env ******** 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent -k 05:43:11 unset SSH_AUTH_SOCK; 05:43:11 unset SSH_AGENT_PID; 05:43:11 echo Agent pid 51 killed; 05:43:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:12 + git semver [Pipeline] } 05:43:12 $ docker stop --time=1 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 05:43:13 $ docker rm -f 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:43:15 Stashed 17 file(s) [Pipeline] echo 05:43:15 [edgeXSemver] initialized semver on version 1.1.1-dev.1 [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 05:43:19 Running on prd-centos7-docker-4c-2g-2716 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 05:43:19 Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout 05:43:22 using credential edgex-jenkins-ssh 05:43:22 Cloning the remote Git repository 05:43:22 Cloning with configured refspecs honoured and without tags 05:43:23 Fetching without tags 05:43:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:43:22 > git init /w/workspace/device-rest-go/8 # timeout=10 05:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:43:22 > git --version # timeout=10 05:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:43:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:43:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:43:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:23 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 05:43:23 > git config core.sparsecheckout # timeout=10 05:43:23 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 05:43:27 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:43:28 ========================================================= 05:43:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:43:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:43:29 + 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 . 05:43:29 Sending build context to Docker daemon 8.01MB 05:43:29 Step 1/10 : ARG BASE=golang:1.13-alpine 05:43:29 Step 2/10 : FROM ${BASE} 05:43:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:29 e6b0cf9c0882: Pulling fs layer 05:43:29 2848faf0eed1: Pulling fs layer 05:43:29 0f37312ad70f: Pulling fs layer 05:43:29 5788d62ee057: Pulling fs layer 05:43:29 0e6b1d234666: Pulling fs layer 05:43:29 bf5d7aec512f: Pulling fs layer 05:43:29 34c802a77dc8: Pulling fs layer 05:43:29 9eb99e56ec68: Pulling fs layer 05:43:29 27c7a5d97fbd: Pulling fs layer 05:43:29 5c102a31e300: Pulling fs layer 05:43:29 5788d62ee057: Waiting 05:43:29 bf5d7aec512f: Waiting 05:43:29 34c802a77dc8: Waiting 05:43:29 0e6b1d234666: Waiting 05:43:29 9eb99e56ec68: Waiting 05:43:29 5c102a31e300: Waiting 05:43:29 27c7a5d97fbd: Waiting 05:43:29 dcfb455df0a1: Pulling fs layer 05:43:29 dcfb455df0a1: Waiting 05:43:29 0f37312ad70f: Verifying Checksum 05:43:29 0f37312ad70f: Download complete 05:43:29 2848faf0eed1: Download complete 05:43:29 0e6b1d234666: Download complete 05:43:29 bf5d7aec512f: Verifying Checksum 05:43:29 bf5d7aec512f: Download complete 05:43:29 e6b0cf9c0882: Verifying Checksum 05:43:29 e6b0cf9c0882: Download complete 05:43:29 e6b0cf9c0882: Pull complete 05:43:30 34c802a77dc8: Verifying Checksum 05:43:30 34c802a77dc8: Download complete 05:43:30 27c7a5d97fbd: Verifying Checksum 05:43:30 27c7a5d97fbd: Download complete 05:43:30 Still waiting to schedule task 05:43:30 ‘prd-centos7-blackbox-4c-2g-2700’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2715’ is offline 05:43:30 5c102a31e300: Verifying Checksum 05:43:30 5c102a31e300: Download complete 05:43:30 dcfb455df0a1: Verifying Checksum 05:43:30 dcfb455df0a1: Download complete 05:43:31 5788d62ee057: Verifying Checksum 05:43:31 5788d62ee057: Download complete 05:43:31 9eb99e56ec68: Verifying Checksum 05:43:31 9eb99e56ec68: Download complete 05:43:31 2848faf0eed1: Pull complete 05:43:31 0f37312ad70f: Pull complete 05:43:38 5788d62ee057: Pull complete 05:43:38 0e6b1d234666: Pull complete 05:43:38 bf5d7aec512f: Pull complete 05:43:43 34c802a77dc8: Pull complete 05:43:46 9eb99e56ec68: Pull complete 05:43:46 27c7a5d97fbd: Pull complete 05:43:47 5c102a31e300: Pull complete 05:43:47 dcfb455df0a1: Pull complete 05:43:47 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:43:47 ---> 7c70fe431013 05:43:47 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:43:48 ---> Running in 366672c5ccfd 05:43:48 Removing intermediate container 366672c5ccfd 05:43:48 ---> 027f4a88f1d9 05:43:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:43:48 ---> Running in ac3dfea16675 05:43:48 Removing intermediate container ac3dfea16675 05:43:48 ---> b3da26a98168 05:43:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:43:48 ---> Running in db9fba6c6b74 05:43:48 Removing intermediate container db9fba6c6b74 05:43:48 ---> 89148be34636 05:43:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:48 ---> Running in bad83afee0a5 05:43:50 Removing intermediate container bad83afee0a5 05:43:50 ---> 46fa79e3847c 05:43:50 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:43:50 ---> Running in e2286f25ec1c 05:43:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:43:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:43:52 OK: 143 MiB in 39 packages 05:43:53 Removing intermediate container e2286f25ec1c 05:43:53 ---> 72fc5deeda4b 05:43:53 Step 8/10 : WORKDIR /device-rest-go 05:43:53 ---> Running in 3e937a9adf88 05:43:53 Removing intermediate container 3e937a9adf88 05:43:53 ---> 15863c607d85 05:43:53 Step 9/10 : COPY . . 05:43:53 ---> 4c36be57ddbf 05:43:53 Step 10/10 : RUN go mod download 05:43:53 ---> Running in c6dd17ed5032 05:43:55 go: finding github.com/BurntSushi/toml v0.3.1 05:43:55 go: finding github.com/OneOfOne/xxhash v1.2.6 05:43:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:43:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:43:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:43:55 go: finding github.com/bgentry/speakeasy v0.1.0 05:43:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:43:55 go: finding github.com/davecgh/go-spew v1.1.1 05:43:55 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:43:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:43:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:43:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:43:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:43:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:43:55 go: finding github.com/fatih/color v1.7.0 05:43:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:43:55 go: finding github.com/go-kit/kit v0.8.0 05:43:55 go: finding github.com/go-logfmt/logfmt v0.4.0 05:43:55 go: finding github.com/go-stack/stack v1.8.0 05:43:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:43:55 go: finding github.com/google/uuid v1.1.0 05:43:55 go: finding github.com/gorilla/mux v1.7.1 05:43:55 go: finding github.com/hashicorp/consul/api v1.1.0 05:43:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:43:55 go: finding github.com/hashicorp/errwrap v1.0.0 05:43:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:43:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:43:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:43:55 go: finding github.com/hashicorp/go-multierror v1.0.0 05:43:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:43:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:43:55 go: finding github.com/hashicorp/go-syslog v1.0.0 05:43:55 go: finding github.com/hashicorp/go-uuid v1.0.1 05:43:55 go: finding github.com/hashicorp/go.net v0.0.1 05:43:55 go: finding github.com/hashicorp/golang-lru v0.5.0 05:43:55 go: finding github.com/hashicorp/logutils v1.0.0 05:43:55 go: finding github.com/hashicorp/mdns v1.0.0 05:43:55 go: finding github.com/hashicorp/memberlist v0.1.3 05:43:55 go: finding github.com/hashicorp/serf v0.8.2 05:43:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:43:55 go: finding github.com/mattn/go-colorable v0.0.9 05:43:55 go: finding github.com/mattn/go-isatty v0.0.3 05:43:55 go: finding github.com/miekg/dns v1.0.14 05:43:55 go: finding github.com/mitchellh/cli v1.0.0 05:43:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:43:55 go: finding github.com/mitchellh/copystructure v1.0.0 05:43:55 go: finding github.com/mitchellh/go-homedir v1.0.0 05:43:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:43:55 go: finding github.com/mitchellh/gox v0.4.0 05:43:55 go: finding github.com/mitchellh/iochan v1.0.0 05:43:55 go: finding github.com/mitchellh/mapstructure v1.1.2 05:43:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:43:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:43:56 go: finding github.com/pelletier/go-toml v1.2.0 05:43:56 go: finding github.com/pkg/errors v0.8.1 05:43:56 go: finding github.com/pmezard/go-difflib v1.0.0 05:43:56 go: finding github.com/posener/complete v1.1.1 05:43:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:43:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:43:56 go: finding github.com/spf13/cast v1.3.0 05:43:56 go: finding github.com/stretchr/objx v0.1.0 05:43:56 go: finding github.com/stretchr/testify v1.5.1 05:43:56 go: finding github.com/ugorji/go v1.1.4 05:43:56 go: finding github.com/x448/float16 v0.8.4 05:43:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:43:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:43:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:43:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:43:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:43:56 go: finding gopkg.in/yaml.v2 v2.2.8 05:44:04 Removing intermediate container c6dd17ed5032 05:44:04 ---> c2ea008b120b 05:44:04 Successfully built c2ea008b120b 05:44:04 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 05:44:04 + docker inspect -f . ci-base-image-x86_64 05:44:04 . [Pipeline] withDockerContainer 05:44:04 prd-centos7-docker-4c-2g-2716 does not seem to be running inside a container 05:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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 ******** ci-base-image-x86_64 cat 05:44:06 $ docker top 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:06 + go version 05:44:06 go version go1.13.5 linux/amd64 [Pipeline] sh 05:44:07 + make test 05:44:07 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:44:07 ? github.com/edgexfoundry/device-rest-go [no test files] 05:44:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:44:17 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 05:44:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:44:19 gofmt -l . 05:44:19 [ "`gofmt -l .`" = "" ] 05:44:19 ./bin/test-go-mod-tidy.sh 05:44:20 ./bin/test-attribution-txt.sh [Pipeline] stash 05:44:20 Stashed 1 file(s) [Pipeline] } 05:44:20 $ docker stop --time=1 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 05:44:22 $ docker rm -f 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:24 + ls -al . 05:44:24 total 96 05:44:24 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 12 05:44 . 05:44:24 drwxrwxr-x. 4 jenkins jenkins 28 Jun 12 05:43 .. 05:44:24 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 12 05:43 Attribution.txt 05:44:24 drwxrwxr-x. 2 jenkins jenkins 64 Jun 12 05:43 bin 05:44:24 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:43 cmd 05:44:24 -rw-r--r--. 1 jenkins jenkins 9369 Jun 12 05:44 coverage.out 05:44:24 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 12 05:43 Dockerfile 05:44:24 -rw-rw-r--. 1 jenkins jenkins 989 Jun 12 05:43 Dockerfile.build 05:44:24 -rw-rw-r--. 1 jenkins jenkins 151 Jun 12 05:43 .dockerignore 05:44:24 drwxrwxr-x. 2 jenkins jenkins 93 Jun 12 05:44 driver 05:44:24 drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 05:43 .git 05:44:24 -rw-rw-r--. 1 jenkins jenkins 339 Jun 12 05:43 .gitignore 05:44:24 -rw-r--r--. 1 jenkins jenkins 266 Jun 12 05:44 go.mod 05:44:24 -rw-r--r--. 1 jenkins jenkins 12533 Jun 12 05:44 go.sum 05:44:24 -rw-rw-r--. 1 jenkins jenkins 702 Jun 12 05:43 Jenkinsfile 05:44:24 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 05:43 LICENSE 05:44:24 -rw-rw-r--. 1 jenkins jenkins 951 Jun 12 05:43 Makefile 05:44:24 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 12 05:43 README.md 05:44:24 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:43 .semver 05:44:24 -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 05:43 VERSION 05:44:24 -rw-rw-r--. 1 jenkins jenkins 713 Jun 12 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:44:24 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=44d29830d52e322790143f809155a22bedb1a813 --label arch=amd64 --label version=1.1.1-dev.1 . 05:44:24 Sending build context to Docker daemon 8.022MB 05:44:24 Step 1/24 : ARG BASE=golang:1.13-alpine 05:44:24 Step 2/24 : FROM ${BASE} AS builder 05:44:24 ---> c2ea008b120b 05:44:24 Step 3/24 : ARG MAKE='make build' 05:44:24 ---> Running in 740663e3929c 05:44:24 Removing intermediate container 740663e3929c 05:44:24 ---> ee1894727fc8 05:44:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 05:44:25 ---> Running in d4f126ac9046 05:44:25 Removing intermediate container d4f126ac9046 05:44:25 ---> 7ad72dfda6ae 05:44:25 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:44:25 ---> Running in 05fa4b2d821e 05:44:25 Removing intermediate container 05fa4b2d821e 05:44:25 ---> 435b13f2c816 05:44:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:25 ---> Running in 2f3c1b126367 05:44:26 Removing intermediate container 2f3c1b126367 05:44:26 ---> 4647ede63098 05:44:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:26 ---> Running in 35e6fd42560c 05:44:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:44:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:44:29 OK: 143 MiB in 39 packages 05:44:30 Removing intermediate container 35e6fd42560c 05:44:30 ---> eb3ccafb4206 05:44:30 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:44:30 ---> Running in bda916d95418 05:44:30 Removing intermediate container bda916d95418 05:44:30 ---> 8f5443e1382c 05:44:30 Step 9/24 : COPY go.mod . 05:44:30 ---> ce6d985068d0 05:44:30 Step 10/24 : COPY Makefile . 05:44:30 ---> bc9ee5746a57 05:44:30 Step 11/24 : RUN make update 05:44:31 ---> Running in b09966288d43 05:44:31 CGO_ENABLED=0 GO111MODULE=on go mod download 05:44:32 Removing intermediate container b09966288d43 05:44:32 ---> d14a8dee821b 05:44:32 Step 12/24 : COPY . . 05:44:32 ---> 2df1736d3b46 05:44:32 Step 13/24 : RUN $MAKE 05:44:32 ---> Running in 00fc77de3475 05:44:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd 05:44:45 Removing intermediate container 00fc77de3475 05:44:45 ---> 9ee94d0b49d2 05:44:45 Step 14/24 : FROM alpine:latest 05:44:45 latest: Pulling from library/alpine 05:44:45 df20fa9351a1: Pulling fs layer 05:44:45 df20fa9351a1: Verifying Checksum 05:44:45 df20fa9351a1: Download complete 05:44:45 df20fa9351a1: Pull complete 05:44:45 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:44:45 Status: Downloaded newer image for alpine:latest 05:44:45 ---> a24bb4013296 05:44:45 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:44:45 ---> Running in 0277090b19c5 05:44:45 Removing intermediate container 0277090b19c5 05:44:45 ---> af6c2a0bfeb1 05:44:45 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 05:44:45 ---> Running in eb9010f0183a 05:44:45 Removing intermediate container eb9010f0183a 05:44:45 ---> 0b36d8444a83 05:44:45 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:44:45 ---> e1f506d1bcf2 05:44:45 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:44:45 ---> d7a1802be3b6 05:44:45 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:44:45 ---> dd2671738b17 05:44:45 Step 20/24 : EXPOSE 49986 05:44:45 ---> Running in 7f6943fade41 05:44:46 Removing intermediate container 7f6943fade41 05:44:46 ---> 4ee8aaa6715a 05:44:46 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:44:46 ---> Running in 685e239d47cd 05:44:46 Removing intermediate container 685e239d47cd 05:44:46 ---> f4204bfd38ef 05:44:46 Step 22/24 : LABEL arch=amd64 05:44:46 ---> Running in a3641c2d1f45 05:44:46 Removing intermediate container a3641c2d1f45 05:44:46 ---> ccbefff17822 05:44:46 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 05:44:46 ---> Running in 973793cdf23b 05:44:46 Removing intermediate container 973793cdf23b 05:44:46 ---> d9c0b7081ad5 05:44:46 Step 24/24 : LABEL version=1.1.1-dev.1 05:44:46 ---> Running in aab862412848 05:44:46 Removing intermediate container aab862412848 05:44:46 ---> f81af983b186 05:44:46 [Warning] One or more build-args [ARCH] were not consumed 05:44:46 Successfully built f81af983b186 05:44:46 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:44:47 provisioning config files... 05:44:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config8748305929048497717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:47 nexus3.edgexfoundry.org:10001 05:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:47 Configure a credential helper to remove this warning. See 05:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:47 05:44:47 Login Succeeded 05:44:47 nexus3.edgexfoundry.org:10002 05:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:47 Configure a credential helper to remove this warning. See 05:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:47 05:44:47 Login Succeeded 05:44:47 nexus3.edgexfoundry.org:10003 05:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:47 Configure a credential helper to remove this warning. See 05:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:47 05:44:47 Login Succeeded 05:44:47 nexus3.edgexfoundry.org:10004 05:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:48 Configure a credential helper to remove this warning. See 05:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:48 05:44:48 Login Succeeded 05:44:48 docker.io 05:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:48 Configure a credential helper to remove this warning. See 05:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:48 05:44:48 Login Succeeded [Pipeline] } 05:44:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:48 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 05:44:48 44d29830d52e322790143f809155a22bedb1a813 05:44:48 latest 05:44:48 1.1.1-dev.1 05:44:48 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 05:44:48 master 05:44:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:48 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 05:44:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 05:44:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 05:44:49 b9a7e6972010: Preparing 05:44:49 f5aeac6f027e: Preparing 05:44:49 0cf666516123: Preparing 05:44:49 50644c29ef5a: Preparing 05:44:49 50644c29ef5a: Layer already exists 05:44:49 0cf666516123: Pushed 05:44:49 f5aeac6f027e: Pushed 05:44:50 b9a7e6972010: Pushed 05:44:50 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh 05:44:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 05:44:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 05:44:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 05:44:51 b9a7e6972010: Preparing 05:44:51 f5aeac6f027e: Preparing 05:44:51 0cf666516123: Preparing 05:44:51 50644c29ef5a: Preparing 05:44:51 0cf666516123: Layer already exists 05:44:51 f5aeac6f027e: Layer already exists 05:44:51 b9a7e6972010: Layer already exists 05:44:51 50644c29ef5a: Layer already exists 05:44:51 latest: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh 05:44:51 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:44:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 05:44:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 05:44:51 b9a7e6972010: Preparing 05:44:51 f5aeac6f027e: Preparing 05:44:51 0cf666516123: Preparing 05:44:51 50644c29ef5a: Preparing 05:44:51 0cf666516123: Layer already exists 05:44:51 f5aeac6f027e: Layer already exists 05:44:51 50644c29ef5a: Layer already exists 05:44:51 b9a7e6972010: Layer already exists 05:44:51 1.1.1-dev.1: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh 05:44:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:44:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 05:44:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 05:44:52 b9a7e6972010: Preparing 05:44:52 f5aeac6f027e: Preparing 05:44:52 0cf666516123: Preparing 05:44:52 50644c29ef5a: Preparing 05:44:52 b9a7e6972010: Layer already exists 05:44:52 0cf666516123: Layer already exists 05:44:52 f5aeac6f027e: Layer already exists 05:44:52 50644c29ef5a: Layer already exists 05:44:52 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh 05:44:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 05:44:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 05:44:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 05:44:53 b9a7e6972010: Preparing 05:44:53 f5aeac6f027e: Preparing 05:44:53 0cf666516123: Preparing 05:44:53 50644c29ef5a: Preparing 05:44:53 f5aeac6f027e: Layer already exists 05:44:53 50644c29ef5a: Layer already exists 05:44:53 b9a7e6972010: Layer already exists 05:44:53 0cf666516123: Layer already exists 05:44:53 master: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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] } 05:45:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2718 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 05:45:16 Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout 05:45:22 using credential edgex-jenkins-ssh 05:45:22 Cloning the remote Git repository 05:45:22 Cloning with configured refspecs honoured and without tags 05:45:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:45:22 > git init /w/workspace/device-rest-go/8 # timeout=10 05:45:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:45:22 > git --version # timeout=10 05:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:24 Fetching without tags 05:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:45:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:45:24 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 05:45:24 > git config core.sparsecheckout # timeout=10 05:45:24 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 05:45:29 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:45:31 ========================================================= 05:45:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:45:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:45:32 + 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 . 05:45:32 Sending build context to Docker daemon 8.01MB 05:45:33 Step 1/10 : ARG BASE=golang:1.13-alpine 05:45:33 Step 2/10 : FROM ${BASE} 05:45:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:45:33 cde5963f3b93: Pulling fs layer 05:45:33 2a23fa8c16f7: Pulling fs layer 05:45:33 777b28850792: Pulling fs layer 05:45:33 8a11ddd9e578: Pulling fs layer 05:45:33 4cf88f913ddb: Pulling fs layer 05:45:33 1df406cf5192: Pulling fs layer 05:45:33 cd6300453558: Pulling fs layer 05:45:33 b9c365052c96: Pulling fs layer 05:45:33 a2d8cc88f415: Pulling fs layer 05:45:33 ea1d1ca13537: Pulling fs layer 05:45:33 3750a50a1c5e: Pulling fs layer 05:45:33 b9c365052c96: Waiting 05:45:33 8a11ddd9e578: Waiting 05:45:33 4cf88f913ddb: Waiting 05:45:33 a2d8cc88f415: Waiting 05:45:33 1df406cf5192: Waiting 05:45:33 ea1d1ca13537: Waiting 05:45:33 cd6300453558: Waiting 05:45:33 3750a50a1c5e: Waiting 05:45:33 777b28850792: Verifying Checksum 05:45:33 777b28850792: Download complete 05:45:33 2a23fa8c16f7: Verifying Checksum 05:45:33 2a23fa8c16f7: Download complete 05:45:33 4cf88f913ddb: Verifying Checksum 05:45:33 4cf88f913ddb: Download complete 05:45:33 1df406cf5192: Verifying Checksum 05:45:33 1df406cf5192: Download complete 05:45:33 cde5963f3b93: Verifying Checksum 05:45:33 cde5963f3b93: Download complete 05:45:34 cde5963f3b93: Pull complete 05:45:34 2a23fa8c16f7: Pull complete 05:45:35 777b28850792: Pull complete 05:45:35 cd6300453558: Verifying Checksum 05:45:35 cd6300453558: Download complete 05:45:35 a2d8cc88f415: Verifying Checksum 05:45:35 a2d8cc88f415: Download complete 05:45:39 ea1d1ca13537: Download complete 05:45:39 3750a50a1c5e: Verifying Checksum 05:45:39 3750a50a1c5e: Download complete 05:45:39 8a11ddd9e578: Download complete 05:45:39 b9c365052c96: Verifying Checksum 05:45:39 b9c365052c96: Download complete 05:45:51 8a11ddd9e578: Pull complete 05:45:51 4cf88f913ddb: Pull complete 05:45:51 1df406cf5192: Pull complete 05:45:56 cd6300453558: Pull complete 05:46:00 b9c365052c96: Pull complete 05:46:00 a2d8cc88f415: Pull complete 05:46:03 ea1d1ca13537: Pull complete 05:46:03 3750a50a1c5e: Pull complete 05:46:03 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:46:03 ---> 78745c68409d 05:46:03 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:46:08 ---> Running in 5b5ff99fc505 05:46:08 Removing intermediate container 5b5ff99fc505 05:46:08 ---> 9515d67b66bf 05:46:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:46:08 ---> Running in da1e3d02481e 05:46:08 Removing intermediate container da1e3d02481e 05:46:08 ---> a5ad9997c9a2 05:46:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:46:08 ---> Running in b924d889d974 05:46:09 Removing intermediate container b924d889d974 05:46:09 ---> 2656dae80959 05:46:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:46:09 ---> Running in 0ce4b5d04d6d 05:46:12 Removing intermediate container 0ce4b5d04d6d 05:46:12 ---> f5f09e841d66 05:46:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:46:12 ---> Running in b29723dd49d5 05:46:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:46:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:46:15 OK: 125 MiB in 39 packages 05:46:16 Removing intermediate container b29723dd49d5 05:46:16 ---> dc62b8b050bd 05:46:16 Step 8/10 : WORKDIR /device-rest-go 05:46:17 ---> Running in 20baeb0ee5b0 05:46:17 Removing intermediate container 20baeb0ee5b0 05:46:17 ---> 1310f8f8550d 05:46:17 Step 9/10 : COPY . . 05:46:18 ---> 26230f114f87 05:46:18 Step 10/10 : RUN go mod download 05:46:18 ---> Running in 22a8c747dbe1 05:46:21 go: finding github.com/BurntSushi/toml v0.3.1 05:46:21 go: finding github.com/OneOfOne/xxhash v1.2.6 05:46:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:46:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:46:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:46:21 go: finding github.com/bgentry/speakeasy v0.1.0 05:46:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:46:21 go: finding github.com/davecgh/go-spew v1.1.1 05:46:21 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:46:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:46:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:46:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:46:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:46:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:46:21 go: finding github.com/fatih/color v1.7.0 05:46:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:46:21 go: finding github.com/go-kit/kit v0.8.0 05:46:21 go: finding github.com/go-logfmt/logfmt v0.4.0 05:46:21 go: finding github.com/go-stack/stack v1.8.0 05:46:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:46:21 go: finding github.com/google/uuid v1.1.0 05:46:21 go: finding github.com/gorilla/mux v1.7.1 05:46:21 go: finding github.com/hashicorp/consul/api v1.1.0 05:46:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:46:21 go: finding github.com/hashicorp/errwrap v1.0.0 05:46:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:46:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:46:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:46:21 go: finding github.com/hashicorp/go-multierror v1.0.0 05:46:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:46:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:46:21 go: finding github.com/hashicorp/go-syslog v1.0.0 05:46:21 go: finding github.com/hashicorp/go-uuid v1.0.1 05:46:21 go: finding github.com/hashicorp/go.net v0.0.1 05:46:21 go: finding github.com/hashicorp/golang-lru v0.5.0 05:46:21 go: finding github.com/hashicorp/logutils v1.0.0 05:46:21 go: finding github.com/hashicorp/mdns v1.0.0 05:46:21 go: finding github.com/hashicorp/memberlist v0.1.3 05:46:21 go: finding github.com/hashicorp/serf v0.8.2 05:46:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:46:21 go: finding github.com/mattn/go-colorable v0.0.9 05:46:21 go: finding github.com/mattn/go-isatty v0.0.3 05:46:21 go: finding github.com/miekg/dns v1.0.14 05:46:21 go: finding github.com/mitchellh/cli v1.0.0 05:46:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:46:21 go: finding github.com/mitchellh/copystructure v1.0.0 05:46:21 go: finding github.com/mitchellh/go-homedir v1.0.0 05:46:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:46:21 go: finding github.com/mitchellh/gox v0.4.0 05:46:21 go: finding github.com/mitchellh/iochan v1.0.0 05:46:21 go: finding github.com/mitchellh/mapstructure v1.1.2 05:46:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:46:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:46:21 go: finding github.com/pelletier/go-toml v1.2.0 05:46:21 go: finding github.com/pkg/errors v0.8.1 05:46:21 go: finding github.com/pmezard/go-difflib v1.0.0 05:46:21 go: finding github.com/posener/complete v1.1.1 05:46:21 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:46:21 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:46:21 go: finding github.com/spf13/cast v1.3.0 05:46:21 go: finding github.com/stretchr/objx v0.1.0 05:46:21 go: finding github.com/stretchr/testify v1.5.1 05:46:21 go: finding github.com/ugorji/go v1.1.4 05:46:21 go: finding github.com/x448/float16 v0.8.4 05:46:21 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:46:21 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:46:21 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:46:21 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:46:21 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:46:21 go: finding gopkg.in/yaml.v2 v2.2.8 05:46:30 Removing intermediate container 22a8c747dbe1 05:46:30 ---> 36deee2b3ba2 05:46:30 Successfully built 36deee2b3ba2 05:46:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:30 + docker inspect -f . ci-base-image-arm64 05:46:30 . [Pipeline] withDockerContainer 05:46:30 prd-ubuntu18.04-docker-arm64-4c-16g-2718 does not seem to be running inside a container 05:46:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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 ******** ci-base-image-arm64 cat 05:46:32 $ docker top 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:33 + go version 05:46:33 go version go1.13.5 linux/arm64 [Pipeline] sh 05:46:35 + make test 05:46:35 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:46:36 ? github.com/edgexfoundry/device-rest-go [no test files] 05:47:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:47:04 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 05:47:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:47:10 gofmt -l . 05:47:11 [ "`gofmt -l .`" = "" ] 05:47:11 ./bin/test-go-mod-tidy.sh 05:47:11 ./bin/test-attribution-txt.sh [Pipeline] stash 05:47:12 Warning: overwriting stash ‘coverage-report’ 05:47:12 Stashed 1 file(s) [Pipeline] } 05:47:12 $ docker stop --time=1 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 05:47:15 $ docker rm -f 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:16 + ls -al . 05:47:16 total 120 05:47:16 drwxrwxr-x 7 jenkins jenkins 4096 Jun 12 05:47 . 05:47:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:45 .. 05:47:16 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 05:45 .dockerignore 05:47:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:45 .git 05:47:16 -rw-rw-r-- 1 jenkins jenkins 339 Jun 12 05:45 .gitignore 05:47:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:45 .semver 05:47:16 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 12 05:45 Attribution.txt 05:47:16 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 12 05:45 Dockerfile 05:47:16 -rw-rw-r-- 1 jenkins jenkins 989 Jun 12 05:45 Dockerfile.build 05:47:16 -rw-rw-r-- 1 jenkins jenkins 702 Jun 12 05:45 Jenkinsfile 05:47:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 05:45 LICENSE 05:47:16 -rw-rw-r-- 1 jenkins jenkins 951 Jun 12 05:45 Makefile 05:47:16 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 12 05:45 README.md 05:47:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 05:43 VERSION 05:47:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:45 bin 05:47:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:45 cmd 05:47:16 -rw-r--r-- 1 jenkins jenkins 9369 Jun 12 05:47 coverage.out 05:47:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:47 driver 05:47:16 -rw-r--r-- 1 jenkins jenkins 266 Jun 12 05:47 go.mod 05:47:16 -rw-r--r-- 1 jenkins jenkins 12533 Jun 12 05:47 go.sum 05:47:16 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 05:45 version.go [Pipeline] isUnix [Pipeline] sh 05:47:16 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=44d29830d52e322790143f809155a22bedb1a813 --label arch=arm64 --label version=1.1.1-dev.1 . 05:47:17 Sending build context to Docker daemon 8.022MB 05:47:17 Step 1/24 : ARG BASE=golang:1.13-alpine 05:47:17 Step 2/24 : FROM ${BASE} AS builder 05:47:17 ---> 36deee2b3ba2 05:47:17 Step 3/24 : ARG MAKE='make build' 05:47:17 ---> Running in b2b3a55758fc 05:47:17 Removing intermediate container b2b3a55758fc 05:47:17 ---> 2447e83e651b 05:47:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 05:47:17 ---> Running in 5bb3d0a5863a 05:47:18 Removing intermediate container 5bb3d0a5863a 05:47:18 ---> 6b94cf540b2c 05:47:18 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:47:18 ---> Running in bc523831bd54 05:47:18 Removing intermediate container bc523831bd54 05:47:18 ---> ab27bf53f5db 05:47:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:47:19 ---> Running in d22eea929d11 05:47:21 Removing intermediate container d22eea929d11 05:47:21 ---> 11afbce2be3f 05:47:21 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:47:21 ---> Running in d7dedbc0299d 05:47:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:47:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:47:24 OK: 125 MiB in 39 packages 05:47:25 Removing intermediate container d7dedbc0299d 05:47:25 ---> 9820114c0679 05:47:25 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:47:25 ---> Running in 6e33ce0ca303 05:47:26 Removing intermediate container 6e33ce0ca303 05:47:26 ---> ed40a61cc196 05:47:26 Step 9/24 : COPY go.mod . 05:47:26 ---> afde46ca3911 05:47:26 Step 10/24 : COPY Makefile . 05:47:27 ---> 2631b743337a 05:47:27 Step 11/24 : RUN make update 05:47:27 ---> Running in 63f241c12d82 05:47:29 CGO_ENABLED=0 GO111MODULE=on go mod download 05:47:30 Removing intermediate container 63f241c12d82 05:47:30 ---> 0ca00f3dec0a 05:47:30 Step 12/24 : COPY . . 05:47:31 ---> e860a48335d5 05:47:31 Step 13/24 : RUN $MAKE 05:47:31 ---> Running in af58d51088f3 05:47:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd 05:48:00 Removing intermediate container af58d51088f3 05:48:00 ---> c2309305c459 05:48:00 Step 14/24 : FROM alpine:latest 05:48:00 latest: Pulling from library/alpine 05:48:00 b538f80385f9: Pulling fs layer 05:48:00 b538f80385f9: Verifying Checksum 05:48:00 b538f80385f9: Download complete 05:48:00 b538f80385f9: Pull complete 05:48:00 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:48:00 Status: Downloaded newer image for alpine:latest 05:48:00 ---> 62ee0e9f8440 05:48:00 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:48:01 ---> Running in 508155c68aab 05:48:01 Removing intermediate container 508155c68aab 05:48:01 ---> 83167aa1eecd 05:48:01 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 05:48:01 ---> Running in 94c600042691 05:48:01 Removing intermediate container 94c600042691 05:48:01 ---> 10d2eb6e13c1 05:48:01 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:48:02 ---> 0edd3ced74e4 05:48:02 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:48:03 ---> 179fa1fe4f44 05:48:03 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:48:04 ---> cddc093d5d45 05:48:04 Step 20/24 : EXPOSE 49986 05:48:04 ---> Running in eb4779049450 05:48:05 Removing intermediate container eb4779049450 05:48:05 ---> da175332d84e 05:48:05 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:48:05 ---> Running in f7e2ffbf675a 05:48:05 Removing intermediate container f7e2ffbf675a 05:48:05 ---> 066b6fc6bdc4 05:48:05 Step 22/24 : LABEL arch=arm64 05:48:05 ---> Running in 86b93f638123 05:48:06 Removing intermediate container 86b93f638123 05:48:06 ---> 6316112de715 05:48:06 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 05:48:06 ---> Running in 2a0b9ef7b066 05:48:06 Removing intermediate container 2a0b9ef7b066 05:48:06 ---> eeb97f1fb801 05:48:06 Step 24/24 : LABEL version=1.1.1-dev.1 05:48:07 ---> Running in 0edcc3ec390e 05:48:07 Removing intermediate container 0edcc3ec390e 05:48:07 ---> 75276a0de9fa 05:48:07 [Warning] One or more build-args [ARCH] were not consumed 05:48:07 Successfully built 75276a0de9fa 05:48:07 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:07 provisioning config files... 05:48:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config1946723358468749187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:08 nexus3.edgexfoundry.org:10001 05:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:08 Configure a credential helper to remove this warning. See 05:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:08 05:48:08 Login Succeeded 05:48:08 nexus3.edgexfoundry.org:10002 05:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:09 Configure a credential helper to remove this warning. See 05:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:09 05:48:09 Login Succeeded 05:48:09 nexus3.edgexfoundry.org:10003 05:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:09 Configure a credential helper to remove this warning. See 05:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:09 05:48:09 Login Succeeded 05:48:09 nexus3.edgexfoundry.org:10004 05:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:10 Configure a credential helper to remove this warning. See 05:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:10 05:48:10 Login Succeeded 05:48:10 docker.io 05:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:11 Configure a credential helper to remove this warning. See 05:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:11 05:48:11 Login Succeeded [Pipeline] } 05:48:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:48:11 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 05:48:11 44d29830d52e322790143f809155a22bedb1a813 05:48:11 latest 05:48:11 1.1.1-dev.1 05:48:11 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 05:48:11 master 05:48:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:48:11 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 05:48:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 05:48:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 05:48:12 4e74413b32df: Preparing 05:48:12 150a1725e6e1: Preparing 05:48:12 12fab45ad836: Preparing 05:48:12 e2f13739ad41: Preparing 05:48:12 e2f13739ad41: Layer already exists 05:48:12 12fab45ad836: Pushed 05:48:12 150a1725e6e1: Pushed 05:48:15 4e74413b32df: Pushed 05:48:15 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 05:48:16 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:48:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 05:48:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 05:48:16 4e74413b32df: Preparing 05:48:16 150a1725e6e1: Preparing 05:48:16 12fab45ad836: Preparing 05:48:16 e2f13739ad41: Preparing 05:48:16 150a1725e6e1: Layer already exists 05:48:16 12fab45ad836: Layer already exists 05:48:16 4e74413b32df: Layer already exists 05:48:16 e2f13739ad41: Layer already exists 05:48:16 latest: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 05:48:17 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:48:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 05:48:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 05:48:17 4e74413b32df: Preparing 05:48:17 150a1725e6e1: Preparing 05:48:17 12fab45ad836: Preparing 05:48:17 e2f13739ad41: Preparing 05:48:17 12fab45ad836: Layer already exists 05:48:17 150a1725e6e1: Layer already exists 05:48:17 e2f13739ad41: Layer already exists 05:48:17 4e74413b32df: Layer already exists 05:48:17 1.1.1-dev.1: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 05:48:18 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:48:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 05:48:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 05:48:18 4e74413b32df: Preparing 05:48:18 150a1725e6e1: Preparing 05:48:18 12fab45ad836: Preparing 05:48:18 e2f13739ad41: Preparing 05:48:18 e2f13739ad41: Layer already exists 05:48:18 12fab45ad836: Layer already exists 05:48:18 4e74413b32df: Layer already exists 05:48:18 150a1725e6e1: Layer already exists 05:48:18 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 05:48:19 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 05:48:19 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 05:48:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 05:48:19 4e74413b32df: Preparing 05:48:19 150a1725e6e1: Preparing 05:48:19 12fab45ad836: Preparing 05:48:19 e2f13739ad41: Preparing 05:48:19 e2f13739ad41: Layer already exists 05:48:19 150a1725e6e1: Layer already exists 05:48:19 4e74413b32df: Layer already exists 05:48:19 12fab45ad836: Layer already exists 05:48:19 master: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 05:48:20 provisioning config files... 05:48:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2413889431110866698tmp [Pipeline] { [Pipeline] sh 05:48:20 + curl -s https://codecov.io/bash 05:48:20 + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config2413889431110866698tmp 05:48:21 05:48:21 _____ _ 05:48:21 / ____| | | 05:48:21 | | ___ __| | ___ ___ _____ __ 05:48:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:48:21 | |___| (_) | (_| | __/ (_| (_) \ V / 05:48:21 \_____\___/ \__,_|\___|\___\___/ \_/ 05:48:21 Bash-20200602-f809a24 05:48:21 05:48:21 05:48:21 ==> Jenkins CI detected. 05:48:21 project root: . 05:48:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:48:21 ==> Running gcov in . (disable via -X gcov) 05:48:21 ==> Python coveragepy not found 05:48:21 ==> Searching for coverage reports in: 05:48:21 + . 05:48:21 -> Found 1 reports 05:48:21 ==> Detecting git/mercurial file structure 05:48:21 ==> Reading reports 05:48:21 + ./coverage.out bytes=9369 05:48:21 ==> Appending adjustments 05:48:21 https://docs.codecov.io/docs/fixing-reports 05:48:21 + Found adjustments 05:48:21 ==> Gzipping contents 05:48:21 ==> Uploading reports 05:48:21 url: https://codecov.io 05:48:21 query: branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 05:48:21 -> Pinging Codecov 05:48:21 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 05:48:22 -> Uploading 05:48:22 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/44d29830d52e322790143f809155a22bedb1a813 [Pipeline] } 05:48:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:48:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:48:22 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:48:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:48:23 05:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 05:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:48:23 1.317.0: Pulling from edgex-devops/edgex-snyk-go 05:48:23 cbdbe7a5bc2a: Pulling fs layer 05:48:23 408f87550127: Pulling fs layer 05:48:23 fe522b08c979: Pulling fs layer 05:48:23 221eaa008020: Pulling fs layer 05:48:23 2a4607e5d6b9: Pulling fs layer 05:48:23 8f79b27c4fd2: Pulling fs layer 05:48:23 e5c8dbe1645b: Pulling fs layer 05:48:23 23e8b3b47431: Pulling fs layer 05:48:23 5c568d65a230: Pulling fs layer 05:48:23 8f79b27c4fd2: Waiting 05:48:23 e5c8dbe1645b: Waiting 05:48:23 23e8b3b47431: Waiting 05:48:23 5c568d65a230: Waiting 05:48:23 221eaa008020: Waiting 05:48:23 2a4607e5d6b9: Waiting 05:48:23 fe522b08c979: Verifying Checksum 05:48:23 fe522b08c979: Download complete 05:48:23 408f87550127: Verifying Checksum 05:48:23 408f87550127: Download complete 05:48:23 2a4607e5d6b9: Verifying Checksum 05:48:23 2a4607e5d6b9: Download complete 05:48:23 8f79b27c4fd2: Verifying Checksum 05:48:23 8f79b27c4fd2: Download complete 05:48:23 cbdbe7a5bc2a: Verifying Checksum 05:48:24 cbdbe7a5bc2a: Pull complete 05:48:24 e5c8dbe1645b: Verifying Checksum 05:48:24 e5c8dbe1645b: Download complete 05:48:24 408f87550127: Pull complete 05:48:25 fe522b08c979: Pull complete 05:48:25 23e8b3b47431: Verifying Checksum 05:48:25 23e8b3b47431: Download complete 05:48:26 5c568d65a230: Verifying Checksum 05:48:26 5c568d65a230: Download complete 05:48:26 221eaa008020: Verifying Checksum 05:48:26 221eaa008020: Download complete 05:48:37 221eaa008020: Pull complete 05:48:37 2a4607e5d6b9: Pull complete 05:48:37 8f79b27c4fd2: Pull complete 05:48:39 e5c8dbe1645b: Pull complete 05:48:43 23e8b3b47431: Pull complete 05:48:44 5c568d65a230: Pull complete 05:48:44 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 05:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:48:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 05:48:45 prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container 05:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 05:48:46 $ docker top c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:46 + snyk monitor '--org=edgex-jenkins' 05:48:53 05:48:53 Monitoring /w/workspace/gexfoundry_device-rest-go_master... 05:48:53 05:48:53 Server returned unexpected error for the monitor request. Status code: 503 05:48:53 [Pipeline] } 05:48:53 $ docker stop --time=1 c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb 05:48:55 $ docker rm -f c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:48:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:48:57 ---> package-listing.sh 05:48:57 ++ facter osfamily 05:48:57 ++ tr '[:upper:]' '[:lower:]' 05:48:57 + OS_FAMILY=redhat 05:48:57 + workspace=/w/workspace/gexfoundry_device-rest-go_master 05:48:57 + START_PACKAGES=/tmp/packages_start.txt 05:48:57 + END_PACKAGES=/tmp/packages_end.txt 05:48:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:48:57 + PACKAGES=/tmp/packages_start.txt 05:48:57 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 05:48:57 + PACKAGES=/tmp/packages_end.txt 05:48:57 + case "${OS_FAMILY}" in 05:48:57 + rpm -qa 05:48:57 + sort 05:49:02 + '[' -f /tmp/packages_start.txt ']' 05:49:02 + '[' -f /tmp/packages_end.txt ']' 05:49:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:49:02 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 05:49:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 05:49:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 05:49:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:49:02 05:49:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:49:03 alpine: Pulling from edgex-lftools-log-publisher 05:49:03 c9b1b535fdd9: Pulling fs layer 05:49:03 2cc5ad85d9ab: Pulling fs layer 05:49:03 756a868c4378: Pulling fs layer 05:49:03 444b2fc9a129: Pulling fs layer 05:49:03 ea15f1150254: Pulling fs layer 05:49:03 41b27a9f41bf: Pulling fs layer 05:49:03 28c525ee5125: Pulling fs layer 05:49:03 094b1ea09ed8: Pulling fs layer 05:49:03 138eaada9080: Pulling fs layer 05:49:03 0622d0fa9048: Pulling fs layer 05:49:03 444b2fc9a129: Waiting 05:49:03 ea15f1150254: Waiting 05:49:03 41b27a9f41bf: Waiting 05:49:03 28c525ee5125: Waiting 05:49:03 094b1ea09ed8: Waiting 05:49:03 138eaada9080: Waiting 05:49:03 0622d0fa9048: Waiting 05:49:03 2cc5ad85d9ab: Download complete 05:49:03 444b2fc9a129: Verifying Checksum 05:49:03 444b2fc9a129: Download complete 05:49:03 c9b1b535fdd9: Verifying Checksum 05:49:03 c9b1b535fdd9: Download complete 05:49:03 ea15f1150254: Verifying Checksum 05:49:03 ea15f1150254: Download complete 05:49:03 c9b1b535fdd9: Pull complete 05:49:04 28c525ee5125: Verifying Checksum 05:49:04 28c525ee5125: Download complete 05:49:04 2cc5ad85d9ab: Pull complete 05:49:04 756a868c4378: Download complete 05:49:04 138eaada9080: Verifying Checksum 05:49:04 138eaada9080: Download complete 05:49:04 0622d0fa9048: Verifying Checksum 05:49:04 0622d0fa9048: Download complete 05:49:04 094b1ea09ed8: Verifying Checksum 05:49:04 094b1ea09ed8: Download complete 05:49:05 41b27a9f41bf: Verifying Checksum 05:49:05 41b27a9f41bf: Download complete 05:49:06 756a868c4378: Pull complete 05:49:06 444b2fc9a129: Pull complete 05:49:07 ea15f1150254: Pull complete 05:49:11 41b27a9f41bf: Pull complete 05:49:11 28c525ee5125: Pull complete 05:49:15 094b1ea09ed8: Pull complete 05:49:15 138eaada9080: Pull complete 05:49:15 0622d0fa9048: Pull complete 05:49:15 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:49:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:49:16 prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container 05:49:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 05:49:19 $ docker top 4edfa4ff98bce3797bd354d9b1a0cb70a6cbe7fda3519c5a3aafbccb6bcb9693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:49:19 provisioning config files... 05:49:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8059198362005890405tmp [Pipeline] { [Pipeline] echo 05:49:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:49:20 ---> create-netrc.sh [Pipeline] echo 05:49:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:49:20 ---> logs-deploy.sh 05:49:20 + ARCHIVE_ARTIFACTS= 05:49:20 + LOGS_SERVER=https://logs.edgexfoundry.org 05:49:20 + '[' https://logs.edgexfoundry.org == None ']' 05:49:20 + NEXUS_URL=https://nexus.edgexfoundry.org 05:49:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 05:49:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/8/ 05:49:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 /w/workspace/gexfoundry_device-rest-go_master 05:49:22 Archives upload complete. 05:49:22 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/8/