Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f380c9750d394b15a68c03899168051b17741a54 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6239 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" > git rev-list --no-walk 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:33:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:33:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:33:46 ========================================================= 07:33:46 EdgeX Global Pipelines Version Info 07:33:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:33:48 ------------------- 07:33:48 stable info: 07:33:48 ------------------- 07:33:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:33:48 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 07:33:48 Message: update stable to v1.0.73 07:33:48 ------------------- 07:33:48 experimental info: 07:33:48 ------------------- 07:33:48 Commited By: Emilio Reyes emilio.reyes@intel.com 07:33:48 Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 07:33:48 Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:33:50 07:33:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:33:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:33:51 latest: Pulling from edgex-devops/git-semver 07:33:51 9123ac7c32f7: Pulling fs layer 07:33:51 b8cc5d1170e3: Pulling fs layer 07:33:51 2924cbbf6a41: Pulling fs layer 07:33:51 93b08a4f1073: Pulling fs layer 07:33:51 93b08a4f1073: Waiting 07:33:51 b8cc5d1170e3: Verifying Checksum 07:33:51 b8cc5d1170e3: Download complete 07:33:51 9123ac7c32f7: Verifying Checksum 07:33:51 9123ac7c32f7: Download complete 07:33:51 93b08a4f1073: Verifying Checksum 07:33:51 93b08a4f1073: Download complete 07:33:51 2924cbbf6a41: Verifying Checksum 07:33:51 2924cbbf6a41: Download complete 07:33:51 9123ac7c32f7: Pull complete 07:33:51 b8cc5d1170e3: Pull complete 07:33:52 2924cbbf6a41: Pull complete 07:33:52 93b08a4f1073: Pull complete 07:33:52 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:33:52 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:33:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:33:53 $ docker top 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:53 [ssh-agent] Looking for ssh-agent implementation... 07:33:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:54 $ docker exec 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent 07:33:54 SSH_AUTH_SOCK=/tmp/ssh-9AGtK4nWxRpp/agent.15 07:33:54 SSH_AGENT_PID=22 07:33:54 Running ssh-add (command line suppressed) 07:33:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4863414271409086302.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4863414271409086302.key) 07:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:54 + git describe --exact-match --tags HEAD 07:33:54 fatal: No names found, cannot describe anything. [Pipeline] } 07:33:54 $ docker exec --env ******** --env ******** 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent -k 07:33:55 unset SSH_AUTH_SOCK; 07:33:55 unset SSH_AGENT_PID; 07:33:55 echo Agent pid 22 killed; 07:33:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:33:55 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:33:55 This usually means this commit has not been tagged. [Pipeline] sshagent 07:33:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:55 [ssh-agent] Looking for ssh-agent implementation... 07:33:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:55 $ docker exec 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent 07:33:55 SSH_AUTH_SOCK=/tmp/ssh-ZcXTIqC5IMGM/agent.56 07:33:55 SSH_AGENT_PID=63 07:33:55 Running ssh-add (command line suppressed) 07:33:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5075569404635581703.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5075569404635581703.key) 07:33:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:56 + git semver init 07:33:56 # -> Open(): unable to determine branch for HEAD 07:33:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:33:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:33:56 # $SEMVER_REMOTE_NAME = origin 07:33:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:33:56 # $SEMVER_USER_NAME = edgex-jenkins 07:33:56 # $SEMVER_BRANCH = master 07:33:56 # $SEMVER_TEMP = /tmp/semver-476416042 07:33:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:33:56 # '/tmp/semver-476416042' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 07:33:56 # -> Force: false 07:33:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:33:56 $ docker exec --env ******** --env ******** 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent -k 07:33:56 unset SSH_AUTH_SOCK; 07:33:56 unset SSH_AGENT_PID; 07:33:56 echo Agent pid 63 killed; 07:33:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:57 + git semver [Pipeline] } 07:33:57 $ docker stop --time=1 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 07:33:58 $ docker rm -f 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:33:59 Stashed 53 file(s) [Pipeline] echo 07:33:59 [edgeXSemver] initialized semver on version 1.2.0-dev.36 [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 07:34:15 Still waiting to schedule task 07:34:15 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-6237’ is offline; ‘prd-centos7-docker-4c-2g-6238’ is offline; ‘prd-centos7-docker-4c-2g-6240’ is offline 07:34:15 Still waiting to schedule task 07:34:15 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-6236’ 07:35:42 Running on prd-centos7-docker-4c-2g-6242 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:35:42 Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout 07:35:44 using credential edgex-jenkins-ssh 07:35:44 Cloning the remote Git repository 07:35:44 Cloning with configured refspecs honoured and without tags 07:35:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:35:45 > git init /w/workspace/device-sdk-go/36 # timeout=10 07:35:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:35:45 > git --version # timeout=10 07:35:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:35:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:35:45 Fetching without tags 07:35:46 Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) 07:35:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:35:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:35:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:35:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:35:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:35:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:35:46 > git config core.sparsecheckout # timeout=10 07:35:46 > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 07:35:50 Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:35:50 ========================================================= 07:35:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:35:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:35:51 + 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 . 07:35:51 Sending build context to Docker daemon 3.007MB 07:35:51 Step 1/8 : ARG BASE=golang:1.13-alpine 07:35:51 Step 2/8 : FROM ${BASE} 07:35:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:35:51 e6b0cf9c0882: Pulling fs layer 07:35:51 2848faf0eed1: Pulling fs layer 07:35:51 0f37312ad70f: Pulling fs layer 07:35:51 5788d62ee057: Pulling fs layer 07:35:51 0e6b1d234666: Pulling fs layer 07:35:51 bf5d7aec512f: Pulling fs layer 07:35:51 34c802a77dc8: Pulling fs layer 07:35:51 9eb99e56ec68: Pulling fs layer 07:35:51 27c7a5d97fbd: Pulling fs layer 07:35:51 5c102a31e300: Pulling fs layer 07:35:51 dcfb455df0a1: Pulling fs layer 07:35:51 5c102a31e300: Waiting 07:35:51 34c802a77dc8: Waiting 07:35:51 dcfb455df0a1: Waiting 07:35:51 9eb99e56ec68: Waiting 07:35:51 27c7a5d97fbd: Waiting 07:35:51 0e6b1d234666: Waiting 07:35:51 bf5d7aec512f: Waiting 07:35:51 5788d62ee057: Waiting 07:35:51 0f37312ad70f: Verifying Checksum 07:35:51 0f37312ad70f: Download complete 07:35:51 2848faf0eed1: Download complete 07:35:51 0e6b1d234666: Download complete 07:35:51 bf5d7aec512f: Download complete 07:35:51 e6b0cf9c0882: Verifying Checksum 07:35:51 e6b0cf9c0882: Download complete 07:35:52 e6b0cf9c0882: Pull complete 07:35:52 2848faf0eed1: Pull complete 07:35:52 34c802a77dc8: Verifying Checksum 07:35:52 34c802a77dc8: Download complete 07:35:52 27c7a5d97fbd: Verifying Checksum 07:35:52 27c7a5d97fbd: Download complete 07:35:53 9eb99e56ec68: Verifying Checksum 07:35:53 9eb99e56ec68: Download complete 07:35:53 dcfb455df0a1: Verifying Checksum 07:35:53 dcfb455df0a1: Download complete 07:35:53 5c102a31e300: Verifying Checksum 07:35:53 5c102a31e300: Download complete 07:35:53 5788d62ee057: Verifying Checksum 07:35:53 5788d62ee057: Download complete 07:35:54 0f37312ad70f: Pull complete 07:36:00 5788d62ee057: Pull complete 07:36:00 0e6b1d234666: Pull complete 07:36:00 bf5d7aec512f: Pull complete 07:36:04 34c802a77dc8: Pull complete 07:36:09 9eb99e56ec68: Pull complete 07:36:09 27c7a5d97fbd: Pull complete 07:36:09 5c102a31e300: Pull complete 07:36:09 dcfb455df0a1: Pull complete 07:36:09 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:36:09 ---> 7c70fe431013 07:36:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:36:10 ---> Running in b9860bf32ffe 07:36:10 Removing intermediate container b9860bf32ffe 07:36:10 ---> 4756b3fb028e 07:36:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:36:10 ---> Running in 3e04dd0a9ea7 07:36:11 Removing intermediate container 3e04dd0a9ea7 07:36:11 ---> 86ebe2e7995b 07:36:11 Step 5/8 : RUN apk add --no-cache make git 07:36:11 ---> Running in 828474012cf2 07:36:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:36:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:36:12 OK: 143 MiB in 39 packages 07:36:13 Removing intermediate container 828474012cf2 07:36:13 ---> 0ff12eebb793 07:36:13 Step 6/8 : WORKDIR /device-sdk-go 07:36:13 ---> Running in 2f6dc99b5d25 07:36:13 Removing intermediate container 2f6dc99b5d25 07:36:13 ---> 1dffc7b66ba8 07:36:13 Step 7/8 : COPY . . 07:36:13 ---> 44dd46c5a955 07:36:13 Step 8/8 : RUN go mod download 07:36:13 ---> Running in f572becba43d 07:36:16 go: finding github.com/BurntSushi/toml v0.3.1 07:36:16 go: finding github.com/OneOfOne/xxhash v1.2.6 07:36:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:36:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:36:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:36:16 go: finding github.com/bgentry/speakeasy v0.1.0 07:36:16 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:36:16 go: finding github.com/davecgh/go-spew v1.1.1 07:36:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 07:36:17 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:36:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:36:17 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:36:17 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:36:17 go: finding github.com/fatih/color v1.7.0 07:36:17 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:36:17 go: finding github.com/go-kit/kit v0.8.0 07:36:17 go: finding github.com/go-logfmt/logfmt v0.4.0 07:36:17 go: finding github.com/go-stack/stack v1.8.0 07:36:17 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:36:17 go: finding github.com/google/uuid v1.1.0 07:36:17 go: finding github.com/gorilla/mux v1.7.1 07:36:17 go: finding github.com/hashicorp/consul/api v1.1.0 07:36:17 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:36:17 go: finding github.com/hashicorp/errwrap v1.0.0 07:36:17 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:36:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:36:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:36:17 go: finding github.com/hashicorp/go-multierror v1.0.0 07:36:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:36:17 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:36:17 go: finding github.com/hashicorp/go-syslog v1.0.0 07:36:17 go: finding github.com/hashicorp/go-uuid v1.0.1 07:36:17 go: finding github.com/hashicorp/go.net v0.0.1 07:36:17 go: finding github.com/hashicorp/golang-lru v0.5.0 07:36:17 go: finding github.com/hashicorp/logutils v1.0.0 07:36:17 go: finding github.com/hashicorp/mdns v1.0.0 07:36:18 go: finding github.com/hashicorp/memberlist v0.1.3 07:36:18 go: finding github.com/hashicorp/serf v0.8.2 07:36:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:36:18 go: finding github.com/mattn/go-colorable v0.0.9 07:36:18 go: finding github.com/mattn/go-isatty v0.0.3 07:36:18 go: finding github.com/miekg/dns v1.0.14 07:36:18 go: finding github.com/mitchellh/cli v1.0.0 07:36:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:36:18 go: finding github.com/mitchellh/copystructure v1.0.0 07:36:18 go: finding github.com/mitchellh/go-homedir v1.0.0 07:36:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:36:18 go: finding github.com/mitchellh/gox v0.4.0 07:36:18 go: finding github.com/mitchellh/iochan v1.0.0 07:36:18 go: finding github.com/mitchellh/mapstructure v1.1.2 07:36:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:36:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:36:18 go: finding github.com/pelletier/go-toml v1.2.0 07:36:18 go: finding github.com/pkg/errors v0.8.1 07:36:18 go: finding github.com/pmezard/go-difflib v1.0.0 07:36:18 go: finding github.com/posener/complete v1.1.1 07:36:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:36:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:36:18 go: finding github.com/stretchr/objx v0.1.0 07:36:18 go: finding github.com/stretchr/testify v1.5.1 07:36:18 go: finding github.com/ugorji/go v1.1.4 07:36:18 go: finding github.com/x448/float16 v0.8.4 07:36:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:36:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:36:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:36:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:36:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:36:19 go: finding gopkg.in/yaml.v2 v2.2.8 07:36:23 Removing intermediate container f572becba43d 07:36:23 ---> e3c4fbb4f77b 07:36:23 Successfully built e3c4fbb4f77b 07:36:23 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 07:36:23 + docker inspect -f . ci-base-image-x86_64 07:36:23 . [Pipeline] withDockerContainer 07:36:24 prd-centos7-docker-4c-2g-6242 does not seem to be running inside a container 07:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@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 ******** ci-base-image-x86_64 cat 07:36:24 $ docker top 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:25 + go version 07:36:25 go version go1.13.5 linux/amd64 [Pipeline] sh 07:36:25 + make test 07:36:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:36:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:36:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:36:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:36:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:36:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements 07:36:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 07:37:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 11.4% of statements 07:37:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 21.7% of statements 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:37:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.122s coverage: 36.9% of statements 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:37:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.585s coverage: 65.2% of statements 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:37:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements 07:37:10 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:37:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 07:37:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:37:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:37:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:37:10 gofmt -l . 07:37:10 [ "`gofmt -l .`" = "" ] 07:37:10 ./bin/test-attribution-txt.sh 07:37:10 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:37:11 Stashed 1 file(s) [Pipeline] } 07:37:11 $ docker stop --time=1 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 07:37:12 $ docker rm -f 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:14 + ls -al . 07:37:14 total 180 07:37:14 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 27 07:37 . 07:37:14 drwxrwxr-x. 4 jenkins jenkins 30 Apr 27 07:35 .. 07:37:14 drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 07:35 api 07:37:14 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 07:35 bin 07:37:14 -rw-r--r--. 1 jenkins jenkins 110877 Apr 27 07:37 coverage.out 07:37:14 -rw-rw-r--. 1 jenkins jenkins 936 Apr 27 07:35 Dockerfile.build 07:37:14 -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 07:35 .dockerignore 07:37:14 drwxrwxr-x. 4 jenkins jenkins 48 Apr 27 07:35 example 07:37:14 drwxrwxr-x. 8 jenkins jenkins 162 Apr 27 07:35 .git 07:37:14 drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 07:35 .github 07:37:14 -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 07:35 .gitignore 07:37:14 -rw-r--r--. 1 jenkins jenkins 446 Apr 27 07:37 go.mod 07:37:14 -rw-r--r--. 1 jenkins jenkins 12076 Apr 27 07:37 go.sum 07:37:14 drwxrwxr-x. 15 jenkins jenkins 217 Apr 27 07:35 internal 07:37:14 -rw-rw-r--. 1 jenkins jenkins 808 Apr 27 07:35 Jenkinsfile 07:37:14 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 07:35 LICENSE 07:37:14 -rw-rw-r--. 1 jenkins jenkins 892 Apr 27 07:35 Makefile 07:37:14 drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 07:35 pkg 07:37:14 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 27 07:35 README.md 07:37:14 -rw-rw-r--. 1 jenkins jenkins 3497 Apr 27 07:35 RELEASE-NOTES.txt 07:37:14 drwxrwxr-x. 3 jenkins jenkins 44 Apr 27 07:35 .semver 07:37:14 drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 07:35 snap 07:37:14 -rw-rw-r--. 1 jenkins jenkins 12 Apr 27 07:33 VERSION 07:37:14 -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 07:35 version.go [Pipeline] isUnix [Pipeline] sh 07:37:14 + 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=f380c9750d394b15a68c03899168051b17741a54 --label arch=amd64 --label version=1.2.0-dev.36 . 07:37:14 Sending build context to Docker daemon 3.135MB 07:37:14 Step 1/21 : ARG BASE=golang:1.13-alpine 07:37:14 Step 2/21 : FROM ${BASE} AS builder 07:37:14 ---> e3c4fbb4f77b 07:37:14 Step 3/21 : ARG MAKE='make build' 07:37:14 ---> Running in 631dd1d22bd0 07:37:14 Removing intermediate container 631dd1d22bd0 07:37:14 ---> 1db98eb027c7 07:37:14 Step 4/21 : WORKDIR /device-sdk-go 07:37:14 ---> Running in cccc5d62903b 07:37:15 Removing intermediate container cccc5d62903b 07:37:15 ---> f5aca97a8333 07:37:15 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:15 ---> Running in fd40159a6b15 07:37:15 Removing intermediate container fd40159a6b15 07:37:15 ---> 78a3274d3d4b 07:37:15 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:15 ---> Running in 33b14ce2d218 07:37:16 Removing intermediate container 33b14ce2d218 07:37:16 ---> 618fa86dcc47 07:37:16 Step 7/21 : RUN apk add --update --no-cache make git 07:37:16 ---> Running in 213f1688959e 07:37:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:37:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:37:18 OK: 143 MiB in 39 packages 07:37:18 Removing intermediate container 213f1688959e 07:37:18 ---> 74cccccd8659 07:37:18 Step 8/21 : COPY . . 07:37:18 ---> 4d55dbba0996 07:37:18 Step 9/21 : RUN ${MAKE} 07:37:18 ---> Running in 75b6c543f8c7 07:37:19 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.36" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:37:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6243 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:37:23 Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout 07:37:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:37:27 Removing intermediate container 75b6c543f8c7 07:37:27 ---> a70f15994bf1 07:37:27 Step 10/21 : FROM scratch 07:37:27 ---> 07:37:27 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:27 ---> Running in 5a4b3ebe2149 07:37:28 Removing intermediate container 5a4b3ebe2149 07:37:28 ---> 24fd870954bd 07:37:28 Step 12/21 : ENV APP_PORT=49990 07:37:28 ---> Running in adf77fd00e6c 07:37:28 Removing intermediate container adf77fd00e6c 07:37:28 ---> a6954605d753 07:37:28 Step 13/21 : EXPOSE $APP_PORT 07:37:28 ---> Running in 5fa354f1d3ba 07:37:28 Removing intermediate container 5fa354f1d3ba 07:37:28 ---> 98853a3390fc 07:37:28 Step 14/21 : WORKDIR / 07:37:28 ---> Running in 94959458139a 07:37:28 Removing intermediate container 94959458139a 07:37:28 ---> 353c9c125a00 07:37:28 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:37:28 ---> 9f46645a5126 07:37:28 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:37:29 ---> 8546add5dcee 07:37:29 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:37:29 ---> 8a3c1b981260 07:37:29 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:37:29 ---> Running in b0cb0be23ea5 07:37:29 Removing intermediate container b0cb0be23ea5 07:37:29 ---> 061b93abd721 07:37:29 Step 19/21 : LABEL arch=amd64 07:37:29 ---> Running in 1c27de98e66d 07:37:29 Removing intermediate container 1c27de98e66d 07:37:29 ---> 32e85ebe2b96 07:37:29 Step 20/21 : LABEL git_sha=f380c9750d394b15a68c03899168051b17741a54 07:37:29 ---> Running in 1c0834a8ab55 07:37:29 Removing intermediate container 1c0834a8ab55 07:37:29 ---> e48873f19b0f 07:37:29 Step 21/21 : LABEL version=1.2.0-dev.36 07:37:29 ---> Running in 0c589e422967 07:37:29 Removing intermediate container 0c589e422967 07:37:29 ---> 0f0a198a3191 07:37:29 [Warning] One or more build-args [ARCH] were not consumed 07:37:29 Successfully built 0f0a198a3191 07:37:29 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 07:37:30 using credential edgex-jenkins-ssh [Pipeline] // script 07:37:30 Cloning the remote Git repository 07:37:30 Cloning with configured refspecs honoured and without tags [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] } 07:37:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:37:30 > git init /w/workspace/device-sdk-go/36 # timeout=10 07:37:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:30 > git --version # timeout=10 07:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:37:31 Fetching without tags 07:37:32 Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) 07:37:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:37:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:37:32 > git config core.sparsecheckout # timeout=10 07:37:32 > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 07:37:36 Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:37:37 ========================================================= 07:37:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:37:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:37:38 + 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 . 07:37:39 Sending build context to Docker daemon 3.005MB 07:37:39 Step 1/8 : ARG BASE=golang:1.13-alpine 07:37:39 Step 2/8 : FROM ${BASE} 07:37:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:37:40 cde5963f3b93: Pulling fs layer 07:37:40 2a23fa8c16f7: Pulling fs layer 07:37:40 777b28850792: Pulling fs layer 07:37:40 8a11ddd9e578: Pulling fs layer 07:37:40 4cf88f913ddb: Pulling fs layer 07:37:40 1df406cf5192: Pulling fs layer 07:37:40 cd6300453558: Pulling fs layer 07:37:40 b9c365052c96: Pulling fs layer 07:37:40 a2d8cc88f415: Pulling fs layer 07:37:40 ea1d1ca13537: Pulling fs layer 07:37:40 3750a50a1c5e: Pulling fs layer 07:37:40 8a11ddd9e578: Waiting 07:37:40 4cf88f913ddb: Waiting 07:37:40 1df406cf5192: Waiting 07:37:40 cd6300453558: Waiting 07:37:40 b9c365052c96: Waiting 07:37:40 3750a50a1c5e: Waiting 07:37:40 a2d8cc88f415: Waiting 07:37:40 ea1d1ca13537: Waiting 07:37:40 777b28850792: Download complete 07:37:40 2a23fa8c16f7: Verifying Checksum 07:37:40 2a23fa8c16f7: Download complete 07:37:40 4cf88f913ddb: Verifying Checksum 07:37:40 4cf88f913ddb: Download complete 07:37:40 1df406cf5192: Verifying Checksum 07:37:40 1df406cf5192: Download complete 07:37:40 cde5963f3b93: Verifying Checksum 07:37:41 cde5963f3b93: Pull complete 07:37:42 2a23fa8c16f7: Pull complete 07:37:42 777b28850792: Pull complete 07:37:44 cd6300453558: Verifying Checksum 07:37:44 cd6300453558: Download complete 07:37:44 a2d8cc88f415: Verifying Checksum 07:37:44 a2d8cc88f415: Download complete 07:37:46 ea1d1ca13537: Verifying Checksum 07:37:46 ea1d1ca13537: Download complete 07:37:47 3750a50a1c5e: Verifying Checksum 07:37:47 3750a50a1c5e: Download complete 07:37:49 b9c365052c96: Verifying Checksum 07:37:49 b9c365052c96: Download complete 07:37:51 8a11ddd9e578: Verifying Checksum 07:37:51 8a11ddd9e578: Download complete 07:38:04 8a11ddd9e578: Pull complete 07:38:04 4cf88f913ddb: Pull complete 07:38:04 1df406cf5192: Pull complete 07:38:09 cd6300453558: Pull complete 07:38:13 b9c365052c96: Pull complete 07:38:13 a2d8cc88f415: Pull complete 07:38:15 ea1d1ca13537: Pull complete 07:38:16 3750a50a1c5e: Pull complete 07:38:16 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:38:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:38:16 ---> 78745c68409d 07:38:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:38:19 ---> Running in 9b0bca0c85a9 07:38:19 Removing intermediate container 9b0bca0c85a9 07:38:19 ---> f09efc92c0bb 07:38:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:19 ---> Running in d9ca77552989 07:38:21 Removing intermediate container d9ca77552989 07:38:21 ---> c1b8588bae4d 07:38:21 Step 5/8 : RUN apk add --no-cache make git 07:38:21 ---> Running in 940d973f8a4c 07:38:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:38:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:38:24 OK: 125 MiB in 39 packages 07:38:25 Removing intermediate container 940d973f8a4c 07:38:25 ---> 462f17981532 07:38:25 Step 6/8 : WORKDIR /device-sdk-go 07:38:25 ---> Running in 726162787f42 07:38:25 Removing intermediate container 726162787f42 07:38:25 ---> 764e0cc4be47 07:38:25 Step 7/8 : COPY . . 07:38:26 ---> b4432ee9742a 07:38:26 Step 8/8 : RUN go mod download 07:38:27 ---> Running in b1b31d8c923e 07:38:29 go: finding github.com/BurntSushi/toml v0.3.1 07:38:29 go: finding github.com/OneOfOne/xxhash v1.2.6 07:38:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:38:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:38:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:38:29 go: finding github.com/bgentry/speakeasy v0.1.0 07:38:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:38:29 go: finding github.com/davecgh/go-spew v1.1.1 07:38:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 07:38:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:38:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:38:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:38:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:38:29 go: finding github.com/fatih/color v1.7.0 07:38:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:38:29 go: finding github.com/go-kit/kit v0.8.0 07:38:29 go: finding github.com/go-logfmt/logfmt v0.4.0 07:38:29 go: finding github.com/go-stack/stack v1.8.0 07:38:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:38:29 go: finding github.com/google/uuid v1.1.0 07:38:29 go: finding github.com/gorilla/mux v1.7.1 07:38:29 go: finding github.com/hashicorp/consul/api v1.1.0 07:38:29 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:38:29 go: finding github.com/hashicorp/errwrap v1.0.0 07:38:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:38:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:38:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:38:29 go: finding github.com/hashicorp/go-multierror v1.0.0 07:38:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:38:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:38:29 go: finding github.com/hashicorp/go-syslog v1.0.0 07:38:29 go: finding github.com/hashicorp/go-uuid v1.0.1 07:38:29 go: finding github.com/hashicorp/go.net v0.0.1 07:38:29 go: finding github.com/hashicorp/golang-lru v0.5.0 07:38:29 go: finding github.com/hashicorp/logutils v1.0.0 07:38:29 go: finding github.com/hashicorp/mdns v1.0.0 07:38:29 go: finding github.com/hashicorp/memberlist v0.1.3 07:38:29 go: finding github.com/hashicorp/serf v0.8.2 07:38:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:38:29 go: finding github.com/mattn/go-colorable v0.0.9 07:38:29 go: finding github.com/mattn/go-isatty v0.0.3 07:38:29 go: finding github.com/miekg/dns v1.0.14 07:38:29 go: finding github.com/mitchellh/cli v1.0.0 07:38:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:38:29 go: finding github.com/mitchellh/copystructure v1.0.0 07:38:29 go: finding github.com/mitchellh/go-homedir v1.0.0 07:38:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:38:29 go: finding github.com/mitchellh/gox v0.4.0 07:38:29 go: finding github.com/mitchellh/iochan v1.0.0 07:38:29 go: finding github.com/mitchellh/mapstructure v1.1.2 07:38:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:38:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:38:29 go: finding github.com/pelletier/go-toml v1.2.0 07:38:29 go: finding github.com/pkg/errors v0.8.1 07:38:29 go: finding github.com/pmezard/go-difflib v1.0.0 07:38:29 go: finding github.com/posener/complete v1.1.1 07:38:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:38:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:38:29 go: finding github.com/stretchr/objx v0.1.0 07:38:29 go: finding github.com/stretchr/testify v1.5.1 07:38:29 go: finding github.com/ugorji/go v1.1.4 07:38:29 go: finding github.com/x448/float16 v0.8.4 07:38:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:38:29 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:38:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:38:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:38:29 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:38:29 go: finding gopkg.in/yaml.v2 v2.2.8 07:38:39 Removing intermediate container b1b31d8c923e 07:38:39 ---> 110342db4f4d 07:38:39 Successfully built 110342db4f4d 07:38:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:38:40 + docker inspect -f . ci-base-image-arm64 07:38:40 . [Pipeline] withDockerContainer 07:38:40 prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 07:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:38:42 $ docker top 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:43 + go version 07:38:43 go version go1.13.5 linux/arm64 [Pipeline] sh 07:38:44 + make test 07:38:44 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:38:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:39:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:39:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:39:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:39:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 22.1% of statements 07:39:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.220s coverage: 95.8% of statements 07:39:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.115s coverage: 11.4% of statements 07:39:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:39:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 36.9% of statements 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:39:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.659s coverage: 65.2% of statements 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:39:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 07:39:49 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:39:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements 07:39:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:39:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:39:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:39:52 gofmt -l . 07:39:52 [ "`gofmt -l .`" = "" ] 07:39:52 ./bin/test-attribution-txt.sh 07:39:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:39:53 Warning: overwriting stash ‘coverage-report’ 07:39:54 Stashed 1 file(s) [Pipeline] } 07:39:54 $ docker stop --time=1 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 07:39:56 $ docker rm -f 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:39:58 + ls -al . 07:39:58 total 220 07:39:58 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 07:39 . 07:39:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 .. 07:39:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 07:37 .dockerignore 07:39:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 07:37 .git 07:39:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:37 .github 07:39:58 -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 07:37 .gitignore 07:39:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:37 .semver 07:39:58 -rw-rw-r-- 1 jenkins jenkins 936 Apr 27 07:37 Dockerfile.build 07:39:58 -rw-rw-r-- 1 jenkins jenkins 808 Apr 27 07:37 Jenkinsfile 07:39:58 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 07:37 LICENSE 07:39:58 -rw-rw-r-- 1 jenkins jenkins 892 Apr 27 07:37 Makefile 07:39:58 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 27 07:37 README.md 07:39:58 -rw-rw-r-- 1 jenkins jenkins 3497 Apr 27 07:37 RELEASE-NOTES.txt 07:39:58 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 07:33 VERSION 07:39:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:37 api 07:39:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:37 bin 07:39:58 -rw-r--r-- 1 jenkins jenkins 110877 Apr 27 07:39 coverage.out 07:39:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 example 07:39:58 -rw-r--r-- 1 jenkins jenkins 446 Apr 27 07:39 go.mod 07:39:58 -rw-r--r-- 1 jenkins jenkins 12076 Apr 27 07:39 go.sum 07:39:58 drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 07:37 internal 07:39:58 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 07:37 pkg 07:39:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 snap 07:39:58 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 07:37 version.go [Pipeline] isUnix [Pipeline] sh 07:39:58 + 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=f380c9750d394b15a68c03899168051b17741a54 --label arch=arm64 --label version=1.2.0-dev.36 . 07:39:59 Sending build context to Docker daemon 3.133MB 07:39:59 Step 1/21 : ARG BASE=golang:1.13-alpine 07:39:59 Step 2/21 : FROM ${BASE} AS builder 07:39:59 ---> 110342db4f4d 07:39:59 Step 3/21 : ARG MAKE='make build' 07:39:59 ---> Running in f4f3f22832e0 07:39:59 Removing intermediate container f4f3f22832e0 07:39:59 ---> b47edb702d62 07:39:59 Step 4/21 : WORKDIR /device-sdk-go 07:39:59 ---> Running in 8de1872c6a66 07:40:00 Removing intermediate container 8de1872c6a66 07:40:00 ---> 0d53823e37f0 07:40:00 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:40:00 ---> Running in 7aff13855e72 07:40:00 Removing intermediate container 7aff13855e72 07:40:00 ---> da0c442effae 07:40:00 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:40:00 ---> Running in 9b0f03b27b65 07:40:02 Removing intermediate container 9b0f03b27b65 07:40:02 ---> c926a007de4c 07:40:02 Step 7/21 : RUN apk add --update --no-cache make git 07:40:02 ---> Running in 6017ef9d6e0c 07:40:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:40:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:40:05 OK: 125 MiB in 39 packages 07:40:06 Removing intermediate container 6017ef9d6e0c 07:40:06 ---> aeb3c05c164f 07:40:06 Step 8/21 : COPY . . 07:40:07 ---> 5516fa93b78c 07:40:07 Step 9/21 : RUN ${MAKE} 07:40:07 ---> Running in 3fb52dff1498 07:40:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.36" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:40:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:40:34 Removing intermediate container 3fb52dff1498 07:40:34 ---> 138f84ae5d5f 07:40:34 Step 10/21 : FROM scratch 07:40:34 ---> 07:40:34 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:40:34 ---> Running in ea93312cf07f 07:40:34 Removing intermediate container ea93312cf07f 07:40:34 ---> cc8cc16b19cc 07:40:34 Step 12/21 : ENV APP_PORT=49990 07:40:34 ---> Running in c4557318f3c6 07:40:34 Removing intermediate container c4557318f3c6 07:40:34 ---> e18a662c96bf 07:40:34 Step 13/21 : EXPOSE $APP_PORT 07:40:34 ---> Running in 56e6060e56a5 07:40:34 Removing intermediate container 56e6060e56a5 07:40:34 ---> c71d71907661 07:40:34 Step 14/21 : WORKDIR / 07:40:34 ---> Running in 729c354ce105 07:40:35 Removing intermediate container 729c354ce105 07:40:35 ---> c87ef35bdc38 07:40:35 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:40:36 ---> f9ab27768be1 07:40:36 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:40:37 ---> 9507cc606775 07:40:37 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:40:37 ---> 54e14494d7c7 07:40:37 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:40:37 ---> Running in 05e16b569430 07:40:37 Removing intermediate container 05e16b569430 07:40:37 ---> f040c59b3d2f 07:40:37 Step 19/21 : LABEL arch=arm64 07:40:38 ---> Running in bad07ed86d42 07:40:38 Removing intermediate container bad07ed86d42 07:40:38 ---> 6484762f7c88 07:40:38 Step 20/21 : LABEL git_sha=f380c9750d394b15a68c03899168051b17741a54 07:40:38 ---> Running in e84c6ddad321 07:40:39 Removing intermediate container e84c6ddad321 07:40:39 ---> 00f57bc9329b 07:40:39 Step 21/21 : LABEL version=1.2.0-dev.36 07:40:39 ---> Running in 3fdc25544dd9 07:40:39 Removing intermediate container 3fdc25544dd9 07:40:39 ---> 845f22342119 07:40:39 [Warning] One or more build-args [ARCH] were not consumed 07:40:39 Successfully built 845f22342119 07:40:39 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 07:40:41 provisioning config files... 07:40:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config777015648876084159tmp [Pipeline] { [Pipeline] sh 07:40:41 + curl -s https://codecov.io/bash 07:40:41 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config777015648876084159tmp 07:40:41 07:40:41 _____ _ 07:40:41 / ____| | | 07:40:41 | | ___ __| | ___ ___ _____ __ 07:40:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:40:41 | |___| (_) | (_| | __/ (_| (_) \ V / 07:40:41 \_____\___/ \__,_|\___|\___\___/ \_/ 07:40:41 Bash-tbd 07:40:41 07:40:41 07:40:41 ==> Jenkins CI detected. 07:40:41 project root: . 07:40:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:40:41 ==> Running gcov in . (disable via -X gcov) 07:40:41 ==> Python coveragepy not found 07:40:41 ==> Searching for coverage reports in: 07:40:41 + . 07:40:41 -> Found 1 reports 07:40:41 ==> Detecting git/mercurial file structure 07:40:41 ==> Reading reports 07:40:41 + ./coverage.out bytes=110877 07:40:41 ==> Appending adjustments 07:40:41 http://docs.codecov.io/docs/fixing-reports 07:40:42 + Found adjustments 07:40:42 ==> Gzipping contents 07:40:42 ==> Uploading reports 07:40:42 url: https://codecov.io 07:40:42 query: branch=master&commit=f380c9750d394b15a68c03899168051b17741a54&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:40:42 -> Pinging Codecov 07:40:42 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=f380c9750d394b15a68c03899168051b17741a54&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 07:40:42 -> Uploading 07:40:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f380c9750d394b15a68c03899168051b17741a54 [Pipeline] } 07:40:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 07:40:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 07:40:43 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 07:40:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 07:40:44 07:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 07:40:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 07:40:44 1.217.3: Pulling from edgex-devops/edgex-snyk-go 07:40:44 e6b0cf9c0882: Pulling fs layer 07:40:44 2848faf0eed1: Pulling fs layer 07:40:44 0f37312ad70f: Pulling fs layer 07:40:44 7d08f2745646: Pulling fs layer 07:40:44 4c9f31393084: Pulling fs layer 07:40:44 eb21ddb83652: Pulling fs layer 07:40:44 345998794f6b: Pulling fs layer 07:40:44 97a711d68925: Pulling fs layer 07:40:44 7c8476c1cb00: Pulling fs layer 07:40:44 7d08f2745646: Waiting 07:40:44 eb21ddb83652: Waiting 07:40:44 4c9f31393084: Waiting 07:40:44 345998794f6b: Waiting 07:40:44 97a711d68925: Waiting 07:40:44 7c8476c1cb00: Waiting 07:40:44 0f37312ad70f: Download complete 07:40:44 2848faf0eed1: Verifying Checksum 07:40:44 2848faf0eed1: Download complete 07:40:44 4c9f31393084: Verifying Checksum 07:40:44 4c9f31393084: Download complete 07:40:44 e6b0cf9c0882: Verifying Checksum 07:40:44 e6b0cf9c0882: Download complete 07:40:44 eb21ddb83652: Verifying Checksum 07:40:44 eb21ddb83652: Download complete 07:40:44 345998794f6b: Verifying Checksum 07:40:44 345998794f6b: Download complete 07:40:45 e6b0cf9c0882: Pull complete 07:40:45 2848faf0eed1: Pull complete 07:40:45 97a711d68925: Verifying Checksum 07:40:45 97a711d68925: Download complete 07:40:45 7c8476c1cb00: Verifying Checksum 07:40:45 7c8476c1cb00: Download complete 07:40:45 0f37312ad70f: Pull complete 07:40:46 7d08f2745646: Verifying Checksum 07:40:46 7d08f2745646: Download complete 07:40:52 7d08f2745646: Pull complete 07:40:52 4c9f31393084: Pull complete 07:40:52 eb21ddb83652: Pull complete 07:40:54 345998794f6b: Pull complete 07:40:57 97a711d68925: Pull complete 07:40:58 7c8476c1cb00: Pull complete 07:40:58 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 07:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 07:40:58 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:40:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 07:40:59 $ docker top 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:59 + snyk monitor '--org=edgex-jenkins' 07:41:09 07:41:09 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 07:41:09 07:41:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/cbfcb51a-5d39-49e1-9c26-40493555ce9a 07:41:09 07:41:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:41:09 07:41:09 [Pipeline] } 07:41:09 $ docker stop --time=1 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 07:41:11 $ docker rm -f 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 07:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:12 . [Pipeline] withDockerContainer 07:41:12 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:41:12 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:12 $ docker top 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:13 [ssh-agent] Looking for ssh-agent implementation... 07:41:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:13 $ docker exec 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 ssh-agent 07:41:13 SSH_AUTH_SOCK=/tmp/ssh-MIwBynvCtijZ/agent.14 07:41:13 SSH_AGENT_PID=21 07:41:13 Running ssh-add (command line suppressed) 07:41:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5578830696109374490.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5578830696109374490.key) 07:41:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:14 + git semver tag 07:41:14 # -> Open(): unable to determine branch for HEAD 07:41:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:41:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:41:14 # $SEMVER_REMOTE_NAME = origin 07:41:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:41:14 # $SEMVER_USER_NAME = edgex-jenkins 07:41:14 # $SEMVER_BRANCH = master 07:41:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:41:14 # f380c9750d394b15a68c03899168051b17741a54 HEAD 07:41:14 # -> Force: false 07:41:14 # fdce2b96d0770f0eb56a6c572b06a20f8e0da996 refs/tags/v1.2.0-dev.36 [Pipeline] } 07:41:14 $ docker exec --env ******** --env ******** 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 ssh-agent -k 07:41:14 unset SSH_AUTH_SOCK; 07:41:14 unset SSH_AGENT_PID; 07:41:14 echo Agent pid 21 killed; 07:41:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:15 + git semver [Pipeline] } 07:41:15 $ docker stop --time=1 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 07:41:16 $ docker rm -f 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:41:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:17 07:41:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:41:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:17 0.23.1-centos7: Pulling from edgex-lftools 07:41:17 ab5ef0e58194: Pulling fs layer 07:41:17 9712f1f96733: Pulling fs layer 07:41:17 63f879dbbcfc: Pulling fs layer 07:41:17 0d9ebad4ef96: Pulling fs layer 07:41:17 e9a5061849ea: Pulling fs layer 07:41:17 d747dcd14b5f: Pulling fs layer 07:41:17 2de7ff778b66: Pulling fs layer 07:41:17 e9a5061849ea: Waiting 07:41:17 d747dcd14b5f: Waiting 07:41:17 2de7ff778b66: Waiting 07:41:17 0d9ebad4ef96: Waiting 07:41:17 9712f1f96733: Verifying Checksum 07:41:17 9712f1f96733: Download complete 07:41:17 63f879dbbcfc: Verifying Checksum 07:41:17 63f879dbbcfc: Download complete 07:41:18 e9a5061849ea: Verifying Checksum 07:41:18 e9a5061849ea: Download complete 07:41:18 d747dcd14b5f: Verifying Checksum 07:41:18 d747dcd14b5f: Download complete 07:41:18 0d9ebad4ef96: Download complete 07:41:18 2de7ff778b66: Verifying Checksum 07:41:18 2de7ff778b66: Download complete 07:41:18 ab5ef0e58194: Verifying Checksum 07:41:18 ab5ef0e58194: Download complete 07:41:23 ab5ef0e58194: Pull complete 07:41:23 9712f1f96733: Pull complete 07:41:26 63f879dbbcfc: Pull complete 07:41:31 0d9ebad4ef96: Pull complete 07:41:33 e9a5061849ea: Pull complete 07:41:33 d747dcd14b5f: Pull complete 07:41:37 2de7ff778b66: Pull complete 07:41:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:41:38 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:41:38 $ docker top c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:41:39 provisioning config files... 07:41:39 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1513436454484329004tmp 07:41:39 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2547367280925247681tmp 07:41:39 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6189505491694403453tmp [Pipeline] { [Pipeline] echo 07:41:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:41:39 ---> sigul-configuration.sh 07:41:39 gpg: directory `/root/.gnupg' created 07:41:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:41:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:41:39 gpg: keyring `/root/.gnupg/secring.gpg' created 07:41:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:41:39 gpg: CAST5 encrypted data 07:41:39 gpg: encrypted with 1 passphrase 07:41:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:41:39 + mkdir /home/jenkins 07:41:39 + mkdir /home/jenkins/sigul [Pipeline] sh 07:41:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 07:41:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:41:40 ---> sigul-install.sh 07:41:48 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:41:48 + git tag --list 07:41:48 v1.2.0-dev.36 [Pipeline] sh 07:41:49 + lftools sign git-tag v1.2.0-dev.36 07:41:50 Signing Git tag with Sigul... 07:41:50 Signing v1.2.0-dev.36 [Pipeline] echo 07:41:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:41:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:41:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:41:51 $ docker stop --time=1 c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b 07:41:53 $ docker rm -f c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:54 . [Pipeline] withDockerContainer 07:41:54 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:41:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:54 $ docker top c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:55 [ssh-agent] Looking for ssh-agent implementation... 07:41:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:55 $ docker exec c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 ssh-agent 07:41:55 SSH_AUTH_SOCK=/tmp/ssh-QCFncRu66Dxv/agent.14 07:41:55 SSH_AGENT_PID=21 07:41:55 Running ssh-add (command line suppressed) 07:41:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2005516822820385502.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2005516822820385502.key) 07:41:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:55 + git semver bump pre 07:41:55 # -> Open(): unable to determine branch for HEAD 07:41:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:41:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:41:55 # $SEMVER_REMOTE_NAME = origin 07:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:41:55 # $SEMVER_USER_NAME = edgex-jenkins 07:41:55 # $SEMVER_BRANCH = master 07:41:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:41:55 1.2.0-dev.37 [Pipeline] } 07:41:55 $ docker exec --env ******** --env ******** c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 ssh-agent -k 07:41:56 unset SSH_AUTH_SOCK; 07:41:56 unset SSH_AGENT_PID; 07:41:56 echo Agent pid 21 killed; 07:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:56 + git semver [Pipeline] } 07:41:56 $ docker stop --time=1 c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 07:41:57 $ docker rm -f c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:41:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:58 . [Pipeline] withDockerContainer 07:41:58 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:41:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:59 $ docker top 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:59 [ssh-agent] Looking for ssh-agent implementation... 07:41:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:59 $ docker exec 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 ssh-agent 07:41:59 SSH_AUTH_SOCK=/tmp/ssh-9P6ZLKbVI2UL/agent.15 07:41:59 SSH_AGENT_PID=22 07:41:59 Running ssh-add (command line suppressed) 07:41:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4114859975518936826.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4114859975518936826.key) 07:41:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:00 + git semver push 07:42:00 # -> Open(): unable to determine branch for HEAD 07:42:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:42:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:42:00 # $SEMVER_REMOTE_NAME = origin 07:42:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:42:00 # $SEMVER_USER_NAME = edgex-jenkins 07:42:00 # $SEMVER_BRANCH = master 07:42:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:42:08 $ docker exec --env ******** --env ******** 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 ssh-agent -k 07:42:08 unset SSH_AUTH_SOCK; 07:42:08 unset SSH_AGENT_PID; 07:42:08 echo Agent pid 22 killed; 07:42:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:09 + git semver [Pipeline] } 07:42:09 $ docker stop --time=1 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 07:42:10 $ docker rm -f 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:42:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:42:11 ---> package-listing.sh 07:42:11 ++ facter osfamily 07:42:11 ++ tr '[:upper:]' '[:lower:]' 07:42:11 + OS_FAMILY=redhat 07:42:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:42:11 + START_PACKAGES=/tmp/packages_start.txt 07:42:11 + END_PACKAGES=/tmp/packages_end.txt 07:42:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:42:11 + PACKAGES=/tmp/packages_start.txt 07:42:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:42:11 + PACKAGES=/tmp/packages_end.txt 07:42:11 + case "${OS_FAMILY}" in 07:42:11 + rpm -qa 07:42:11 + sort 07:42:16 + '[' -f /tmp/packages_start.txt ']' 07:42:16 + '[' -f /tmp/packages_end.txt ']' 07:42:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:42:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:42:16 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:42:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 07:42:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:42:16 07:42:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:42:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:42:16 alpine: Pulling from edgex-lftools-log-publisher 07:42:16 c9b1b535fdd9: Pulling fs layer 07:42:16 2cc5ad85d9ab: Pulling fs layer 07:42:16 756a868c4378: Pulling fs layer 07:42:16 444b2fc9a129: Pulling fs layer 07:42:16 ea15f1150254: Pulling fs layer 07:42:16 41b27a9f41bf: Pulling fs layer 07:42:16 28c525ee5125: Pulling fs layer 07:42:16 094b1ea09ed8: Pulling fs layer 07:42:16 138eaada9080: Pulling fs layer 07:42:16 0622d0fa9048: Pulling fs layer 07:42:16 444b2fc9a129: Waiting 07:42:16 ea15f1150254: Waiting 07:42:16 41b27a9f41bf: Waiting 07:42:16 138eaada9080: Waiting 07:42:16 0622d0fa9048: Waiting 07:42:16 28c525ee5125: Waiting 07:42:16 094b1ea09ed8: Waiting 07:42:16 2cc5ad85d9ab: Download complete 07:42:16 444b2fc9a129: Verifying Checksum 07:42:16 444b2fc9a129: Download complete 07:42:16 c9b1b535fdd9: Verifying Checksum 07:42:17 ea15f1150254: Verifying Checksum 07:42:17 ea15f1150254: Download complete 07:42:17 28c525ee5125: Verifying Checksum 07:42:17 28c525ee5125: Download complete 07:42:17 c9b1b535fdd9: Pull complete 07:42:17 2cc5ad85d9ab: Pull complete 07:42:17 756a868c4378: Verifying Checksum 07:42:17 756a868c4378: Download complete 07:42:17 138eaada9080: Verifying Checksum 07:42:17 138eaada9080: Download complete 07:42:17 0622d0fa9048: Verifying Checksum 07:42:17 0622d0fa9048: Download complete 07:42:17 094b1ea09ed8: Verifying Checksum 07:42:17 094b1ea09ed8: Download complete 07:42:18 41b27a9f41bf: Verifying Checksum 07:42:18 41b27a9f41bf: Download complete 07:42:20 756a868c4378: Pull complete 07:42:20 444b2fc9a129: Pull complete 07:42:20 ea15f1150254: Pull complete 07:42:24 41b27a9f41bf: Pull complete 07:42:24 28c525ee5125: Pull complete 07:42:26 094b1ea09ed8: Pull complete 07:42:26 138eaada9080: Pull complete 07:42:26 0622d0fa9048: Pull complete 07:42:26 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:42:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:42:26 prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container 07:42:26 $ 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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:42:27 $ docker top dde9d7e6fe19dfde373c03aad24132ca323e0bdb601c4f70126aa6879f2bc3b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:28 provisioning config files... 07:42:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8601657257098992575tmp [Pipeline] { [Pipeline] echo 07:42:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:42:28 ---> create-netrc.sh [Pipeline] echo 07:42:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:42:28 ---> logs-deploy.sh 07:42:28 + ARCHIVE_ARTIFACTS= 07:42:28 + LOGS_SERVER=https://logs.edgexfoundry.org 07:42:28 + '[' https://logs.edgexfoundry.org == None ']' 07:42:28 + NEXUS_URL=https://nexus.edgexfoundry.org 07:42:28 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 07:42:28 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/36/ 07:42:28 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 /w/workspace/dgexfoundry_device-sdk-go_master 07:42:29 Archives upload complete. 07:42:30 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/36/