Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3a565b71685442c2ff1ef3a41526fe46f740cbbe 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 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 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 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git https://github.com/edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1169 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 3a565b71685442c2ff1ef3a41526fe46f740cbbe (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 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 Commit message: "Merge pull request #533 from kaisawind/master" > git rev-list --no-walk e392cb03206751630a245b46d5bf5d4bcc819dd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:11:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:11:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:11:05 ========================================================= 08:11:05 EdgeX Global Pipelines Version Info 08:11:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:11:06 ------------------- 08:11:06 stable info: 08:11:06 ------------------- 08:11:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:11:06 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 08:11:06 Message: update stable to v1.0.89 08:11:07 ------------------- 08:11:07 experimental info: 08:11:07 ------------------- 08:11:07 Commited By: **** collab-it+edgex@linuxfoundation.org 08:11:07 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 08:11:07 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:11:10 08:11:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:11:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:11:10 latest: Pulling from edgex-devops/git-semver 08:11:10 9123ac7c32f7: Pulling fs layer 08:11:10 b8cc5d1170e3: Pulling fs layer 08:11:10 2924cbbf6a41: Pulling fs layer 08:11:10 93b08a4f1073: Pulling fs layer 08:11:10 93b08a4f1073: Waiting 08:11:10 b8cc5d1170e3: Verifying Checksum 08:11:10 b8cc5d1170e3: Download complete 08:11:10 9123ac7c32f7: Verifying Checksum 08:11:10 9123ac7c32f7: Download complete 08:11:10 93b08a4f1073: Verifying Checksum 08:11:10 93b08a4f1073: Download complete 08:11:10 2924cbbf6a41: Verifying Checksum 08:11:10 2924cbbf6a41: Download complete 08:11:10 9123ac7c32f7: Pull complete 08:11:10 b8cc5d1170e3: Pull complete 08:11:11 2924cbbf6a41: Pull complete 08:11:11 93b08a4f1073: Pull complete 08:11:11 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:11:11 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:11:11 $ 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 08:11:12 $ docker top 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:12 [ssh-agent] Looking for ssh-agent implementation... 08:11:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:13 $ docker exec 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e ssh-agent 08:11:13 SSH_AUTH_SOCK=/tmp/ssh-mVdUdHiPuEXC/agent.14 08:11:13 SSH_AGENT_PID=21 08:11:13 Running ssh-add (command line suppressed) 08:11:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2874184263891077983.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2874184263891077983.key) 08:11:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:13 + git describe --exact-match --tags HEAD 08:11:13 fatal: No names found, cannot describe anything. [Pipeline] } 08:11:14 $ docker exec --env ******** --env ******** 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e ssh-agent -k 08:11:14 unset SSH_AUTH_SOCK; 08:11:14 unset SSH_AGENT_PID; 08:11:14 echo Agent pid 21 killed; 08:11:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:11:14 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:11:14 This usually means this commit has not been tagged. [Pipeline] sshagent 08:11:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:14 [ssh-agent] Looking for ssh-agent implementation... 08:11:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:14 $ docker exec 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e ssh-agent 08:11:14 SSH_AUTH_SOCK=/tmp/ssh-hYHCCdONXx4s/agent.57 08:11:14 SSH_AGENT_PID=64 08:11:14 Running ssh-add (command line suppressed) 08:11:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4984713802709644913.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4984713802709644913.key) 08:11:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:15 + git semver init 08:11:15 # -> Open(): unable to determine branch for HEAD 08:11:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:11:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:11:15 # $SEMVER_REMOTE_NAME = origin 08:11:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:11:15 # $SEMVER_USER_NAME = edgex-jenkins 08:11:15 # $SEMVER_BRANCH = master 08:11:15 # $SEMVER_TEMP = /tmp/semver-294255852 08:11:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:11:15 # '/tmp/semver-294255852' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 08:11:15 # -> Force: false 08:11:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:11:15 $ docker exec --env ******** --env ******** 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e ssh-agent -k 08:11:16 unset SSH_AUTH_SOCK; 08:11:16 unset SSH_AGENT_PID; 08:11:16 echo Agent pid 64 killed; 08:11:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:11:16 + git semver [Pipeline] } 08:11:16 $ docker stop --time=1 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e 08:11:17 $ docker rm -f 57bf7e6dc25c8c3a48e214a6a9a60e231debc7e85c4555d3f28d1a06f25d0b9e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:11:18 Stashed 62 file(s) [Pipeline] echo 08:11:18 [edgeXSemver] initialized semver on version 1.2.2-dev.2 [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 08:11:34 Still waiting to schedule task 08:11:34 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1169’ 08:11:34 Still waiting to schedule task 08:11:34 ‘prd-ubuntu18.04-docker-arm64-4c-16g-929’ is offline 08:13:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1170 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:13:19 Running in /w/workspace/device-sdk-go/43 [Pipeline] { [Pipeline] checkout 08:13:25 using credential edgex-jenkins-ssh 08:13:25 Cloning the remote Git repository 08:13:25 Cloning with configured refspecs honoured and without tags 08:13:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:13:26 > git init /w/workspace/device-sdk-go/43 # timeout=10 08:13:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:13:26 > git --version # timeout=10 08:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:13:27 Fetching without tags 08:13:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:13:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:13:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:13:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:13:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:13:27 Checking out Revision 3a565b71685442c2ff1ef3a41526fe46f740cbbe (master) 08:13:27 > git config core.sparsecheckout # timeout=10 08:13:28 > git checkout -f 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 08:13:32 Commit message: "Merge pull request #533 from kaisawind/master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:13:34 ========================================================= 08:13:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:13:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:13:35 + 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 . 08:13:36 Sending build context to Docker daemon 3.057MB 08:13:36 Step 1/8 : ARG BASE=golang:1.13-alpine 08:13:36 Step 2/8 : FROM ${BASE} 08:13:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:13:36 cde5963f3b93: Pulling fs layer 08:13:36 2a23fa8c16f7: Pulling fs layer 08:13:36 777b28850792: Pulling fs layer 08:13:36 8a11ddd9e578: Pulling fs layer 08:13:36 4cf88f913ddb: Pulling fs layer 08:13:36 1df406cf5192: Pulling fs layer 08:13:36 cd6300453558: Pulling fs layer 08:13:36 b9c365052c96: Pulling fs layer 08:13:36 a2d8cc88f415: Pulling fs layer 08:13:36 ea1d1ca13537: Pulling fs layer 08:13:36 3750a50a1c5e: Pulling fs layer 08:13:36 8a11ddd9e578: Waiting 08:13:36 4cf88f913ddb: Waiting 08:13:36 1df406cf5192: Waiting 08:13:36 cd6300453558: Waiting 08:13:36 b9c365052c96: Waiting 08:13:36 a2d8cc88f415: Waiting 08:13:36 ea1d1ca13537: Waiting 08:13:36 3750a50a1c5e: Waiting 08:13:36 777b28850792: Download complete 08:13:36 2a23fa8c16f7: Verifying Checksum 08:13:36 2a23fa8c16f7: Download complete 08:13:36 4cf88f913ddb: Verifying Checksum 08:13:36 4cf88f913ddb: Download complete 08:13:36 1df406cf5192: Verifying Checksum 08:13:36 1df406cf5192: Download complete 08:13:36 cde5963f3b93: Verifying Checksum 08:13:36 cde5963f3b93: Download complete 08:13:37 cde5963f3b93: Pull complete 08:13:38 2a23fa8c16f7: Pull complete 08:13:38 777b28850792: Pull complete 08:13:41 cd6300453558: Verifying Checksum 08:13:41 cd6300453558: Download complete 08:13:41 a2d8cc88f415: Verifying Checksum 08:13:41 a2d8cc88f415: Download complete 08:13:43 ea1d1ca13537: Verifying Checksum 08:13:43 ea1d1ca13537: Download complete 08:13:43 3750a50a1c5e: Download complete 08:13:46 b9c365052c96: Verifying Checksum 08:13:46 b9c365052c96: Download complete 08:13:48 8a11ddd9e578: Verifying Checksum 08:13:48 8a11ddd9e578: Download complete 08:14:00 8a11ddd9e578: Pull complete 08:14:00 4cf88f913ddb: Pull complete 08:14:00 1df406cf5192: Pull complete 08:14:04 cd6300453558: Pull complete 08:14:08 Running on prd-centos7-docker-4c-2g-1171 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:14:08 Running in /w/workspace/device-sdk-go/43 [Pipeline] { [Pipeline] checkout 08:14:10 b9c365052c96: Pull complete 08:14:10 a2d8cc88f415: Pull complete 08:14:11 using credential edgex-jenkins-ssh 08:14:11 Cloning the remote Git repository 08:14:11 Cloning with configured refspecs honoured and without tags 08:14:11 ea1d1ca13537: Pull complete 08:14:12 Fetching without tags 08:14:12 3750a50a1c5e: Pull complete 08:14:12 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:14:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:14:12 ---> 78745c68409d 08:14:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:14:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:14:11 > git init /w/workspace/device-sdk-go/43 # timeout=10 08:14:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:14:11 > git --version # timeout=10 08:14:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:14:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:14:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:12 Checking out Revision 3a565b71685442c2ff1ef3a41526fe46f740cbbe (master) 08:14:12 > git config core.sparsecheckout # timeout=10 08:14:12 > git checkout -f 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 08:14:15 ---> Running in 8fe48c5692b8 08:14:16 Removing intermediate container 8fe48c5692b8 08:14:16 ---> cbaf82d5c91a 08:14:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:14:16 ---> Running in fc50a16bfd9e 08:14:16 Commit message: "Merge pull request #533 from kaisawind/master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:14:17 ========================================================= 08:14:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:14:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:14:18 + 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 . 08:14:18 Removing intermediate container fc50a16bfd9e 08:14:18 ---> 91dce6aefeda 08:14:18 Step 5/8 : RUN apk add --no-cache make git 08:14:18 ---> Running in 27054c06ec2b 08:14:18 Sending build context to Docker daemon 3.057MB 08:14:18 Step 1/8 : ARG BASE=golang:1.13-alpine 08:14:18 Step 2/8 : FROM ${BASE} 08:14:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:14:18 e6b0cf9c0882: Pulling fs layer 08:14:18 2848faf0eed1: Pulling fs layer 08:14:18 0f37312ad70f: Pulling fs layer 08:14:18 5788d62ee057: Pulling fs layer 08:14:18 0e6b1d234666: Pulling fs layer 08:14:18 bf5d7aec512f: Pulling fs layer 08:14:18 34c802a77dc8: Pulling fs layer 08:14:18 9eb99e56ec68: Pulling fs layer 08:14:18 27c7a5d97fbd: Pulling fs layer 08:14:18 5c102a31e300: Pulling fs layer 08:14:18 dcfb455df0a1: Pulling fs layer 08:14:18 34c802a77dc8: Waiting 08:14:18 9eb99e56ec68: Waiting 08:14:18 27c7a5d97fbd: Waiting 08:14:18 5c102a31e300: Waiting 08:14:18 dcfb455df0a1: Waiting 08:14:18 5788d62ee057: Waiting 08:14:18 0e6b1d234666: Waiting 08:14:18 bf5d7aec512f: Waiting 08:14:18 0f37312ad70f: Verifying Checksum 08:14:18 0f37312ad70f: Download complete 08:14:18 2848faf0eed1: Verifying Checksum 08:14:18 2848faf0eed1: Download complete 08:14:18 0e6b1d234666: Verifying Checksum 08:14:18 0e6b1d234666: Download complete 08:14:18 bf5d7aec512f: Verifying Checksum 08:14:18 bf5d7aec512f: Download complete 08:14:18 e6b0cf9c0882: Verifying Checksum 08:14:18 e6b0cf9c0882: Download complete 08:14:18 e6b0cf9c0882: Pull complete 08:14:19 2848faf0eed1: Pull complete 08:14:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:14:19 34c802a77dc8: Verifying Checksum 08:14:19 34c802a77dc8: Download complete 08:14:19 27c7a5d97fbd: Verifying Checksum 08:14:19 27c7a5d97fbd: Download complete 08:14:19 5c102a31e300: Verifying Checksum 08:14:19 5c102a31e300: Download complete 08:14:19 dcfb455df0a1: Verifying Checksum 08:14:19 dcfb455df0a1: Download complete 08:14:20 9eb99e56ec68: Verifying Checksum 08:14:20 9eb99e56ec68: Download complete 08:14:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:14:20 5788d62ee057: Verifying Checksum 08:14:20 5788d62ee057: Download complete 08:14:20 OK: 125 MiB in 39 packages 08:14:21 0f37312ad70f: Pull complete 08:14:21 Removing intermediate container 27054c06ec2b 08:14:21 ---> e3aa498e9278 08:14:21 Step 6/8 : WORKDIR /device-sdk-go 08:14:21 ---> Running in ad13c551d664 08:14:22 Removing intermediate container ad13c551d664 08:14:22 ---> c375cd13efe2 08:14:22 Step 7/8 : COPY . . 08:14:23 ---> 46dc811d78d0 08:14:23 Step 8/8 : RUN go mod download 08:14:23 ---> Running in 4c6fe046225f 08:14:26 go: finding github.com/BurntSushi/toml v0.3.1 08:14:26 go: finding github.com/OneOfOne/xxhash v1.2.6 08:14:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:14:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:14:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:14:26 go: finding github.com/bgentry/speakeasy v0.1.0 08:14:26 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:14:26 go: finding github.com/davecgh/go-spew v1.1.1 08:14:26 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 08:14:26 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:14:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:14:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:14:26 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:14:26 go: finding github.com/fatih/color v1.7.0 08:14:26 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:14:26 go: finding github.com/go-kit/kit v0.8.0 08:14:26 go: finding github.com/go-logfmt/logfmt v0.4.0 08:14:26 go: finding github.com/go-stack/stack v1.8.0 08:14:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:14:26 go: finding github.com/google/uuid v1.1.0 08:14:26 go: finding github.com/gorilla/mux v1.7.1 08:14:26 go: finding github.com/hashicorp/consul/api v1.1.0 08:14:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:14:26 go: finding github.com/hashicorp/errwrap v1.0.0 08:14:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:14:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:14:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:14:26 go: finding github.com/hashicorp/go-multierror v1.0.0 08:14:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:14:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:14:26 go: finding github.com/hashicorp/go-syslog v1.0.0 08:14:26 go: finding github.com/hashicorp/go-uuid v1.0.1 08:14:26 go: finding github.com/hashicorp/go.net v0.0.1 08:14:26 go: finding github.com/hashicorp/golang-lru v0.5.0 08:14:26 go: finding github.com/hashicorp/logutils v1.0.0 08:14:26 go: finding github.com/hashicorp/mdns v1.0.0 08:14:26 go: finding github.com/hashicorp/memberlist v0.1.3 08:14:27 go: finding github.com/hashicorp/serf v0.8.2 08:14:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:14:27 go: finding github.com/mattn/go-colorable v0.0.9 08:14:27 go: finding github.com/mattn/go-isatty v0.0.3 08:14:27 go: finding github.com/miekg/dns v1.0.14 08:14:27 go: finding github.com/mitchellh/cli v1.0.0 08:14:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:14:27 go: finding github.com/mitchellh/copystructure v1.0.0 08:14:27 go: finding github.com/mitchellh/go-homedir v1.0.0 08:14:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:14:27 go: finding github.com/mitchellh/gox v0.4.0 08:14:27 go: finding github.com/mitchellh/iochan v1.0.0 08:14:27 go: finding github.com/mitchellh/mapstructure v1.1.2 08:14:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:14:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:14:27 go: finding github.com/pelletier/go-toml v1.2.0 08:14:27 go: finding github.com/pkg/errors v0.8.1 08:14:27 go: finding github.com/pmezard/go-difflib v1.0.0 08:14:27 go: finding github.com/posener/complete v1.1.1 08:14:27 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:14:27 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:14:27 go: finding github.com/stretchr/objx v0.1.0 08:14:27 go: finding github.com/stretchr/testify v1.5.1 08:14:27 go: finding github.com/ugorji/go v1.1.4 08:14:27 go: finding github.com/x448/float16 v0.8.4 08:14:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:14:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:14:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:14:27 5788d62ee057: Pull complete 08:14:27 0e6b1d234666: Pull complete 08:14:27 bf5d7aec512f: Pull complete 08:14:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:14:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:14:27 go: finding gopkg.in/yaml.v2 v2.2.8 08:14:30 34c802a77dc8: Pull complete 08:14:35 9eb99e56ec68: Pull complete 08:14:35 27c7a5d97fbd: Pull complete 08:14:36 5c102a31e300: Pull complete 08:14:36 dcfb455df0a1: Pull complete 08:14:36 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:14:36 ---> 7c70fe431013 08:14:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:14:36 ---> Running in 07c684dd53da 08:14:36 Removing intermediate container 07c684dd53da 08:14:36 ---> 7a0a9265a928 08:14:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:14:36 ---> Running in 4eff89e04bf3 08:14:37 Removing intermediate container 4eff89e04bf3 08:14:37 ---> 9215786b6b33 08:14:37 Step 5/8 : RUN apk add --no-cache make git 08:14:37 ---> Running in cd102c034773 08:14:38 Removing intermediate container 4c6fe046225f 08:14:38 ---> f98ab87676bd 08:14:38 Successfully built f98ab87676bd 08:14:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 08:14:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:14:38 + docker inspect -f . ci-base-image-arm64 08:14:39 . [Pipeline] withDockerContainer 08:14:39 prd-ubuntu18.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container 08:14:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:14:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:14:40 OK: 143 MiB in 39 packages 08:14:40 Removing intermediate container cd102c034773 08:14:40 ---> fc0eeda3bf8b 08:14:40 Step 6/8 : WORKDIR /device-sdk-go 08:14:40 ---> Running in 73a42ac2b2eb 08:14:41 Removing intermediate container 73a42ac2b2eb 08:14:41 ---> 4d7c6ebced7a 08:14:41 Step 7/8 : COPY . . 08:14:41 $ docker top 79206c76d24c39e70280a673259a982e1d0a29e99cde1b30d2a0451ba491fa63 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:41 ---> 0314b9985358 08:14:41 Step 8/8 : RUN go mod download 08:14:41 ---> Running in b836b187faa7 08:14:42 + go version 08:14:42 go version go1.13.5 linux/arm64 [Pipeline] sh 08:14:42 + make test 08:14:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:14:43 go: finding github.com/BurntSushi/toml v0.3.1 08:14:43 go: finding github.com/OneOfOne/xxhash v1.2.6 08:14:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:14:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:14:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:14:43 go: finding github.com/bgentry/speakeasy v0.1.0 08:14:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:14:43 go: finding github.com/davecgh/go-spew v1.1.1 08:14:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 08:14:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:14:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:14:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:14:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:14:43 go: finding github.com/fatih/color v1.7.0 08:14:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:14:44 go: finding github.com/go-kit/kit v0.8.0 08:14:44 go: finding github.com/go-logfmt/logfmt v0.4.0 08:14:44 go: finding github.com/go-stack/stack v1.8.0 08:14:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:14:44 go: finding github.com/google/uuid v1.1.0 08:14:44 go: finding github.com/gorilla/mux v1.7.1 08:14:44 go: finding github.com/hashicorp/consul/api v1.1.0 08:14:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:14:44 go: finding github.com/hashicorp/errwrap v1.0.0 08:14:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:14:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:14:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:14:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:14:44 go: finding github.com/hashicorp/go-multierror v1.0.0 08:14:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:14:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:14:44 go: finding github.com/hashicorp/go-syslog v1.0.0 08:14:44 go: finding github.com/hashicorp/go-uuid v1.0.1 08:14:44 go: finding github.com/hashicorp/go.net v0.0.1 08:14:44 go: finding github.com/hashicorp/golang-lru v0.5.0 08:14:44 go: finding github.com/hashicorp/logutils v1.0.0 08:14:44 go: finding github.com/hashicorp/mdns v1.0.0 08:14:44 go: finding github.com/hashicorp/memberlist v0.1.3 08:14:44 go: finding github.com/hashicorp/serf v0.8.2 08:14:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:14:44 go: finding github.com/mattn/go-colorable v0.0.9 08:14:44 go: finding github.com/mattn/go-isatty v0.0.3 08:14:44 go: finding github.com/miekg/dns v1.0.14 08:14:44 go: finding github.com/mitchellh/cli v1.0.0 08:14:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:14:44 go: finding github.com/mitchellh/copystructure v1.0.0 08:14:44 go: finding github.com/mitchellh/go-homedir v1.0.0 08:14:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:14:44 go: finding github.com/mitchellh/gox v0.4.0 08:14:44 go: finding github.com/mitchellh/iochan v1.0.0 08:14:44 go: finding github.com/mitchellh/mapstructure v1.1.2 08:14:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:14:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:14:45 go: finding github.com/pelletier/go-toml v1.2.0 08:14:45 go: finding github.com/pkg/errors v0.8.1 08:14:45 go: finding github.com/pmezard/go-difflib v1.0.0 08:14:45 go: finding github.com/posener/complete v1.1.1 08:14:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:14:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:14:45 go: finding github.com/stretchr/objx v0.1.0 08:14:45 go: finding github.com/stretchr/testify v1.5.1 08:14:45 go: finding github.com/ugorji/go v1.1.4 08:14:45 go: finding github.com/x448/float16 v0.8.4 08:14:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:14:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:14:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:14:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:14:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:14:45 go: finding gopkg.in/yaml.v2 v2.2.8 08:14:49 Removing intermediate container b836b187faa7 08:14:49 ---> 48d613b491f9 08:14:49 Successfully built 48d613b491f9 08:14:49 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 08:14:50 + docker inspect -f . ci-base-image-x86_64 08:14:50 . [Pipeline] withDockerContainer 08:14:50 prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container 08:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:51 $ docker top 72eedb30b8e0acb2015f38f1dfac92bf1914774d4cb12a51b3f55d33c62a7d78 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:51 + go version 08:14:51 go version go1.13.5 linux/amd64 [Pipeline] sh 08:14:52 + make test 08:14:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:14:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:15:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:15:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:15:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:15:02 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements 08:15:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 08:15:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:15:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:15:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:15:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.041s coverage: 22.1% of statements 08:15:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.8% of statements 08:15:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.022s coverage: 11.4% of statements 08:15:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:15:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.116s coverage: 36.9% of statements 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:15:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.431s coverage: 65.2% of statements 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:15:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements 08:15:40 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:15:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements 08:15:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:15:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:15:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:15:40 gofmt -l . 08:15:40 [ "`gofmt -l .`" = "" ] 08:15:40 ./bin/test-attribution-txt.sh 08:15:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:15:40 Stashed 1 file(s) [Pipeline] } 08:15:40 $ docker stop --time=1 72eedb30b8e0acb2015f38f1dfac92bf1914774d4cb12a51b3f55d33c62a7d78 08:15:42 $ docker rm -f 72eedb30b8e0acb2015f38f1dfac92bf1914774d4cb12a51b3f55d33c62a7d78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:43 + ls -al . 08:15:43 total 180 08:15:43 drwxrwxr-x. 11 jenkins jenkins 4096 May 29 08:15 . 08:15:43 drwxrwxr-x. 4 jenkins jenkins 30 May 29 08:14 .. 08:15:43 drwxrwxr-x. 3 jenkins jenkins 20 May 29 08:14 api 08:15:43 drwxrwxr-x. 2 jenkins jenkins 64 May 29 08:14 bin 08:15:43 -rw-r--r--. 1 jenkins jenkins 110877 May 29 08:15 coverage.out 08:15:43 -rw-rw-r--. 1 jenkins jenkins 936 May 29 08:14 Dockerfile.build 08:15:43 -rw-rw-r--. 1 jenkins jenkins 140 May 29 08:14 .dockerignore 08:15:43 drwxrwxr-x. 4 jenkins jenkins 48 May 29 08:14 example 08:15:43 drwxrwxr-x. 8 jenkins jenkins 162 May 29 08:14 .git 08:15:43 drwxrwxr-x. 2 jenkins jenkins 38 May 29 08:14 .github 08:15:43 -rw-rw-r--. 1 jenkins jenkins 138 May 29 08:14 .gitignore 08:15:43 -rw-r--r--. 1 jenkins jenkins 446 May 29 08:15 go.mod 08:15:43 -rw-r--r--. 1 jenkins jenkins 12179 May 29 08:15 go.sum 08:15:43 drwxrwxr-x. 15 jenkins jenkins 217 May 29 08:14 internal 08:15:43 -rw-rw-r--. 1 jenkins jenkins 808 May 29 08:14 Jenkinsfile 08:15:43 -rw-rw-r--. 1 jenkins jenkins 11341 May 29 08:14 LICENSE 08:15:43 -rw-rw-r--. 1 jenkins jenkins 892 May 29 08:14 Makefile 08:15:43 drwxrwxr-x. 5 jenkins jenkins 50 May 29 08:14 pkg 08:15:43 -rw-rw-r--. 1 jenkins jenkins 3166 May 29 08:14 README.md 08:15:43 -rw-rw-r--. 1 jenkins jenkins 3788 May 29 08:14 RELEASE-NOTES.txt 08:15:43 drwxrwxr-x. 3 jenkins jenkins 44 May 29 08:14 .semver 08:15:43 drwxrwxr-x. 4 jenkins jenkins 54 May 29 08:14 snap 08:15:43 -rw-rw-r--. 1 jenkins jenkins 11 May 29 08:11 VERSION 08:15:43 -rw-rw-r--. 1 jenkins jenkins 222 May 29 08:14 version.go [Pipeline] isUnix [Pipeline] sh 08:15:44 + 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=3a565b71685442c2ff1ef3a41526fe46f740cbbe --label arch=amd64 --label version=1.2.2-dev.2 . 08:15:44 Sending build context to Docker daemon 3.185MB 08:15:44 Step 1/23 : ARG BASE=golang:1.13-alpine 08:15:44 Step 2/23 : FROM ${BASE} AS builder 08:15:44 ---> 48d613b491f9 08:15:44 Step 3/23 : ARG MAKE='make build' 08:15:44 ---> Running in fdb3c789a417 08:15:44 Removing intermediate container fdb3c789a417 08:15:44 ---> ff3fc219950b 08:15:44 Step 4/23 : WORKDIR /device-sdk-go 08:15:44 ---> Running in c3cbbda13c85 08:15:44 Removing intermediate container c3cbbda13c85 08:15:44 ---> 009e3951f401 08:15:44 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:44 ---> Running in e80c160a466c 08:15:45 Removing intermediate container e80c160a466c 08:15:45 ---> c6ed6a1f5c97 08:15:45 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:45 ---> Running in 3bec107c652f 08:15:45 Removing intermediate container 3bec107c652f 08:15:45 ---> e011d34c508c 08:15:45 Step 7/23 : RUN apk add --update --no-cache make git 08:15:45 ---> Running in bbd0bba3f6c8 08:15:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:15:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:15:49 OK: 143 MiB in 39 packages 08:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.047s coverage: 11.4% of statements 08:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.7% of statements 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.200s coverage: 36.9% of statements 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.497s coverage: 65.2% of statements 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 08:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:15:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements 08:15:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:15:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:15:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:15:49 Removing intermediate container bbd0bba3f6c8 08:15:49 ---> 6fce383f9557 08:15:49 Step 8/23 : COPY . . 08:15:49 ---> 9566f0497328 08:15:49 Step 9/23 : RUN ${MAKE} 08:15:49 ---> Running in 7f8b5d8b27ba 08:15:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.2-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:15:51 gofmt -l . 08:15:51 [ "`gofmt -l .`" = "" ] 08:15:51 ./bin/test-attribution-txt.sh 08:15:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:15:53 Warning: overwriting stash ‘coverage-report’ 08:15:53 Stashed 1 file(s) [Pipeline] } 08:15:53 $ docker stop --time=1 79206c76d24c39e70280a673259a982e1d0a29e99cde1b30d2a0451ba491fa63 08:15:55 $ docker rm -f 79206c76d24c39e70280a673259a982e1d0a29e99cde1b30d2a0451ba491fa63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:57 + ls -al . 08:15:57 total 220 08:15:57 drwxrwxr-x 11 jenkins jenkins 4096 May 29 08:15 . 08:15:57 drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:13 .. 08:15:57 -rw-rw-r-- 1 jenkins jenkins 140 May 29 08:13 .dockerignore 08:15:57 drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:13 .git 08:15:57 drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:13 .github 08:15:57 -rw-rw-r-- 1 jenkins jenkins 138 May 29 08:13 .gitignore 08:15:57 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:13 .semver 08:15:57 -rw-rw-r-- 1 jenkins jenkins 936 May 29 08:13 Dockerfile.build 08:15:57 -rw-rw-r-- 1 jenkins jenkins 808 May 29 08:13 Jenkinsfile 08:15:57 -rw-rw-r-- 1 jenkins jenkins 11341 May 29 08:13 LICENSE 08:15:57 -rw-rw-r-- 1 jenkins jenkins 892 May 29 08:13 Makefile 08:15:57 -rw-rw-r-- 1 jenkins jenkins 3166 May 29 08:13 README.md 08:15:57 -rw-rw-r-- 1 jenkins jenkins 3788 May 29 08:13 RELEASE-NOTES.txt 08:15:57 -rw-rw-r-- 1 jenkins jenkins 11 May 29 08:11 VERSION 08:15:57 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:13 api 08:15:57 drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:13 bin 08:15:57 -rw-r--r-- 1 jenkins jenkins 110877 May 29 08:15 coverage.out 08:15:57 drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:13 example 08:15:57 -rw-r--r-- 1 jenkins jenkins 446 May 29 08:15 go.mod 08:15:57 -rw-r--r-- 1 jenkins jenkins 12179 May 29 08:15 go.sum 08:15:57 drwxrwxr-x 15 jenkins jenkins 4096 May 29 08:13 internal 08:15:57 drwxrwxr-x 5 jenkins jenkins 4096 May 29 08:13 pkg 08:15:57 drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:13 snap 08:15:57 -rw-rw-r-- 1 jenkins jenkins 222 May 29 08:13 version.go [Pipeline] isUnix [Pipeline] sh 08:15:57 + 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=3a565b71685442c2ff1ef3a41526fe46f740cbbe --label arch=arm64 --label version=1.2.2-dev.2 . 08:15:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:15:58 Sending build context to Docker daemon 3.185MB 08:15:58 Step 1/23 : ARG BASE=golang:1.13-alpine 08:15:58 Step 2/23 : FROM ${BASE} AS builder 08:15:58 ---> f98ab87676bd 08:15:58 Step 3/23 : ARG MAKE='make build' 08:15:58 ---> Running in 2220a0ff2414 08:15:58 Removing intermediate container 7f8b5d8b27ba 08:15:58 ---> 56691848e6ec 08:15:58 Step 10/23 : FROM scratch 08:15:58 ---> 08:15:58 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:58 ---> Running in a7bd99e13b41 08:15:58 Removing intermediate container a7bd99e13b41 08:15:58 ---> d35785248587 08:15:58 Step 12/23 : ENV APP_PORT=49990 08:15:58 ---> Running in 2c8bd7d06e75 08:15:58 Removing intermediate container 2c8bd7d06e75 08:15:58 ---> 276177af8706 08:15:58 Step 13/23 : EXPOSE $APP_PORT 08:15:58 ---> Running in 7c9eaedc22eb 08:15:59 Removing intermediate container 7c9eaedc22eb 08:15:59 ---> 3184b0cb336f 08:15:59 Step 14/23 : WORKDIR / 08:15:59 ---> Running in 43b8ec6c7664 08:15:59 Removing intermediate container 2220a0ff2414 08:15:59 ---> e94550503a00 08:15:59 Step 4/23 : WORKDIR /device-sdk-go 08:15:59 ---> Running in 488a3bcaab76 08:15:59 Removing intermediate container 43b8ec6c7664 08:15:59 ---> 2a7bc16aedc2 08:15:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:15:59 Removing intermediate container 488a3bcaab76 08:15:59 ---> fb780a65f65f 08:15:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:59 ---> f3c271ff222f 08:15:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:15:59 ---> Running in 1822415ddbff 08:15:59 ---> c1fdbcb04864 08:15:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:15:59 ---> 0c8073a83d4c 08:15:59 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:15:59 Removing intermediate container 1822415ddbff 08:15:59 ---> e6433bd75345 08:15:59 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:59 ---> Running in 13526c9526a2 08:16:00 ---> 6ea23a14af8f 08:16:00 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:16:00 ---> a722de928042 08:16:00 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:16:00 ---> Running in e3b9f5653844 08:16:00 Removing intermediate container e3b9f5653844 08:16:00 ---> 01281c383fef 08:16:00 Step 21/23 : LABEL arch=amd64 08:16:00 ---> Running in 8dc7c7b7fbf8 08:16:00 Removing intermediate container 8dc7c7b7fbf8 08:16:00 ---> 1ccc5a105f0c 08:16:00 Step 22/23 : LABEL git_sha=3a565b71685442c2ff1ef3a41526fe46f740cbbe 08:16:00 ---> Running in 6d0d90d88a42 08:16:00 Removing intermediate container 6d0d90d88a42 08:16:00 ---> 61a814456956 08:16:00 Step 23/23 : LABEL version=1.2.2-dev.2 08:16:00 ---> Running in c9192db9a2bd 08:16:01 Removing intermediate container c9192db9a2bd 08:16:01 ---> 75a36165bbda 08:16:01 [Warning] One or more build-args [ARCH] were not consumed 08:16:01 Successfully built 75a36165bbda 08:16:01 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 08:16:01 Removing intermediate container 13526c9526a2 08:16:01 ---> 2d1472f38c42 08:16:01 Step 7/23 : RUN apk add --update --no-cache make git 08:16:01 ---> Running in 94f9c8863032 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:16:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:16:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:16:04 OK: 125 MiB in 39 packages 08:16:05 Removing intermediate container 94f9c8863032 08:16:05 ---> e62de812eb4e 08:16:05 Step 8/23 : COPY . . 08:16:07 ---> c19ab8eda620 08:16:07 Step 9/23 : RUN ${MAKE} 08:16:07 ---> Running in 482d7255cf73 08:16:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.2-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:16:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:16:34 Removing intermediate container 482d7255cf73 08:16:34 ---> 4d2921849cc1 08:16:34 Step 10/23 : FROM scratch 08:16:34 ---> 08:16:34 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:16:34 ---> Running in 140304158ed9 08:16:34 Removing intermediate container 140304158ed9 08:16:34 ---> d6f2b0f176ff 08:16:34 Step 12/23 : ENV APP_PORT=49990 08:16:34 ---> Running in ac7f2dd2722b 08:16:34 Removing intermediate container ac7f2dd2722b 08:16:34 ---> 2370c2c5dcb6 08:16:34 Step 13/23 : EXPOSE $APP_PORT 08:16:34 ---> Running in 6352766a0550 08:16:35 Removing intermediate container 6352766a0550 08:16:35 ---> d4b79b1e1344 08:16:35 Step 14/23 : WORKDIR / 08:16:35 ---> Running in 9971ed6fd018 08:16:35 Removing intermediate container 9971ed6fd018 08:16:35 ---> 954e3080acca 08:16:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:16:36 ---> c681d0ab8706 08:16:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:16:36 ---> e5bbe3aa4930 08:16:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:16:37 ---> 651444ea7ec2 08:16:37 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:16:37 ---> d9d417426ab6 08:16:37 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:16:38 ---> 2f598a09dd5c 08:16:38 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:16:38 ---> Running in d82e750e7b51 08:16:38 Removing intermediate container d82e750e7b51 08:16:38 ---> 4c3a55e7cf5d 08:16:38 Step 21/23 : LABEL arch=arm64 08:16:38 ---> Running in 6a2f05d6a09a 08:16:39 Removing intermediate container 6a2f05d6a09a 08:16:39 ---> 46b1657ca3a2 08:16:39 Step 22/23 : LABEL git_sha=3a565b71685442c2ff1ef3a41526fe46f740cbbe 08:16:39 ---> Running in d45a31e75f0a 08:16:39 Removing intermediate container d45a31e75f0a 08:16:39 ---> 91897e83fc0c 08:16:39 Step 23/23 : LABEL version=1.2.2-dev.2 08:16:39 ---> Running in db2956bdd705 08:16:40 Removing intermediate container db2956bdd705 08:16:40 ---> 27306362326d 08:16:40 [Warning] One or more build-args [ARCH] were not consumed 08:16:40 Successfully built 27306362326d 08:16:40 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 08:16:41 provisioning config files... 08:16:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2298871966494904542tmp [Pipeline] { [Pipeline] sh 08:16:42 + curl -s https://codecov.io/bash 08:16:42 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2298871966494904542tmp 08:16:42 08:16:42 _____ _ 08:16:42 / ____| | | 08:16:42 | | ___ __| | ___ ___ _____ __ 08:16:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:16:42 | |___| (_) | (_| | __/ (_| (_) \ V / 08:16:42 \_____\___/ \__,_|\___|\___\___/ \_/ 08:16:42 Bash-20200430-d757c17 08:16:42 08:16:42 08:16:42 ==> Jenkins CI detected. 08:16:42 project root: . 08:16:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:16:42 ==> Running gcov in . (disable via -X gcov) 08:16:42 ==> Python coveragepy not found 08:16:42 ==> Searching for coverage reports in: 08:16:42 + . 08:16:42 -> Found 1 reports 08:16:42 ==> Detecting git/mercurial file structure 08:16:42 ==> Reading reports 08:16:42 + ./coverage.out bytes=110877 08:16:42 ==> Appending adjustments 08:16:42 https://docs.codecov.io/docs/fixing-reports 08:16:42 + Found adjustments 08:16:42 ==> Gzipping contents 08:16:42 ==> Uploading reports 08:16:42 url: https://codecov.io 08:16:42 query: branch=master&commit=3a565b71685442c2ff1ef3a41526fe46f740cbbe&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 08:16:42 -> Pinging Codecov 08:16:42 https://codecov.io/upload/v4?package=bash-20200430-d757c17&token=secret&branch=master&commit=3a565b71685442c2ff1ef3a41526fe46f740cbbe&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 08:16:43 -> Uploading 08:16:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a565b71685442c2ff1ef3a41526fe46f740cbbe [Pipeline] } 08:16:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 08:16:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 08:16:44 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 08:16:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:16:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:16:44 08:16:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 08:16:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:16:45 1.317.0: Pulling from edgex-devops/edgex-snyk-go 08:16:45 cbdbe7a5bc2a: Pulling fs layer 08:16:45 408f87550127: Pulling fs layer 08:16:45 fe522b08c979: Pulling fs layer 08:16:45 221eaa008020: Pulling fs layer 08:16:45 2a4607e5d6b9: Pulling fs layer 08:16:45 8f79b27c4fd2: Pulling fs layer 08:16:45 e5c8dbe1645b: Pulling fs layer 08:16:45 23e8b3b47431: Pulling fs layer 08:16:45 5c568d65a230: Pulling fs layer 08:16:45 221eaa008020: Waiting 08:16:45 2a4607e5d6b9: Waiting 08:16:45 8f79b27c4fd2: Waiting 08:16:45 e5c8dbe1645b: Waiting 08:16:45 5c568d65a230: Waiting 08:16:45 fe522b08c979: Download complete 08:16:45 408f87550127: Verifying Checksum 08:16:45 408f87550127: Download complete 08:16:45 2a4607e5d6b9: Verifying Checksum 08:16:45 2a4607e5d6b9: Download complete 08:16:45 8f79b27c4fd2: Verifying Checksum 08:16:45 8f79b27c4fd2: Download complete 08:16:45 cbdbe7a5bc2a: Download complete 08:16:45 cbdbe7a5bc2a: Pull complete 08:16:45 e5c8dbe1645b: Download complete 08:16:45 408f87550127: Pull complete 08:16:45 fe522b08c979: Pull complete 08:16:46 23e8b3b47431: Verifying Checksum 08:16:46 23e8b3b47431: Download complete 08:16:46 5c568d65a230: Verifying Checksum 08:16:46 5c568d65a230: Download complete 08:16:46 221eaa008020: Download complete 08:16:53 221eaa008020: Pull complete 08:16:53 2a4607e5d6b9: Pull complete 08:16:53 8f79b27c4fd2: Pull complete 08:16:55 e5c8dbe1645b: Pull complete 08:16:57 23e8b3b47431: Pull complete 08:16:59 5c568d65a230: Pull complete 08:16:59 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 08:16:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 08:16:59 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:16:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 08:17:00 $ docker top 27d3ade5c3f137589729827ee51929a4df22785fe97d197305e9d122e19a9bf5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:00 + snyk monitor '--org=edgex-jenkins' 08:17:07 08:17:07 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 08:17:07 08:17:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/ec0552f3-564b-4140-8497-0f0403a67f01 08:17:07 08:17:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:17:07 08:17:07 [Pipeline] } 08:17:07 $ docker stop --time=1 27d3ade5c3f137589729827ee51929a4df22785fe97d197305e9d122e19a9bf5 08:17:08 $ docker rm -f 27d3ade5c3f137589729827ee51929a4df22785fe97d197305e9d122e19a9bf5 [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 08:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:10 . [Pipeline] withDockerContainer 08:17:10 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:17: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:17:11 $ docker top 86f3f4f963e66b557a816edba74f2ff7c300a732aa4a077cf9e374c1b6ef9c9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:17:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:11 [ssh-agent] Looking for ssh-agent implementation... 08:17:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:11 $ docker exec 86f3f4f963e66b557a816edba74f2ff7c300a732aa4a077cf9e374c1b6ef9c9e ssh-agent 08:17:11 SSH_AUTH_SOCK=/tmp/ssh-BxipzRTh9p3j/agent.15 08:17:11 SSH_AGENT_PID=22 08:17:11 Running ssh-add (command line suppressed) 08:17:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1302252901172407066.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1302252901172407066.key) 08:17:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:12 + git semver tag 08:17:12 # -> Open(): unable to determine branch for HEAD 08:17:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:17:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:17:12 # $SEMVER_REMOTE_NAME = origin 08:17:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:17:12 # $SEMVER_USER_NAME = edgex-jenkins 08:17:12 # $SEMVER_BRANCH = master 08:17:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:17:12 # 3a565b71685442c2ff1ef3a41526fe46f740cbbe HEAD 08:17:12 # -> Force: false 08:17:12 # 433c77ff0e03f234bc5b6f28bfb76010464a2db8 refs/tags/v1.2.2-dev.2 [Pipeline] } 08:17:12 $ docker exec --env ******** --env ******** 86f3f4f963e66b557a816edba74f2ff7c300a732aa4a077cf9e374c1b6ef9c9e ssh-agent -k 08:17:12 unset SSH_AUTH_SOCK; 08:17:12 unset SSH_AGENT_PID; 08:17:12 echo Agent pid 22 killed; 08:17:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:13 + git semver [Pipeline] } 08:17:13 $ docker stop --time=1 86f3f4f963e66b557a816edba74f2ff7c300a732aa4a077cf9e374c1b6ef9c9e 08:17:14 $ docker rm -f 86f3f4f963e66b557a816edba74f2ff7c300a732aa4a077cf9e374c1b6ef9c9e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:17:15 08:17:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:17:15 0.23.1-centos7: Pulling from edgex-lftools 08:17:15 ab5ef0e58194: Pulling fs layer 08:17:15 9712f1f96733: Pulling fs layer 08:17:15 63f879dbbcfc: Pulling fs layer 08:17:15 0d9ebad4ef96: Pulling fs layer 08:17:15 e9a5061849ea: Pulling fs layer 08:17:15 d747dcd14b5f: Pulling fs layer 08:17:15 2de7ff778b66: Pulling fs layer 08:17:15 e9a5061849ea: Waiting 08:17:15 d747dcd14b5f: Waiting 08:17:15 0d9ebad4ef96: Waiting 08:17:15 2de7ff778b66: Waiting 08:17:15 9712f1f96733: Download complete 08:17:16 63f879dbbcfc: Verifying Checksum 08:17:16 63f879dbbcfc: Download complete 08:17:16 e9a5061849ea: Verifying Checksum 08:17:16 e9a5061849ea: Download complete 08:17:16 d747dcd14b5f: Verifying Checksum 08:17:16 d747dcd14b5f: Download complete 08:17:16 0d9ebad4ef96: Verifying Checksum 08:17:16 0d9ebad4ef96: Download complete 08:17:16 ab5ef0e58194: Verifying Checksum 08:17:16 ab5ef0e58194: Download complete 08:17:16 2de7ff778b66: Verifying Checksum 08:17:16 2de7ff778b66: Download complete 08:17:20 ab5ef0e58194: Pull complete 08:17:20 9712f1f96733: Pull complete 08:17:23 63f879dbbcfc: Pull complete 08:17:30 0d9ebad4ef96: Pull complete 08:17:31 e9a5061849ea: Pull complete 08:17:31 d747dcd14b5f: Pull complete 08:17:34 2de7ff778b66: Pull complete 08:17:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:17:34 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:17:34 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:17:35 $ docker top a4332d23f5cf2536e682ca146928f95b46d09e9a34c8b37f7457da8c065ca109 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:17:35 provisioning config files... 08:17:35 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9129305232440946643tmp 08:17:35 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6230048635656240522tmp 08:17:35 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config285726836665323842tmp [Pipeline] { [Pipeline] echo 08:17:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:17:35 ---> sigul-configuration.sh 08:17:35 gpg: directory `/root/.gnupg' created 08:17:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:17:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:17:35 gpg: keyring `/root/.gnupg/secring.gpg' created 08:17:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:17:35 gpg: CAST5 encrypted data 08:17:36 gpg: encrypted with 1 passphrase 08:17:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:17:36 + mkdir /home/jenkins 08:17:36 + mkdir /home/jenkins/sigul [Pipeline] sh 08:17:36 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 08:17:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:17:36 ---> sigul-install.sh 08:17:41 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:17:41 + git tag --list 08:17:41 v1.2.2-dev.2 [Pipeline] sh 08:17:42 + lftools sign git-tag v1.2.2-dev.2 08:17:42 Signing Git tag with Sigul... 08:17:42 Signing v1.2.2-dev.2 [Pipeline] echo 08:17:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:17:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:17:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:17:44 $ docker stop --time=1 a4332d23f5cf2536e682ca146928f95b46d09e9a34c8b37f7457da8c065ca109 08:17:47 $ docker rm -f a4332d23f5cf2536e682ca146928f95b46d09e9a34c8b37f7457da8c065ca109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:48 . [Pipeline] withDockerContainer 08:17:48 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:17: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:17:49 $ docker top 81593f14e9d8a690aef00911f498258472454b0be15e6e066a9dc1446199e803 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:17:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:49 [ssh-agent] Looking for ssh-agent implementation... 08:17:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:49 $ docker exec 81593f14e9d8a690aef00911f498258472454b0be15e6e066a9dc1446199e803 ssh-agent 08:17:49 SSH_AUTH_SOCK=/tmp/ssh-UyP9Y56GtnJa/agent.15 08:17:49 SSH_AGENT_PID=21 08:17:49 Running ssh-add (command line suppressed) 08:17:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5047903051453560598.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5047903051453560598.key) 08:17:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:50 + git semver bump pre 08:17:50 # -> Open(): unable to determine branch for HEAD 08:17:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:17:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:17:50 # $SEMVER_REMOTE_NAME = origin 08:17:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:17:50 # $SEMVER_USER_NAME = edgex-jenkins 08:17:50 # $SEMVER_BRANCH = master 08:17:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:17:50 1.2.2-dev.3 [Pipeline] } 08:17:50 $ docker exec --env ******** --env ******** 81593f14e9d8a690aef00911f498258472454b0be15e6e066a9dc1446199e803 ssh-agent -k 08:17:50 unset SSH_AUTH_SOCK; 08:17:50 unset SSH_AGENT_PID; 08:17:50 echo Agent pid 21 killed; 08:17:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:51 + git semver [Pipeline] } 08:17:51 $ docker stop --time=1 81593f14e9d8a690aef00911f498258472454b0be15e6e066a9dc1446199e803 08:17:52 $ docker rm -f 81593f14e9d8a690aef00911f498258472454b0be15e6e066a9dc1446199e803 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:52 . [Pipeline] withDockerContainer 08:17:53 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:17:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:17:53 $ docker top 8ca8d5ca6df6e14fc6e14a4b7c4f132729752994009998ad49f2c6d53167fdc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:17:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:53 [ssh-agent] Looking for ssh-agent implementation... 08:17:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:54 $ docker exec 8ca8d5ca6df6e14fc6e14a4b7c4f132729752994009998ad49f2c6d53167fdc7 ssh-agent 08:17:54 SSH_AUTH_SOCK=/tmp/ssh-wyAiA0b4I77S/agent.15 08:17:54 SSH_AGENT_PID=22 08:17:54 Running ssh-add (command line suppressed) 08:17:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5906310980302754808.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5906310980302754808.key) 08:17:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:54 + git semver push 08:17:54 # -> Open(): unable to determine branch for HEAD 08:17:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:17:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:17:54 # $SEMVER_REMOTE_NAME = origin 08:17:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:17:54 # $SEMVER_USER_NAME = edgex-jenkins 08:17:54 # $SEMVER_BRANCH = master 08:17:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:18:03 $ docker exec --env ******** --env ******** 8ca8d5ca6df6e14fc6e14a4b7c4f132729752994009998ad49f2c6d53167fdc7 ssh-agent -k 08:18:03 unset SSH_AUTH_SOCK; 08:18:03 unset SSH_AGENT_PID; 08:18:03 echo Agent pid 22 killed; 08:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:18:03 + git semver [Pipeline] } 08:18:03 $ docker stop --time=1 8ca8d5ca6df6e14fc6e14a4b7c4f132729752994009998ad49f2c6d53167fdc7 08:18:05 $ docker rm -f 8ca8d5ca6df6e14fc6e14a4b7c4f132729752994009998ad49f2c6d53167fdc7 [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 08:18:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:18:07 ---> package-listing.sh 08:18:07 ++ tr '[:upper:]' '[:lower:]' 08:18:07 ++ facter osfamily 08:18:07 + OS_FAMILY=redhat 08:18:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 08:18:07 + START_PACKAGES=/tmp/packages_start.txt 08:18:07 + END_PACKAGES=/tmp/packages_end.txt 08:18:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:18:07 + PACKAGES=/tmp/packages_start.txt 08:18:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:18:07 + PACKAGES=/tmp/packages_end.txt 08:18:07 + case "${OS_FAMILY}" in 08:18:07 + rpm -qa 08:18:07 + sort 08:18:11 + '[' -f /tmp/packages_start.txt ']' 08:18:11 + '[' -f /tmp/packages_end.txt ']' 08:18:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:18:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:18:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 08:18:11 + 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 08:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:18:11 08:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:18:12 alpine: Pulling from edgex-lftools-log-publisher 08:18:12 c9b1b535fdd9: Pulling fs layer 08:18:12 2cc5ad85d9ab: Pulling fs layer 08:18:12 756a868c4378: Pulling fs layer 08:18:12 444b2fc9a129: Pulling fs layer 08:18:12 ea15f1150254: Pulling fs layer 08:18:12 41b27a9f41bf: Pulling fs layer 08:18:12 28c525ee5125: Pulling fs layer 08:18:12 094b1ea09ed8: Pulling fs layer 08:18:12 138eaada9080: Pulling fs layer 08:18:12 0622d0fa9048: Pulling fs layer 08:18:12 444b2fc9a129: Waiting 08:18:12 28c525ee5125: Waiting 08:18:12 138eaada9080: Waiting 08:18:12 094b1ea09ed8: Waiting 08:18:12 0622d0fa9048: Waiting 08:18:12 ea15f1150254: Waiting 08:18:12 41b27a9f41bf: Waiting 08:18:12 2cc5ad85d9ab: Verifying Checksum 08:18:12 2cc5ad85d9ab: Download complete 08:18:12 444b2fc9a129: Download complete 08:18:12 c9b1b535fdd9: Verifying Checksum 08:18:12 c9b1b535fdd9: Download complete 08:18:12 ea15f1150254: Verifying Checksum 08:18:12 ea15f1150254: Download complete 08:18:12 28c525ee5125: Verifying Checksum 08:18:12 28c525ee5125: Download complete 08:18:12 c9b1b535fdd9: Pull complete 08:18:12 756a868c4378: Verifying Checksum 08:18:12 756a868c4378: Download complete 08:18:12 138eaada9080: Verifying Checksum 08:18:12 138eaada9080: Download complete 08:18:12 0622d0fa9048: Verifying Checksum 08:18:12 0622d0fa9048: Download complete 08:18:12 094b1ea09ed8: Verifying Checksum 08:18:12 094b1ea09ed8: Download complete 08:18:13 41b27a9f41bf: Verifying Checksum 08:18:13 41b27a9f41bf: Download complete 08:18:13 2cc5ad85d9ab: Pull complete 08:18:15 756a868c4378: Pull complete 08:18:15 444b2fc9a129: Pull complete 08:18:16 ea15f1150254: Pull complete 08:18:19 41b27a9f41bf: Pull complete 08:18:19 28c525ee5125: Pull complete 08:18:21 094b1ea09ed8: Pull complete 08:18:21 138eaada9080: Pull complete 08:18:21 0622d0fa9048: Pull complete 08:18:21 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:18:21 prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container 08:18: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:18:22 $ docker top 7ef881bfa295647e033dccd1bddd108e5bf2302254fe6735e9c3a0a96d55ec60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:23 provisioning config files... 08:18:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2071222273103148292tmp [Pipeline] { [Pipeline] echo 08:18:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:18:23 ---> create-netrc.sh [Pipeline] echo 08:18:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:18:23 ---> logs-deploy.sh 08:18:23 + ARCHIVE_ARTIFACTS= 08:18:23 + LOGS_SERVER=https://logs.edgexfoundry.org 08:18:23 + '[' https://logs.edgexfoundry.org == None ']' 08:18:23 + NEXUS_URL=https://nexus.edgexfoundry.org 08:18:23 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/43 08:18:23 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/43/ 08:18:23 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/43 /w/workspace/dgexfoundry_device-sdk-go_master 08:18:24 Archives upload complete. 08:18:24 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/43 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/43/