Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0321eff746caf521aae414dfef1a132bb590057a Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3588 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 Fetching without tags > 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 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 Checking out Revision 0321eff746caf521aae414dfef1a132bb590057a (snap) > git config core.sparsecheckout # timeout=10 > git checkout -f 0321eff746caf521aae414dfef1a132bb590057a # timeout=10 Commit message: "Adding other device profiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:59:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:59:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:59:58 ========================================================= 17:59:58 EdgeX Global Pipelines Version Info 17:59:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:00:01 ------------------- 18:00:01 stable info: 18:00:01 ------------------- 18:00:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:00:01 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:00:01 Message: update stable to v1.0.89 18:00:02 ------------------- 18:00:02 experimental info: 18:00:02 ------------------- 18:00:02 Commited By: **** collab-it+edgex@linuxfoundation.org 18:00:02 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:00:02 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:00:04 18:00:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:00:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:00:05 latest: Pulling from edgex-devops/git-semver 18:00:05 9123ac7c32f7: Pulling fs layer 18:00:05 b8cc5d1170e3: Pulling fs layer 18:00:05 2924cbbf6a41: Pulling fs layer 18:00:05 93b08a4f1073: Pulling fs layer 18:00:05 93b08a4f1073: Waiting 18:00:05 b8cc5d1170e3: Verifying Checksum 18:00:05 b8cc5d1170e3: Download complete 18:00:05 9123ac7c32f7: Verifying Checksum 18:00:05 9123ac7c32f7: Download complete 18:00:05 93b08a4f1073: Verifying Checksum 18:00:05 93b08a4f1073: Download complete 18:00:06 2924cbbf6a41: Verifying Checksum 18:00:06 2924cbbf6a41: Download complete 18:00:06 9123ac7c32f7: Pull complete 18:00:06 b8cc5d1170e3: Pull complete 18:00:09 2924cbbf6a41: Pull complete 18:00:09 93b08a4f1073: Pull complete 18:00:09 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:00:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:00:09 prd-centos7-docker-4c-2g-3588 does not seem to be running inside a container 18:00:09 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:00:12 $ docker top 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:00:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:13 [ssh-agent] Looking for ssh-agent implementation... 18:00:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:13 $ docker exec 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b ssh-agent 18:00:14 SSH_AUTH_SOCK=/tmp/ssh-iH9UXUfqPMfH/agent.12 18:00:14 SSH_AGENT_PID=17 18:00:14 Running ssh-add (command line suppressed) 18:00:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_8792139274929720852.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_8792139274929720852.key) 18:00:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:15 + git describe --exact-match --tags HEAD 18:00:15 fatal: No names found, cannot describe anything. [Pipeline] } 18:00:15 $ docker exec --env ******** --env ******** 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b ssh-agent -k 18:00:15 unset SSH_AUTH_SOCK; 18:00:15 unset SSH_AGENT_PID; 18:00:15 echo Agent pid 17 killed; 18:00:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:00:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:00:15 This usually means this commit has not been tagged. [Pipeline] sshagent 18:00:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:15 [ssh-agent] Looking for ssh-agent implementation... 18:00:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:15 $ docker exec 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b ssh-agent 18:00:16 SSH_AUTH_SOCK=/tmp/ssh-0P4EFckUK5c6/agent.46 18:00:16 SSH_AGENT_PID=52 18:00:16 Running ssh-add (command line suppressed) 18:00:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_2534683928302313734.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_2534683928302313734.key) 18:00:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:16 + git semver init 18:00:16 # -> Open(): unable to determine branch for HEAD 18:00:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.git 18:00:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_snap 18:00:16 # $SEMVER_REMOTE_NAME = origin 18:00:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:00:16 # $SEMVER_USER_NAME = edgex-jenkins 18:00:16 # $SEMVER_BRANCH = snap 18:00:16 # $SEMVER_TEMP = /tmp/semver-161878092 18:00:16 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:00:18 # '/tmp/semver-161878092' -> '/w/workspace/edgexfoundry_device-rest-go_snap/.semver' 18:00:18 # -> Force: false 18:00:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.semver [Pipeline] } 18:00:18 $ docker exec --env ******** --env ******** 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b ssh-agent -k 18:00:18 unset SSH_AUTH_SOCK; 18:00:18 unset SSH_AGENT_PID; 18:00:18 echo Agent pid 52 killed; 18:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:00:19 + git semver [Pipeline] } 18:00:19 $ docker stop --time=1 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b 18:00:20 $ docker rm -f 14a2cd601eb9e73fbb92a050bc63da3873f241217da3a7de9e95b1a6c8ee581b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:00:22 Stashed 24 file(s) [Pipeline] echo 18:00:22 [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:00:38 Still waiting to schedule task 18:00:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3588’ 18:00:38 Still waiting to schedule task 18:00:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:02:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3589 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:02:15 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 18:02:19 using credential edgex-jenkins-ssh 18:02:19 Cloning the remote Git repository 18:02:19 Cloning with configured refspecs honoured and without tags 18:02:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:02:19 > git init /w/workspace/device-rest-go/2 # timeout=10 18:02:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:02:19 > git --version # timeout=10 18:02:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:02:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:02:22 Fetching without tags 18:02:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:02:21 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:02:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:02:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:02:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:02:22 Checking out Revision 0321eff746caf521aae414dfef1a132bb590057a (snap) 18:02:22 > git config core.sparsecheckout # timeout=10 18:02:22 > git checkout -f 0321eff746caf521aae414dfef1a132bb590057a # timeout=10 18:02:27 Commit message: "Adding other device profiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:02:29 ========================================================= 18:02:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:02:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:02:30 + 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:02:31 Sending build context to Docker daemon 23.17MB 18:02:31 Step 1/10 : ARG BASE=golang:1.13-alpine 18:02:31 Step 2/10 : FROM ${BASE} 18:02:31 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:02:31 cde5963f3b93: Pulling fs layer 18:02:31 2a23fa8c16f7: Pulling fs layer 18:02:31 777b28850792: Pulling fs layer 18:02:31 8a11ddd9e578: Pulling fs layer 18:02:31 4cf88f913ddb: Pulling fs layer 18:02:31 1df406cf5192: Pulling fs layer 18:02:31 cd6300453558: Pulling fs layer 18:02:31 b9c365052c96: Pulling fs layer 18:02:31 a2d8cc88f415: Pulling fs layer 18:02:31 ea1d1ca13537: Pulling fs layer 18:02:31 3750a50a1c5e: Pulling fs layer 18:02:31 8a11ddd9e578: Waiting 18:02:31 4cf88f913ddb: Waiting 18:02:31 1df406cf5192: Waiting 18:02:31 cd6300453558: Waiting 18:02:31 b9c365052c96: Waiting 18:02:31 a2d8cc88f415: Waiting 18:02:31 ea1d1ca13537: Waiting 18:02:31 777b28850792: Verifying Checksum 18:02:31 777b28850792: Download complete 18:02:31 2a23fa8c16f7: Verifying Checksum 18:02:31 2a23fa8c16f7: Download complete 18:02:31 4cf88f913ddb: Download complete 18:02:31 1df406cf5192: Verifying Checksum 18:02:31 1df406cf5192: Download complete 18:02:31 cde5963f3b93: Verifying Checksum 18:02:31 cde5963f3b93: Download complete 18:02:32 cde5963f3b93: Pull complete 18:02:32 2a23fa8c16f7: Pull complete 18:02:33 777b28850792: Pull complete 18:02:34 cd6300453558: Verifying Checksum 18:02:34 cd6300453558: Download complete 18:02:34 a2d8cc88f415: Verifying Checksum 18:02:34 a2d8cc88f415: Download complete 18:02:35 ea1d1ca13537: Verifying Checksum 18:02:35 ea1d1ca13537: Download complete 18:02:35 3750a50a1c5e: Download complete 18:02:36 b9c365052c96: Verifying Checksum 18:02:36 b9c365052c96: Download complete 18:02:37 8a11ddd9e578: Verifying Checksum 18:02:37 8a11ddd9e578: Download complete 18:02:49 8a11ddd9e578: Pull complete 18:02:49 4cf88f913ddb: Pull complete 18:02:49 1df406cf5192: Pull complete 18:02:53 cd6300453558: Pull complete 18:02:58 b9c365052c96: Pull complete 18:02:58 a2d8cc88f415: Pull complete 18:03:00 ea1d1ca13537: Pull complete 18:03:00 3750a50a1c5e: Pull complete 18:03:00 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:03:00 ---> 78745c68409d 18:03:00 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:03:06 ---> Running in 96445bd5b738 18:03:06 Removing intermediate container 96445bd5b738 18:03:06 ---> 4f8ffa978c7f 18:03:06 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:03:06 ---> Running in 959ad491e62a 18:03:06 Removing intermediate container 959ad491e62a 18:03:06 ---> 21e79685cffc 18:03:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:03:06 ---> Running in 185caa1d9d9d 18:03:06 Removing intermediate container 185caa1d9d9d 18:03:06 ---> 54306f44817f 18:03:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:07 ---> Running in 114579b10fef 18:03:07 Running on prd-centos7-docker-4c-2g-3590 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:03:07 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 18:03:09 Removing intermediate container 114579b10fef 18:03:09 ---> de4a5003dbb6 18:03:09 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:09 ---> Running in c973b4f78c22 18:03:09 using credential edgex-jenkins-ssh 18:03:09 Cloning the remote Git repository 18:03:09 Cloning with configured refspecs honoured and without tags 18:03:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:03:09 > git init /w/workspace/device-rest-go/2 # timeout=10 18:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:03:09 > git --version # timeout=10 18:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:03:11 Fetching without tags 18:03:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:03:11 Checking out Revision 0321eff746caf521aae414dfef1a132bb590057a (snap) 18:03:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:03:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:03:11 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:03:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:03:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:03:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:03:11 > git config core.sparsecheckout # timeout=10 18:03:11 > git checkout -f 0321eff746caf521aae414dfef1a132bb590057a # timeout=10 18:03:12 OK: 125 MiB in 39 packages 18:03:13 Removing intermediate container c973b4f78c22 18:03:13 ---> 47a471b470f0 18:03:13 Step 8/10 : WORKDIR /device-rest-go 18:03:13 ---> Running in 55df17d9bdd9 18:03:14 Removing intermediate container 55df17d9bdd9 18:03:14 ---> 09e2edaeee58 18:03:14 Step 9/10 : COPY . . 18:03:15 Commit message: "Adding other device profiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:03:16 ========================================================= 18:03:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:03:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:03:16 ---> a2a3063691ee 18:03:16 Step 10/10 : RUN go mod download 18:03:16 ---> Running in eec7b366f7ff 18:03:16 + 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:03:17 Sending build context to Docker daemon 23.17MB 18:03:17 Step 1/10 : ARG BASE=golang:1.13-alpine 18:03:17 Step 2/10 : FROM ${BASE} 18:03:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:03:17 e6b0cf9c0882: Pulling fs layer 18:03:17 2848faf0eed1: Pulling fs layer 18:03:17 0f37312ad70f: Pulling fs layer 18:03:17 5788d62ee057: Pulling fs layer 18:03:17 0e6b1d234666: Pulling fs layer 18:03:17 bf5d7aec512f: Pulling fs layer 18:03:17 34c802a77dc8: Pulling fs layer 18:03:17 9eb99e56ec68: Pulling fs layer 18:03:17 27c7a5d97fbd: Pulling fs layer 18:03:17 5c102a31e300: Pulling fs layer 18:03:17 dcfb455df0a1: Pulling fs layer 18:03:17 34c802a77dc8: Waiting 18:03:17 9eb99e56ec68: Waiting 18:03:17 27c7a5d97fbd: Waiting 18:03:17 5c102a31e300: Waiting 18:03:17 dcfb455df0a1: Waiting 18:03:17 0e6b1d234666: Waiting 18:03:17 bf5d7aec512f: Waiting 18:03:17 5788d62ee057: Waiting 18:03:17 0f37312ad70f: Verifying Checksum 18:03:17 0f37312ad70f: Download complete 18:03:17 2848faf0eed1: Verifying Checksum 18:03:17 2848faf0eed1: Download complete 18:03:17 0e6b1d234666: Verifying Checksum 18:03:17 0e6b1d234666: Download complete 18:03:17 bf5d7aec512f: Verifying Checksum 18:03:17 bf5d7aec512f: Download complete 18:03:17 e6b0cf9c0882: Verifying Checksum 18:03:17 e6b0cf9c0882: Download complete 18:03:17 34c802a77dc8: Verifying Checksum 18:03:17 34c802a77dc8: Download complete 18:03:17 27c7a5d97fbd: Verifying Checksum 18:03:17 27c7a5d97fbd: Download complete 18:03:18 e6b0cf9c0882: Pull complete 18:03:18 5c102a31e300: Verifying Checksum 18:03:18 5c102a31e300: Download complete 18:03:18 dcfb455df0a1: Verifying Checksum 18:03:18 dcfb455df0a1: Download complete 18:03:18 2848faf0eed1: Pull complete 18:03:18 5788d62ee057: Verifying Checksum 18:03:18 5788d62ee057: Download complete 18:03:18 9eb99e56ec68: Verifying Checksum 18:03:18 9eb99e56ec68: Download complete 18:03:18 0f37312ad70f: Pull complete 18:03:19 go: finding github.com/BurntSushi/toml v0.3.1 18:03:19 go: finding github.com/OneOfOne/xxhash v1.2.6 18:03:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:03:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:03:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:03:19 go: finding github.com/bgentry/speakeasy v0.1.0 18:03:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:03:19 go: finding github.com/davecgh/go-spew v1.1.1 18:03:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:03:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:03:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:03:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:03:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:03:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:03:19 go: finding github.com/fatih/color v1.7.0 18:03:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:03:19 go: finding github.com/go-kit/kit v0.8.0 18:03:19 go: finding github.com/go-logfmt/logfmt v0.4.0 18:03:19 go: finding github.com/go-stack/stack v1.8.0 18:03:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:03:19 go: finding github.com/google/uuid v1.1.0 18:03:19 go: finding github.com/gorilla/mux v1.7.1 18:03:19 go: finding github.com/hashicorp/consul/api v1.1.0 18:03:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:03:19 go: finding github.com/hashicorp/errwrap v1.0.0 18:03:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:03:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:03:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:03:20 go: finding github.com/hashicorp/go-multierror v1.0.0 18:03:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:03:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:03:20 go: finding github.com/hashicorp/go-syslog v1.0.0 18:03:20 go: finding github.com/hashicorp/go-uuid v1.0.1 18:03:20 go: finding github.com/hashicorp/go.net v0.0.1 18:03:20 go: finding github.com/hashicorp/golang-lru v0.5.0 18:03:20 go: finding github.com/hashicorp/logutils v1.0.0 18:03:20 go: finding github.com/hashicorp/mdns v1.0.0 18:03:20 go: finding github.com/hashicorp/memberlist v0.1.3 18:03:20 go: finding github.com/hashicorp/serf v0.8.2 18:03:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:03:20 go: finding github.com/mattn/go-colorable v0.0.9 18:03:20 go: finding github.com/mattn/go-isatty v0.0.3 18:03:20 go: finding github.com/miekg/dns v1.0.14 18:03:20 go: finding github.com/mitchellh/cli v1.0.0 18:03:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:03:20 go: finding github.com/mitchellh/copystructure v1.0.0 18:03:20 go: finding github.com/mitchellh/go-homedir v1.0.0 18:03:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:03:20 go: finding github.com/mitchellh/gox v0.4.0 18:03:20 go: finding github.com/mitchellh/iochan v1.0.0 18:03:20 go: finding github.com/mitchellh/mapstructure v1.1.2 18:03:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:03:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:03:20 go: finding github.com/pelletier/go-toml v1.2.0 18:03:20 go: finding github.com/pkg/errors v0.8.1 18:03:20 go: finding github.com/pmezard/go-difflib v1.0.0 18:03:20 go: finding github.com/posener/complete v1.1.1 18:03:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:03:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:03:20 go: finding github.com/spf13/cast v1.3.0 18:03:20 go: finding github.com/stretchr/objx v0.1.0 18:03:20 go: finding github.com/stretchr/testify v1.5.1 18:03:20 go: finding github.com/ugorji/go v1.1.4 18:03:20 go: finding github.com/x448/float16 v0.8.4 18:03:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:03:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:03:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:03:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:03:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:03:20 go: finding gopkg.in/yaml.v2 v2.2.8 18:03:24 5788d62ee057: Pull complete 18:03:24 0e6b1d234666: Pull complete 18:03:24 bf5d7aec512f: Pull complete 18:03:30 Removing intermediate container eec7b366f7ff 18:03:30 ---> 4d27e7e6ab96 18:03:30 Successfully built 4d27e7e6ab96 18:03: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 18:03:31 34c802a77dc8: Pull complete 18:03:31 + docker inspect -f . ci-base-image-arm64 18:03:31 . [Pipeline] withDockerContainer 18:03:31 prd-ubuntu18.04-docker-arm64-4c-16g-3589 does not seem to be running inside a container 18:03:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 18:03:33 $ docker top 778582656d089f21ba37594f38ad9883e3e481fd0f2b33a4af304f97dfb621cf -eo pid,comm 18:03:33 9eb99e56ec68: Pull complete [Pipeline] { [Pipeline] sh 18:03:33 27c7a5d97fbd: Pull complete 18:03:34 5c102a31e300: Pull complete 18:03:34 dcfb455df0a1: Pull complete 18:03:34 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:03:34 ---> 7c70fe431013 18:03:34 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:03:34 + go version 18:03:34 go version go1.13.5 linux/arm64 [Pipeline] sh 18:03:35 + make test 18:03:35 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:03:36 ---> Running in 30ec077f3f5a 18:03:36 Removing intermediate container 30ec077f3f5a 18:03:36 ---> 5e138667a645 18:03:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:03:36 ---> Running in 25d4355830f3 18:03:36 Removing intermediate container 25d4355830f3 18:03:36 ---> 4e3b9bed4b11 18:03:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:03:36 ---> Running in aac233bf37e6 18:03:36 ? github.com/edgexfoundry/device-rest-go [no test files] 18:03:36 Removing intermediate container aac233bf37e6 18:03:36 ---> b27aabc37f63 18:03:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:36 ---> Running in f1b959b55c8c 18:03:38 Removing intermediate container f1b959b55c8c 18:03:38 ---> d96518fccc55 18:03:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:38 ---> Running in 8fb645ded380 18:03:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:03:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:03:39 OK: 143 MiB in 39 packages 18:03:40 Removing intermediate container 8fb645ded380 18:03:40 ---> 2fe60bdf9733 18:03:40 Step 8/10 : WORKDIR /device-rest-go 18:03:40 ---> Running in bfe159ef3ef2 18:03:40 Removing intermediate container bfe159ef3ef2 18:03:40 ---> 3a3fd36b1dc4 18:03:40 Step 9/10 : COPY . . 18:03:41 ---> d11af9730538 18:03:41 Step 10/10 : RUN go mod download 18:03:41 ---> Running in cc484bd39d53 18:03:43 go: finding github.com/BurntSushi/toml v0.3.1 18:03:43 go: finding github.com/OneOfOne/xxhash v1.2.6 18:03:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:03:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:03:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:03:43 go: finding github.com/bgentry/speakeasy v0.1.0 18:03:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:03:43 go: finding github.com/davecgh/go-spew v1.1.1 18:03:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:03:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:03:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:03:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:03:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:03:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:03:43 go: finding github.com/fatih/color v1.7.0 18:03:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:03:43 go: finding github.com/go-kit/kit v0.8.0 18:03:43 go: finding github.com/go-logfmt/logfmt v0.4.0 18:03:43 go: finding github.com/go-stack/stack v1.8.0 18:03:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:03:43 go: finding github.com/google/uuid v1.1.0 18:03:43 go: finding github.com/gorilla/mux v1.7.1 18:03:43 go: finding github.com/hashicorp/consul/api v1.1.0 18:03:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:03:43 go: finding github.com/hashicorp/errwrap v1.0.0 18:03:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:03:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:03:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:03:43 go: finding github.com/hashicorp/go-multierror v1.0.0 18:03:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:03:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:03:43 go: finding github.com/hashicorp/go-syslog v1.0.0 18:03:43 go: finding github.com/hashicorp/go-uuid v1.0.1 18:03:43 go: finding github.com/hashicorp/go.net v0.0.1 18:03:43 go: finding github.com/hashicorp/golang-lru v0.5.0 18:03:43 go: finding github.com/hashicorp/logutils v1.0.0 18:03:43 go: finding github.com/hashicorp/mdns v1.0.0 18:03:43 go: finding github.com/hashicorp/memberlist v0.1.3 18:03:43 go: finding github.com/hashicorp/serf v0.8.2 18:03:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:03:43 go: finding github.com/mattn/go-colorable v0.0.9 18:03:43 go: finding github.com/mattn/go-isatty v0.0.3 18:03:43 go: finding github.com/miekg/dns v1.0.14 18:03:43 go: finding github.com/mitchellh/cli v1.0.0 18:03:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:03:43 go: finding github.com/mitchellh/copystructure v1.0.0 18:03:43 go: finding github.com/mitchellh/go-homedir v1.0.0 18:03:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:03:43 go: finding github.com/mitchellh/gox v0.4.0 18:03:43 go: finding github.com/mitchellh/iochan v1.0.0 18:03:43 go: finding github.com/mitchellh/mapstructure v1.1.2 18:03:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:03:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:03:43 go: finding github.com/pelletier/go-toml v1.2.0 18:03:43 go: finding github.com/pkg/errors v0.8.1 18:03:43 go: finding github.com/pmezard/go-difflib v1.0.0 18:03:43 go: finding github.com/posener/complete v1.1.1 18:03:43 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:03:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:03:43 go: finding github.com/spf13/cast v1.3.0 18:03:43 go: finding github.com/stretchr/objx v0.1.0 18:03:43 go: finding github.com/stretchr/testify v1.5.1 18:03:43 go: finding github.com/ugorji/go v1.1.4 18:03:43 go: finding github.com/x448/float16 v0.8.4 18:03:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:03:43 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:03:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:03:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:03:43 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:03:43 go: finding gopkg.in/yaml.v2 v2.2.8 18:03:51 Removing intermediate container cc484bd39d53 18:03:51 ---> 553806141684 18:03:51 Successfully built 553806141684 18:03:51 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:03:52 + docker inspect -f . ci-base-image-x86_64 18:03:52 . [Pipeline] withDockerContainer 18:03:52 prd-centos7-docker-4c-2g-3590 does not seem to be running inside a container 18:03:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-x86_64 cat 18:03:53 $ docker top 3c24f0842485741339672238a9a16e373da9016195e5203ea52f6fcb81673a40 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:54 + go version 18:03:54 go version go1.13.5 linux/amd64 [Pipeline] sh 18:03:54 + make test 18:03:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:03:55 ? github.com/edgexfoundry/device-rest-go [no test files] 18:04:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:04:05 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 18:04:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:04:07 gofmt -l . 18:04:07 [ "`gofmt -l .`" = "" ] 18:04:07 ./bin/test-go-mod-tidy.sh 18:04:07 ./bin/test-attribution-txt.sh [Pipeline] stash 18:04:08 Stashed 1 file(s) [Pipeline] } 18:04:08 $ docker stop --time=1 3c24f0842485741339672238a9a16e373da9016195e5203ea52f6fcb81673a40 18:04:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:04:09 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 18:04:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:04:10 $ docker rm -f 3c24f0842485741339672238a9a16e373da9016195e5203ea52f6fcb81673a40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:12 + ls -al . 18:04:12 total 96 18:04:12 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 18 18:04 . 18:04:12 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 18:03 .. 18:04:12 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 18 18:03 Attribution.txt 18:04:12 drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 18:03 bin 18:04:12 drwxrwxr-x. 3 jenkins jenkins 51 Jun 18 18:03 cmd 18:04:12 -rw-r--r--. 1 jenkins jenkins 9369 Jun 18 18:04 coverage.out 18:04:12 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 18 18:03 Dockerfile 18:04:12 -rw-rw-r--. 1 jenkins jenkins 989 Jun 18 18:03 Dockerfile.build 18:04:12 -rw-rw-r--. 1 jenkins jenkins 151 Jun 18 18:03 .dockerignore 18:04:12 drwxrwxr-x. 2 jenkins jenkins 93 Jun 18 18:04 driver 18:04:12 drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 18:03 .git 18:04:12 -rw-rw-r--. 1 jenkins jenkins 339 Jun 18 18:03 .gitignore 18:04:12 -rw-r--r--. 1 jenkins jenkins 266 Jun 18 18:04 go.mod 18:04:12 -rw-r--r--. 1 jenkins jenkins 12533 Jun 18 18:04 go.sum 18:04:12 -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 18:03 Jenkinsfile 18:04:12 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 18:03 LICENSE 18:04:12 -rw-rw-r--. 1 jenkins jenkins 951 Jun 18 18:03 Makefile 18:04:12 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 18 18:03 README.md 18:04:12 drwxrwxr-x. 3 jenkins jenkins 44 Jun 18 18:03 .semver 18:04:12 drwxrwxr-x. 4 jenkins jenkins 54 Jun 18 18:03 snap 18:04:12 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 18:00 VERSION 18:04:12 -rw-rw-r--. 1 jenkins jenkins 713 Jun 18 18:03 version.go [Pipeline] isUnix [Pipeline] sh 18:04:13 + 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=0321eff746caf521aae414dfef1a132bb590057a --label arch=amd64 --label version=0.0.0 . 18:04:13 Sending build context to Docker daemon 23.18MB 18:04:13 Step 1/24 : ARG BASE=golang:1.13-alpine 18:04:13 Step 2/24 : FROM ${BASE} AS builder 18:04:13 ---> 553806141684 18:04:13 Step 3/24 : ARG MAKE='make build' 18:04:13 ---> Running in 12c4cf43d594 18:04:13 Removing intermediate container 12c4cf43d594 18:04:13 ---> fd33ada46c7e 18:04:13 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:04:13 ---> Running in 621ed7c4469b 18:04:13 gofmt -l . 18:04:13 [ "`gofmt -l .`" = "" ] 18:04:13 ./bin/test-go-mod-tidy.sh 18:04:13 ./bin/test-attribution-txt.sh 18:04:13 Removing intermediate container 621ed7c4469b 18:04:13 ---> 962f21260031 18:04:13 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:04:13 ---> Running in 4f60b5f9c002 18:04:14 Removing intermediate container 4f60b5f9c002 18:04:14 ---> 8b4ece16780d 18:04:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:04:14 ---> Running in 36019eee289f [Pipeline] stash 18:04:14 Warning: overwriting stash ‘coverage-report’ 18:04:14 Stashed 1 file(s) [Pipeline] } 18:04:14 $ docker stop --time=1 778582656d089f21ba37594f38ad9883e3e481fd0f2b33a4af304f97dfb621cf 18:04:14 Removing intermediate container 36019eee289f 18:04:14 ---> a6154ac37c4d 18:04:14 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:14 ---> Running in d0d3372354e9 18:04:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:04:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:04:16 OK: 143 MiB in 39 packages 18:04:16 Removing intermediate container d0d3372354e9 18:04:16 ---> ececdb413bec 18:04:16 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:04:16 $ docker rm -f 778582656d089f21ba37594f38ad9883e3e481fd0f2b33a4af304f97dfb621cf 18:04:16 ---> Running in 81681df32478 18:04:16 Removing intermediate container 81681df32478 18:04:16 ---> 0b67a501ab92 18:04:16 Step 9/24 : COPY go.mod . 18:04:17 ---> b24a03725ab3 18:04:17 Step 10/24 : COPY Makefile . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:04:17 ---> 386dc1824268 18:04:17 Step 11/24 : RUN make update 18:04:17 ---> Running in 832d6a9da411 [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:17 CGO_ENABLED=0 GO111MODULE=on go mod download 18:04:18 + ls -al . 18:04:18 total 124 18:04:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:04 . 18:04:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:02 .. 18:04:18 -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 18:02 .dockerignore 18:04:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:02 .git 18:04:18 -rw-rw-r-- 1 jenkins jenkins 339 Jun 18 18:02 .gitignore 18:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:02 .semver 18:04:18 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 18 18:02 Attribution.txt 18:04:18 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 18 18:02 Dockerfile 18:04:18 -rw-rw-r-- 1 jenkins jenkins 989 Jun 18 18:02 Dockerfile.build 18:04:18 -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 18:02 Jenkinsfile 18:04:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 18:02 LICENSE 18:04:18 -rw-rw-r-- 1 jenkins jenkins 951 Jun 18 18:02 Makefile 18:04:18 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 18 18:02 README.md 18:04:18 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 18:00 VERSION 18:04:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:02 bin 18:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:02 cmd 18:04:18 -rw-r--r-- 1 jenkins jenkins 9369 Jun 18 18:04 coverage.out 18:04:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:04 driver 18:04:18 -rw-r--r-- 1 jenkins jenkins 266 Jun 18 18:04 go.mod 18:04:18 -rw-r--r-- 1 jenkins jenkins 12533 Jun 18 18:04 go.sum 18:04:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:02 snap 18:04:18 -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 18:02 version.go [Pipeline] isUnix [Pipeline] sh 18:04:18 Removing intermediate container 832d6a9da411 18:04:18 ---> d78f959cea3c 18:04:18 Step 12/24 : COPY . . 18:04:18 + 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=0321eff746caf521aae414dfef1a132bb590057a --label arch=arm64 --label version=0.0.0 . 18:04:18 ---> 5264164eb016 18:04:18 Step 13/24 : RUN $MAKE 18:04:19 Sending build context to Docker daemon 23.18MB 18:04:19 Step 1/24 : ARG BASE=golang:1.13-alpine 18:04:19 Step 2/24 : FROM ${BASE} AS builder 18:04:19 ---> 4d27e7e6ab96 18:04:19 Step 3/24 : ARG MAKE='make build' 18:04:19 ---> Running in edd0def2bdf0 18:04:19 ---> Running in 79771e1d0613 18:04:19 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:04:19 Removing intermediate container 79771e1d0613 18:04:19 ---> 88db78dd4d22 18:04:19 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:04:19 ---> Running in fa17d245dfca 18:04:20 Removing intermediate container fa17d245dfca 18:04:20 ---> 127de79b0c33 18:04:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:04:20 ---> Running in 4f5ea7cb65af 18:04:21 Removing intermediate container 4f5ea7cb65af 18:04:21 ---> 9970f2aa8ad7 18:04:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:04:21 ---> Running in 8baecb6facbe 18:04:23 Removing intermediate container 8baecb6facbe 18:04:23 ---> d0e99ce81352 18:04:23 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:23 ---> Running in fd800d1d40ae 18:04:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:04:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:04:26 OK: 125 MiB in 39 packages 18:04:27 Removing intermediate container fd800d1d40ae 18:04:27 ---> b6e8b5c1773b 18:04:27 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:04:27 ---> Running in 43d7b9838b58 18:04:28 Removing intermediate container 43d7b9838b58 18:04:28 ---> e51095955293 18:04:28 Step 9/24 : COPY go.mod . 18:04:28 ---> cfb937c501ce 18:04:28 Step 10/24 : COPY Makefile . 18:04:29 ---> f72d6f54c9b1 18:04:29 Step 11/24 : RUN make update 18:04:29 Removing intermediate container edd0def2bdf0 18:04:29 ---> a762e3bd266e 18:04:29 Step 14/24 : FROM alpine:latest 18:04:29 latest: Pulling from library/alpine 18:04:29 df20fa9351a1: Pulling fs layer 18:04:29 ---> Running in a89c7b418f32 18:04:29 df20fa9351a1: Download complete 18:04:29 df20fa9351a1: Pull complete 18:04:29 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:04:29 Status: Downloaded newer image for alpine:latest 18:04:29 ---> a24bb4013296 18:04:29 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:04:29 ---> Running in 481d9a35ca55 18:04:30 Removing intermediate container 481d9a35ca55 18:04:30 ---> bf27e6124bf4 18:04:30 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:04:30 ---> Running in b83e10ee3bae 18:04:31 CGO_ENABLED=0 GO111MODULE=on go mod download 18:04:31 Removing intermediate container b83e10ee3bae 18:04:31 ---> 1ceee67e3d77 18:04:31 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:04:31 ---> 03a5c6cbd0a9 18:04:31 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:04:31 ---> 2eaa4f35b36b 18:04:31 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:04:32 Removing intermediate container a89c7b418f32 18:04:32 ---> a41aa6aa04a2 18:04:32 Step 12/24 : COPY . . 18:04:32 ---> 550902722ea7 18:04:32 Step 20/24 : EXPOSE 49986 18:04:32 ---> Running in 2be9e90a56b4 18:04:32 Removing intermediate container 2be9e90a56b4 18:04:32 ---> 37e24dde79c1 18:04:32 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:04:32 ---> Running in 876de8375e6c 18:04:32 Removing intermediate container 876de8375e6c 18:04:32 ---> 26d761b0e612 18:04:32 Step 22/24 : LABEL arch=amd64 18:04:32 ---> Running in d8eab90f7a1f 18:04:33 Removing intermediate container d8eab90f7a1f 18:04:33 ---> 443ad59bf2e1 18:04:33 Step 23/24 : LABEL git_sha=0321eff746caf521aae414dfef1a132bb590057a 18:04:33 ---> Running in dd8eb25536c2 18:04:33 Removing intermediate container dd8eb25536c2 18:04:33 ---> bc61e9538465 18:04:33 Step 24/24 : LABEL version=0.0.0 18:04:33 ---> Running in b3cd619a5b19 18:04:33 Removing intermediate container b3cd619a5b19 18:04:33 ---> 3fdd5d4d5abc 18:04:33 [Warning] One or more build-args [ARCH] were not consumed 18:04:33 Successfully built 3fdd5d4d5abc 18:04:33 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:04:34 ---> 5cc475da3419 18:04:34 Step 13/24 : RUN $MAKE 18:04:34 ---> Running in 65528d985786 18:04:35 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:05:02 Removing intermediate container 65528d985786 18:05:02 ---> c27ae85215dc 18:05:02 Step 14/24 : FROM alpine:latest 18:05:02 latest: Pulling from library/alpine 18:05:02 b538f80385f9: Pulling fs layer 18:05:02 b538f80385f9: Download complete 18:05:02 b538f80385f9: Pull complete 18:05:02 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:05:02 Status: Downloaded newer image for alpine:latest 18:05:02 ---> 62ee0e9f8440 18:05:02 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:05:02 ---> Running in c26635599f09 18:05:03 Removing intermediate container c26635599f09 18:05:03 ---> 0e9c7c57816f 18:05:03 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:05:03 ---> Running in 0388d32b7020 18:05:03 Removing intermediate container 0388d32b7020 18:05:03 ---> 849d0dcb7d80 18:05:03 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:05:04 ---> 82b361881fcf 18:05:04 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:05:05 ---> 756590ecaa81 18:05:05 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:05:07 ---> d6aaecbdd668 18:05:07 Step 20/24 : EXPOSE 49986 18:05:07 ---> Running in c39a45b257c6 18:05:07 Removing intermediate container c39a45b257c6 18:05:07 ---> 97f49bc7d24c 18:05:07 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:05:08 ---> Running in 4e3527494807 18:05:08 Removing intermediate container 4e3527494807 18:05:08 ---> e85267d314fc 18:05:08 Step 22/24 : LABEL arch=arm64 18:05:08 ---> Running in eceb7e8e919b 18:05:09 Removing intermediate container eceb7e8e919b 18:05:09 ---> c66a9ce35f92 18:05:09 Step 23/24 : LABEL git_sha=0321eff746caf521aae414dfef1a132bb590057a 18:05:09 ---> Running in 78bb96d95c72 18:05:09 Removing intermediate container 78bb96d95c72 18:05:09 ---> d018944de653 18:05:09 Step 24/24 : LABEL version=0.0.0 18:05:09 ---> Running in f34d5958cf92 18:05:10 Removing intermediate container f34d5958cf92 18:05:10 ---> 45daaea2f081 18:05:10 [Warning] One or more build-args [ARCH] were not consumed 18:05:10 Successfully built 45daaea2f081 18:05:10 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:05:10 provisioning config files... 18:05:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config7841638758418719021tmp [Pipeline] { [Pipeline] sh 18:05:11 + curl -s https://codecov.io/bash 18:05:11 + bash -s - -t @/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config7841638758418719021tmp 18:05:11 18:05:11 _____ _ 18:05:11 / ____| | | 18:05:11 | | ___ __| | ___ ___ _____ __ 18:05:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:05:11 | |___| (_) | (_| | __/ (_| (_) \ V / 18:05:11 \_____\___/ \__,_|\___|\___\___/ \_/ 18:05:11 Bash-20200602-f809a24 18:05:11 18:05:11 18:05:11 ==> Jenkins CI detected. 18:05:11 project root: . 18:05:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:05:11 ==> Running gcov in . (disable via -X gcov) 18:05:11 ==> Python coveragepy not found 18:05:11 ==> Searching for coverage reports in: 18:05:11 + . 18:05:11 -> Found 1 reports 18:05:11 ==> Detecting git/mercurial file structure 18:05:11 ==> Reading reports 18:05:11 + ./coverage.out bytes=9369 18:05:11 ==> Appending adjustments 18:05:11 https://docs.codecov.io/docs/fixing-reports 18:05:11 + Found adjustments 18:05:11 ==> Gzipping contents 18:05:11 ==> Uploading reports 18:05:11 url: https://codecov.io 18:05:11 query: branch=snap&commit=0321eff746caf521aae414dfef1a132bb590057a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:05:11 -> Pinging Codecov 18:05:11 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=snap&commit=0321eff746caf521aae414dfef1a132bb590057a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:05:13 -> Uploading 18:05:13 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0321eff746caf521aae414dfef1a132bb590057a [Pipeline] } 18:05:13 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:05:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:15 ---> package-listing.sh 18:05:15 ++ facter osfamily 18:05:15 ++ tr '[:upper:]' '[:lower:]' 18:05:15 + OS_FAMILY=redhat 18:05:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_snap 18:05:15 + START_PACKAGES=/tmp/packages_start.txt 18:05:15 + END_PACKAGES=/tmp/packages_end.txt 18:05:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:15 + PACKAGES=/tmp/packages_start.txt 18:05:15 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:05:15 + PACKAGES=/tmp/packages_end.txt 18:05:15 + case "${OS_FAMILY}" in 18:05:15 + sort 18:05:15 + rpm -qa 18:05:22 + '[' -f /tmp/packages_start.txt ']' 18:05:22 + '[' -f /tmp/packages_end.txt ']' 18:05:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:22 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:05:22 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ 18:05:22 + 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:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:05:23 18:05:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:05:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:05:23 alpine: Pulling from edgex-lftools-log-publisher 18:05:23 c9b1b535fdd9: Pulling fs layer 18:05:23 2cc5ad85d9ab: Pulling fs layer 18:05:23 756a868c4378: Pulling fs layer 18:05:23 444b2fc9a129: Pulling fs layer 18:05:23 ea15f1150254: Pulling fs layer 18:05:23 41b27a9f41bf: Pulling fs layer 18:05:23 28c525ee5125: Pulling fs layer 18:05:23 094b1ea09ed8: Pulling fs layer 18:05:23 138eaada9080: Pulling fs layer 18:05:23 0622d0fa9048: Pulling fs layer 18:05:23 444b2fc9a129: Waiting 18:05:23 41b27a9f41bf: Waiting 18:05:23 28c525ee5125: Waiting 18:05:23 094b1ea09ed8: Waiting 18:05:23 138eaada9080: Waiting 18:05:23 0622d0fa9048: Waiting 18:05:23 ea15f1150254: Waiting 18:05:23 2cc5ad85d9ab: Verifying Checksum 18:05:23 2cc5ad85d9ab: Download complete 18:05:23 444b2fc9a129: Verifying Checksum 18:05:23 444b2fc9a129: Download complete 18:05:24 c9b1b535fdd9: Verifying Checksum 18:05:24 c9b1b535fdd9: Download complete 18:05:24 ea15f1150254: Verifying Checksum 18:05:24 ea15f1150254: Download complete 18:05:24 28c525ee5125: Verifying Checksum 18:05:24 28c525ee5125: Download complete 18:05:25 756a868c4378: Verifying Checksum 18:05:25 756a868c4378: Download complete 18:05:25 c9b1b535fdd9: Pull complete 18:05:25 138eaada9080: Download complete 18:05:25 0622d0fa9048: Verifying Checksum 18:05:25 0622d0fa9048: Download complete 18:05:25 2cc5ad85d9ab: Pull complete 18:05:25 094b1ea09ed8: Verifying Checksum 18:05:25 094b1ea09ed8: Download complete 18:05:26 41b27a9f41bf: Verifying Checksum 18:05:26 41b27a9f41bf: Download complete 18:05:30 756a868c4378: Pull complete 18:05:30 444b2fc9a129: Pull complete 18:05:30 ea15f1150254: Pull complete 18:05:37 41b27a9f41bf: Pull complete 18:05:37 28c525ee5125: Pull complete 18:05:42 094b1ea09ed8: Pull complete 18:05:42 138eaada9080: Pull complete 18:05:42 0622d0fa9048: Pull complete 18:05:42 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:05:42 prd-centos7-docker-4c-2g-3588 does not seem to be running inside a container 18:05:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:05:46 $ docker top cf7bbbb600c2d48fc63b18dbf6211de6778f0252c829cf8de82f021adcd12d62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:46 provisioning config files... 18:05:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config316893792951088576tmp [Pipeline] { [Pipeline] echo 18:05:47 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:47 ---> create-netrc.sh [Pipeline] echo 18:05:47 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:47 ---> logs-deploy.sh 18:05:47 + ARCHIVE_ARTIFACTS= 18:05:47 + LOGS_SERVER=https://logs.edgexfoundry.org 18:05:47 + '[' https://logs.edgexfoundry.org == None ']' 18:05:47 + NEXUS_URL=https://nexus.edgexfoundry.org 18:05:47 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/2 18:05:47 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/2/ 18:05:47 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/2 /w/workspace/edgexfoundry_device-rest-go_snap 18:05:50 Archives upload complete. 18:05:50 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/2/ 18:05:51 ---> uname -a: 18:05:51 Linux cf7bbbb600c2 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 18:05:51 18:05:51