Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 11599fec544a3b4af0d17b6529789613b5afe41c 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # 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-5100 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 11599fec544a3b4af0d17b6529789613b5afe41c (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 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 Commit message: "Merge pull request #500 from hahattan/issue-498" > git rev-list --no-walk e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:35:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:35:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:35:05 ========================================================= 02:35:05 EdgeX Global Pipelines Version Info 02:35:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:35:06 ------------------- 02:35:06 stable info: 02:35:06 ------------------- 02:35:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:35:06 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:35:06 Message: update stable to v1.0.73 02:35:07 ------------------- 02:35:07 experimental info: 02:35:07 ------------------- 02:35:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:35:07 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:35:07 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:35:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:08 02:35:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:35:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:09 latest: Pulling from edgex-devops/git-semver 02:35:09 9123ac7c32f7: Pulling fs layer 02:35:09 b8cc5d1170e3: Pulling fs layer 02:35:09 2924cbbf6a41: Pulling fs layer 02:35:09 93b08a4f1073: Pulling fs layer 02:35:09 93b08a4f1073: Waiting 02:35:09 b8cc5d1170e3: Verifying Checksum 02:35:09 b8cc5d1170e3: Download complete 02:35:09 9123ac7c32f7: Verifying Checksum 02:35:09 9123ac7c32f7: Download complete 02:35:09 93b08a4f1073: Verifying Checksum 02:35:09 93b08a4f1073: Download complete 02:35:09 2924cbbf6a41: Verifying Checksum 02:35:09 2924cbbf6a41: Download complete 02:35:09 9123ac7c32f7: Pull complete 02:35:09 b8cc5d1170e3: Pull complete 02:35:10 2924cbbf6a41: Pull complete 02:35:10 93b08a4f1073: Pull complete 02:35:10 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:35:10 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:35:10 $ 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 02:35:11 $ docker top 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:35:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:11 [ssh-agent] Looking for ssh-agent implementation... 02:35:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:11 $ docker exec 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent 02:35:12 SSH_AUTH_SOCK=/tmp/ssh-LuEZjpOVtlyc/agent.15 02:35:12 SSH_AGENT_PID=21 02:35:12 Running ssh-add (command line suppressed) 02:35:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3010817667879812550.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3010817667879812550.key) 02:35:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:12 + git describe --exact-match --tags HEAD 02:35:12 fatal: No names found, cannot describe anything. [Pipeline] } 02:35:12 $ docker exec --env ******** --env ******** 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent -k 02:35:12 unset SSH_AUTH_SOCK; 02:35:12 unset SSH_AGENT_PID; 02:35:12 echo Agent pid 21 killed; 02:35:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:35:12 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:35:12 This usually means this commit has not been tagged. [Pipeline] sshagent 02:35:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:13 [ssh-agent] Looking for ssh-agent implementation... 02:35:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:13 $ docker exec 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent 02:35:13 SSH_AUTH_SOCK=/tmp/ssh-a4petndtsmRU/agent.57 02:35:13 SSH_AGENT_PID=64 02:35:13 Running ssh-add (command line suppressed) 02:35:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6547849609494674647.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6547849609494674647.key) 02:35:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:13 + git semver init 02:35:13 # -> Open(): unable to determine branch for HEAD 02:35:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:35:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:35:13 # $SEMVER_REMOTE_NAME = origin 02:35:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:35:13 # $SEMVER_USER_NAME = edgex-jenkins 02:35:13 # $SEMVER_BRANCH = master 02:35:13 # $SEMVER_TEMP = /tmp/semver-428277288 02:35:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:35:14 # '/tmp/semver-428277288' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 02:35:14 # -> Force: false 02:35:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 02:35:14 $ docker exec --env ******** --env ******** 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent -k 02:35:14 unset SSH_AUTH_SOCK; 02:35:14 unset SSH_AGENT_PID; 02:35:14 echo Agent pid 64 killed; 02:35:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:15 + git semver [Pipeline] } 02:35:15 $ docker stop --time=1 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 02:35:16 $ docker rm -f 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:35:17 Stashed 44 file(s) [Pipeline] echo 02:35:17 [edgeXSemver] initialized semver on version 1.2.0-dev.27 [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 02:35:32 Still waiting to schedule task 02:35:32 ‘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-5094’ is offline; ‘prd-centos7-docker-4c-2g-5098’ is offline; ‘prd-centos7-docker-4c-2g-5101’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5096’ doesn’t have label ‘centos7-docker-4c-2g’ 02:35:32 Still waiting to schedule task 02:35:32 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:38:35 Running on prd-centos7-docker-4c-2g-5103 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 02:38:35 Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout 02:38:37 using credential edgex-jenkins-ssh 02:38:37 Cloning the remote Git repository 02:38:37 Cloning with configured refspecs honoured and without tags 02:38:38 Fetching without tags 02:38:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:38:37 > git init /w/workspace/device-sdk-go/27 # timeout=10 02:38:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:38:37 > git --version # timeout=10 02:38:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:38:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:38:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:38:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:38:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:38:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:38:38 Checking out Revision 11599fec544a3b4af0d17b6529789613b5afe41c (master) 02:38:38 > git config core.sparsecheckout # timeout=10 02:38:38 > git checkout -f 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 02:38:42 Commit message: "Merge pull request #500 from hahattan/issue-498" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:38:43 ========================================================= 02:38:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:38:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:38:44 + 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 . 02:38:44 Sending build context to Docker daemon 2.918MB 02:38:44 Step 1/8 : ARG BASE=golang:1.13-alpine 02:38:44 Step 2/8 : FROM ${BASE} 02:38:44 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:38:44 e6b0cf9c0882: Pulling fs layer 02:38:44 2848faf0eed1: Pulling fs layer 02:38:44 0f37312ad70f: Pulling fs layer 02:38:44 5788d62ee057: Pulling fs layer 02:38:44 0e6b1d234666: Pulling fs layer 02:38:44 bf5d7aec512f: Pulling fs layer 02:38:44 34c802a77dc8: Pulling fs layer 02:38:44 9eb99e56ec68: Pulling fs layer 02:38:44 27c7a5d97fbd: Pulling fs layer 02:38:44 5c102a31e300: Pulling fs layer 02:38:44 dcfb455df0a1: Pulling fs layer 02:38:44 0e6b1d234666: Waiting 02:38:44 bf5d7aec512f: Waiting 02:38:44 34c802a77dc8: Waiting 02:38:44 9eb99e56ec68: Waiting 02:38:44 27c7a5d97fbd: Waiting 02:38:44 5c102a31e300: Waiting 02:38:44 dcfb455df0a1: Waiting 02:38:44 5788d62ee057: Waiting 02:38:44 0f37312ad70f: Verifying Checksum 02:38:44 0f37312ad70f: Download complete 02:38:44 2848faf0eed1: Verifying Checksum 02:38:44 2848faf0eed1: Download complete 02:38:44 0e6b1d234666: Verifying Checksum 02:38:44 0e6b1d234666: Download complete 02:38:44 bf5d7aec512f: Verifying Checksum 02:38:44 bf5d7aec512f: Download complete 02:38:44 e6b0cf9c0882: Verifying Checksum 02:38:44 e6b0cf9c0882: Download complete 02:38:44 e6b0cf9c0882: Pull complete 02:38:44 2848faf0eed1: Pull complete 02:38:45 0f37312ad70f: Pull complete 02:38:45 34c802a77dc8: Verifying Checksum 02:38:45 34c802a77dc8: Download complete 02:38:45 27c7a5d97fbd: Verifying Checksum 02:38:45 27c7a5d97fbd: Download complete 02:38:46 5c102a31e300: Verifying Checksum 02:38:46 5c102a31e300: Download complete 02:38:46 dcfb455df0a1: Verifying Checksum 02:38:46 dcfb455df0a1: Download complete 02:38:46 9eb99e56ec68: Verifying Checksum 02:38:46 9eb99e56ec68: Download complete 02:38:46 5788d62ee057: Verifying Checksum 02:38:46 5788d62ee057: Download complete 02:38:53 5788d62ee057: Pull complete 02:38:53 0e6b1d234666: Pull complete 02:38:53 bf5d7aec512f: Pull complete 02:38:59 34c802a77dc8: Pull complete 02:39:03 9eb99e56ec68: Pull complete 02:39:03 27c7a5d97fbd: Pull complete 02:39:03 5c102a31e300: Pull complete 02:39:03 dcfb455df0a1: Pull complete 02:39:03 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:39:03 ---> 7c70fe431013 02:39:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:39:03 ---> Running in 86909be3b2a3 02:39:03 Removing intermediate container 86909be3b2a3 02:39:03 ---> e340836a7e72 02:39:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:39:03 ---> Running in 4d5bbd662d11 02:39:04 Removing intermediate container 4d5bbd662d11 02:39:04 ---> 582e7b6d15ee 02:39:04 Step 5/8 : RUN apk add --no-cache make git 02:39:04 ---> Running in 3947c9ec19aa 02:39:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:39:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:39:08 OK: 143 MiB in 39 packages 02:39:09 Removing intermediate container 3947c9ec19aa 02:39:09 ---> 1ab70611c467 02:39:09 Step 6/8 : WORKDIR /device-sdk-go 02:39:09 ---> Running in b35f429f1f10 02:39:09 Removing intermediate container b35f429f1f10 02:39:09 ---> efb7a5b7b439 02:39:09 Step 7/8 : COPY . . 02:39:10 ---> 714b89b20a95 02:39:10 Step 8/8 : RUN go mod download 02:39:10 ---> Running in 002236b349b1 02:39:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5102 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 02:39:11 Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout 02:39:11 go: finding github.com/BurntSushi/toml v0.3.1 02:39:11 go: finding github.com/OneOfOne/xxhash v1.2.6 02:39:11 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:39:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:39:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:39:11 go: finding github.com/bgentry/speakeasy v0.1.0 02:39:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:39:11 go: finding github.com/davecgh/go-spew v1.1.1 02:39:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 02:39:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:39:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:39:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:39:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:39:12 go: finding github.com/fatih/color v1.7.0 02:39:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:39:12 go: finding github.com/go-kit/kit v0.8.0 02:39:12 go: finding github.com/go-logfmt/logfmt v0.4.0 02:39:12 go: finding github.com/go-stack/stack v1.8.0 02:39:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:39:12 go: finding github.com/google/uuid v1.1.0 02:39:12 go: finding github.com/gorilla/mux v1.7.1 02:39:12 go: finding github.com/hashicorp/consul/api v1.1.0 02:39:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:39:12 go: finding github.com/hashicorp/errwrap v1.0.0 02:39:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:39:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:39:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:39:12 go: finding github.com/hashicorp/go-multierror v1.0.0 02:39:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:39:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:39:12 go: finding github.com/hashicorp/go-syslog v1.0.0 02:39:12 go: finding github.com/hashicorp/go-uuid v1.0.1 02:39:12 go: finding github.com/hashicorp/go.net v0.0.1 02:39:12 go: finding github.com/hashicorp/golang-lru v0.5.0 02:39:12 go: finding github.com/hashicorp/logutils v1.0.0 02:39:12 go: finding github.com/hashicorp/mdns v1.0.0 02:39:12 go: finding github.com/hashicorp/memberlist v0.1.3 02:39:12 go: finding github.com/hashicorp/serf v0.8.2 02:39:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:39:12 go: finding github.com/mattn/go-colorable v0.0.9 02:39:12 go: finding github.com/mattn/go-isatty v0.0.3 02:39:12 go: finding github.com/miekg/dns v1.0.14 02:39:12 go: finding github.com/mitchellh/cli v1.0.0 02:39:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:39:12 go: finding github.com/mitchellh/copystructure v1.0.0 02:39:12 go: finding github.com/mitchellh/go-homedir v1.0.0 02:39:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:39:12 go: finding github.com/mitchellh/gox v0.4.0 02:39:12 go: finding github.com/mitchellh/iochan v1.0.0 02:39:12 go: finding github.com/mitchellh/mapstructure v1.1.2 02:39:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:39:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:39:12 go: finding github.com/pelletier/go-toml v1.2.0 02:39:12 go: finding github.com/pkg/errors v0.8.1 02:39:12 go: finding github.com/pmezard/go-difflib v1.0.0 02:39:12 go: finding github.com/posener/complete v1.1.1 02:39:12 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:39:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:39:12 go: finding github.com/stretchr/objx v0.1.0 02:39:12 go: finding github.com/stretchr/testify v1.5.1 02:39:12 go: finding github.com/ugorji/go v1.1.4 02:39:12 go: finding github.com/x448/float16 v0.8.4 02:39:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:39:12 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:39:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:39:12 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:39:12 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:39:12 go: finding gopkg.in/yaml.v2 v2.2.8 02:39:17 using credential edgex-jenkins-ssh 02:39:17 Cloning the remote Git repository 02:39:17 Cloning with configured refspecs honoured and without tags 02:39:17 Removing intermediate container 002236b349b1 02:39:17 ---> 0596ec1dff99 02:39:17 Successfully built 0596ec1dff99 02:39:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 02:39:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:39:17 > git init /w/workspace/device-sdk-go/27 # timeout=10 02:39:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:39:17 > git --version # timeout=10 02:39:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:39:18 + docker inspect -f . ci-base-image-x86_64 02:39:18 . [Pipeline] withDockerContainer 02:39:18 prd-centos7-docker-4c-2g-5103 does not seem to be running inside a container 02:39:18 Fetching without tags 02:39:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 02:39:18 Checking out Revision 11599fec544a3b4af0d17b6529789613b5afe41c (master) 02:39:19 $ docker top b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 -eo pid,comm 02:39:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:39:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:39:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:39:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:39:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:39:18 > git config core.sparsecheckout # timeout=10 02:39:18 > git checkout -f 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [Pipeline] { [Pipeline] sh 02:39:19 + go version 02:39:19 go version go1.13.5 linux/amd64 [Pipeline] sh 02:39:19 + make test 02:39:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:39:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:39:23 Commit message: "Merge pull request #500 from hahattan/issue-498" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:39:24 ========================================================= 02:39:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:39:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:39:25 + 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 . 02:39:26 Sending build context to Docker daemon 2.92MB 02:39:26 Step 1/8 : ARG BASE=golang:1.13-alpine 02:39:26 Step 2/8 : FROM ${BASE} 02:39:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:39:27 cde5963f3b93: Pulling fs layer 02:39:27 2a23fa8c16f7: Pulling fs layer 02:39:27 777b28850792: Pulling fs layer 02:39:27 8a11ddd9e578: Pulling fs layer 02:39:27 4cf88f913ddb: Pulling fs layer 02:39:27 1df406cf5192: Pulling fs layer 02:39:27 cd6300453558: Pulling fs layer 02:39:27 b9c365052c96: Pulling fs layer 02:39:27 a2d8cc88f415: Pulling fs layer 02:39:27 ea1d1ca13537: Pulling fs layer 02:39:27 3750a50a1c5e: Pulling fs layer 02:39:27 8a11ddd9e578: Waiting 02:39:27 4cf88f913ddb: Waiting 02:39:27 cd6300453558: Waiting 02:39:27 b9c365052c96: Waiting 02:39:27 a2d8cc88f415: Waiting 02:39:27 ea1d1ca13537: Waiting 02:39:27 3750a50a1c5e: Waiting 02:39:27 1df406cf5192: Waiting 02:39:27 777b28850792: Verifying Checksum 02:39:27 777b28850792: Download complete 02:39:27 2a23fa8c16f7: Verifying Checksum 02:39:27 2a23fa8c16f7: Download complete 02:39:27 4cf88f913ddb: Verifying Checksum 02:39:27 4cf88f913ddb: Download complete 02:39:27 1df406cf5192: Verifying Checksum 02:39:27 1df406cf5192: Download complete 02:39:27 cde5963f3b93: Verifying Checksum 02:39:27 cde5963f3b93: Download complete 02:39:28 cde5963f3b93: Pull complete 02:39:28 2a23fa8c16f7: Pull complete 02:39:29 777b28850792: Pull complete 02:39:31 cd6300453558: Download complete 02:39:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:39:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:39:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:39:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.1% of statements 02:39:31 a2d8cc88f415: Verifying Checksum 02:39:31 a2d8cc88f415: Download complete 02:39:34 ea1d1ca13537: Verifying Checksum 02:39:34 ea1d1ca13537: Download complete 02:39:34 3750a50a1c5e: Download complete 02:39:36 b9c365052c96: Verifying Checksum 02:39:36 b9c365052c96: Download complete 02:39:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements 02:39:38 8a11ddd9e578: Verifying Checksum 02:39:38 8a11ddd9e578: Download complete 02:39:51 8a11ddd9e578: Pull complete 02:39:51 4cf88f913ddb: Pull complete 02:39:51 1df406cf5192: Pull complete 02:39:55 cd6300453558: Pull complete 02:39:59 b9c365052c96: Pull complete 02:39:59 a2d8cc88f415: Pull complete 02:40:01 ea1d1ca13537: Pull complete 02:40:02 3750a50a1c5e: Pull complete 02:40:02 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:40:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:40:02 ---> 78745c68409d 02:40:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:40:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.028s coverage: 11.4% of statements 02:40:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 21.7% of statements 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:40:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.061s coverage: 36.9% of statements 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:40:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.480s coverage: 74.9% of statements 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:40:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 02:40:03 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:40:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements 02:40:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:40:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:40:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:40:05 gofmt -l . 02:40:05 [ "`gofmt -l .`" = "" ] 02:40:05 ./bin/test-attribution-txt.sh 02:40:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:40:06 ---> Running in 87e97573c114 02:40:06 Stashed 1 file(s) [Pipeline] } 02:40:06 $ docker stop --time=1 b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 02:40:07 Removing intermediate container 87e97573c114 02:40:07 ---> 3095f7776000 02:40:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:40:07 ---> Running in c5a3128eb39b 02:40:08 $ docker rm -f b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 02:40:09 Removing intermediate container c5a3128eb39b 02:40:09 ---> f1a8a2cc9bee 02:40:09 Step 5/8 : RUN apk add --no-cache make git [Pipeline] sh 02:40:09 ---> Running in 27a07d308800 02:40:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:10 + ls -al . 02:40:10 total 160 02:40:10 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 02:40 . 02:40:10 drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 02:38 .. 02:40:10 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 02:38 api 02:40:10 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 02:38 bin 02:40:10 -rw-r--r--. 1 jenkins jenkins 97656 Apr 21 02:40 coverage.out 02:40:10 -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 02:38 Dockerfile.build 02:40:10 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 02:38 .dockerignore 02:40:10 drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 02:38 example 02:40:10 drwxrwxr-x. 8 jenkins jenkins 162 Apr 21 02:38 .git 02:40:10 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 02:38 .github 02:40:10 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 02:38 .gitignore 02:40:10 -rw-r--r--. 1 jenkins jenkins 446 Apr 21 02:40 go.mod 02:40:10 -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 02:40 go.sum 02:40:10 drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 02:38 internal 02:40:10 -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 02:38 Jenkinsfile 02:40:10 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 02:38 LICENSE 02:40:10 -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 02:38 Makefile 02:40:10 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 02:38 pkg 02:40:10 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 02:38 README.md 02:40:10 drwxrwxr-x. 3 jenkins jenkins 44 Apr 21 02:38 .semver 02:40:10 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 02:38 snap 02:40:10 -rw-rw-r--. 1 jenkins jenkins 12 Apr 21 02:35 VERSION 02:40:10 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 02:38 version.go [Pipeline] isUnix [Pipeline] sh 02:40:10 + 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=11599fec544a3b4af0d17b6529789613b5afe41c --label arch=amd64 --label version=1.2.0-dev.27 . 02:40:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:40:10 Sending build context to Docker daemon 3.037MB 02:40:10 Step 1/21 : ARG BASE=golang:1.13-alpine 02:40:10 Step 2/21 : FROM ${BASE} AS builder 02:40:10 ---> 0596ec1dff99 02:40:10 Step 3/21 : ARG MAKE='make build' 02:40:10 ---> Running in f95f9fcdeb9a 02:40:10 Removing intermediate container f95f9fcdeb9a 02:40:10 ---> 77521d8db538 02:40:10 Step 4/21 : WORKDIR /device-sdk-go 02:40:10 ---> Running in 050faf1c4dc9 02:40:10 Removing intermediate container 050faf1c4dc9 02:40:10 ---> 828e197dcaaf 02:40:10 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:40:10 ---> Running in 63a7d74a681b 02:40:11 Removing intermediate container 63a7d74a681b 02:40:11 ---> fbbaeabd0a98 02:40:11 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:40:11 ---> Running in 10f770bdf96f 02:40:11 Removing intermediate container 10f770bdf96f 02:40:11 ---> 8cfd45d84eb1 02:40:11 Step 7/21 : RUN apk add --update --no-cache make git 02:40:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:40:12 ---> Running in 2b57eca85d39 02:40:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:40:12 OK: 125 MiB in 39 packages 02:40:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:40:13 Removing intermediate container 27a07d308800 02:40:13 ---> d3a665c860d4 02:40:13 Step 6/8 : WORKDIR /device-sdk-go 02:40:14 ---> Running in f6e29ba881d1 02:40:14 Removing intermediate container f6e29ba881d1 02:40:14 ---> 0603fce3d732 02:40:14 Step 7/8 : COPY . . 02:40:15 OK: 143 MiB in 39 packages 02:40:15 Removing intermediate container 2b57eca85d39 02:40:15 ---> db8049404c18 02:40:15 Step 8/21 : COPY . . 02:40:15 ---> acd363aa1aeb 02:40:15 Step 9/21 : RUN ${MAKE} 02:40:15 ---> Running in 7d9a68ffa9d5 02:40:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:40:16 ---> 7321eda36fab 02:40:16 Step 8/8 : RUN go mod download 02:40:16 ---> Running in ca4018c2281f 02:40:18 go: finding github.com/BurntSushi/toml v0.3.1 02:40:18 go: finding github.com/OneOfOne/xxhash v1.2.6 02:40:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:40:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:40:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:40:18 go: finding github.com/bgentry/speakeasy v0.1.0 02:40:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:40:18 go: finding github.com/davecgh/go-spew v1.1.1 02:40:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 02:40:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:40:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:40:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:40:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:40:18 go: finding github.com/fatih/color v1.7.0 02:40:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:40:18 go: finding github.com/go-kit/kit v0.8.0 02:40:18 go: finding github.com/go-logfmt/logfmt v0.4.0 02:40:18 go: finding github.com/go-stack/stack v1.8.0 02:40:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:40:18 go: finding github.com/google/uuid v1.1.0 02:40:18 go: finding github.com/gorilla/mux v1.7.1 02:40:18 go: finding github.com/hashicorp/consul/api v1.1.0 02:40:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:40:18 go: finding github.com/hashicorp/errwrap v1.0.0 02:40:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:40:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:40:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:40:18 go: finding github.com/hashicorp/go-multierror v1.0.0 02:40:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:40:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:40:18 go: finding github.com/hashicorp/go-syslog v1.0.0 02:40:18 go: finding github.com/hashicorp/go-uuid v1.0.1 02:40:18 go: finding github.com/hashicorp/go.net v0.0.1 02:40:18 go: finding github.com/hashicorp/golang-lru v0.5.0 02:40:18 go: finding github.com/hashicorp/logutils v1.0.0 02:40:18 go: finding github.com/hashicorp/mdns v1.0.0 02:40:18 go: finding github.com/hashicorp/memberlist v0.1.3 02:40:18 go: finding github.com/hashicorp/serf v0.8.2 02:40:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:40:18 go: finding github.com/mattn/go-colorable v0.0.9 02:40:18 go: finding github.com/mattn/go-isatty v0.0.3 02:40:18 go: finding github.com/miekg/dns v1.0.14 02:40:18 go: finding github.com/mitchellh/cli v1.0.0 02:40:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:40:18 go: finding github.com/mitchellh/copystructure v1.0.0 02:40:18 go: finding github.com/mitchellh/go-homedir v1.0.0 02:40:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:40:18 go: finding github.com/mitchellh/gox v0.4.0 02:40:18 go: finding github.com/mitchellh/iochan v1.0.0 02:40:18 go: finding github.com/mitchellh/mapstructure v1.1.2 02:40:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:40:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:40:18 go: finding github.com/pelletier/go-toml v1.2.0 02:40:18 go: finding github.com/pkg/errors v0.8.1 02:40:18 go: finding github.com/pmezard/go-difflib v1.0.0 02:40:18 go: finding github.com/posener/complete v1.1.1 02:40:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:40:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:40:18 go: finding github.com/stretchr/objx v0.1.0 02:40:18 go: finding github.com/stretchr/testify v1.5.1 02:40:18 go: finding github.com/ugorji/go v1.1.4 02:40:18 go: finding github.com/x448/float16 v0.8.4 02:40:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:40:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:40:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:40:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:40:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:40:18 go: finding gopkg.in/yaml.v2 v2.2.8 02:40:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:40:24 Removing intermediate container 7d9a68ffa9d5 02:40:24 ---> 0ff0a3ffcc86 02:40:24 Step 10/21 : FROM scratch 02:40:24 ---> 02:40:24 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:40:24 ---> Running in 4712160481be 02:40:24 Removing intermediate container 4712160481be 02:40:24 ---> 64d892a31fee 02:40:24 Step 12/21 : ENV APP_PORT=49990 02:40:24 ---> Running in 0d6cd84b4ab9 02:40:24 Removing intermediate container 0d6cd84b4ab9 02:40:24 ---> c9ba7382b702 02:40:24 Step 13/21 : EXPOSE $APP_PORT 02:40:24 ---> Running in 60817ac06acf 02:40:25 Removing intermediate container 60817ac06acf 02:40:25 ---> 53cd1f04504d 02:40:25 Step 14/21 : WORKDIR / 02:40:25 ---> Running in d69b808948cb 02:40:25 Removing intermediate container d69b808948cb 02:40:25 ---> 4cf1f0343d87 02:40:25 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:40:25 ---> 9f4a107aa0b2 02:40:25 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:40:25 ---> 64d570007cc2 02:40:25 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:40:25 ---> 819f004b84d7 02:40:25 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:40:26 ---> Running in 39477a1810e5 02:40:26 Removing intermediate container 39477a1810e5 02:40:26 ---> 6a83b23c7042 02:40:26 Step 19/21 : LABEL arch=amd64 02:40:26 ---> Running in 09bdd19b002c 02:40:26 Removing intermediate container 09bdd19b002c 02:40:26 ---> 01bcfeb9d1f1 02:40:26 Step 20/21 : LABEL git_sha=11599fec544a3b4af0d17b6529789613b5afe41c 02:40:26 ---> Running in 48b2fc35455d 02:40:26 Removing intermediate container 48b2fc35455d 02:40:26 ---> 5ea4b242700e 02:40:26 Step 21/21 : LABEL version=1.2.0-dev.27 02:40:26 ---> Running in c2a40db21cba 02:40:26 Removing intermediate container c2a40db21cba 02:40:26 ---> a09565cb6fcb 02:40:26 [Warning] One or more build-args [ARCH] were not consumed 02:40:26 Successfully built a09565cb6fcb 02:40:26 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] } 02:40:29 Removing intermediate container ca4018c2281f 02:40:29 ---> 1bd1fbb6fc69 02:40:29 Successfully built 1bd1fbb6fc69 02:40:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:40:29 + docker inspect -f . ci-base-image-arm64 02:40:30 . [Pipeline] withDockerContainer 02:40:30 prd-ubuntu18.04-docker-arm64-4c-16g-5102 does not seem to be running inside a container 02:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 02:40:32 $ docker top 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:33 + go version 02:40:33 go version go1.13.5 linux/arm64 [Pipeline] sh 02:40:34 + make test 02:40:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:40:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:41:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:41:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:41:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:41:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 22.1% of statements 02:41:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements 02:41:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 11.4% of statements 02:41:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:41:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.241s coverage: 36.9% of statements 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:41:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 74.9% of statements 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:41:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements 02:41:41 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:41:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements 02:41:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:41:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:41:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:41:45 gofmt -l . 02:41:45 [ "`gofmt -l .`" = "" ] 02:41:45 ./bin/test-attribution-txt.sh 02:41:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:41:47 Warning: overwriting stash ‘coverage-report’ 02:41:47 Stashed 1 file(s) [Pipeline] } 02:41:47 $ docker stop --time=1 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 02:41:49 $ docker rm -f 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:51 + ls -al . 02:41:51 total 200 02:41:51 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 02:41 . 02:41:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 .. 02:41:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 02:39 .dockerignore 02:41:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 02:39 .git 02:41:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:39 .github 02:41:51 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 02:39 .gitignore 02:41:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:39 .semver 02:41:51 -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 02:39 Dockerfile.build 02:41:51 -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 02:39 Jenkinsfile 02:41:51 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 02:39 LICENSE 02:41:51 -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 02:39 Makefile 02:41:51 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 02:39 README.md 02:41:51 -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 02:35 VERSION 02:41:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:39 api 02:41:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:39 bin 02:41:51 -rw-r--r-- 1 jenkins jenkins 97656 Apr 21 02:41 coverage.out 02:41:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 example 02:41:51 -rw-r--r-- 1 jenkins jenkins 446 Apr 21 02:41 go.mod 02:41:51 -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 02:41 go.sum 02:41:51 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 02:39 internal 02:41:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 02:39 pkg 02:41:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 snap 02:41:51 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 02:39 version.go [Pipeline] isUnix [Pipeline] sh 02:41:51 + 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=11599fec544a3b4af0d17b6529789613b5afe41c --label arch=arm64 --label version=1.2.0-dev.27 . 02:41:52 Sending build context to Docker daemon 3.039MB 02:41:52 Step 1/21 : ARG BASE=golang:1.13-alpine 02:41:52 Step 2/21 : FROM ${BASE} AS builder 02:41:52 ---> 1bd1fbb6fc69 02:41:52 Step 3/21 : ARG MAKE='make build' 02:41:52 ---> Running in ce3afd62a7ba 02:41:53 Removing intermediate container ce3afd62a7ba 02:41:53 ---> 0bc6722a6672 02:41:53 Step 4/21 : WORKDIR /device-sdk-go 02:41:53 ---> Running in fbf6745af804 02:41:53 Removing intermediate container fbf6745af804 02:41:53 ---> fdda1b1af2bb 02:41:53 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:41:53 ---> Running in 4be3d331fd07 02:41:54 Removing intermediate container 4be3d331fd07 02:41:54 ---> 4bc27139feed 02:41:54 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:41:54 ---> Running in dc5a431843f4 02:41:56 Removing intermediate container dc5a431843f4 02:41:56 ---> 5c1c3b59051d 02:41:56 Step 7/21 : RUN apk add --update --no-cache make git 02:41:56 ---> Running in d60704fc4fac 02:41:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:41:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:41:59 OK: 125 MiB in 39 packages 02:42:00 Removing intermediate container d60704fc4fac 02:42:00 ---> b5b9e7cf3a46 02:42:00 Step 8/21 : COPY . . 02:42:01 ---> 5886475cbd98 02:42:01 Step 9/21 : RUN ${MAKE} 02:42:01 ---> Running in c08074fc9d70 02:42:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:42:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:42:29 Removing intermediate container c08074fc9d70 02:42:29 ---> 967ad589d92e 02:42:29 Step 10/21 : FROM scratch 02:42:29 ---> 02:42:29 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:42:29 ---> Running in 238ea8155561 02:42:29 Removing intermediate container 238ea8155561 02:42:29 ---> c92832540341 02:42:29 Step 12/21 : ENV APP_PORT=49990 02:42:29 ---> Running in 16dbc9a806f8 02:42:29 Removing intermediate container 16dbc9a806f8 02:42:29 ---> 474a5733aba3 02:42:29 Step 13/21 : EXPOSE $APP_PORT 02:42:29 ---> Running in ae70a6c2e996 02:42:29 Removing intermediate container ae70a6c2e996 02:42:29 ---> fa6400f2132a 02:42:29 Step 14/21 : WORKDIR / 02:42:29 ---> Running in f0ca2ef3e95e 02:42:29 Removing intermediate container f0ca2ef3e95e 02:42:29 ---> d1e7fe2be333 02:42:29 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:42:30 ---> 8e46520b7617 02:42:30 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:42:31 ---> c807e99a7b34 02:42:31 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:42:31 ---> 7e87e73bbe23 02:42:31 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:42:31 ---> Running in 5b61dc720530 02:42:32 Removing intermediate container 5b61dc720530 02:42:32 ---> 1d7881e350c6 02:42:32 Step 19/21 : LABEL arch=arm64 02:42:32 ---> Running in e35bb0671a8e 02:42:32 Removing intermediate container e35bb0671a8e 02:42:32 ---> c4035caf5962 02:42:32 Step 20/21 : LABEL git_sha=11599fec544a3b4af0d17b6529789613b5afe41c 02:42:33 ---> Running in e459c4be25b4 02:42:33 Removing intermediate container e459c4be25b4 02:42:33 ---> 53106552ea97 02:42:33 Step 21/21 : LABEL version=1.2.0-dev.27 02:42:33 ---> Running in 771fcde6f363 02:42:33 Removing intermediate container 771fcde6f363 02:42:33 ---> 812d29e1ea87 02:42:33 [Warning] One or more build-args [ARCH] were not consumed 02:42:33 Successfully built 812d29e1ea87 02:42:33 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 02:42:35 provisioning config files... 02:42:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6275556663291317080tmp [Pipeline] { [Pipeline] sh 02:42:35 + curl -s https://codecov.io/bash 02:42:35 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6275556663291317080tmp 02:42:35 02:42:35 _____ _ 02:42:35 / ____| | | 02:42:35 | | ___ __| | ___ ___ _____ __ 02:42:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:42:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:42:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:42:35 Bash-tbd 02:42:35 02:42:35 02:42:35 ==> Jenkins CI detected. 02:42:35 project root: . 02:42:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:42:35 ==> Running gcov in . (disable via -X gcov) 02:42:35 ==> Python coveragepy not found 02:42:35 ==> Searching for coverage reports in: 02:42:35 + . 02:42:35 -> Found 1 reports 02:42:35 ==> Detecting git/mercurial file structure 02:42:35 ==> Reading reports 02:42:35 + ./coverage.out bytes=97656 02:42:35 ==> Appending adjustments 02:42:35 http://docs.codecov.io/docs/fixing-reports 02:42:35 + Found adjustments 02:42:35 ==> Gzipping contents 02:42:35 ==> Uploading reports 02:42:35 url: https://codecov.io 02:42:35 query: branch=master&commit=11599fec544a3b4af0d17b6529789613b5afe41c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 02:42:35 -> Pinging Codecov 02:42:35 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=11599fec544a3b4af0d17b6529789613b5afe41c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 02:42:36 -> Uploading 02:42:37 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/11599fec544a3b4af0d17b6529789613b5afe41c [Pipeline] } 02:42:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 02:42:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 02:42:37 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 02:42:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 02:42:38 02:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 02:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 02:42:38 1.217.3: Pulling from edgex-devops/edgex-snyk-go 02:42:38 e6b0cf9c0882: Pulling fs layer 02:42:38 2848faf0eed1: Pulling fs layer 02:42:38 0f37312ad70f: Pulling fs layer 02:42:38 7d08f2745646: Pulling fs layer 02:42:38 4c9f31393084: Pulling fs layer 02:42:38 eb21ddb83652: Pulling fs layer 02:42:38 345998794f6b: Pulling fs layer 02:42:38 97a711d68925: Pulling fs layer 02:42:38 7c8476c1cb00: Pulling fs layer 02:42:38 eb21ddb83652: Waiting 02:42:38 345998794f6b: Waiting 02:42:38 97a711d68925: Waiting 02:42:38 7c8476c1cb00: Waiting 02:42:38 4c9f31393084: Waiting 02:42:38 7d08f2745646: Waiting 02:42:38 0f37312ad70f: Verifying Checksum 02:42:38 0f37312ad70f: Download complete 02:42:38 2848faf0eed1: Verifying Checksum 02:42:38 2848faf0eed1: Download complete 02:42:38 4c9f31393084: Verifying Checksum 02:42:38 4c9f31393084: Download complete 02:42:38 eb21ddb83652: Download complete 02:42:38 e6b0cf9c0882: Verifying Checksum 02:42:39 e6b0cf9c0882: Pull complete 02:42:39 345998794f6b: Verifying Checksum 02:42:39 345998794f6b: Download complete 02:42:39 2848faf0eed1: Pull complete 02:42:39 0f37312ad70f: Pull complete 02:42:39 97a711d68925: Download complete 02:42:39 7c8476c1cb00: Verifying Checksum 02:42:39 7c8476c1cb00: Download complete 02:42:40 7d08f2745646: Verifying Checksum 02:42:40 7d08f2745646: Download complete 02:42:45 7d08f2745646: Pull complete 02:42:45 4c9f31393084: Pull complete 02:42:45 eb21ddb83652: Pull complete 02:42:47 345998794f6b: Pull complete 02:42:51 97a711d68925: Pull complete 02:42:51 7c8476c1cb00: Pull complete 02:42:51 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 02:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 02:42:51 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:42:51 $ 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 02:42:52 $ docker top d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:52 + snyk monitor '--org=edgex-jenkins' 02:43:04 02:43:04 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 02:43:04 02:43:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/b1735c09-2b13-4f85-bdb4-a9fe19e6f97b 02:43:04 02:43:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:43:04 02:43:04 [Pipeline] } 02:43:05 $ docker stop --time=1 d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 02:43:06 $ docker rm -f d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 [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 02:43:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:07 . [Pipeline] withDockerContainer 02:43:07 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:43:07 $ 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 02:43:08 $ docker top 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:08 [ssh-agent] Looking for ssh-agent implementation... 02:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:08 $ docker exec 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce ssh-agent 02:43:08 SSH_AUTH_SOCK=/tmp/ssh-WtJ6EDhzbO7q/agent.15 02:43:08 SSH_AGENT_PID=22 02:43:08 Running ssh-add (command line suppressed) 02:43:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1769491969234357306.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1769491969234357306.key) 02:43:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:09 + git semver tag 02:43:09 # -> Open(): unable to determine branch for HEAD 02:43:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:43:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:43:09 # $SEMVER_REMOTE_NAME = origin 02:43:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:09 # $SEMVER_USER_NAME = edgex-jenkins 02:43:09 # $SEMVER_BRANCH = master 02:43:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 02:43:09 # 11599fec544a3b4af0d17b6529789613b5afe41c HEAD 02:43:09 # -> Force: false 02:43:09 # 5ea9a0e230b19cd90d149b05c544ba6f8ba03f73 refs/tags/v1.2.0-dev.27 [Pipeline] } 02:43:09 $ docker exec --env ******** --env ******** 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce ssh-agent -k 02:43:09 unset SSH_AUTH_SOCK; 02:43:09 unset SSH_AGENT_PID; 02:43:09 echo Agent pid 22 killed; 02:43:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:10 + git semver [Pipeline] } 02:43:10 $ docker stop --time=1 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce 02:43:11 $ docker rm -f 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:43:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:43:12 02:43:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:43:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:43:12 0.23.1-centos7: Pulling from edgex-lftools 02:43:12 ab5ef0e58194: Pulling fs layer 02:43:12 9712f1f96733: Pulling fs layer 02:43:12 63f879dbbcfc: Pulling fs layer 02:43:12 0d9ebad4ef96: Pulling fs layer 02:43:12 e9a5061849ea: Pulling fs layer 02:43:12 d747dcd14b5f: Pulling fs layer 02:43:12 2de7ff778b66: Pulling fs layer 02:43:12 e9a5061849ea: Waiting 02:43:12 d747dcd14b5f: Waiting 02:43:12 2de7ff778b66: Waiting 02:43:12 0d9ebad4ef96: Waiting 02:43:12 9712f1f96733: Verifying Checksum 02:43:12 9712f1f96733: Download complete 02:43:14 63f879dbbcfc: Verifying Checksum 02:43:14 63f879dbbcfc: Download complete 02:43:14 e9a5061849ea: Verifying Checksum 02:43:14 e9a5061849ea: Download complete 02:43:14 d747dcd14b5f: Verifying Checksum 02:43:14 d747dcd14b5f: Download complete 02:43:14 2de7ff778b66: Verifying Checksum 02:43:14 2de7ff778b66: Download complete 02:43:14 0d9ebad4ef96: Verifying Checksum 02:43:14 0d9ebad4ef96: Download complete 02:43:14 ab5ef0e58194: Verifying Checksum 02:43:14 ab5ef0e58194: Download complete 02:43:19 ab5ef0e58194: Pull complete 02:43:19 9712f1f96733: Pull complete 02:43:21 63f879dbbcfc: Pull complete 02:43:27 0d9ebad4ef96: Pull complete 02:43:31 e9a5061849ea: Pull complete 02:43:31 d747dcd14b5f: Pull complete 02:43:32 2de7ff778b66: Pull complete 02:43:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:43:32 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:43:32 $ 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 02:43:34 $ docker top 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:43:34 provisioning config files... 02:43:34 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config561073393302150581tmp 02:43:34 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1814698204123830193tmp 02:43:34 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4100885379635215444tmp [Pipeline] { [Pipeline] echo 02:43:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:43:34 ---> sigul-configuration.sh 02:43:34 gpg: directory `/root/.gnupg' created 02:43:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:43:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:43:34 gpg: keyring `/root/.gnupg/secring.gpg' created 02:43:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:43:34 gpg: CAST5 encrypted data 02:43:35 gpg: encrypted with 1 passphrase 02:43:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:43:35 + mkdir /home/jenkins 02:43:35 + mkdir /home/jenkins/sigul [Pipeline] sh 02:43:35 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 02:43:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:43:35 ---> sigul-install.sh 02:43:42 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:43:42 + git tag --list 02:43:42 v1.2.0-dev.27 [Pipeline] sh 02:43:43 + lftools sign git-tag v1.2.0-dev.27 02:43:44 Signing Git tag with Sigul... 02:43:44 Signing v1.2.0-dev.27 [Pipeline] echo 02:43:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:43:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:43:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:43:45 $ docker stop --time=1 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 02:43:47 $ docker rm -f 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:48 . [Pipeline] withDockerContainer 02:43:48 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:43:48 $ 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 02:43:48 $ docker top 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:48 [ssh-agent] Looking for ssh-agent implementation... 02:43:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:49 $ docker exec 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 ssh-agent 02:43:49 SSH_AUTH_SOCK=/tmp/ssh-nUUYB69U56Ih/agent.13 02:43:49 SSH_AGENT_PID=20 02:43:49 Running ssh-add (command line suppressed) 02:43:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6099023366375380244.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6099023366375380244.key) 02:43:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:49 + git semver bump pre 02:43:49 # -> Open(): unable to determine branch for HEAD 02:43:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:43:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:43:49 # $SEMVER_REMOTE_NAME = origin 02:43:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:49 # $SEMVER_USER_NAME = edgex-jenkins 02:43:49 # $SEMVER_BRANCH = master 02:43:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 02:43:49 1.2.0-dev.28 [Pipeline] } 02:43:49 $ docker exec --env ******** --env ******** 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 ssh-agent -k 02:43:50 unset SSH_AUTH_SOCK; 02:43:50 unset SSH_AGENT_PID; 02:43:50 echo Agent pid 20 killed; 02:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:50 + git semver [Pipeline] } 02:43:50 $ docker stop --time=1 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 02:43:52 $ docker rm -f 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:52 . [Pipeline] withDockerContainer 02:43:52 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:43: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:53 $ docker top 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:53 [ssh-agent] Looking for ssh-agent implementation... 02:43:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:53 $ docker exec 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 ssh-agent 02:43:53 SSH_AUTH_SOCK=/tmp/ssh-JxFb4q9rsaWn/agent.15 02:43:53 SSH_AGENT_PID=22 02:43:53 Running ssh-add (command line suppressed) 02:43:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2478573544807298911.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2478573544807298911.key) 02:43:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:54 + git semver push 02:43:54 # -> Open(): unable to determine branch for HEAD 02:43:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:43:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:43:54 # $SEMVER_REMOTE_NAME = origin 02:43:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:54 # $SEMVER_USER_NAME = edgex-jenkins 02:43:54 # $SEMVER_BRANCH = master 02:43:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 02:44:00 $ docker exec --env ******** --env ******** 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 ssh-agent -k 02:44:01 unset SSH_AUTH_SOCK; 02:44:01 unset SSH_AGENT_PID; 02:44:01 echo Agent pid 22 killed; 02:44:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:01 + git semver [Pipeline] } 02:44:01 $ docker stop --time=1 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 02:44:02 $ docker rm -f 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 [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 02:44:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:44:04 ---> package-listing.sh 02:44:04 ++ facter osfamily 02:44:04 ++ tr '[:upper:]' '[:lower:]' 02:44:04 + OS_FAMILY=redhat 02:44:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 02:44:04 + START_PACKAGES=/tmp/packages_start.txt 02:44:04 + END_PACKAGES=/tmp/packages_end.txt 02:44:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:44:04 + PACKAGES=/tmp/packages_start.txt 02:44:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 02:44:04 + PACKAGES=/tmp/packages_end.txt 02:44:04 + case "${OS_FAMILY}" in 02:44:04 + rpm -qa 02:44:04 + sort 02:44:08 + '[' -f /tmp/packages_start.txt ']' 02:44:08 + '[' -f /tmp/packages_end.txt ']' 02:44:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:44:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 02:44:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 02:44:08 + 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 02:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:44:08 02:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:44:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:44:09 alpine: Pulling from edgex-lftools-log-publisher 02:44:09 c9b1b535fdd9: Pulling fs layer 02:44:09 2cc5ad85d9ab: Pulling fs layer 02:44:09 756a868c4378: Pulling fs layer 02:44:09 444b2fc9a129: Pulling fs layer 02:44:09 ea15f1150254: Pulling fs layer 02:44:09 41b27a9f41bf: Pulling fs layer 02:44:09 28c525ee5125: Pulling fs layer 02:44:09 094b1ea09ed8: Pulling fs layer 02:44:09 138eaada9080: Pulling fs layer 02:44:09 0622d0fa9048: Pulling fs layer 02:44:09 444b2fc9a129: Waiting 02:44:09 ea15f1150254: Waiting 02:44:09 138eaada9080: Waiting 02:44:09 0622d0fa9048: Waiting 02:44:09 094b1ea09ed8: Waiting 02:44:09 41b27a9f41bf: Waiting 02:44:09 28c525ee5125: Waiting 02:44:09 2cc5ad85d9ab: Verifying Checksum 02:44:09 2cc5ad85d9ab: Download complete 02:44:09 444b2fc9a129: Verifying Checksum 02:44:09 444b2fc9a129: Download complete 02:44:09 c9b1b535fdd9: Download complete 02:44:09 ea15f1150254: Verifying Checksum 02:44:09 ea15f1150254: Download complete 02:44:09 28c525ee5125: Verifying Checksum 02:44:09 28c525ee5125: Download complete 02:44:09 c9b1b535fdd9: Pull complete 02:44:09 756a868c4378: Verifying Checksum 02:44:09 756a868c4378: Download complete 02:44:09 138eaada9080: Verifying Checksum 02:44:09 138eaada9080: Download complete 02:44:09 0622d0fa9048: Verifying Checksum 02:44:09 0622d0fa9048: Download complete 02:44:10 094b1ea09ed8: Verifying Checksum 02:44:10 094b1ea09ed8: Download complete 02:44:10 41b27a9f41bf: Verifying Checksum 02:44:10 41b27a9f41bf: Download complete 02:44:11 2cc5ad85d9ab: Pull complete 02:44:12 756a868c4378: Pull complete 02:44:12 444b2fc9a129: Pull complete 02:44:14 ea15f1150254: Pull complete 02:44:17 41b27a9f41bf: Pull complete 02:44:17 28c525ee5125: Pull complete 02:44:20 094b1ea09ed8: Pull complete 02:44:20 138eaada9080: Pull complete 02:44:20 0622d0fa9048: Pull complete 02:44:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:44:21 prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container 02:44:21 $ 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 02:44:22 $ docker top 143f85cad76abfd8dcb4827553239edad980e564a5d693650101227eb3325522 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:22 provisioning config files... 02:44:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2718727182971684156tmp [Pipeline] { [Pipeline] echo 02:44:22 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:44:22 ---> create-netrc.sh [Pipeline] echo 02:44:22 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:44:23 ---> logs-deploy.sh 02:44:23 + ARCHIVE_ARTIFACTS= 02:44:23 + LOGS_SERVER=https://logs.edgexfoundry.org 02:44:23 + '[' https://logs.edgexfoundry.org == None ']' 02:44:23 + NEXUS_URL=https://nexus.edgexfoundry.org 02:44:23 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 02:44:23 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/27/ 02:44:23 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 /w/workspace/dgexfoundry_device-sdk-go_master 02:44:24 Archives upload complete. 02:44:24 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/27/