Pull request #506 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1fa20513a0bb3a3058d452b230721dc9730517dc+dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 (1b0bceeaf5155ef9802bf91b46c402e0a1970a57) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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-5527 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-506 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 1fa20513a0bb3a3058d452b230721dc9730517dc > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 Merge succeeded, producing 1fa20513a0bb3a3058d452b230721dc9730517dc Checking out Revision 1fa20513a0bb3a3058d452b230721dc9730517dc (PR-506) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 Commit message: "Refactor BootstrapHandler" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 [Pipeline] timeout 05:30:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:30:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:30:12 ========================================================= 05:30:12 EdgeX Global Pipelines Version Info 05:30:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:30:14 ------------------- 05:30:14 stable info: 05:30:14 ------------------- 05:30:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:30:14 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:30:14 Message: update stable to v1.0.73 05:30:15 ------------------- 05:30:15 experimental info: 05:30:15 ------------------- 05:30:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:30:15 Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 05:30:15 Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:30:17 05:30:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:30:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:30:19 latest: Pulling from edgex-devops/git-semver 05:30:19 9123ac7c32f7: Pulling fs layer 05:30:19 b8cc5d1170e3: Pulling fs layer 05:30:19 2924cbbf6a41: Pulling fs layer 05:30:19 93b08a4f1073: Pulling fs layer 05:30:19 93b08a4f1073: Waiting 05:30:19 b8cc5d1170e3: Download complete 05:30:19 9123ac7c32f7: Verifying Checksum 05:30:19 9123ac7c32f7: Download complete 05:30:19 2924cbbf6a41: Verifying Checksum 05:30:19 2924cbbf6a41: Download complete 05:30:20 93b08a4f1073: Download complete 05:30:20 9123ac7c32f7: Pull complete 05:30:20 b8cc5d1170e3: Pull complete 05:30:21 2924cbbf6a41: Pull complete 05:30:22 93b08a4f1073: Pull complete 05:30:22 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:30:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:30:22 prd-centos7-docker-4c-2g-5527 does not seem to be running inside a container 05:30:22 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:30:24 $ docker top c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:24 [ssh-agent] Looking for ssh-agent implementation... 05:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:25 $ docker exec c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f ssh-agent 05:30:26 SSH_AUTH_SOCK=/tmp/ssh-1Rc9zrCg11fN/agent.15 05:30:26 SSH_AGENT_PID=22 05:30:26 Running ssh-add (command line suppressed) 05:30:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_2220282200854775128.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_2220282200854775128.key) 05:30:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:27 + git describe --exact-match --tags HEAD 05:30:27 fatal: No names found, cannot describe anything. [Pipeline] } 05:30:27 $ docker exec --env ******** --env ******** c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f ssh-agent -k 05:30:28 unset SSH_AUTH_SOCK; 05:30:28 unset SSH_AGENT_PID; 05:30:28 echo Agent pid 22 killed; 05:30:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:30:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:30:28 This usually means this commit has not been tagged. [Pipeline] sshagent 05:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:28 [ssh-agent] Looking for ssh-agent implementation... 05:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:29 $ docker exec c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f ssh-agent 05:30:29 SSH_AUTH_SOCK=/tmp/ssh-TGrJKblN1A5p/agent.57 05:30:29 SSH_AGENT_PID=63 05:30:29 Running ssh-add (command line suppressed) 05:30:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7332669411587252105.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7332669411587252105.key) 05:30:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:30 + git semver init 05:30:30 # -> Open(): unable to determine branch for HEAD 05:30:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.git 05:30:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-506 05:30:30 # $SEMVER_REMOTE_NAME = origin 05:30:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:30:30 # $SEMVER_USER_NAME = edgex-jenkins 05:30:30 # $SEMVER_BRANCH = PR-506 05:30:30 # $SEMVER_TEMP = /tmp/semver-346237442 05:30:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:30:31 # '/tmp/semver-346237442' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver' 05:30:31 # -> Force: false 05:30:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver [Pipeline] } 05:30:31 $ docker exec --env ******** --env ******** c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f ssh-agent -k 05:30:32 unset SSH_AUTH_SOCK; 05:30:32 unset SSH_AGENT_PID; 05:30:32 echo Agent pid 63 killed; 05:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:30:32 + git semver [Pipeline] } 05:30:32 $ docker stop --time=1 c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f 05:30:34 $ docker rm -f c991442f733dfd4b6cfc0cdedcb313ec5ce52f6b58a50dab801d9e828ac66c3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:30:36 Stashed 53 file(s) [Pipeline] echo 05:30:36 [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 05:30:51 Still waiting to schedule task 05:30:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:30:51 Still waiting to schedule task 05:30:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:33:14 Running on prd-centos7-docker-4c-2g-5528 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws 05:33:14 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:33:16 using credential edgex-jenkins-ssh 05:33:16 Cloning the remote Git repository 05:33:16 Cloning with configured refspecs honoured and without tags 05:33:17 Fetching without tags 05:33:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:33:16 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:33:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:33:16 > git --version # timeout=10 05:33:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:33:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:33:17 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 05:33:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:33:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:33:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:33:17 Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 1fa20513a0bb3a3058d452b230721dc9730517dc 05:33:17 Merge succeeded, producing 1fa20513a0bb3a3058d452b230721dc9730517dc 05:33:17 Checking out Revision 1fa20513a0bb3a3058d452b230721dc9730517dc (PR-506) 05:33:17 > git config core.sparsecheckout # timeout=10 05:33:17 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 05:33:17 > git remote # timeout=10 05:33:17 > git config --get remote.origin.url # timeout=10 05:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:17 > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 05:33:17 > git rev-parse HEAD^{commit} # timeout=10 05:33:17 > git config core.sparsecheckout # timeout=10 05:33:17 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 05:33:22 Commit message: "Refactor BootstrapHandler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:33:23 ========================================================= 05:33:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:33:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:33:24 + 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:33:24 Sending build context to Docker daemon 3.018MB 05:33:24 Step 1/8 : ARG BASE=golang:1.13-alpine 05:33:24 Step 2/8 : FROM ${BASE} 05:33:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:33:24 e6b0cf9c0882: Pulling fs layer 05:33:24 2848faf0eed1: Pulling fs layer 05:33:24 0f37312ad70f: Pulling fs layer 05:33:24 5788d62ee057: Pulling fs layer 05:33:24 0e6b1d234666: Pulling fs layer 05:33:24 bf5d7aec512f: Pulling fs layer 05:33:24 34c802a77dc8: Pulling fs layer 05:33:24 9eb99e56ec68: Pulling fs layer 05:33:24 27c7a5d97fbd: Pulling fs layer 05:33:24 5c102a31e300: Pulling fs layer 05:33:24 dcfb455df0a1: Pulling fs layer 05:33:24 34c802a77dc8: Waiting 05:33:24 9eb99e56ec68: Waiting 05:33:24 27c7a5d97fbd: Waiting 05:33:24 5788d62ee057: Waiting 05:33:24 5c102a31e300: Waiting 05:33:24 dcfb455df0a1: Waiting 05:33:24 0e6b1d234666: Waiting 05:33:24 bf5d7aec512f: Waiting 05:33:24 0f37312ad70f: Download complete 05:33:24 2848faf0eed1: Download complete 05:33:24 0e6b1d234666: Verifying Checksum 05:33:24 0e6b1d234666: Download complete 05:33:24 bf5d7aec512f: Verifying Checksum 05:33:24 bf5d7aec512f: Download complete 05:33:24 e6b0cf9c0882: Verifying Checksum 05:33:24 e6b0cf9c0882: Download complete 05:33:25 e6b0cf9c0882: Pull complete 05:33:25 2848faf0eed1: Pull complete 05:33:25 34c802a77dc8: Verifying Checksum 05:33:25 34c802a77dc8: Download complete 05:33:25 27c7a5d97fbd: Verifying Checksum 05:33:25 27c7a5d97fbd: Download complete 05:33:26 5c102a31e300: Verifying Checksum 05:33:26 5c102a31e300: Download complete 05:33:26 dcfb455df0a1: Verifying Checksum 05:33:26 dcfb455df0a1: Download complete 05:33:26 5788d62ee057: Verifying Checksum 05:33:26 5788d62ee057: Download complete 05:33:26 9eb99e56ec68: Verifying Checksum 05:33:26 9eb99e56ec68: Download complete 05:33:27 0f37312ad70f: Pull complete 05:33:33 5788d62ee057: Pull complete 05:33:33 0e6b1d234666: Pull complete 05:33:33 bf5d7aec512f: Pull complete 05:33:37 34c802a77dc8: Pull complete 05:33:40 9eb99e56ec68: Pull complete 05:33:40 27c7a5d97fbd: Pull complete 05:33:41 5c102a31e300: Pull complete 05:33:41 dcfb455df0a1: Pull complete 05:33:41 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:33:41 ---> 7c70fe431013 05:33:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:33:41 ---> Running in ffb0861e02b8 05:33:41 Removing intermediate container ffb0861e02b8 05:33:41 ---> edf13a47b7c5 05:33:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:33:41 ---> Running in 13ad0859def2 05:33:42 Removing intermediate container 13ad0859def2 05:33:42 ---> 9f70ea950576 05:33:42 Step 5/8 : RUN apk add --no-cache make git 05:33:42 ---> Running in de1f8bb3b4c2 05:33:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:33:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:33:44 OK: 143 MiB in 39 packages 05:33:45 Removing intermediate container de1f8bb3b4c2 05:33:45 ---> 9ab3ca118ea5 05:33:45 Step 6/8 : WORKDIR /device-sdk-go 05:33:45 ---> Running in e081d0e9cc2e 05:33:45 Removing intermediate container e081d0e9cc2e 05:33:45 ---> 98780d486c48 05:33:45 Step 7/8 : COPY . . 05:33:45 ---> 2b9c72c5cfdd 05:33:45 Step 8/8 : RUN go mod download 05:33:46 ---> Running in 9033baab477d 05:33:48 go: finding github.com/BurntSushi/toml v0.3.1 05:33:48 go: finding github.com/OneOfOne/xxhash v1.2.6 05:33:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:33:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:33:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:33:48 go: finding github.com/bgentry/speakeasy v0.1.0 05:33:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:33:48 go: finding github.com/davecgh/go-spew v1.1.1 05:33:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:33:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:33:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:33:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:33:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:33:48 go: finding github.com/fatih/color v1.7.0 05:33:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:33:48 go: finding github.com/go-kit/kit v0.8.0 05:33:48 go: finding github.com/go-logfmt/logfmt v0.4.0 05:33:48 go: finding github.com/go-stack/stack v1.8.0 05:33:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:33:48 go: finding github.com/google/uuid v1.1.0 05:33:48 go: finding github.com/gorilla/mux v1.7.1 05:33:48 go: finding github.com/hashicorp/consul/api v1.1.0 05:33:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:33:48 go: finding github.com/hashicorp/errwrap v1.0.0 05:33:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:33:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:33:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:33:48 go: finding github.com/hashicorp/go-multierror v1.0.0 05:33:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:33:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:33:48 go: finding github.com/hashicorp/go-syslog v1.0.0 05:33:48 go: finding github.com/hashicorp/go-uuid v1.0.1 05:33:48 go: finding github.com/hashicorp/go.net v0.0.1 05:33:48 go: finding github.com/hashicorp/golang-lru v0.5.0 05:33:48 go: finding github.com/hashicorp/logutils v1.0.0 05:33:48 go: finding github.com/hashicorp/mdns v1.0.0 05:33:48 go: finding github.com/hashicorp/memberlist v0.1.3 05:33:48 go: finding github.com/hashicorp/serf v0.8.2 05:33:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:33:48 go: finding github.com/mattn/go-colorable v0.0.9 05:33:48 go: finding github.com/mattn/go-isatty v0.0.3 05:33:48 go: finding github.com/miekg/dns v1.0.14 05:33:48 go: finding github.com/mitchellh/cli v1.0.0 05:33:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:33:48 go: finding github.com/mitchellh/copystructure v1.0.0 05:33:48 go: finding github.com/mitchellh/go-homedir v1.0.0 05:33:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:33:48 go: finding github.com/mitchellh/gox v0.4.0 05:33:48 go: finding github.com/mitchellh/iochan v1.0.0 05:33:48 go: finding github.com/mitchellh/mapstructure v1.1.2 05:33:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:33:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:33:48 go: finding github.com/pelletier/go-toml v1.2.0 05:33:48 go: finding github.com/pkg/errors v0.8.1 05:33:48 go: finding github.com/pmezard/go-difflib v1.0.0 05:33:48 go: finding github.com/posener/complete v1.1.1 05:33:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:33:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:33:48 go: finding github.com/stretchr/objx v0.1.0 05:33:48 go: finding github.com/stretchr/testify v1.5.1 05:33:48 go: finding github.com/ugorji/go v1.1.4 05:33:48 go: finding github.com/x448/float16 v0.8.4 05:33:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:33:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:33:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:33:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:33:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:33:49 go: finding gopkg.in/yaml.v2 v2.2.8 05:33:53 Removing intermediate container 9033baab477d 05:33:53 ---> fb9b51b8255f 05:33:53 Successfully built fb9b51b8255f 05:33:53 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:33:53 + docker inspect -f . ci-base-image-x86_64 05:33:53 . [Pipeline] withDockerContainer 05:33:53 prd-centos7-docker-4c-2g-5528 does not seem to be running inside a container 05:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:33:54 $ docker top 45c242dd3feecb8b48f9d7f1a8585024c6b124066826e09a39d1792be580940b -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:55 + go version 05:33:55 go version go1.13.5 linux/amd64 [Pipeline] sh 05:33:55 + make test 05:33:55 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:33:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:34:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:34:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:34:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:34:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements 05:34:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 05:34:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5529 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws 05:34:29 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:34:36 using credential edgex-jenkins-ssh 05:34:36 Cloning the remote Git repository 05:34:36 Cloning with configured refspecs honoured and without tags 05:34:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:34:36 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:34:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:34:36 > git --version # timeout=10 05:34:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:34:37 Fetching without tags 05:34:38 Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 1fa20513a0bb3a3058d452b230721dc9730517dc 05:34:38 Merge succeeded, producing 1fa20513a0bb3a3058d452b230721dc9730517dc 05:34:38 Checking out Revision 1fa20513a0bb3a3058d452b230721dc9730517dc (PR-506) 05:34:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:34:37 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 05:34:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:34:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:34:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:34:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:34:38 > git config core.sparsecheckout # timeout=10 05:34:38 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 05:34:38 > git remote # timeout=10 05:34:38 > git config --get remote.origin.url # timeout=10 05:34:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:38 > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 05:34:38 > git rev-parse HEAD^{commit} # timeout=10 05:34:38 > git config core.sparsecheckout # timeout=10 05:34:38 > git checkout -f 1fa20513a0bb3a3058d452b230721dc9730517dc # timeout=10 05:34:43 Commit message: "Refactor BootstrapHandler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:34:44 ========================================================= 05:34:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:34:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:34:45 + 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:34:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.027s coverage: 11.4% of statements 05:34:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:34:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 36.9% of statements 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:34:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.270s coverage: 65.2% of statements 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:34:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 05:34:46 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 05:34:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements 05:34:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:34:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:34:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:34:46 gofmt -l . 05:34:46 [ "`gofmt -l .`" = "" ] 05:34:46 ./bin/test-attribution-txt.sh 05:34:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:34:46 Sending build context to Docker daemon 3.018MB 05:34:46 Step 1/8 : ARG BASE=golang:1.13-alpine 05:34:46 Step 2/8 : FROM ${BASE} 05:34:46 Stashed 1 file(s) [Pipeline] } 05:34:46 $ docker stop --time=1 45c242dd3feecb8b48f9d7f1a8585024c6b124066826e09a39d1792be580940b 05:34:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:34:47 cde5963f3b93: Pulling fs layer 05:34:47 2a23fa8c16f7: Pulling fs layer 05:34:47 777b28850792: Pulling fs layer 05:34:47 8a11ddd9e578: Pulling fs layer 05:34:47 4cf88f913ddb: Pulling fs layer 05:34:47 1df406cf5192: Pulling fs layer 05:34:47 cd6300453558: Pulling fs layer 05:34:47 b9c365052c96: Pulling fs layer 05:34:47 8a11ddd9e578: Waiting 05:34:47 a2d8cc88f415: Pulling fs layer 05:34:47 4cf88f913ddb: Waiting 05:34:47 1df406cf5192: Waiting 05:34:47 cd6300453558: Waiting 05:34:47 b9c365052c96: Waiting 05:34:47 ea1d1ca13537: Pulling fs layer 05:34:47 3750a50a1c5e: Pulling fs layer 05:34:47 a2d8cc88f415: Waiting 05:34:47 ea1d1ca13537: Waiting 05:34:47 3750a50a1c5e: Waiting 05:34:47 777b28850792: Download complete 05:34:47 2a23fa8c16f7: Verifying Checksum 05:34:47 2a23fa8c16f7: Download complete 05:34:47 4cf88f913ddb: Verifying Checksum 05:34:47 4cf88f913ddb: Download complete 05:34:47 1df406cf5192: Verifying Checksum 05:34:47 1df406cf5192: Download complete 05:34:47 cde5963f3b93: Verifying Checksum 05:34:47 cde5963f3b93: Download complete 05:34:48 cde5963f3b93: Pull complete 05:34:48 $ docker rm -f 45c242dd3feecb8b48f9d7f1a8585024c6b124066826e09a39d1792be580940b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 05:34:48 2a23fa8c16f7: Pull complete 05:34:48 777b28850792: Pull complete [Pipeline] sh 05:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:34:50 + ls -al . 05:34:50 total 176 05:34:50 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 22 05:34 . 05:34:50 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 05:33 .. 05:34:50 drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 05:33 api 05:34:50 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 05:33 bin 05:34:50 -rw-r--r--. 1 jenkins jenkins 110877 Apr 22 05:34 coverage.out 05:34:50 -rw-rw-r--. 1 jenkins jenkins 936 Apr 22 05:33 Dockerfile.build 05:34:50 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 05:33 .dockerignore 05:34:50 drwxrwxr-x. 4 jenkins jenkins 48 Apr 22 05:33 example 05:34:50 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 05:33 .git 05:34:50 drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 05:33 .github 05:34:50 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 05:33 .gitignore 05:34:50 -rw-r--r--. 1 jenkins jenkins 446 Apr 22 05:34 go.mod 05:34:50 -rw-r--r--. 1 jenkins jenkins 12076 Apr 22 05:34 go.sum 05:34:50 drwxrwxr-x. 15 jenkins jenkins 217 Apr 22 05:33 internal 05:34:50 -rw-rw-r--. 1 jenkins jenkins 808 Apr 22 05:33 Jenkinsfile 05:34:50 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 05:33 LICENSE 05:34:50 -rw-rw-r--. 1 jenkins jenkins 892 Apr 22 05:33 Makefile 05:34:50 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 05:33 pkg 05:34:50 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 22 05:33 README.md 05:34:50 drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 05:33 .semver 05:34:50 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 05:33 snap 05:34:50 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 05:30 VERSION 05:34:50 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 05:33 version.go [Pipeline] isUnix [Pipeline] sh 05:34:50 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1fa20513a0bb3a3058d452b230721dc9730517dc --label arch=amd64 --label version=0.0.0 . 05:34:50 Sending build context to Docker daemon 3.146MB 05:34:50 Step 1/21 : ARG BASE=golang:1.13-alpine 05:34:50 Step 2/21 : FROM ${BASE} AS builder 05:34:50 ---> fb9b51b8255f 05:34:50 Step 3/21 : ARG MAKE='make build' 05:34:50 ---> Running in c3c6da6c4ef2 05:34:50 Removing intermediate container c3c6da6c4ef2 05:34:50 ---> 03f27c64c563 05:34:50 Step 4/21 : WORKDIR /device-sdk-go 05:34:50 ---> Running in 33ee17438161 05:34:50 Removing intermediate container 33ee17438161 05:34:50 ---> b225670dcbde 05:34:50 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:34:50 ---> Running in 05349b338951 05:34:51 Removing intermediate container 05349b338951 05:34:51 ---> 79649a32a98b 05:34:51 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:34:51 ---> Running in 768d4eb596a7 05:34:51 cd6300453558: Verifying Checksum 05:34:51 cd6300453558: Download complete 05:34:51 a2d8cc88f415: Download complete 05:34:52 Removing intermediate container 768d4eb596a7 05:34:52 ---> b2efe13e1bb9 05:34:52 Step 7/21 : RUN apk add --update --no-cache make git 05:34:52 ---> Running in 10b94b768d02 05:34:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:34:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:34:53 OK: 143 MiB in 39 packages 05:34:54 Removing intermediate container 10b94b768d02 05:34:54 ---> ca2cc14ec64f 05:34:54 Step 8/21 : COPY . . 05:34:54 ea1d1ca13537: Download complete 05:34:54 3750a50a1c5e: Verifying Checksum 05:34:54 3750a50a1c5e: Download complete 05:34:54 ---> 289b065fdfad 05:34:54 Step 9/21 : RUN ${MAKE} 05:34:54 ---> Running in c6f779380788 05:34:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:34:56 b9c365052c96: Verifying Checksum 05:34:58 8a11ddd9e578: Verifying Checksum 05:34:58 8a11ddd9e578: Download complete 05:35:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:35:03 Removing intermediate container c6f779380788 05:35:03 ---> 5391ebbd3feb 05:35:03 Step 10/21 : FROM scratch 05:35:03 ---> 05:35:03 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:35:03 ---> Running in ac1db2503d2d 05:35:03 Removing intermediate container ac1db2503d2d 05:35:03 ---> 3e10260c93c4 05:35:03 Step 12/21 : ENV APP_PORT=49990 05:35:03 ---> Running in 508affc4a177 05:35:03 Removing intermediate container 508affc4a177 05:35:03 ---> 3f3780bd3be8 05:35:03 Step 13/21 : EXPOSE $APP_PORT 05:35:04 ---> Running in c43c400e32a0 05:35:04 Removing intermediate container c43c400e32a0 05:35:04 ---> cb9091223b66 05:35:04 Step 14/21 : WORKDIR / 05:35:04 ---> Running in 4a015b4815ea 05:35:04 Removing intermediate container 4a015b4815ea 05:35:04 ---> b1b46a60b404 05:35:04 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:35:04 ---> f59e51a9c16b 05:35:04 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:35:04 ---> 69ecc0d64929 05:35:04 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:35:04 ---> 05e6c37ea041 05:35:04 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:35:05 ---> Running in a9fb23b8d21f 05:35:05 Removing intermediate container a9fb23b8d21f 05:35:05 ---> 16ca9aaa7696 05:35:05 Step 19/21 : LABEL arch=amd64 05:35:05 ---> Running in b4b81f95ff05 05:35:05 Removing intermediate container b4b81f95ff05 05:35:05 ---> 7e6b083cd08f 05:35:05 Step 20/21 : LABEL git_sha=1fa20513a0bb3a3058d452b230721dc9730517dc 05:35:05 ---> Running in 283e73da586c 05:35:05 Removing intermediate container 283e73da586c 05:35:05 ---> 41e977f22f44 05:35:05 Step 21/21 : LABEL version=0.0.0 05:35:05 ---> Running in e7f55c6fd807 05:35:05 Removing intermediate container e7f55c6fd807 05:35:05 ---> e0499c1ad162 05:35:05 [Warning] One or more build-args [ARCH] were not consumed 05:35:05 Successfully built e0499c1ad162 05:35:05 Successfully tagged docker-device-sdk-simple: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] } 05:35:11 8a11ddd9e578: Pull complete 05:35:11 4cf88f913ddb: Pull complete 05:35:11 1df406cf5192: Pull complete 05:35:16 cd6300453558: Pull complete 05:35:20 b9c365052c96: Pull complete 05:35:20 a2d8cc88f415: Pull complete 05:35:23 ea1d1ca13537: Pull complete 05:35:23 3750a50a1c5e: Pull complete 05:35:23 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:35:23 ---> 78745c68409d 05:35:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:35:27 ---> Running in fa00a5272926 05:35:27 Removing intermediate container fa00a5272926 05:35:27 ---> f45af13c014c 05:35:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:35:27 ---> Running in f2cc15a1e467 05:35:29 Removing intermediate container f2cc15a1e467 05:35:29 ---> 1e361e1255e4 05:35:29 Step 5/8 : RUN apk add --no-cache make git 05:35:30 ---> Running in ed894cd16f4a 05:35:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:35:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:35:36 OK: 125 MiB in 39 packages 05:35:37 Removing intermediate container ed894cd16f4a 05:35:37 ---> e48a235e8729 05:35:37 Step 6/8 : WORKDIR /device-sdk-go 05:35:37 ---> Running in 6cfb39249891 05:35:37 Removing intermediate container 6cfb39249891 05:35:37 ---> ee4c63ed8220 05:35:37 Step 7/8 : COPY . . 05:35:39 ---> 8d1fed599fcd 05:35:39 Step 8/8 : RUN go mod download 05:35:39 ---> Running in 426633dab1a4 05:35:41 go: finding github.com/BurntSushi/toml v0.3.1 05:35:41 go: finding github.com/OneOfOne/xxhash v1.2.6 05:35:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:35:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:35:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:35:41 go: finding github.com/bgentry/speakeasy v0.1.0 05:35:41 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:35:41 go: finding github.com/davecgh/go-spew v1.1.1 05:35:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:35:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:35:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:35:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:35:41 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:35:41 go: finding github.com/fatih/color v1.7.0 05:35:41 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:35:41 go: finding github.com/go-kit/kit v0.8.0 05:35:41 go: finding github.com/go-logfmt/logfmt v0.4.0 05:35:41 go: finding github.com/go-stack/stack v1.8.0 05:35:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:35:41 go: finding github.com/google/uuid v1.1.0 05:35:41 go: finding github.com/gorilla/mux v1.7.1 05:35:41 go: finding github.com/hashicorp/consul/api v1.1.0 05:35:41 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:35:41 go: finding github.com/hashicorp/errwrap v1.0.0 05:35:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:35:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:35:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:35:41 go: finding github.com/hashicorp/go-multierror v1.0.0 05:35:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:35:41 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:35:41 go: finding github.com/hashicorp/go-syslog v1.0.0 05:35:41 go: finding github.com/hashicorp/go-uuid v1.0.1 05:35:41 go: finding github.com/hashicorp/go.net v0.0.1 05:35:41 go: finding github.com/hashicorp/golang-lru v0.5.0 05:35:41 go: finding github.com/hashicorp/logutils v1.0.0 05:35:41 go: finding github.com/hashicorp/mdns v1.0.0 05:35:41 go: finding github.com/hashicorp/memberlist v0.1.3 05:35:41 go: finding github.com/hashicorp/serf v0.8.2 05:35:41 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:35:41 go: finding github.com/mattn/go-colorable v0.0.9 05:35:41 go: finding github.com/mattn/go-isatty v0.0.3 05:35:41 go: finding github.com/miekg/dns v1.0.14 05:35:41 go: finding github.com/mitchellh/cli v1.0.0 05:35:41 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:35:41 go: finding github.com/mitchellh/copystructure v1.0.0 05:35:41 go: finding github.com/mitchellh/go-homedir v1.0.0 05:35:41 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:35:41 go: finding github.com/mitchellh/gox v0.4.0 05:35:41 go: finding github.com/mitchellh/iochan v1.0.0 05:35:41 go: finding github.com/mitchellh/mapstructure v1.1.2 05:35:41 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:35:41 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:35:41 go: finding github.com/pelletier/go-toml v1.2.0 05:35:41 go: finding github.com/pkg/errors v0.8.1 05:35:41 go: finding github.com/pmezard/go-difflib v1.0.0 05:35:41 go: finding github.com/posener/complete v1.1.1 05:35:41 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:35:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:35:41 go: finding github.com/stretchr/objx v0.1.0 05:35:41 go: finding github.com/stretchr/testify v1.5.1 05:35:41 go: finding github.com/ugorji/go v1.1.4 05:35:41 go: finding github.com/x448/float16 v0.8.4 05:35:41 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:35:41 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:35:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:35:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:35:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:35:41 go: finding gopkg.in/yaml.v2 v2.2.8 05:35:51 Removing intermediate container 426633dab1a4 05:35:51 ---> 61268d58fe17 05:35:51 Successfully built 61268d58fe17 05:35:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:35:52 + docker inspect -f . ci-base-image-arm64 05:35:52 . [Pipeline] withDockerContainer 05:35:53 prd-ubuntu18.04-docker-arm64-4c-16g-5529 does not seem to be running inside a container 05:35:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:35:54 $ docker top eaa04de60f9ec9f45d8950534614a2184f5a4b6bf458fb43880ae78ebbf58606 -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:55 + go version 05:35:55 go version go1.13.5 linux/arm64 [Pipeline] sh 05:35:56 + make test 05:35:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:35:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:36:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:36:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:36:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:36:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 22.1% of statements 05:36:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.151s coverage: 95.8% of statements 05:37:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 11.4% of statements 05:37:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.7% of statements 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:37:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.176s coverage: 36.9% of statements 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:37:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.651s coverage: 65.2% of statements 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:37:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 05:37:02 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 05:37:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 05:37:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:37:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:37:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:37:04 gofmt -l . 05:37:04 [ "`gofmt -l .`" = "" ] 05:37:05 ./bin/test-attribution-txt.sh 05:37:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:37:06 Warning: overwriting stash ‘coverage-report’ 05:37:06 Stashed 1 file(s) [Pipeline] } 05:37:06 $ docker stop --time=1 eaa04de60f9ec9f45d8950534614a2184f5a4b6bf458fb43880ae78ebbf58606 05:37:09 $ docker rm -f eaa04de60f9ec9f45d8950534614a2184f5a4b6bf458fb43880ae78ebbf58606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:37:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:10 + ls -al . 05:37:10 total 216 05:37:10 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 05:37 . 05:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 05:34 .. 05:37:10 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 05:34 .dockerignore 05:37:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 05:34 .git 05:37:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 05:34 .github 05:37:10 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 05:34 .gitignore 05:37:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 05:34 .semver 05:37:10 -rw-rw-r-- 1 jenkins jenkins 936 Apr 22 05:34 Dockerfile.build 05:37:10 -rw-rw-r-- 1 jenkins jenkins 808 Apr 22 05:34 Jenkinsfile 05:37:10 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 05:34 LICENSE 05:37:10 -rw-rw-r-- 1 jenkins jenkins 892 Apr 22 05:34 Makefile 05:37:10 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 22 05:34 README.md 05:37:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 05:30 VERSION 05:37:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 05:34 api 05:37:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 05:34 bin 05:37:10 -rw-r--r-- 1 jenkins jenkins 110877 Apr 22 05:36 coverage.out 05:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 05:34 example 05:37:10 -rw-r--r-- 1 jenkins jenkins 446 Apr 22 05:37 go.mod 05:37:10 -rw-r--r-- 1 jenkins jenkins 12076 Apr 22 05:37 go.sum 05:37:10 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 05:34 internal 05:37:10 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 05:34 pkg 05:37:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 05:34 snap 05:37:10 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 05:34 version.go [Pipeline] isUnix [Pipeline] sh 05:37:11 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1fa20513a0bb3a3058d452b230721dc9730517dc --label arch=arm64 --label version=0.0.0 . 05:37:11 Sending build context to Docker daemon 3.146MB 05:37:11 Step 1/21 : ARG BASE=golang:1.13-alpine 05:37:11 Step 2/21 : FROM ${BASE} AS builder 05:37:11 ---> 61268d58fe17 05:37:11 Step 3/21 : ARG MAKE='make build' 05:37:11 ---> Running in fb540e826a8d 05:37:12 Removing intermediate container fb540e826a8d 05:37:12 ---> d83a981a2636 05:37:12 Step 4/21 : WORKDIR /device-sdk-go 05:37:12 ---> Running in 7d5904e17210 05:37:12 Removing intermediate container 7d5904e17210 05:37:12 ---> da87e1f1eecb 05:37:12 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:37:12 ---> Running in 7565aeb4d0e3 05:37:12 Removing intermediate container 7565aeb4d0e3 05:37:12 ---> 895a764a96aa 05:37:12 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:37:13 ---> Running in e4b45d6a0a69 05:37:15 Removing intermediate container e4b45d6a0a69 05:37:15 ---> 9fcfd8d6e482 05:37:15 Step 7/21 : RUN apk add --update --no-cache make git 05:37:15 ---> Running in b5a74af1117a 05:37:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:37:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:37:17 OK: 125 MiB in 39 packages 05:37:18 Removing intermediate container b5a74af1117a 05:37:18 ---> 377ba2464dff 05:37:18 Step 8/21 : COPY . . 05:37:19 ---> ec70dc8ceeaa 05:37:19 Step 9/21 : RUN ${MAKE} 05:37:19 ---> Running in ba24eaf36908 05:37:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:37:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:37:47 Removing intermediate container ba24eaf36908 05:37:47 ---> 7c9ef3cc69e2 05:37:47 Step 10/21 : FROM scratch 05:37:47 ---> 05:37:47 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:37:47 ---> Running in 4f0920e22cf4 05:37:47 Removing intermediate container 4f0920e22cf4 05:37:47 ---> 87927f5b3ad6 05:37:47 Step 12/21 : ENV APP_PORT=49990 05:37:47 ---> Running in 7e66c00fc1a0 05:37:47 Removing intermediate container 7e66c00fc1a0 05:37:47 ---> a5e033e99e25 05:37:47 Step 13/21 : EXPOSE $APP_PORT 05:37:47 ---> Running in ecf10aa86f0d 05:37:47 Removing intermediate container ecf10aa86f0d 05:37:47 ---> bb5ba3ceb9ca 05:37:47 Step 14/21 : WORKDIR / 05:37:48 ---> Running in 617f26b192e6 05:37:48 Removing intermediate container 617f26b192e6 05:37:48 ---> 843063ed938d 05:37:48 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:37:49 ---> cf8f32c426e7 05:37:49 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:37:49 ---> a5d3a94154f3 05:37:49 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:37:50 ---> 36275bed8974 05:37:50 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:37:50 ---> Running in 8a69b0ed5631 05:37:51 Removing intermediate container 8a69b0ed5631 05:37:51 ---> c3d313404e0a 05:37:51 Step 19/21 : LABEL arch=arm64 05:37:51 ---> Running in 79d5bf260046 05:37:51 Removing intermediate container 79d5bf260046 05:37:51 ---> ef71fa44e358 05:37:51 Step 20/21 : LABEL git_sha=1fa20513a0bb3a3058d452b230721dc9730517dc 05:37:51 ---> Running in 35d96858da5c 05:37:51 Removing intermediate container 35d96858da5c 05:37:51 ---> f3d73a6fda33 05:37:51 Step 21/21 : LABEL version=0.0.0 05:37:52 ---> Running in 966f103c6ff8 05:37:52 Removing intermediate container 966f103c6ff8 05:37:52 ---> e2c1be3cb331 05:37:52 [Warning] One or more build-args [ARCH] were not consumed 05:37:52 Successfully built e2c1be3cb331 05:37:52 Successfully tagged docker-device-sdk-simple-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 05:37:53 provisioning config files... 05:37:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7694051049435485191tmp [Pipeline] { [Pipeline] sh 05:37:53 + curl -s https://codecov.io/bash 05:37:53 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7694051049435485191tmp [Pipeline] } 05:40:15 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 05:40:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:40:17 ---> package-listing.sh 05:40:17 ++ facter osfamily 05:40:17 ++ tr '[:upper:]' '[:lower:]' 05:40:17 + OS_FAMILY=redhat 05:40:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-506 05:40:17 + START_PACKAGES=/tmp/packages_start.txt 05:40:17 + END_PACKAGES=/tmp/packages_end.txt 05:40:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:40:17 + PACKAGES=/tmp/packages_start.txt 05:40:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' 05:40:17 + PACKAGES=/tmp/packages_end.txt 05:40:17 + case "${OS_FAMILY}" in 05:40:17 + rpm -qa 05:40:17 + sort 05:40:23 + '[' -f /tmp/packages_start.txt ']' 05:40:23 + '[' -f /tmp/packages_end.txt ']' 05:40:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:40:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' 05:40:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ 05:40:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ [Pipeline] isUnix [Pipeline] sh 05:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:40:23 05:40:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:40:24 alpine: Pulling from edgex-lftools-log-publisher 05:40:24 c9b1b535fdd9: Pulling fs layer 05:40:24 2cc5ad85d9ab: Pulling fs layer 05:40:24 756a868c4378: Pulling fs layer 05:40:24 444b2fc9a129: Pulling fs layer 05:40:24 ea15f1150254: Pulling fs layer 05:40:24 41b27a9f41bf: Pulling fs layer 05:40:24 28c525ee5125: Pulling fs layer 05:40:24 094b1ea09ed8: Pulling fs layer 05:40:24 138eaada9080: Pulling fs layer 05:40:24 0622d0fa9048: Pulling fs layer 05:40:24 444b2fc9a129: Waiting 05:40:24 ea15f1150254: Waiting 05:40:24 41b27a9f41bf: Waiting 05:40:24 28c525ee5125: Waiting 05:40:24 094b1ea09ed8: Waiting 05:40:24 138eaada9080: Waiting 05:40:24 0622d0fa9048: Waiting 05:40:24 2cc5ad85d9ab: Verifying Checksum 05:40:24 2cc5ad85d9ab: Download complete 05:40:24 444b2fc9a129: Verifying Checksum 05:40:24 444b2fc9a129: Download complete 05:40:24 c9b1b535fdd9: Verifying Checksum 05:40:24 c9b1b535fdd9: Download complete 05:40:24 ea15f1150254: Verifying Checksum 05:40:24 ea15f1150254: Download complete 05:40:24 28c525ee5125: Verifying Checksum 05:40:24 28c525ee5125: Download complete 05:40:25 756a868c4378: Verifying Checksum 05:40:25 756a868c4378: Download complete 05:40:25 c9b1b535fdd9: Pull complete 05:40:26 2cc5ad85d9ab: Pull complete 05:40:26 094b1ea09ed8: Verifying Checksum 05:40:26 094b1ea09ed8: Download complete 05:40:27 138eaada9080: Verifying Checksum 05:40:27 138eaada9080: Download complete 05:40:27 0622d0fa9048: Download complete 05:40:28 41b27a9f41bf: Verifying Checksum 05:40:28 41b27a9f41bf: Download complete 05:40:29 756a868c4378: Pull complete 05:40:29 444b2fc9a129: Pull complete 05:40:29 ea15f1150254: Pull complete 05:40:34 41b27a9f41bf: Pull complete 05:40:34 28c525ee5125: Pull complete 05:40:39 094b1ea09ed8: Pull complete 05:40:39 138eaada9080: Pull complete 05:40:39 0622d0fa9048: Pull complete 05:40:39 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:40:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:40:39 prd-centos7-docker-4c-2g-5527 does not seem to be running inside a container 05:40:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:40:41 $ docker top 2dce4a61ad45c17227d6147ee7016cb9a8d163facfa2535352f5e9ccc0ca6a4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:41 provisioning config files... 05:40:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config1952686786007080672tmp [Pipeline] { [Pipeline] echo 05:40:41 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:40:42 ---> create-netrc.sh [Pipeline] echo 05:40:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:40:43 ---> logs-deploy.sh 05:40:43 + ARCHIVE_ARTIFACTS= 05:40:43 + LOGS_SERVER=https://logs.edgexfoundry.org 05:40:43 + '[' https://logs.edgexfoundry.org == None ']' 05:40:43 + NEXUS_URL=https://nexus.edgexfoundry.org 05:40:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/2 05:40:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/2/ 05:40:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/2 /w/workspace/dgexfoundry_device-sdk-go_PR-506 05:40:45 Archives upload complete. 05:40:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/2/