Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fc4d8ba2ca6bee1bf2e474e60f47b75130718504 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 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4279’ is offline; ‘prd-centos7-docker-4c-2g-4282’ is offline Running on prd-centos7-docker-4c-2g-4283 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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 Commit message: "Merge pull request #486 from hahattan/issue-480" > git rev-list --no-walk 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:25:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:25:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:25:57 ========================================================= 14:25:57 EdgeX Global Pipelines Version Info 14:25:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:25:58 ------------------- 14:25:58 stable info: 14:25:58 ------------------- 14:25:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:25:58 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:25:58 Message: update stable to v1.0.73 14:25:59 ------------------- 14:25:59 experimental info: 14:25:59 ------------------- 14:25:59 Commited By: **** collab-it+edgex@linuxfoundation.org 14:25:59 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:25:59 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 14:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:26:00 14:26:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:26:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:26:01 latest: Pulling from edgex-devops/git-semver 14:26:01 9123ac7c32f7: Pulling fs layer 14:26:01 b8cc5d1170e3: Pulling fs layer 14:26:01 2924cbbf6a41: Pulling fs layer 14:26:01 93b08a4f1073: Pulling fs layer 14:26:01 93b08a4f1073: Waiting 14:26:01 b8cc5d1170e3: Download complete 14:26:01 9123ac7c32f7: Verifying Checksum 14:26:01 9123ac7c32f7: Download complete 14:26:01 93b08a4f1073: Verifying Checksum 14:26:01 93b08a4f1073: Download complete 14:26:01 2924cbbf6a41: Verifying Checksum 14:26:01 9123ac7c32f7: Pull complete 14:26:02 b8cc5d1170e3: Pull complete 14:26:03 2924cbbf6a41: Pull complete 14:26:03 93b08a4f1073: Pull complete 14:26:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:26:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:26:03 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:26:03 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:26:04 $ docker top 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:04 [ssh-agent] Looking for ssh-agent implementation... 14:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:04 $ docker exec 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent 14:26:04 SSH_AUTH_SOCK=/tmp/ssh-wXiQ8yt3rPOt/agent.15 14:26:04 SSH_AGENT_PID=21 14:26:04 Running ssh-add (command line suppressed) 14:26:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8287511651853250278.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8287511651853250278.key) 14:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:05 + git describe --exact-match --tags HEAD 14:26:05 fatal: No names found, cannot describe anything. [Pipeline] } 14:26:05 $ docker exec --env ******** --env ******** 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent -k 14:26:05 unset SSH_AUTH_SOCK; 14:26:05 unset SSH_AGENT_PID; 14:26:05 echo Agent pid 21 killed; 14:26:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:26:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:26:05 This usually means this commit has not been tagged. [Pipeline] sshagent 14:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:05 [ssh-agent] Looking for ssh-agent implementation... 14:26:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:06 $ docker exec 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent 14:26:06 SSH_AUTH_SOCK=/tmp/ssh-jk5Ham7Iat6s/agent.55 14:26:06 SSH_AGENT_PID=62 14:26:06 Running ssh-add (command line suppressed) 14:26:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8885202862908261501.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8885202862908261501.key) 14:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:06 + git semver init 14:26:06 # -> Open(): unable to determine branch for HEAD 14:26:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 14:26:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 14:26:06 # $SEMVER_REMOTE_NAME = origin 14:26:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:26:06 # $SEMVER_USER_NAME = edgex-jenkins 14:26:06 # $SEMVER_BRANCH = master 14:26:06 # $SEMVER_TEMP = /tmp/semver-851581738 14:26:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:26:07 # '/tmp/semver-851581738' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 14:26:07 # -> Force: false 14:26:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 14:26:07 $ docker exec --env ******** --env ******** 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent -k 14:26:07 unset SSH_AUTH_SOCK; 14:26:07 unset SSH_AGENT_PID; 14:26:07 echo Agent pid 62 killed; 14:26:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:08 + git semver [Pipeline] } 14:26:08 $ docker stop --time=1 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 14:26:09 $ docker rm -f 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:26:10 Stashed 39 file(s) [Pipeline] echo 14:26:10 [edgeXSemver] initialized semver on version 1.2.0-dev.22 [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 14:26:25 Still waiting to schedule task 14:26:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:26:25 Still waiting to schedule task 14:26:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4284’ is offline 14:29:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4288 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 14:29:10 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 14:29:16 using credential edgex-jenkins-ssh 14:29:16 Cloning the remote Git repository 14:29:16 Cloning with configured refspecs honoured and without tags 14:29:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:29:16 > git init /w/workspace/device-sdk-go/22 # timeout=10 14:29:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:29:17 > git --version # timeout=10 14:29:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:29:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:29:18 Fetching without tags 14:29:18 Checking out Revision fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (master) 14:29:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:29:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:29:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:29:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:29:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:29:18 > git config core.sparsecheckout # timeout=10 14:29:18 > git checkout -f fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:29:23 Commit message: "Merge pull request #486 from hahattan/issue-480" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:29:24 ========================================================= 14:29:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:29:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:29:26 + 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 . 14:29:27 Sending build context to Docker daemon 2.864MB 14:29:27 Step 1/8 : ARG BASE=golang:1.13-alpine 14:29:27 Step 2/8 : FROM ${BASE} 14:29:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:29:27 cde5963f3b93: Pulling fs layer 14:29:27 2a23fa8c16f7: Pulling fs layer 14:29:27 777b28850792: Pulling fs layer 14:29:27 8a11ddd9e578: Pulling fs layer 14:29:27 4cf88f913ddb: Pulling fs layer 14:29:27 1df406cf5192: Pulling fs layer 14:29:27 cd6300453558: Pulling fs layer 14:29:27 b9c365052c96: Pulling fs layer 14:29:27 a2d8cc88f415: Pulling fs layer 14:29:27 ea1d1ca13537: Pulling fs layer 14:29:27 3750a50a1c5e: Pulling fs layer 14:29:27 8a11ddd9e578: Waiting 14:29:27 4cf88f913ddb: Waiting 14:29:27 1df406cf5192: Waiting 14:29:27 cd6300453558: Waiting 14:29:27 b9c365052c96: Waiting 14:29:27 a2d8cc88f415: Waiting 14:29:27 ea1d1ca13537: Waiting 14:29:27 3750a50a1c5e: Waiting 14:29:27 777b28850792: Download complete 14:29:27 2a23fa8c16f7: Verifying Checksum 14:29:27 2a23fa8c16f7: Download complete 14:29:27 4cf88f913ddb: Verifying Checksum 14:29:27 4cf88f913ddb: Download complete 14:29:27 1df406cf5192: Verifying Checksum 14:29:27 1df406cf5192: Download complete 14:29:27 cde5963f3b93: Verifying Checksum 14:29:27 cde5963f3b93: Download complete 14:29:28 cde5963f3b93: Pull complete 14:29:29 2a23fa8c16f7: Pull complete 14:29:29 777b28850792: Pull complete 14:29:32 cd6300453558: Verifying Checksum 14:29:32 cd6300453558: Download complete 14:29:32 a2d8cc88f415: Verifying Checksum 14:29:32 a2d8cc88f415: Download complete 14:29:34 ea1d1ca13537: Verifying Checksum 14:29:34 ea1d1ca13537: Download complete 14:29:34 3750a50a1c5e: Download complete 14:29:37 b9c365052c96: Verifying Checksum 14:29:37 b9c365052c96: Download complete 14:29:39 8a11ddd9e578: Verifying Checksum 14:29:39 8a11ddd9e578: Download complete 14:29:51 8a11ddd9e578: Pull complete 14:29:51 4cf88f913ddb: Pull complete 14:29:51 1df406cf5192: Pull complete 14:29:55 cd6300453558: Pull complete 14:30:00 b9c365052c96: Pull complete 14:30:00 a2d8cc88f415: Pull complete 14:30:02 ea1d1ca13537: Pull complete 14:30:02 3750a50a1c5e: Pull complete 14:30:02 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:30:02 ---> 78745c68409d 14:30:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:30:04 Running on prd-centos7-docker-4c-2g-4289 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 14:30:05 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 14:30:06 ---> Running in 4dcc3186a304 14:30:07 Removing intermediate container 4dcc3186a304 14:30:07 ---> faedb28a8559 14:30:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:30:07 ---> Running in 0385c5a1f91d 14:30:09 Removing intermediate container 0385c5a1f91d 14:30:09 ---> 0a89fa653b30 14:30:09 Step 5/8 : RUN apk add --no-cache make git 14:30:09 ---> Running in 5c9090a72bdb 14:30:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:30:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:30:14 OK: 125 MiB in 39 packages 14:30:15 Removing intermediate container 5c9090a72bdb 14:30:15 ---> e6f076ca57ae 14:30:15 Step 6/8 : WORKDIR /device-sdk-go 14:30:15 ---> Running in e4dd405cca09 14:30:15 using credential edgex-jenkins-ssh 14:30:15 Cloning the remote Git repository 14:30:15 Cloning with configured refspecs honoured and without tags 14:30:16 Removing intermediate container e4dd405cca09 14:30:16 ---> b0e5b49220e9 14:30:16 Step 7/8 : COPY . . 14:30:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:30:16 > git init /w/workspace/device-sdk-go/22 # timeout=10 14:30:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:30:16 > git --version # timeout=10 14:30:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:17 Fetching without tags 14:30:17 ---> 7c467c2c30ad 14:30:17 Step 8/8 : RUN go mod download 14:30:17 ---> Running in b30ed18538e4 14:30:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:30:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:30:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:30:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:17 Checking out Revision fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (master) 14:30:17 > git config core.sparsecheckout # timeout=10 14:30:17 > git checkout -f fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:30:19 go: finding github.com/BurntSushi/toml v0.3.1 14:30:19 go: finding github.com/OneOfOne/xxhash v1.2.6 14:30:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:30:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:30:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:30:19 go: finding github.com/bgentry/speakeasy v0.1.0 14:30:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:30:19 go: finding github.com/davecgh/go-spew v1.1.1 14:30:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:30:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:30:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:30:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:30:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:30:19 go: finding github.com/fatih/color v1.7.0 14:30:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:30:19 go: finding github.com/go-kit/kit v0.8.0 14:30:19 go: finding github.com/go-logfmt/logfmt v0.4.0 14:30:19 go: finding github.com/go-stack/stack v1.8.0 14:30:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:30:19 go: finding github.com/google/uuid v1.1.0 14:30:19 go: finding github.com/gorilla/mux v1.7.1 14:30:19 go: finding github.com/hashicorp/consul/api v1.1.0 14:30:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:30:19 go: finding github.com/hashicorp/errwrap v1.0.0 14:30:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:30:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:30:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:30:20 go: finding github.com/hashicorp/go-multierror v1.0.0 14:30:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:30:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:30:20 go: finding github.com/hashicorp/go-syslog v1.0.0 14:30:20 go: finding github.com/hashicorp/go-uuid v1.0.1 14:30:20 go: finding github.com/hashicorp/go.net v0.0.1 14:30:20 go: finding github.com/hashicorp/golang-lru v0.5.0 14:30:20 go: finding github.com/hashicorp/logutils v1.0.0 14:30:20 go: finding github.com/hashicorp/mdns v1.0.0 14:30:20 go: finding github.com/hashicorp/memberlist v0.1.3 14:30:20 go: finding github.com/hashicorp/serf v0.8.2 14:30:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:30:20 go: finding github.com/mattn/go-colorable v0.0.9 14:30:20 go: finding github.com/mattn/go-isatty v0.0.3 14:30:20 go: finding github.com/miekg/dns v1.0.14 14:30:20 go: finding github.com/mitchellh/cli v1.0.0 14:30:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:30:20 go: finding github.com/mitchellh/copystructure v1.0.0 14:30:20 go: finding github.com/mitchellh/go-homedir v1.0.0 14:30:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:30:20 go: finding github.com/mitchellh/gox v0.4.0 14:30:20 go: finding github.com/mitchellh/iochan v1.0.0 14:30:20 go: finding github.com/mitchellh/mapstructure v1.1.2 14:30:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:30:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:30:20 go: finding github.com/pelletier/go-toml v1.2.0 14:30:20 go: finding github.com/pkg/errors v0.8.1 14:30:20 go: finding github.com/pmezard/go-difflib v1.0.0 14:30:20 go: finding github.com/posener/complete v1.1.1 14:30:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:30:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:30:20 go: finding github.com/stretchr/objx v0.1.0 14:30:20 go: finding github.com/stretchr/testify v1.5.1 14:30:20 go: finding github.com/ugorji/go v1.1.4 14:30:20 go: finding github.com/x448/float16 v0.8.4 14:30:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:30:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:30:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:30:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:30:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:30:20 go: finding gopkg.in/yaml.v2 v2.2.8 14:30:23 Commit message: "Merge pull request #486 from hahattan/issue-480" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:30:24 ========================================================= 14:30:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:30:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:30:26 + 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 . 14:30:26 Sending build context to Docker daemon 2.864MB 14:30:26 Step 1/8 : ARG BASE=golang:1.13-alpine 14:30:26 Step 2/8 : FROM ${BASE} 14:30:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:30:26 e6b0cf9c0882: Pulling fs layer 14:30:26 2848faf0eed1: Pulling fs layer 14:30:26 0f37312ad70f: Pulling fs layer 14:30:26 5788d62ee057: Pulling fs layer 14:30:26 0e6b1d234666: Pulling fs layer 14:30:26 bf5d7aec512f: Pulling fs layer 14:30:26 34c802a77dc8: Pulling fs layer 14:30:26 9eb99e56ec68: Pulling fs layer 14:30:26 27c7a5d97fbd: Pulling fs layer 14:30:26 5c102a31e300: Pulling fs layer 14:30:26 dcfb455df0a1: Pulling fs layer 14:30:26 34c802a77dc8: Waiting 14:30:26 9eb99e56ec68: Waiting 14:30:26 27c7a5d97fbd: Waiting 14:30:26 5c102a31e300: Waiting 14:30:26 dcfb455df0a1: Waiting 14:30:26 5788d62ee057: Waiting 14:30:26 0e6b1d234666: Waiting 14:30:26 bf5d7aec512f: Waiting 14:30:27 0f37312ad70f: Download complete 14:30:27 e6b0cf9c0882: Verifying Checksum 14:30:27 e6b0cf9c0882: Download complete 14:30:28 2848faf0eed1: Verifying Checksum 14:30:28 2848faf0eed1: Download complete 14:30:28 0e6b1d234666: Verifying Checksum 14:30:28 0e6b1d234666: Download complete 14:30:28 bf5d7aec512f: Verifying Checksum 14:30:28 bf5d7aec512f: Download complete 14:30:28 e6b0cf9c0882: Pull complete 14:30:28 2848faf0eed1: Pull complete 14:30:28 0f37312ad70f: Pull complete 14:30:29 34c802a77dc8: Verifying Checksum 14:30:29 34c802a77dc8: Download complete 14:30:29 27c7a5d97fbd: Verifying Checksum 14:30:29 27c7a5d97fbd: Download complete 14:30:30 5c102a31e300: Verifying Checksum 14:30:30 5c102a31e300: Download complete 14:30:30 dcfb455df0a1: Verifying Checksum 14:30:30 dcfb455df0a1: Download complete 14:30:30 Removing intermediate container b30ed18538e4 14:30:30 ---> 11cd67cdcd91 14:30:30 Successfully built 11cd67cdcd91 14:30:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 14:30:31 9eb99e56ec68: Verifying Checksum 14:30:31 9eb99e56ec68: Download complete [Pipeline] isUnix [Pipeline] sh 14:30:31 5788d62ee057: Verifying Checksum 14:30:31 5788d62ee057: Download complete 14:30:31 + docker inspect -f . ci-base-image-arm64 14:30:31 . [Pipeline] withDockerContainer 14:30:32 prd-ubuntu18.04-docker-arm64-4c-16g-4288 does not seem to be running inside a container 14:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 14:30:33 $ docker top bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:34 + go version 14:30:34 go version go1.13.5 linux/arm64 [Pipeline] sh 14:30:35 + make test 14:30:35 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:30:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:30:41 5788d62ee057: Pull complete 14:30:41 0e6b1d234666: Pull complete 14:30:41 bf5d7aec512f: Pull complete 14:30:46 34c802a77dc8: Pull complete 14:30:52 9eb99e56ec68: Pull complete 14:30:52 27c7a5d97fbd: Pull complete 14:30:53 5c102a31e300: Pull complete 14:30:53 dcfb455df0a1: Pull complete 14:30:53 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:30:53 ---> 7c70fe431013 14:30:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:30:53 ---> Running in ca884dd2df1e 14:30:54 Removing intermediate container ca884dd2df1e 14:30:54 ---> 7df7fd33ecc2 14:30:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:30:54 ---> Running in 7b68c0f8da69 14:30:56 Removing intermediate container 7b68c0f8da69 14:30:56 ---> 4fe51e221265 14:30:56 Step 5/8 : RUN apk add --no-cache make git 14:30:56 ---> Running in d2ca75d8b429 14:30:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:30:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:30:58 OK: 143 MiB in 39 packages 14:30:59 Removing intermediate container d2ca75d8b429 14:30:59 ---> 86d241fcb897 14:30:59 Step 6/8 : WORKDIR /device-sdk-go 14:30:59 ---> Running in b2690f476e69 14:30:59 Removing intermediate container b2690f476e69 14:30:59 ---> 0378b2c655c6 14:30:59 Step 7/8 : COPY . . 14:31:00 ---> d80bcd5a22f4 14:31:00 Step 8/8 : RUN go mod download 14:31:00 ---> Running in b8bfb0e1c085 14:31:03 go: finding github.com/BurntSushi/toml v0.3.1 14:31:03 go: finding github.com/OneOfOne/xxhash v1.2.6 14:31:03 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:31:03 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:31:03 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:31:03 go: finding github.com/bgentry/speakeasy v0.1.0 14:31:03 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:31:03 go: finding github.com/davecgh/go-spew v1.1.1 14:31:03 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:31:03 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:31:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:31:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:31:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:31:03 go: finding github.com/fatih/color v1.7.0 14:31:03 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:31:03 go: finding github.com/go-kit/kit v0.8.0 14:31:03 go: finding github.com/go-logfmt/logfmt v0.4.0 14:31:03 go: finding github.com/go-stack/stack v1.8.0 14:31:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:31:03 go: finding github.com/google/uuid v1.1.0 14:31:03 go: finding github.com/gorilla/mux v1.7.1 14:31:03 go: finding github.com/hashicorp/consul/api v1.1.0 14:31:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:31:03 go: finding github.com/hashicorp/errwrap v1.0.0 14:31:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:31:03 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:31:03 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:31:03 go: finding github.com/hashicorp/go-multierror v1.0.0 14:31:03 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:31:03 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:31:03 go: finding github.com/hashicorp/go-syslog v1.0.0 14:31:03 go: finding github.com/hashicorp/go-uuid v1.0.1 14:31:03 go: finding github.com/hashicorp/go.net v0.0.1 14:31:03 go: finding github.com/hashicorp/golang-lru v0.5.0 14:31:03 go: finding github.com/hashicorp/logutils v1.0.0 14:31:03 go: finding github.com/hashicorp/mdns v1.0.0 14:31:03 go: finding github.com/hashicorp/memberlist v0.1.3 14:31:03 go: finding github.com/hashicorp/serf v0.8.2 14:31:03 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:31:03 go: finding github.com/mattn/go-colorable v0.0.9 14:31:03 go: finding github.com/mattn/go-isatty v0.0.3 14:31:03 go: finding github.com/miekg/dns v1.0.14 14:31:03 go: finding github.com/mitchellh/cli v1.0.0 14:31:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:31:03 go: finding github.com/mitchellh/copystructure v1.0.0 14:31:03 go: finding github.com/mitchellh/go-homedir v1.0.0 14:31:03 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:31:03 go: finding github.com/mitchellh/gox v0.4.0 14:31:03 go: finding github.com/mitchellh/iochan v1.0.0 14:31:03 go: finding github.com/mitchellh/mapstructure v1.1.2 14:31:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:31:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:31:04 go: finding github.com/pelletier/go-toml v1.2.0 14:31:04 go: finding github.com/pkg/errors v0.8.1 14:31:04 go: finding github.com/pmezard/go-difflib v1.0.0 14:31:04 go: finding github.com/posener/complete v1.1.1 14:31:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:31:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:31:04 go: finding github.com/stretchr/objx v0.1.0 14:31:04 go: finding github.com/stretchr/testify v1.5.1 14:31:04 go: finding github.com/ugorji/go v1.1.4 14:31:04 go: finding github.com/x448/float16 v0.8.4 14:31:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:31:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:31:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:31:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:31:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:31:04 go: finding gopkg.in/yaml.v2 v2.2.8 14:31:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:31:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:31:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.080s coverage: 22.1% of statements 14:31:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.184s coverage: 95.8% of statements 14:31:10 Removing intermediate container b8bfb0e1c085 14:31:10 ---> d06eae3b3520 14:31:10 Successfully built d06eae3b3520 14:31:10 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 14:31:11 + docker inspect -f . ci-base-image-x86_64 14:31:11 . [Pipeline] withDockerContainer 14:31:11 prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container 14:31:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:31:14 $ docker top c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:15 + go version 14:31:15 go version go1.13.5 linux/amd64 [Pipeline] sh 14:31:16 + make test 14:31:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:31:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:31:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:31:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 22.1% of statements 14:31:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements 14:31:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.099s coverage: 11.4% of statements 14:31:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:31:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.133s coverage: 38.5% of statements 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:31:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.681s coverage: 79.8% of statements 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:31:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 14:31:41 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:31:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 71.4% of statements 14:31:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:31:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:31:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:31:47 gofmt -l . 14:31:47 [ "`gofmt -l .`" = "" ] 14:31:47 ./bin/test-attribution-txt.sh 14:31:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:31:48 Stashed 1 file(s) [Pipeline] } 14:31:48 $ docker stop --time=1 bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d 14:31:51 $ docker rm -f bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:31:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:31:53 + ls -al . 14:31:53 total 200 14:31:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 14:31 . 14:31:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 .. 14:31:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:29 .dockerignore 14:31:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:29 .git 14:31:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:29 .github 14:31:53 -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 14:29 .gitignore 14:31:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:29 .semver 14:31:53 -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 14:29 Dockerfile.build 14:31:53 -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 14:29 Jenkinsfile 14:31:53 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 14:29 LICENSE 14:31:53 -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 14:29 Makefile 14:31:53 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 14:29 README.md 14:31:53 -rw-rw-r-- 1 jenkins jenkins 12 Apr 16 14:26 VERSION 14:31:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:29 api 14:31:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:29 bin 14:31:53 -rw-r--r-- 1 jenkins jenkins 96404 Apr 16 14:31 coverage.out 14:31:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 example 14:31:53 -rw-r--r-- 1 jenkins jenkins 446 Apr 16 14:31 go.mod 14:31:53 -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 14:31 go.sum 14:31:53 drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 14:29 internal 14:31:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 14:29 pkg 14:31:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 snap 14:31:53 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 14:29 version.go [Pipeline] isUnix [Pipeline] sh 14:31:54 + 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=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 --label arch=arm64 --label version=1.2.0-dev.22 . 14:31:54 Sending build context to Docker daemon 2.982MB 14:31:54 Step 1/21 : ARG BASE=golang:1.13-alpine 14:31:54 Step 2/21 : FROM ${BASE} AS builder 14:31:54 ---> 11cd67cdcd91 14:31:54 Step 3/21 : ARG MAKE='make build' 14:31:55 ---> Running in ae11d7f20845 14:31:55 Removing intermediate container ae11d7f20845 14:31:55 ---> 161daff2f4d0 14:31:55 Step 4/21 : WORKDIR /device-sdk-go 14:31:55 ---> Running in 518a69ddb4d7 14:31:56 Removing intermediate container 518a69ddb4d7 14:31:56 ---> b20b297b9f6a 14:31:56 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:31:56 ---> Running in 4e699f9ce036 14:31:56 Removing intermediate container 4e699f9ce036 14:31:56 ---> 070fe4e495fa 14:31:56 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:31:56 ---> Running in 593a35806cf5 14:31:58 Removing intermediate container 593a35806cf5 14:31:58 ---> 48b61cd881d4 14:31:58 Step 7/21 : RUN apk add --update --no-cache make git 14:31:58 ---> Running in 7a7ac4092a43 14:31:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:32:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:32:00 OK: 125 MiB in 39 packages 14:32:01 Removing intermediate container 7a7ac4092a43 14:32:01 ---> e12c67edabce 14:32:01 Step 8/21 : COPY . . 14:32:03 ---> 4fc78b964548 14:32:03 Step 9/21 : RUN ${MAKE} 14:32:03 ---> Running in 244f73ab293a 14:32:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:32:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 11.4% of statements 14:32:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:32:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.070s coverage: 38.5% of statements 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:32:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.578s coverage: 79.8% of statements 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:32:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements 14:32:10 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:32:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.118s coverage: 71.4% of statements 14:32:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:32:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:32:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:32:13 gofmt -l . 14:32:13 [ "`gofmt -l .`" = "" ] 14:32:14 ./bin/test-attribution-txt.sh 14:32:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:32:17 Warning: overwriting stash ‘coverage-report’ 14:32:20 Stashed 1 file(s) [Pipeline] } 14:32:20 $ docker stop --time=1 c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 14:32:23 $ docker rm -f c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:32:25 + sudo chown -R jenkins:jenkins . 14:32:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] sh 14:32:27 + ls -al . 14:32:27 total 160 14:32:27 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 14:32 . 14:32:27 drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 14:30 .. 14:32:27 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:30 api 14:32:27 drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 14:30 bin 14:32:27 -rw-r--r--. 1 jenkins jenkins 96404 Apr 16 14:32 coverage.out 14:32:27 -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 14:30 Dockerfile.build 14:32:27 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:30 .dockerignore 14:32:27 drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 14:30 example 14:32:27 drwxrwxr-x. 8 jenkins jenkins 162 Apr 16 14:30 .git 14:32:27 drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 14:30 .github 14:32:27 -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 14:30 .gitignore 14:32:27 -rw-r--r--. 1 jenkins jenkins 446 Apr 16 14:32 go.mod 14:32:27 -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 14:32 go.sum 14:32:27 drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 14:30 internal 14:32:27 -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 14:30 Jenkinsfile 14:32:27 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 14:30 LICENSE 14:32:27 -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 14:30 Makefile 14:32:27 drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 14:30 pkg 14:32:27 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 14:30 README.md 14:32:27 drwxrwxr-x. 3 jenkins jenkins 44 Apr 16 14:30 .semver 14:32:27 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:30 snap 14:32:27 -rw-rw-r--. 1 jenkins jenkins 12 Apr 16 14:26 VERSION 14:32:27 -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 14:30 version.go [Pipeline] isUnix [Pipeline] sh 14:32:28 Removing intermediate container 244f73ab293a 14:32:28 ---> 8049e74ce480 14:32:28 Step 10/21 : FROM scratch 14:32:28 ---> 14:32:28 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:32:28 ---> Running in aa463f72d0fe 14:32:28 Removing intermediate container aa463f72d0fe 14:32:28 ---> 2db0783850f8 14:32:28 Step 12/21 : ENV APP_PORT=49990 14:32:28 ---> Running in 78e3597bc305 14:32:28 + 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=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 --label arch=amd64 --label version=1.2.0-dev.22 . 14:32:28 Removing intermediate container 78e3597bc305 14:32:28 ---> 1b71adbd05ae 14:32:28 Step 13/21 : EXPOSE $APP_PORT 14:32:28 ---> Running in 68acca0595b8 14:32:29 Removing intermediate container 68acca0595b8 14:32:29 ---> 76b4171a7f47 14:32:29 Step 14/21 : WORKDIR / 14:32:29 ---> Running in 6ad0fd7091ca 14:32:29 Sending build context to Docker daemon 2.982MB 14:32:29 Step 1/21 : ARG BASE=golang:1.13-alpine 14:32:29 Step 2/21 : FROM ${BASE} AS builder 14:32:29 ---> d06eae3b3520 14:32:29 Step 3/21 : ARG MAKE='make build' 14:32:29 ---> Running in 78985138e8bb 14:32:29 Removing intermediate container 6ad0fd7091ca 14:32:29 ---> ec75994f614f 14:32:29 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:32:30 Removing intermediate container 78985138e8bb 14:32:30 ---> ae9d6ee3eee3 14:32:30 Step 4/21 : WORKDIR /device-sdk-go 14:32:30 ---> Running in 8bdbfb8bde80 14:32:30 ---> 7f7e4a29c548 14:32:30 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:32:30 ---> 797a5a4b95c5 14:32:30 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:32:31 Removing intermediate container 8bdbfb8bde80 14:32:31 ---> 1ff4b6cfc117 14:32:31 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:32:31 ---> Running in 343767850c42 14:32:31 ---> 52fbf61dc2c9 14:32:31 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:32:31 Removing intermediate container 343767850c42 14:32:31 ---> 27784aa67eab 14:32:31 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:32:31 ---> Running in db761dd12c90 14:32:31 ---> Running in bf90d95e2eb6 14:32:32 Removing intermediate container bf90d95e2eb6 14:32:32 ---> 272165c79b1b 14:32:32 Step 19/21 : LABEL arch=arm64 14:32:32 ---> Running in b678f4c175cc 14:32:32 Removing intermediate container b678f4c175cc 14:32:32 ---> 111fc494e7d1 14:32:32 Step 20/21 : LABEL git_sha=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 14:32:32 ---> Running in 821fef74efc8 14:32:33 Removing intermediate container 821fef74efc8 14:32:33 ---> 0e96c6991d61 14:32:33 Step 21/21 : LABEL version=1.2.0-dev.22 14:32:33 ---> Running in 627fe6e27241 14:32:33 Removing intermediate container 627fe6e27241 14:32:33 ---> 2f0531a4a132 14:32:33 [Warning] One or more build-args [ARCH] were not consumed 14:32:33 Successfully built 2f0531a4a132 14:32: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] } 14:32:34 Removing intermediate container db761dd12c90 14:32:34 ---> 87300f7fe1c5 14:32:34 Step 7/21 : RUN apk add --update --no-cache make git 14:32:34 ---> Running in b77b0243e1cc 14:32:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:32:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:32:38 OK: 143 MiB in 39 packages 14:32:40 Removing intermediate container b77b0243e1cc 14:32:40 ---> 545144f5ba05 14:32:40 Step 8/21 : COPY . . 14:32:42 ---> c0f85ddae03b 14:32:42 Step 9/21 : RUN ${MAKE} 14:32:42 ---> Running in 1a221b17de59 14:32:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:33:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:33:13 Removing intermediate container 1a221b17de59 14:33:13 ---> 628421424e1e 14:33:13 Step 10/21 : FROM scratch 14:33:13 ---> 14:33:13 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:33:13 ---> Running in 02da1bbd4300 14:33:14 Removing intermediate container 02da1bbd4300 14:33:14 ---> 4122e97b502b 14:33:14 Step 12/21 : ENV APP_PORT=49990 14:33:14 ---> Running in 0436661c9994 14:33:14 Removing intermediate container 0436661c9994 14:33:14 ---> e1763e07b716 14:33:14 Step 13/21 : EXPOSE $APP_PORT 14:33:15 ---> Running in 2cc1b7cbe440 14:33:15 Removing intermediate container 2cc1b7cbe440 14:33:15 ---> e053811bc6cb 14:33:15 Step 14/21 : WORKDIR / 14:33:15 ---> Running in 242328e03fdf 14:33:16 Removing intermediate container 242328e03fdf 14:33:16 ---> d2e5c81e5fa6 14:33:16 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:33:17 ---> fa4863bd640f 14:33:17 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:33:18 ---> 57284dd3d43c 14:33:18 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:33:20 ---> 8c69f943339e 14:33:20 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:33:20 ---> Running in fe38dd37091f 14:33:21 Removing intermediate container fe38dd37091f 14:33:21 ---> b90b1621fb76 14:33:21 Step 19/21 : LABEL arch=amd64 14:33:21 ---> Running in 29cd35c99329 14:33:21 Removing intermediate container 29cd35c99329 14:33:21 ---> bea6c5ea5c64 14:33:21 Step 20/21 : LABEL git_sha=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 14:33:22 ---> Running in a286605af5d6 14:33:22 Removing intermediate container a286605af5d6 14:33:22 ---> 4f647eb4787c 14:33:22 Step 21/21 : LABEL version=1.2.0-dev.22 14:33:22 ---> Running in 635f215235ce 14:33:23 Removing intermediate container 635f215235ce 14:33:23 ---> e427ddf80055 14:33:23 [Warning] One or more build-args [ARCH] were not consumed 14:33:23 Successfully built e427ddf80055 14:33:23 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:33:24 provisioning config files... 14:33:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5683942528633399260tmp [Pipeline] { [Pipeline] sh 14:33:24 + curl -s https://codecov.io/bash 14:33:24 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5683942528633399260tmp 14:33:24 14:33:24 _____ _ 14:33:24 / ____| | | 14:33:24 | | ___ __| | ___ ___ _____ __ 14:33:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:33:24 | |___| (_) | (_| | __/ (_| (_) \ V / 14:33:24 \_____\___/ \__,_|\___|\___\___/ \_/ 14:33:24 Bash-tbd 14:33:24 14:33:24 14:33:24 ==> Jenkins CI detected. 14:33:24 project root: . 14:33:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:33:24 ==> Running gcov in . (disable via -X gcov) 14:33:24 ==> Python coveragepy not found 14:33:24 ==> Searching for coverage reports in: 14:33:24 + . 14:33:24 -> Found 1 reports 14:33:24 ==> Detecting git/mercurial file structure 14:33:24 ==> Reading reports 14:33:24 + ./coverage.out bytes=96404 14:33:24 ==> Appending adjustments 14:33:24 http://docs.codecov.io/docs/fixing-reports 14:33:25 + Found adjustments 14:33:25 ==> Gzipping contents 14:33:25 ==> Uploading reports 14:33:25 url: https://codecov.io 14:33:25 query: branch=master&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 14:33:25 -> Pinging Codecov 14:33:25 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 14:33:26 -> Uploading 14:33:26 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [Pipeline] } 14:33:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 14:33:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 14:33:27 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 14:33:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 14:33:27 14:33:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 14:33:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 14:33:28 1.217.3: Pulling from edgex-devops/edgex-snyk-go 14:33:28 e6b0cf9c0882: Pulling fs layer 14:33:28 2848faf0eed1: Pulling fs layer 14:33:28 0f37312ad70f: Pulling fs layer 14:33:28 7d08f2745646: Pulling fs layer 14:33:28 4c9f31393084: Pulling fs layer 14:33:28 eb21ddb83652: Pulling fs layer 14:33:28 345998794f6b: Pulling fs layer 14:33:28 97a711d68925: Pulling fs layer 14:33:28 7c8476c1cb00: Pulling fs layer 14:33:28 eb21ddb83652: Waiting 14:33:28 345998794f6b: Waiting 14:33:28 97a711d68925: Waiting 14:33:28 7c8476c1cb00: Waiting 14:33:28 7d08f2745646: Waiting 14:33:28 4c9f31393084: Waiting 14:33:28 0f37312ad70f: Verifying Checksum 14:33:28 0f37312ad70f: Download complete 14:33:28 2848faf0eed1: Verifying Checksum 14:33:28 2848faf0eed1: Download complete 14:33:28 4c9f31393084: Verifying Checksum 14:33:28 4c9f31393084: Download complete 14:33:28 eb21ddb83652: Verifying Checksum 14:33:28 eb21ddb83652: Download complete 14:33:28 e6b0cf9c0882: Verifying Checksum 14:33:28 e6b0cf9c0882: Download complete 14:33:28 345998794f6b: Verifying Checksum 14:33:28 345998794f6b: Download complete 14:33:28 e6b0cf9c0882: Pull complete 14:33:28 2848faf0eed1: Pull complete 14:33:29 7c8476c1cb00: Verifying Checksum 14:33:29 7c8476c1cb00: Download complete 14:33:29 0f37312ad70f: Pull complete 14:33:29 97a711d68925: Verifying Checksum 14:33:29 97a711d68925: Download complete 14:33:30 7d08f2745646: Verifying Checksum 14:33:30 7d08f2745646: Download complete 14:33:35 7d08f2745646: Pull complete 14:33:36 4c9f31393084: Pull complete 14:33:36 eb21ddb83652: Pull complete 14:33:38 345998794f6b: Pull complete 14:33:41 97a711d68925: Pull complete 14:33:42 7c8476c1cb00: Pull complete 14:33:42 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 14:33:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 14:33:42 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:33:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 14:33:43 $ docker top df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f -eo pid,comm [Pipeline] { [Pipeline] sh 14:33:44 + snyk monitor '--org=edgex-jenkins' 14:33:49 14:33:49 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... 14:33:49 14:33:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/aad3838f-a2f9-4312-80d0-797b674f0bf2 14:33:49 14:33:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:33:49 14:33:49 [Pipeline] } 14:33:49 $ docker stop --time=1 df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f 14:33:51 $ docker rm -f df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f [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 14:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:33:52 . [Pipeline] withDockerContainer 14:33:52 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14: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 14:33:53 $ docker top 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:33:53 [ssh-agent] Looking for ssh-agent implementation... 14:33:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:33:53 $ docker exec 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec ssh-agent 14:33:53 SSH_AUTH_SOCK=/tmp/ssh-I2cV804xG8vw/agent.15 14:33:53 SSH_AGENT_PID=22 14:33:53 Running ssh-add (command line suppressed) 14:33:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8203472737839250992.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8203472737839250992.key) 14:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:33:54 + git semver tag 14:33:54 # -> Open(): unable to determine branch for HEAD 14:33:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 14:33:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 14:33:54 # $SEMVER_REMOTE_NAME = origin 14:33:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:33:54 # $SEMVER_USER_NAME = edgex-jenkins 14:33:54 # $SEMVER_BRANCH = master 14:33:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 14:33:54 # fc4d8ba2ca6bee1bf2e474e60f47b75130718504 HEAD 14:33:54 # -> Force: false 14:33:54 # 92c10825d05c435330fce962edaaccf0bd695bff refs/tags/v1.2.0-dev.22 [Pipeline] } 14:33:54 $ docker exec --env ******** --env ******** 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec ssh-agent -k 14:33:54 unset SSH_AUTH_SOCK; 14:33:54 unset SSH_AGENT_PID; 14:33:54 echo Agent pid 22 killed; 14:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:33:55 + git semver [Pipeline] } 14:33:55 $ docker stop --time=1 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec 14:33:56 $ docker rm -f 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:33:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:33:57 14:33:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:33:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:33:57 0.23.1-centos7: Pulling from edgex-lftools 14:33:57 ab5ef0e58194: Pulling fs layer 14:33:57 9712f1f96733: Pulling fs layer 14:33:57 63f879dbbcfc: Pulling fs layer 14:33:57 0d9ebad4ef96: Pulling fs layer 14:33:57 e9a5061849ea: Pulling fs layer 14:33:57 d747dcd14b5f: Pulling fs layer 14:33:57 2de7ff778b66: Pulling fs layer 14:33:57 e9a5061849ea: Waiting 14:33:57 d747dcd14b5f: Waiting 14:33:57 2de7ff778b66: Waiting 14:33:57 0d9ebad4ef96: Waiting 14:33:57 9712f1f96733: Download complete 14:33:58 63f879dbbcfc: Verifying Checksum 14:33:58 63f879dbbcfc: Download complete 14:33:58 e9a5061849ea: Verifying Checksum 14:33:58 e9a5061849ea: Download complete 14:33:58 d747dcd14b5f: Verifying Checksum 14:33:58 d747dcd14b5f: Download complete 14:33:58 2de7ff778b66: Verifying Checksum 14:33:58 2de7ff778b66: Download complete 14:33:58 0d9ebad4ef96: Verifying Checksum 14:33:58 0d9ebad4ef96: Download complete 14:34:00 ab5ef0e58194: Verifying Checksum 14:34:00 ab5ef0e58194: Download complete 14:34:04 ab5ef0e58194: Pull complete 14:34:04 9712f1f96733: Pull complete 14:34:07 63f879dbbcfc: Pull complete 14:34:14 0d9ebad4ef96: Pull complete 14:34:15 e9a5061849ea: Pull complete 14:34:15 d747dcd14b5f: Pull complete 14:34:18 2de7ff778b66: Pull complete 14:34:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:34:18 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:34:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:34:19 $ docker top 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:34:19 provisioning config files... 14:34:19 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6763740286874655875tmp 14:34:19 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2315545486982901106tmp 14:34:19 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8609245658592743752tmp [Pipeline] { [Pipeline] echo 14:34:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:34:19 ---> sigul-configuration.sh 14:34:19 gpg: directory `/root/.gnupg' created 14:34:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:34:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:34:19 gpg: keyring `/root/.gnupg/secring.gpg' created 14:34:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:34:19 gpg: CAST5 encrypted data 14:34:20 gpg: encrypted with 1 passphrase 14:34:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:34:20 + mkdir /home/jenkins 14:34:20 + mkdir /home/jenkins/sigul [Pipeline] sh 14:34:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 14:34:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:34:21 ---> sigul-install.sh 14:34:29 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 14:34:30 + git tag --list 14:34:30 v1.2.0-dev.22 [Pipeline] sh 14:34:30 + lftools sign git-tag v1.2.0-dev.22 14:34:32 Signing Git tag with Sigul... 14:34:32 Signing v1.2.0-dev.22 [Pipeline] echo 14:34:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:34:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:34:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:34:33 $ docker stop --time=1 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd 14:34:34 $ docker rm -f 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:34:35 . [Pipeline] withDockerContainer 14:34:35 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:34:35 $ 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 14:34:36 $ docker top 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:34:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:36 [ssh-agent] Looking for ssh-agent implementation... 14:34:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:36 $ docker exec 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 ssh-agent 14:34:36 SSH_AUTH_SOCK=/tmp/ssh-vdn6AscIxhta/agent.15 14:34:36 SSH_AGENT_PID=22 14:34:36 Running ssh-add (command line suppressed) 14:34:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5112679399456489314.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5112679399456489314.key) 14:34:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:37 + git semver bump pre 14:34:37 # -> Open(): unable to determine branch for HEAD 14:34:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 14:34:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 14:34:37 # $SEMVER_REMOTE_NAME = origin 14:34:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:34:37 # $SEMVER_USER_NAME = edgex-jenkins 14:34:37 # $SEMVER_BRANCH = master 14:34:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 14:34:37 1.2.0-dev.23 [Pipeline] } 14:34:37 $ docker exec --env ******** --env ******** 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 ssh-agent -k 14:34:37 unset SSH_AUTH_SOCK; 14:34:37 unset SSH_AGENT_PID; 14:34:37 echo Agent pid 22 killed; 14:34:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:34:37 + git semver [Pipeline] } 14:34:38 $ docker stop --time=1 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 14:34:39 $ docker rm -f 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:34:39 . [Pipeline] withDockerContainer 14:34:40 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:34:40 $ 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 14:34:40 $ docker top b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:34:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:40 [ssh-agent] Looking for ssh-agent implementation... 14:34:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:41 $ docker exec b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae ssh-agent 14:34:41 SSH_AUTH_SOCK=/tmp/ssh-P7INsfhUOj24/agent.15 14:34:41 SSH_AGENT_PID=22 14:34:41 Running ssh-add (command line suppressed) 14:34:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6722616062481624551.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6722616062481624551.key) 14:34:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:41 + git semver push 14:34:41 # -> Open(): unable to determine branch for HEAD 14:34:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 14:34:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 14:34:41 # $SEMVER_REMOTE_NAME = origin 14:34:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:34:41 # $SEMVER_USER_NAME = edgex-jenkins 14:34:41 # $SEMVER_BRANCH = master 14:34:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 14:34:50 $ docker exec --env ******** --env ******** b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae ssh-agent -k 14:34:50 unset SSH_AUTH_SOCK; 14:34:50 unset SSH_AGENT_PID; 14:34:50 echo Agent pid 22 killed; 14:34:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:34:50 + git semver [Pipeline] } 14:34:50 $ docker stop --time=1 b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae 14:34:52 $ docker rm -f b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae [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 14:34:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:34:53 ---> package-listing.sh 14:34:53 ++ facter osfamily 14:34:53 ++ tr '[:upper:]' '[:lower:]' 14:34:53 + OS_FAMILY=redhat 14:34:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 14:34:53 + START_PACKAGES=/tmp/packages_start.txt 14:34:53 + END_PACKAGES=/tmp/packages_end.txt 14:34:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:34:53 + PACKAGES=/tmp/packages_start.txt 14:34:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 14:34:53 + PACKAGES=/tmp/packages_end.txt 14:34:53 + case "${OS_FAMILY}" in 14:34:53 + rpm -qa 14:34:53 + sort 14:34:56 + '[' -f /tmp/packages_start.txt ']' 14:34:56 + '[' -f /tmp/packages_end.txt ']' 14:34:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:34:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 14:34:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 14:34:56 + 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 14:34:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:34:57 14:34:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:34:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:34:57 alpine: Pulling from edgex-lftools-log-publisher 14:34:57 c9b1b535fdd9: Pulling fs layer 14:34:57 2cc5ad85d9ab: Pulling fs layer 14:34:57 756a868c4378: Pulling fs layer 14:34:57 444b2fc9a129: Pulling fs layer 14:34:57 ea15f1150254: Pulling fs layer 14:34:57 41b27a9f41bf: Pulling fs layer 14:34:57 28c525ee5125: Pulling fs layer 14:34:57 094b1ea09ed8: Pulling fs layer 14:34:57 138eaada9080: Pulling fs layer 14:34:57 0622d0fa9048: Pulling fs layer 14:34:57 28c525ee5125: Waiting 14:34:57 444b2fc9a129: Waiting 14:34:57 094b1ea09ed8: Waiting 14:34:57 138eaada9080: Waiting 14:34:57 0622d0fa9048: Waiting 14:34:57 41b27a9f41bf: Waiting 14:34:57 ea15f1150254: Waiting 14:34:57 2cc5ad85d9ab: Verifying Checksum 14:34:57 2cc5ad85d9ab: Download complete 14:34:57 444b2fc9a129: Verifying Checksum 14:34:57 444b2fc9a129: Download complete 14:34:57 c9b1b535fdd9: Verifying Checksum 14:34:57 c9b1b535fdd9: Download complete 14:34:57 ea15f1150254: Verifying Checksum 14:34:57 ea15f1150254: Download complete 14:34:57 28c525ee5125: Verifying Checksum 14:34:57 28c525ee5125: Download complete 14:34:58 c9b1b535fdd9: Pull complete 14:34:58 2cc5ad85d9ab: Pull complete 14:34:58 756a868c4378: Verifying Checksum 14:34:58 756a868c4378: Download complete 14:34:58 138eaada9080: Verifying Checksum 14:34:58 138eaada9080: Download complete 14:34:58 0622d0fa9048: Verifying Checksum 14:34:58 0622d0fa9048: Download complete 14:34:58 094b1ea09ed8: Verifying Checksum 14:34:58 094b1ea09ed8: Download complete 14:34:59 41b27a9f41bf: Verifying Checksum 14:34:59 41b27a9f41bf: Download complete 14:35:00 756a868c4378: Pull complete 14:35:00 444b2fc9a129: Pull complete 14:35:00 ea15f1150254: Pull complete 14:35:05 41b27a9f41bf: Pull complete 14:35:05 28c525ee5125: Pull complete 14:35:07 094b1ea09ed8: Pull complete 14:35:07 138eaada9080: Pull complete 14:35:07 0622d0fa9048: Pull complete 14:35:07 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:35:07 prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container 14:35:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:35:08 $ docker top 3e80cf669e8b68c52d4d444e22c84cbafbc889d8b5755938225f4c19db825d1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:35:08 provisioning config files... 14:35:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1223266818196670912tmp [Pipeline] { [Pipeline] echo 14:35:08 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:35:08 ---> create-netrc.sh [Pipeline] echo 14:35:08 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:35:09 ---> logs-deploy.sh 14:35:09 + ARCHIVE_ARTIFACTS= 14:35:09 + LOGS_SERVER=https://logs.edgexfoundry.org 14:35:09 + '[' https://logs.edgexfoundry.org == None ']' 14:35:09 + NEXUS_URL=https://nexus.edgexfoundry.org 14:35:09 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 14:35:09 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/22/ 14:35:09 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 /w/workspace/dgexfoundry_device-sdk-go_master 14:35:10 Archives upload complete. 14:35:10 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/22/