Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 237059a1cc6afe5d06dcb2973311674b604926bf Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # 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 git@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 ‘prd-centos7-docker-4c-2g-3253’ is offline Running on prd-centos7-docker-4c-2g-3261 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 237059a1cc6afe5d06dcb2973311674b604926bf (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 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 Commit message: "Merge pull request #541 from jamesrgregg/update-pr-template" > git rev-list --no-walk fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:49:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:49:22 ========================================================= 00:49:22 EdgeX Global Pipelines Version Info 00:49:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:49:23 ------------------- 00:49:23 stable info: 00:49:23 ------------------- 00:49:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:23 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 00:49:23 Message: update stable to v1.0.89 00:49:24 ------------------- 00:49:24 experimental info: 00:49:24 ------------------- 00:49:24 Commited By: **** collab-it+edgex@linuxfoundation.org 00:49:24 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 00:49:24 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 00:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:49:26 00:49:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:49:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:49:26 latest: Pulling from edgex-devops/git-semver 00:49:26 9123ac7c32f7: Pulling fs layer 00:49:26 b8cc5d1170e3: Pulling fs layer 00:49:26 2924cbbf6a41: Pulling fs layer 00:49:26 93b08a4f1073: Pulling fs layer 00:49:26 93b08a4f1073: Waiting 00:49:26 b8cc5d1170e3: Verifying Checksum 00:49:26 b8cc5d1170e3: Download complete 00:49:26 9123ac7c32f7: Verifying Checksum 00:49:26 9123ac7c32f7: Download complete 00:49:26 93b08a4f1073: Verifying Checksum 00:49:26 93b08a4f1073: Download complete 00:49:26 2924cbbf6a41: Verifying Checksum 00:49:26 2924cbbf6a41: Download complete 00:49:26 9123ac7c32f7: Pull complete 00:49:27 b8cc5d1170e3: Pull complete 00:49:27 2924cbbf6a41: Pull complete 00:49:27 93b08a4f1073: Pull complete 00:49:27 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 00:49:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:49:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:49:28 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:49:28 $ 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 00:49:30 $ docker top ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:49:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:30 [ssh-agent] Looking for ssh-agent implementation... 00:49:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:30 $ docker exec ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 ssh-agent 00:49:30 SSH_AUTH_SOCK=/tmp/ssh-N8xuHlDLRP1g/agent.12 00:49:30 SSH_AGENT_PID=18 00:49:30 Running ssh-add (command line suppressed) 00:49:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_255542367254176006.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_255542367254176006.key) 00:49:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:31 + git describe --exact-match --tags HEAD 00:49:31 fatal: No names found, cannot describe anything. [Pipeline] } 00:49:31 $ docker exec --env ******** --env ******** ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 ssh-agent -k 00:49:31 unset SSH_AUTH_SOCK; 00:49:31 unset SSH_AGENT_PID; 00:49:31 echo Agent pid 18 killed; 00:49:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:49:31 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:49:31 This usually means this commit has not been tagged. [Pipeline] sshagent 00:49:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:31 [ssh-agent] Looking for ssh-agent implementation... 00:49:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:31 $ docker exec ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 ssh-agent 00:49:31 SSH_AUTH_SOCK=/tmp/ssh-HLY823FEGeqV/agent.46 00:49:31 SSH_AGENT_PID=51 00:49:31 Running ssh-add (command line suppressed) 00:49:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3566647713285771507.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3566647713285771507.key) 00:49:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:32 + git semver init 00:49:32 # -> Open(): unable to determine branch for HEAD 00:49:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 00:49:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 00:49:32 # $SEMVER_REMOTE_NAME = origin 00:49:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:49:32 # $SEMVER_USER_NAME = edgex-jenkins 00:49:32 # $SEMVER_BRANCH = master 00:49:32 # $SEMVER_TEMP = /tmp/semver-774336268 00:49:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:49:32 # '/tmp/semver-774336268' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 00:49:32 # -> Force: false 00:49:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 00:49:32 $ docker exec --env ******** --env ******** ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 ssh-agent -k 00:49:33 unset SSH_AUTH_SOCK; 00:49:33 unset SSH_AGENT_PID; 00:49:33 echo Agent pid 51 killed; 00:49:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:49:33 + git semver [Pipeline] } 00:49:33 $ docker stop --time=1 ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 00:49:35 $ docker rm -f ea17c7b3222e437b7bf56c9f58eba195e762b6a121f70ab850be4e0b08b58af0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:49:36 Stashed 66 file(s) [Pipeline] echo 00:49:36 [edgeXSemver] initialized semver on version 1.2.3-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 00:49:51 Still waiting to schedule task 00:49:51 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3261’ 00:49:51 Still waiting to schedule task 00:49:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:51:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3262 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 00:51:32 Running in /w/workspace/device-sdk-go/46 [Pipeline] { [Pipeline] checkout 00:51:37 using credential edgex-jenkins-ssh 00:51:37 Cloning the remote Git repository 00:51:37 Cloning with configured refspecs honoured and without tags 00:51:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:51:38 Fetching without tags 00:51:37 > git init /w/workspace/device-sdk-go/46 # timeout=10 00:51:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:51:37 > git --version # timeout=10 00:51:37 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:51:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:51:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:51:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:39 Checking out Revision 237059a1cc6afe5d06dcb2973311674b604926bf (master) 00:51:39 > git config core.sparsecheckout # timeout=10 00:51:39 > git checkout -f 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 00:51:43 Commit message: "Merge pull request #541 from jamesrgregg/update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:51:44 ========================================================= 00:51:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 00:51:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:51:45 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 00:51:46 Sending build context to Docker daemon 3.084MB 00:51:46 Step 1/8 : ARG BASE=golang:1.13-alpine 00:51:46 Step 2/8 : FROM ${BASE} 00:51:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:51:47 cde5963f3b93: Pulling fs layer 00:51:47 2a23fa8c16f7: Pulling fs layer 00:51:47 777b28850792: Pulling fs layer 00:51:47 8a11ddd9e578: Pulling fs layer 00:51:47 4cf88f913ddb: Pulling fs layer 00:51:47 1df406cf5192: Pulling fs layer 00:51:47 cd6300453558: Pulling fs layer 00:51:47 b9c365052c96: Pulling fs layer 00:51:47 a2d8cc88f415: Pulling fs layer 00:51:47 ea1d1ca13537: Pulling fs layer 00:51:47 3750a50a1c5e: Pulling fs layer 00:51:47 8a11ddd9e578: Waiting 00:51:47 4cf88f913ddb: Waiting 00:51:47 1df406cf5192: Waiting 00:51:47 cd6300453558: Waiting 00:51:47 b9c365052c96: Waiting 00:51:47 a2d8cc88f415: Waiting 00:51:47 ea1d1ca13537: Waiting 00:51:47 3750a50a1c5e: Waiting 00:51:47 777b28850792: Download complete 00:51:47 2a23fa8c16f7: Verifying Checksum 00:51:47 2a23fa8c16f7: Download complete 00:51:47 4cf88f913ddb: Verifying Checksum 00:51:47 4cf88f913ddb: Download complete 00:51:47 1df406cf5192: Verifying Checksum 00:51:47 1df406cf5192: Download complete 00:51:47 cde5963f3b93: Verifying Checksum 00:51:47 cde5963f3b93: Download complete 00:51:48 cde5963f3b93: Pull complete 00:51:48 2a23fa8c16f7: Pull complete 00:51:49 777b28850792: Pull complete 00:51:49 cd6300453558: Verifying Checksum 00:51:49 cd6300453558: Download complete 00:51:49 a2d8cc88f415: Verifying Checksum 00:51:49 a2d8cc88f415: Download complete 00:51:50 ea1d1ca13537: Verifying Checksum 00:51:50 ea1d1ca13537: Download complete 00:51:50 3750a50a1c5e: Verifying Checksum 00:51:50 3750a50a1c5e: Download complete 00:51:51 b9c365052c96: Verifying Checksum 00:51:51 b9c365052c96: Download complete 00:51:52 8a11ddd9e578: Download complete 00:52:04 8a11ddd9e578: Pull complete 00:52:04 4cf88f913ddb: Pull complete 00:52:04 1df406cf5192: Pull complete 00:52:08 cd6300453558: Pull complete 00:52:13 b9c365052c96: Pull complete 00:52:13 a2d8cc88f415: Pull complete 00:52:15 ea1d1ca13537: Pull complete 00:52:15 3750a50a1c5e: Pull complete 00:52:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 00:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 00:52:15 ---> 78745c68409d 00:52:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:52:20 ---> Running in b513f293b746 00:52:20 Removing intermediate container b513f293b746 00:52:20 ---> 4ec16b1f51e3 00:52:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:52:20 ---> Running in 1b5ad2ff8c44 00:52:22 Running on prd-centos7-docker-4c-2g-3263 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 00:52:22 Running in /w/workspace/device-sdk-go/46 [Pipeline] { [Pipeline] checkout 00:52:23 Removing intermediate container 1b5ad2ff8c44 00:52:23 ---> 924c5507744a 00:52:23 Step 5/8 : RUN apk add --no-cache make git 00:52:23 ---> Running in 71f4645ea591 00:52:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 00:52:25 using credential edgex-jenkins-ssh 00:52:25 Cloning the remote Git repository 00:52:25 Cloning with configured refspecs honoured and without tags 00:52:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 00:52:25 OK: 125 MiB in 39 packages 00:52:26 Fetching without tags 00:52:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:52:25 > git init /w/workspace/device-sdk-go/46 # timeout=10 00:52:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:52:25 > git --version # timeout=10 00:52:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:52:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:52:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:52:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:52:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:52:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:52:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:52:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:52:26 Checking out Revision 237059a1cc6afe5d06dcb2973311674b604926bf (master) 00:52:26 Removing intermediate container 71f4645ea591 00:52:26 ---> 3c58d5913779 00:52:26 Step 6/8 : WORKDIR /device-sdk-go 00:52:27 ---> Running in 11e2eac38f44 00:52:26 > git config core.sparsecheckout # timeout=10 00:52:26 > git checkout -f 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 00:52:27 Removing intermediate container 11e2eac38f44 00:52:27 ---> 4be4f59b4286 00:52:27 Step 7/8 : COPY . . 00:52:29 ---> a1bd349a536e 00:52:29 Step 8/8 : RUN go mod download 00:52:29 ---> Running in 466cb5f1265f 00:52:30 Commit message: "Merge pull request #541 from jamesrgregg/update-pr-template" 00:52:31 go: finding github.com/BurntSushi/toml v0.3.1 00:52:31 go: finding github.com/OneOfOne/xxhash v1.2.6 00:52:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:52:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:52:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:52:31 go: finding github.com/bgentry/speakeasy v0.1.0 00:52:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:52:32 go: finding github.com/davecgh/go-spew v1.1.1 00:52:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 00:52:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:52:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:52:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:52:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:52:32 go: finding github.com/fatih/color v1.7.0 00:52:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:52:32 go: finding github.com/go-kit/kit v0.8.0 00:52:32 go: finding github.com/go-logfmt/logfmt v0.4.0 00:52:32 go: finding github.com/go-stack/stack v1.8.0 00:52:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:52:32 go: finding github.com/google/uuid v1.1.0 00:52:32 go: finding github.com/gorilla/mux v1.7.1 00:52:32 go: finding github.com/hashicorp/consul/api v1.1.0 00:52:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:52:32 go: finding github.com/hashicorp/errwrap v1.0.0 00:52:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:52:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:52:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:52:32 go: finding github.com/hashicorp/go-multierror v1.0.0 00:52:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:52:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:52:32 go: finding github.com/hashicorp/go-syslog v1.0.0 00:52:32 go: finding github.com/hashicorp/go-uuid v1.0.1 00:52:32 go: finding github.com/hashicorp/go.net v0.0.1 00:52:32 go: finding github.com/hashicorp/golang-lru v0.5.0 00:52:32 go: finding github.com/hashicorp/logutils v1.0.0 00:52:32 go: finding github.com/hashicorp/mdns v1.0.0 00:52:32 go: finding github.com/hashicorp/memberlist v0.1.3 00:52:32 go: finding github.com/hashicorp/serf v0.8.2 00:52:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:52:32 go: finding github.com/mattn/go-colorable v0.0.9 00:52:32 go: finding github.com/mattn/go-isatty v0.0.3 00:52:32 go: finding github.com/miekg/dns v1.0.14 00:52:32 go: finding github.com/mitchellh/cli v1.0.0 00:52:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:52:32 go: finding github.com/mitchellh/copystructure v1.0.0 00:52:32 go: finding github.com/mitchellh/go-homedir v1.0.0 00:52:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:52:32 go: finding github.com/mitchellh/gox v0.4.0 00:52:32 go: finding github.com/mitchellh/iochan v1.0.0 00:52:32 go: finding github.com/mitchellh/mapstructure v1.1.2 00:52:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:52:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:52:32 go: finding github.com/pelletier/go-toml v1.2.0 00:52:32 go: finding github.com/pkg/errors v0.8.1 00:52:32 go: finding github.com/pmezard/go-difflib v1.0.0 00:52:33 go: finding github.com/posener/complete v1.1.1 00:52:33 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:52:33 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:52:33 go: finding github.com/stretchr/objx v0.1.0 00:52:33 go: finding github.com/stretchr/testify v1.5.1 00:52:33 go: finding github.com/ugorji/go v1.1.4 00:52:33 go: finding github.com/x448/float16 v0.8.4 00:52:33 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:52:33 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:52:33 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:52:33 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:52:33 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:52:33 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:52:35 ========================================================= 00:52:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 00:52:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:52:36 + 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 . 00:52:37 Sending build context to Docker daemon 3.084MB 00:52:37 Step 1/8 : ARG BASE=golang:1.13-alpine 00:52:37 Step 2/8 : FROM ${BASE} 00:52:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 00:52:37 e6b0cf9c0882: Pulling fs layer 00:52:37 2848faf0eed1: Pulling fs layer 00:52:37 0f37312ad70f: Pulling fs layer 00:52:37 5788d62ee057: Pulling fs layer 00:52:37 0e6b1d234666: Pulling fs layer 00:52:37 bf5d7aec512f: Pulling fs layer 00:52:37 34c802a77dc8: Pulling fs layer 00:52:37 9eb99e56ec68: Pulling fs layer 00:52:37 27c7a5d97fbd: Pulling fs layer 00:52:37 5c102a31e300: Pulling fs layer 00:52:37 dcfb455df0a1: Pulling fs layer 00:52:37 5c102a31e300: Waiting 00:52:37 dcfb455df0a1: Waiting 00:52:37 34c802a77dc8: Waiting 00:52:37 5788d62ee057: Waiting 00:52:37 9eb99e56ec68: Waiting 00:52:37 0e6b1d234666: Waiting 00:52:37 bf5d7aec512f: Waiting 00:52:37 27c7a5d97fbd: Waiting 00:52:37 0f37312ad70f: Download complete 00:52:37 2848faf0eed1: Verifying Checksum 00:52:37 2848faf0eed1: Download complete 00:52:37 0e6b1d234666: Verifying Checksum 00:52:37 0e6b1d234666: Download complete 00:52:37 e6b0cf9c0882: Verifying Checksum 00:52:37 e6b0cf9c0882: Download complete 00:52:37 bf5d7aec512f: Verifying Checksum 00:52:37 bf5d7aec512f: Download complete 00:52:37 e6b0cf9c0882: Pull complete 00:52:37 34c802a77dc8: Verifying Checksum 00:52:37 34c802a77dc8: Download complete 00:52:38 27c7a5d97fbd: Verifying Checksum 00:52:38 27c7a5d97fbd: Download complete 00:52:38 9eb99e56ec68: Verifying Checksum 00:52:38 9eb99e56ec68: Download complete 00:52:38 dcfb455df0a1: Verifying Checksum 00:52:38 dcfb455df0a1: Download complete 00:52:38 5788d62ee057: Verifying Checksum 00:52:38 5788d62ee057: Download complete 00:52:38 5c102a31e300: Verifying Checksum 00:52:38 5c102a31e300: Download complete 00:52:40 2848faf0eed1: Pull complete 00:52:40 0f37312ad70f: Pull complete 00:52:43 Removing intermediate container 466cb5f1265f 00:52:43 ---> 01b87e397124 00:52:43 Successfully built 01b87e397124 00:52:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:52:43 + docker inspect -f . ci-base-image-arm64 00:52:43 . [Pipeline] withDockerContainer 00:52:44 prd-ubuntu18.04-docker-arm64-4c-16g-3262 does not seem to be running inside a container 00:52:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/46 -v /w/workspace/device-sdk-go/46:/w/workspace/device-sdk-go/46:rw,z -v /w/workspace/device-sdk-go/46@tmp:/w/workspace/device-sdk-go/46@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 00:52:45 5788d62ee057: Pull complete 00:52:45 0e6b1d234666: Pull complete 00:52:45 bf5d7aec512f: Pull complete 00:52:46 $ docker top 1a15ff5200519198a240eda3de424d877d25f795bf03708f4c6d43382a2c7f2a -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:47 + go version 00:52:47 go version go1.13.5 linux/arm64 [Pipeline] sh 00:52:48 + make test 00:52:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:52:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:52:50 34c802a77dc8: Pull complete 00:52:53 9eb99e56ec68: Pull complete 00:52:53 27c7a5d97fbd: Pull complete 00:52:54 5c102a31e300: Pull complete 00:52:54 dcfb455df0a1: Pull complete 00:52:54 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 00:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 00:52:54 ---> 7c70fe431013 00:52:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:52:56 ---> Running in 918a51e0a2d4 00:52:56 Removing intermediate container 918a51e0a2d4 00:52:56 ---> 9b06e9bcdbe3 00:52:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:52:56 ---> Running in 23bafd83be58 00:52:57 Removing intermediate container 23bafd83be58 00:52:57 ---> 92993e22aab6 00:52:57 Step 5/8 : RUN apk add --no-cache make git 00:52:57 ---> Running in 715d8171e0e3 00:52:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 00:52:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 00:52:58 OK: 143 MiB in 39 packages 00:52:59 Removing intermediate container 715d8171e0e3 00:52:59 ---> 8005d1215e31 00:52:59 Step 6/8 : WORKDIR /device-sdk-go 00:52:59 ---> Running in 6d7fbdfa4809 00:52:59 Removing intermediate container 6d7fbdfa4809 00:52:59 ---> 9287b298c887 00:52:59 Step 7/8 : COPY . . 00:53:00 ---> f548f1eac456 00:53:00 Step 8/8 : RUN go mod download 00:53:00 ---> Running in b783a1bfe6b8 00:53:02 go: finding github.com/BurntSushi/toml v0.3.1 00:53:02 go: finding github.com/OneOfOne/xxhash v1.2.6 00:53:02 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:53:02 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:53:02 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:53:02 go: finding github.com/bgentry/speakeasy v0.1.0 00:53:02 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 00:53:02 go: finding github.com/davecgh/go-spew v1.1.1 00:53:02 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 00:53:02 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 00:53:02 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 00:53:02 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 00:53:02 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 00:53:02 go: finding github.com/fatih/color v1.7.0 00:53:02 go: finding github.com/fxamacker/cbor/v2 v2.2.0 00:53:02 go: finding github.com/go-kit/kit v0.8.0 00:53:02 go: finding github.com/go-logfmt/logfmt v0.4.0 00:53:02 go: finding github.com/go-stack/stack v1.8.0 00:53:02 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:53:02 go: finding github.com/google/uuid v1.1.0 00:53:02 go: finding github.com/gorilla/mux v1.7.1 00:53:02 go: finding github.com/hashicorp/consul/api v1.1.0 00:53:02 go: finding github.com/hashicorp/consul/sdk v0.1.1 00:53:02 go: finding github.com/hashicorp/errwrap v1.0.0 00:53:02 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 00:53:02 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:53:02 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:53:02 go: finding github.com/hashicorp/go-multierror v1.0.0 00:53:02 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:53:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:53:03 go: finding github.com/hashicorp/go-syslog v1.0.0 00:53:03 go: finding github.com/hashicorp/go-uuid v1.0.1 00:53:03 go: finding github.com/hashicorp/go.net v0.0.1 00:53:03 go: finding github.com/hashicorp/golang-lru v0.5.0 00:53:03 go: finding github.com/hashicorp/logutils v1.0.0 00:53:03 go: finding github.com/hashicorp/mdns v1.0.0 00:53:03 go: finding github.com/hashicorp/memberlist v0.1.3 00:53:03 go: finding github.com/hashicorp/serf v0.8.2 00:53:03 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:53:03 go: finding github.com/mattn/go-colorable v0.0.9 00:53:03 go: finding github.com/mattn/go-isatty v0.0.3 00:53:03 go: finding github.com/miekg/dns v1.0.14 00:53:03 go: finding github.com/mitchellh/cli v1.0.0 00:53:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:53:03 go: finding github.com/mitchellh/copystructure v1.0.0 00:53:03 go: finding github.com/mitchellh/go-homedir v1.0.0 00:53:03 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:53:03 go: finding github.com/mitchellh/gox v0.4.0 00:53:03 go: finding github.com/mitchellh/iochan v1.0.0 00:53:03 go: finding github.com/mitchellh/mapstructure v1.1.2 00:53:03 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:53:03 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:53:03 go: finding github.com/pelletier/go-toml v1.2.0 00:53:03 go: finding github.com/pkg/errors v0.8.1 00:53:03 go: finding github.com/pmezard/go-difflib v1.0.0 00:53:03 go: finding github.com/posener/complete v1.1.1 00:53:03 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:53:03 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:53:03 go: finding github.com/stretchr/objx v0.1.0 00:53:03 go: finding github.com/stretchr/testify v1.5.1 00:53:03 go: finding github.com/ugorji/go v1.1.4 00:53:03 go: finding github.com/x448/float16 v0.8.4 00:53:03 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:53:03 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 00:53:03 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:53:03 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:53:03 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 00:53:03 go: finding gopkg.in/yaml.v2 v2.2.8 00:53:11 Removing intermediate container b783a1bfe6b8 00:53:11 ---> 63ed1c9567e0 00:53:11 Successfully built 63ed1c9567e0 00:53:11 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 00:53:12 + docker inspect -f . ci-base-image-x86_64 00:53:12 . [Pipeline] withDockerContainer 00:53:12 prd-centos7-docker-4c-2g-3263 does not seem to be running inside a container 00:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/46 -v /w/workspace/device-sdk-go/46:/w/workspace/device-sdk-go/46:rw,z -v /w/workspace/device-sdk-go/46@tmp:/w/workspace/device-sdk-go/46@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 00:53:13 $ docker top ca0091d8a279c16b3ef1e5b5e2844f0b3ea58e7d2ffba33f3af1e57221513212 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:13 + go version 00:53:13 go version go1.13.5 linux/amd64 [Pipeline] sh 00:53:14 + make test 00:53:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:53:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:53:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:53:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:53:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:53:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 22.1% of statements 00:53:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.166s coverage: 95.8% of statements 00:53:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:53:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:53:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:53:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.1% of statements 00:53:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.055s coverage: 95.8% of statements 00:53:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements 00:53:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:53:54 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.152s coverage: 36.9% of statements 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 00:53:54 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.650s coverage: 65.2% of statements 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:53:54 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 00:53:54 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 00:53:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 68.9% of statements 00:53:54 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:53:54 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:53:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:53:56 gofmt -l . 00:53:56 [ "`gofmt -l .`" = "" ] 00:53:56 ./bin/test-attribution-txt.sh 00:53:57 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:53:58 Stashed 1 file(s) [Pipeline] } 00:53:58 $ docker stop --time=1 1a15ff5200519198a240eda3de424d877d25f795bf03708f4c6d43382a2c7f2a 00:53:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 11.4% of statements 00:53:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:53:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.130s coverage: 36.9% of statements 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 00:53:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 65.2% of statements 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:53:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.037s coverage: 52.6% of statements 00:53:58 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 00:53:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.092s coverage: 68.9% of statements 00:53:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 00:53:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:53:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:53:58 gofmt -l . 00:53:58 [ "`gofmt -l .`" = "" ] 00:53:58 ./bin/test-attribution-txt.sh 00:53:59 ./bin/test-go-mod-tidy.sh 00:54:00 $ docker rm -f 1a15ff5200519198a240eda3de424d877d25f795bf03708f4c6d43382a2c7f2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 00:54:00 Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 00:54:01 Stashed 1 file(s) [Pipeline] } 00:54:02 $ docker stop --time=1 ca0091d8a279c16b3ef1e5b5e2844f0b3ea58e7d2ffba33f3af1e57221513212 00:54:03 $ docker rm -f ca0091d8a279c16b3ef1e5b5e2844f0b3ea58e7d2ffba33f3af1e57221513212 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:04 + ls -al . 00:54:04 total 224 00:54:04 drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 00:53 . 00:54:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 00:51 .. 00:54:04 -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 00:51 .dockerignore 00:54:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 00:51 .git 00:54:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 00:51 .github 00:54:04 -rw-rw-r-- 1 jenkins jenkins 138 Jun 17 00:51 .gitignore 00:54:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 00:51 .semver 00:54:04 -rw-rw-r-- 1 jenkins jenkins 936 Jun 17 00:51 Dockerfile.build 00:54:04 -rw-rw-r-- 1 jenkins jenkins 808 Jun 17 00:51 Jenkinsfile 00:54:04 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 00:51 LICENSE 00:54:04 -rw-rw-r-- 1 jenkins jenkins 892 Jun 17 00:51 Makefile 00:54:04 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 17 00:51 README.md 00:54:04 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 17 00:51 RELEASE-NOTES.txt 00:54:04 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 00:49 VERSION 00:54:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 00:51 api 00:54:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 00:51 bin 00:54:04 -rw-r--r-- 1 jenkins jenkins 110877 Jun 17 00:53 coverage.out 00:54:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 00:51 example 00:54:04 -rw-r--r-- 1 jenkins jenkins 446 Jun 17 00:53 go.mod 00:54:04 -rw-r--r-- 1 jenkins jenkins 12179 Jun 17 00:53 go.sum 00:54:04 drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 00:51 internal 00:54:04 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 00:51 pkg 00:54:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 00:51 snap 00:54:04 -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 00:51 version.go [Pipeline] isUnix [Pipeline] sh 00:54:04 + ls -al . 00:54:04 total 184 00:54:04 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 17 00:53 . 00:54:04 drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 00:52 .. 00:54:04 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 00:52 api 00:54:04 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 00:52 bin 00:54:04 -rw-r--r--. 1 jenkins jenkins 110877 Jun 17 00:53 coverage.out 00:54:04 -rw-rw-r--. 1 jenkins jenkins 936 Jun 17 00:52 Dockerfile.build 00:54:04 -rw-rw-r--. 1 jenkins jenkins 140 Jun 17 00:52 .dockerignore 00:54:04 drwxrwxr-x. 4 jenkins jenkins 48 Jun 17 00:52 example 00:54:04 drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 00:52 .git 00:54:04 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 00:52 .github 00:54:04 -rw-rw-r--. 1 jenkins jenkins 138 Jun 17 00:52 .gitignore 00:54:04 -rw-r--r--. 1 jenkins jenkins 446 Jun 17 00:53 go.mod 00:54:04 -rw-r--r--. 1 jenkins jenkins 12179 Jun 17 00:53 go.sum 00:54:04 drwxrwxr-x. 15 jenkins jenkins 217 Jun 17 00:52 internal 00:54:04 -rw-rw-r--. 1 jenkins jenkins 808 Jun 17 00:52 Jenkinsfile 00:54:04 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 17 00:52 LICENSE 00:54:04 -rw-rw-r--. 1 jenkins jenkins 892 Jun 17 00:52 Makefile 00:54:04 drwxrwxr-x. 5 jenkins jenkins 50 Jun 17 00:52 pkg 00:54:04 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 17 00:52 README.md 00:54:04 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 17 00:52 RELEASE-NOTES.txt 00:54:04 drwxrwxr-x. 3 jenkins jenkins 44 Jun 17 00:52 .semver 00:54:04 drwxrwxr-x. 4 jenkins jenkins 54 Jun 17 00:52 snap 00:54:04 -rw-rw-r--. 1 jenkins jenkins 11 Jun 17 00:49 VERSION 00:54:04 -rw-rw-r--. 1 jenkins jenkins 222 Jun 17 00:52 version.go [Pipeline] isUnix [Pipeline] sh 00:54:04 + 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=237059a1cc6afe5d06dcb2973311674b604926bf --label arch=arm64 --label version=1.2.3-dev.2 . 00:54:05 + 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=237059a1cc6afe5d06dcb2973311674b604926bf --label arch=amd64 --label version=1.2.3-dev.2 . 00:54:05 Sending build context to Docker daemon 3.212MB 00:54:05 Step 1/23 : ARG BASE=golang:1.13-alpine 00:54:05 Step 2/23 : FROM ${BASE} AS builder 00:54:05 ---> 63ed1c9567e0 00:54:05 Step 3/23 : ARG MAKE='make build' 00:54:05 Sending build context to Docker daemon 3.212MB 00:54:05 Step 1/23 : ARG BASE=golang:1.13-alpine 00:54:05 Step 2/23 : FROM ${BASE} AS builder 00:54:05 ---> 01b87e397124 00:54:05 Step 3/23 : ARG MAKE='make build' 00:54:05 ---> Running in 2e1eca9ef77c 00:54:05 ---> Running in 6c69e1b0d254 00:54:05 Removing intermediate container 6c69e1b0d254 00:54:05 ---> 6ada96c808d3 00:54:05 Step 4/23 : WORKDIR /device-sdk-go 00:54:05 ---> Running in 462021cd319e 00:54:06 Removing intermediate container 2e1eca9ef77c 00:54:06 ---> e81b8f15e1ff 00:54:06 Step 4/23 : WORKDIR /device-sdk-go 00:54:06 ---> Running in a38077fe6a94 00:54:06 Removing intermediate container 462021cd319e 00:54:06 ---> 267157227a3b 00:54:06 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:54:06 ---> Running in 00f4ebc7b103 00:54:06 Removing intermediate container 00f4ebc7b103 00:54:06 ---> 4a29be1b5b3e 00:54:06 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:54:06 ---> Running in 05dfb35931cd 00:54:06 Removing intermediate container a38077fe6a94 00:54:06 ---> a8a53c4df3ee 00:54:06 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:54:06 ---> Running in 761b484ed811 00:54:07 Removing intermediate container 761b484ed811 00:54:07 ---> 603f8a2c75bd 00:54:07 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:54:07 ---> Running in 9752be6fd97a 00:54:07 Removing intermediate container 05dfb35931cd 00:54:07 ---> d22c2512e8c7 00:54:07 Step 7/23 : RUN apk add --update --no-cache make git 00:54:07 ---> Running in 5c4cfecf5dc3 00:54:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 00:54:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 00:54:08 OK: 143 MiB in 39 packages 00:54:09 Removing intermediate container 5c4cfecf5dc3 00:54:09 ---> 39331c7f5b2a 00:54:09 Step 8/23 : COPY . . 00:54:09 Removing intermediate container 9752be6fd97a 00:54:09 ---> 189f4fd03d27 00:54:09 Step 7/23 : RUN apk add --update --no-cache make git 00:54:09 ---> Running in e96955ef2dd6 00:54:10 ---> 97501732dec2 00:54:10 Step 9/23 : RUN ${MAKE} 00:54:10 ---> Running in 45d9d311255f 00:54:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:54:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 00:54:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 00:54:12 OK: 125 MiB in 39 packages 00:54:13 Removing intermediate container e96955ef2dd6 00:54:13 ---> da8b44031427 00:54:13 Step 8/23 : COPY . . 00:54:14 ---> 93b6787576bd 00:54:14 Step 9/23 : RUN ${MAKE} 00:54:14 ---> Running in b0ba90419f7e 00:54:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:54:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:54:19 Removing intermediate container 45d9d311255f 00:54:19 ---> d4b8bb5d5183 00:54:19 Step 10/23 : FROM scratch 00:54:19 ---> 00:54:19 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:54:19 ---> Running in c92e6ef0be91 00:54:19 Removing intermediate container c92e6ef0be91 00:54:19 ---> 6c2cd269f340 00:54:19 Step 12/23 : ENV APP_PORT=49990 00:54:19 ---> Running in 339885187a55 00:54:20 Removing intermediate container 339885187a55 00:54:20 ---> fd9e21c9bb22 00:54:20 Step 13/23 : EXPOSE $APP_PORT 00:54:20 ---> Running in 5b382b757fa4 00:54:20 Removing intermediate container 5b382b757fa4 00:54:20 ---> 2677ab2af3db 00:54:20 Step 14/23 : WORKDIR / 00:54:20 ---> Running in e74875eb2e59 00:54:20 Removing intermediate container e74875eb2e59 00:54:20 ---> 0f1844a8ad47 00:54:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:54:21 ---> b7f8cc34d30d 00:54:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:54:21 ---> b2b5e6dd9a3b 00:54:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:54:21 ---> 5db3842f731e 00:54:21 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:54:21 ---> ee6c24f9a51a 00:54:21 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:54:21 ---> dad8ff7b0a81 00:54:21 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:54:21 ---> Running in d5ad36aabe45 00:54:22 Removing intermediate container d5ad36aabe45 00:54:22 ---> 88531b7f71ee 00:54:22 Step 21/23 : LABEL arch=amd64 00:54:22 ---> Running in 94e3b7244dc8 00:54:22 Removing intermediate container 94e3b7244dc8 00:54:22 ---> 9e8eaa8afdfa 00:54:22 Step 22/23 : LABEL git_sha=237059a1cc6afe5d06dcb2973311674b604926bf 00:54:22 ---> Running in 52af78c532db 00:54:22 Removing intermediate container 52af78c532db 00:54:22 ---> 41c10dd3203f 00:54:22 Step 23/23 : LABEL version=1.2.3-dev.2 00:54:22 ---> Running in bf10c70d2f0d 00:54:22 Removing intermediate container bf10c70d2f0d 00:54:22 ---> ed7c8528aa67 00:54:22 [Warning] One or more build-args [ARCH] were not consumed 00:54:22 Successfully built ed7c8528aa67 00:54:22 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] } 00:54:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:54:43 Removing intermediate container b0ba90419f7e 00:54:43 ---> b8018865ea00 00:54:43 Step 10/23 : FROM scratch 00:54:43 ---> 00:54:43 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:54:43 ---> Running in fc3b641a3e2f 00:54:43 Removing intermediate container fc3b641a3e2f 00:54:43 ---> e622813d138c 00:54:43 Step 12/23 : ENV APP_PORT=49990 00:54:43 ---> Running in ae8d7d4fa5da 00:54:43 Removing intermediate container ae8d7d4fa5da 00:54:43 ---> a9a00fe60a5f 00:54:43 Step 13/23 : EXPOSE $APP_PORT 00:54:43 ---> Running in 74a79f77cde8 00:54:43 Removing intermediate container 74a79f77cde8 00:54:43 ---> 31adfba15f69 00:54:43 Step 14/23 : WORKDIR / 00:54:43 ---> Running in 2daa994c47df 00:54:43 Removing intermediate container 2daa994c47df 00:54:43 ---> 7ddfbdf64b26 00:54:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:54:45 ---> 3926215b24de 00:54:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:54:45 ---> 0d631beb3feb 00:54:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:54:46 ---> 5dee6097f318 00:54:46 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:54:47 ---> ae9435dd47e7 00:54:47 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:54:47 ---> d810a38a0844 00:54:47 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:54:47 ---> Running in 67bcd4a975c8 00:54:48 Removing intermediate container 67bcd4a975c8 00:54:48 ---> 634df171514e 00:54:48 Step 21/23 : LABEL arch=arm64 00:54:48 ---> Running in ff7a09d12afb 00:54:48 Removing intermediate container ff7a09d12afb 00:54:48 ---> 0c1e3b73ce11 00:54:48 Step 22/23 : LABEL git_sha=237059a1cc6afe5d06dcb2973311674b604926bf 00:54:49 ---> Running in 712ddcfa41bc 00:54:49 Removing intermediate container 712ddcfa41bc 00:54:49 ---> def5a7d3e9fa 00:54:49 Step 23/23 : LABEL version=1.2.3-dev.2 00:54:49 ---> Running in b20925e27719 00:54:49 Removing intermediate container b20925e27719 00:54:49 ---> fa7437dcb617 00:54:49 [Warning] One or more build-args [ARCH] were not consumed 00:54:49 Successfully built fa7437dcb617 00:54:49 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 00:54:50 provisioning config files... 00:54:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4813963778183194622tmp [Pipeline] { [Pipeline] sh 00:54:50 + curl -s https://codecov.io/bash 00:54:50 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4813963778183194622tmp 00:54:51 00:54:51 _____ _ 00:54:51 / ____| | | 00:54:51 | | ___ __| | ___ ___ _____ __ 00:54:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:54:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:54:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:54:51 Bash-20200602-f809a24 00:54:51 00:54:51 00:54:51 ==> Jenkins CI detected. 00:54:51 project root: . 00:54:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:54:51 ==> Running gcov in . (disable via -X gcov) 00:54:51 ==> Python coveragepy not found 00:54:51 ==> Searching for coverage reports in: 00:54:51 + . 00:54:51 -> Found 1 reports 00:54:51 ==> Detecting git/mercurial file structure 00:54:51 ==> Reading reports 00:54:51 + ./coverage.out bytes=110877 00:54:51 ==> Appending adjustments 00:54:51 https://docs.codecov.io/docs/fixing-reports 00:54:51 + Found adjustments 00:54:51 ==> Gzipping contents 00:54:51 ==> Uploading reports 00:54:51 url: https://codecov.io 00:54:51 query: branch=master&commit=237059a1cc6afe5d06dcb2973311674b604926bf&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 00:54:51 -> Pinging Codecov 00:54:51 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=237059a1cc6afe5d06dcb2973311674b604926bf&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 00:54:52 -> Uploading 00:54:53 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/237059a1cc6afe5d06dcb2973311674b604926bf [Pipeline] } 00:54:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 00:54:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 00:54:53 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 00:54:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 00:54:53 00:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 00:54:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 00:54:54 1.317.0: Pulling from edgex-devops/edgex-snyk-go 00:54:54 cbdbe7a5bc2a: Pulling fs layer 00:54:54 408f87550127: Pulling fs layer 00:54:54 fe522b08c979: Pulling fs layer 00:54:54 221eaa008020: Pulling fs layer 00:54:54 2a4607e5d6b9: Pulling fs layer 00:54:54 8f79b27c4fd2: Pulling fs layer 00:54:54 e5c8dbe1645b: Pulling fs layer 00:54:54 23e8b3b47431: Pulling fs layer 00:54:54 5c568d65a230: Pulling fs layer 00:54:54 2a4607e5d6b9: Waiting 00:54:54 8f79b27c4fd2: Waiting 00:54:54 e5c8dbe1645b: Waiting 00:54:54 23e8b3b47431: Waiting 00:54:54 5c568d65a230: Waiting 00:54:54 221eaa008020: Waiting 00:54:54 fe522b08c979: Verifying Checksum 00:54:54 fe522b08c979: Download complete 00:54:54 408f87550127: Verifying Checksum 00:54:54 408f87550127: Download complete 00:54:54 2a4607e5d6b9: Download complete 00:54:54 8f79b27c4fd2: Verifying Checksum 00:54:54 8f79b27c4fd2: Download complete 00:54:54 cbdbe7a5bc2a: Download complete 00:54:54 e5c8dbe1645b: Verifying Checksum 00:54:54 e5c8dbe1645b: Download complete 00:54:54 cbdbe7a5bc2a: Pull complete 00:54:54 408f87550127: Pull complete 00:54:54 23e8b3b47431: Verifying Checksum 00:54:54 23e8b3b47431: Download complete 00:54:55 fe522b08c979: Pull complete 00:54:55 5c568d65a230: Verifying Checksum 00:54:55 5c568d65a230: Download complete 00:54:55 221eaa008020: Download complete 00:55:02 221eaa008020: Pull complete 00:55:02 2a4607e5d6b9: Pull complete 00:55:02 8f79b27c4fd2: Pull complete 00:55:03 e5c8dbe1645b: Pull complete 00:55:06 23e8b3b47431: Pull complete 00:55:07 5c568d65a230: Pull complete 00:55:07 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 00:55:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 00:55:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 00:55:07 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 00:55:09 $ docker top 00a2a83d0776a51513e6295e352e2f2cd258fe5ce9fb8c7a75dd2bc2220143e5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:09 + snyk monitor '--org=edgex-jenkins' 00:55:14 00:55:14 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 00:55:14 00:55:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/65227f56-1df2-415b-9450-615ef53732b8 00:55:14 00:55:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:55:14 00:55:14 00:55:14 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 00:55:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:55:14 $ docker stop --time=1 00a2a83d0776a51513e6295e352e2f2cd258fe5ce9fb8c7a75dd2bc2220143e5 00:55:16 $ docker rm -f 00a2a83d0776a51513e6295e352e2f2cd258fe5ce9fb8c7a75dd2bc2220143e5 [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 00:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:55:17 . [Pipeline] withDockerContainer 00:55:17 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:55:17 $ 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 00:55:18 $ docker top da181c52663a9dd2041eb6b32a4b9388c8fe27e3764b8be29a0237c7476d08c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:18 [ssh-agent] Looking for ssh-agent implementation... 00:55:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:18 $ docker exec da181c52663a9dd2041eb6b32a4b9388c8fe27e3764b8be29a0237c7476d08c4 ssh-agent 00:55:18 SSH_AUTH_SOCK=/tmp/ssh-m0wN05XZtc1d/agent.12 00:55:18 SSH_AGENT_PID=17 00:55:18 Running ssh-add (command line suppressed) 00:55:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8602479915916955250.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8602479915916955250.key) 00:55:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:19 + git semver tag 00:55:19 # -> Open(): unable to determine branch for HEAD 00:55:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 00:55:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 00:55:19 # $SEMVER_REMOTE_NAME = origin 00:55:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:55:19 # $SEMVER_USER_NAME = edgex-jenkins 00:55:19 # $SEMVER_BRANCH = master 00:55:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 00:55:19 # 237059a1cc6afe5d06dcb2973311674b604926bf HEAD 00:55:19 # -> Force: false 00:55:19 # d33a7ccf95acbe60aa09d1077e562ece99db064e refs/tags/v1.2.3-dev.2 [Pipeline] } 00:55:19 $ docker exec --env ******** --env ******** da181c52663a9dd2041eb6b32a4b9388c8fe27e3764b8be29a0237c7476d08c4 ssh-agent -k 00:55:19 unset SSH_AUTH_SOCK; 00:55:19 unset SSH_AGENT_PID; 00:55:19 echo Agent pid 17 killed; 00:55:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:19 + git semver [Pipeline] } 00:55:19 $ docker stop --time=1 da181c52663a9dd2041eb6b32a4b9388c8fe27e3764b8be29a0237c7476d08c4 00:55:21 $ docker rm -f da181c52663a9dd2041eb6b32a4b9388c8fe27e3764b8be29a0237c7476d08c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:55:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:55:21 00:55:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:55:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:55:22 0.23.1-centos7: Pulling from edgex-lftools 00:55:22 ab5ef0e58194: Pulling fs layer 00:55:22 9712f1f96733: Pulling fs layer 00:55:22 63f879dbbcfc: Pulling fs layer 00:55:22 0d9ebad4ef96: Pulling fs layer 00:55:22 e9a5061849ea: Pulling fs layer 00:55:22 d747dcd14b5f: Pulling fs layer 00:55:22 2de7ff778b66: Pulling fs layer 00:55:22 e9a5061849ea: Waiting 00:55:22 d747dcd14b5f: Waiting 00:55:22 2de7ff778b66: Waiting 00:55:22 0d9ebad4ef96: Waiting 00:55:22 9712f1f96733: Verifying Checksum 00:55:22 9712f1f96733: Download complete 00:55:22 63f879dbbcfc: Verifying Checksum 00:55:22 63f879dbbcfc: Download complete 00:55:22 e9a5061849ea: Verifying Checksum 00:55:22 e9a5061849ea: Download complete 00:55:22 d747dcd14b5f: Verifying Checksum 00:55:22 d747dcd14b5f: Download complete 00:55:22 2de7ff778b66: Verifying Checksum 00:55:22 2de7ff778b66: Download complete 00:55:22 0d9ebad4ef96: Verifying Checksum 00:55:22 0d9ebad4ef96: Download complete 00:55:22 ab5ef0e58194: Verifying Checksum 00:55:22 ab5ef0e58194: Download complete 00:55:27 ab5ef0e58194: Pull complete 00:55:27 9712f1f96733: Pull complete 00:55:30 63f879dbbcfc: Pull complete 00:55:37 0d9ebad4ef96: Pull complete 00:55:38 e9a5061849ea: Pull complete 00:55:38 d747dcd14b5f: Pull complete 00:55:41 2de7ff778b66: Pull complete 00:55:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:55:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:55:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:55:42 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:55:46 $ docker top 652c3bd3aef05bc68a5baba62cd214f5269830ababb9d97e7bed9bc5b14bcce6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:55:46 provisioning config files... 00:55:46 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7032506940351252940tmp 00:55:46 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5246150297381005359tmp 00:55:46 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4786576155812670326tmp [Pipeline] { [Pipeline] echo 00:55:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:55:46 ---> sigul-configuration.sh 00:55:46 gpg: directory `/root/.gnupg' created 00:55:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:55:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:55:46 gpg: keyring `/root/.gnupg/secring.gpg' created 00:55:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:55:46 gpg: CAST5 encrypted data 00:55:47 gpg: encrypted with 1 passphrase 00:55:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:55:47 + mkdir /home/jenkins 00:55:47 + mkdir /home/jenkins/sigul [Pipeline] sh 00:55:47 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 00:55:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:55:48 ---> sigul-install.sh 00:55:52 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:55:52 + git tag --list 00:55:52 v1.2.3-dev.2 [Pipeline] sh 00:55:53 + lftools sign git-tag v1.2.3-dev.2 00:55:54 Signing Git tag with Sigul... 00:55:54 Signing v1.2.3-dev.2 [Pipeline] echo 00:55:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:55:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:55:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:55:55 $ docker stop --time=1 652c3bd3aef05bc68a5baba62cd214f5269830ababb9d97e7bed9bc5b14bcce6 00:55:57 $ docker rm -f 652c3bd3aef05bc68a5baba62cd214f5269830ababb9d97e7bed9bc5b14bcce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:55:58 . [Pipeline] withDockerContainer 00:55:58 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:55:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:55:59 $ docker top 77ad2d47401c504c31f9644eae75ea01f412a62bf1cf8f299f370108d203a090 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:59 [ssh-agent] Looking for ssh-agent implementation... 00:55:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:59 $ docker exec 77ad2d47401c504c31f9644eae75ea01f412a62bf1cf8f299f370108d203a090 ssh-agent 00:55:59 SSH_AUTH_SOCK=/tmp/ssh-vBV6feSVRNlH/agent.12 00:55:59 SSH_AGENT_PID=17 00:55:59 Running ssh-add (command line suppressed) 00:55:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7590624228427750108.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7590624228427750108.key) 00:55:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:00 + git semver bump pre 00:56:00 # -> Open(): unable to determine branch for HEAD 00:56:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 00:56:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 00:56:00 # $SEMVER_REMOTE_NAME = origin 00:56:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:00 # $SEMVER_USER_NAME = edgex-jenkins 00:56:00 # $SEMVER_BRANCH = master 00:56:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 00:56:00 1.2.3-dev.3 [Pipeline] } 00:56:00 $ docker exec --env ******** --env ******** 77ad2d47401c504c31f9644eae75ea01f412a62bf1cf8f299f370108d203a090 ssh-agent -k 00:56:00 unset SSH_AUTH_SOCK; 00:56:00 unset SSH_AGENT_PID; 00:56:00 echo Agent pid 17 killed; 00:56:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:00 + git semver [Pipeline] } 00:56:00 $ docker stop --time=1 77ad2d47401c504c31f9644eae75ea01f412a62bf1cf8f299f370108d203a090 00:56:02 $ docker rm -f 77ad2d47401c504c31f9644eae75ea01f412a62bf1cf8f299f370108d203a090 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:56:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:02 . [Pipeline] withDockerContainer 00:56:02 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:56:02 $ 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 00:56:03 $ docker top faf914e6276b55929df5dfc5a087a687be5475bf0db4f20dbc0506926dfba671 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:03 [ssh-agent] Looking for ssh-agent implementation... 00:56:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:03 $ docker exec faf914e6276b55929df5dfc5a087a687be5475bf0db4f20dbc0506926dfba671 ssh-agent 00:56:03 SSH_AUTH_SOCK=/tmp/ssh-vW5ES9rI0pjw/agent.12 00:56:03 SSH_AGENT_PID=18 00:56:03 Running ssh-add (command line suppressed) 00:56:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4514659310566229407.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4514659310566229407.key) 00:56:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:04 + git semver push 00:56:04 # -> Open(): unable to determine branch for HEAD 00:56:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 00:56:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 00:56:04 # $SEMVER_REMOTE_NAME = origin 00:56:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:04 # $SEMVER_USER_NAME = edgex-jenkins 00:56:04 # $SEMVER_BRANCH = master 00:56:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 00:56:12 $ docker exec --env ******** --env ******** faf914e6276b55929df5dfc5a087a687be5475bf0db4f20dbc0506926dfba671 ssh-agent -k 00:56:12 unset SSH_AUTH_SOCK; 00:56:12 unset SSH_AGENT_PID; 00:56:12 echo Agent pid 18 killed; 00:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:13 + git semver [Pipeline] } 00:56:13 $ docker stop --time=1 faf914e6276b55929df5dfc5a087a687be5475bf0db4f20dbc0506926dfba671 00:56:14 $ docker rm -f faf914e6276b55929df5dfc5a087a687be5475bf0db4f20dbc0506926dfba671 [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 00:56:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:15 ---> package-listing.sh 00:56:15 ++ facter osfamily 00:56:15 ++ tr '[:upper:]' '[:lower:]' 00:56:15 + OS_FAMILY=redhat 00:56:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 00:56:15 + START_PACKAGES=/tmp/packages_start.txt 00:56:15 + END_PACKAGES=/tmp/packages_end.txt 00:56:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:15 + PACKAGES=/tmp/packages_start.txt 00:56:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 00:56:15 + PACKAGES=/tmp/packages_end.txt 00:56:15 + case "${OS_FAMILY}" in 00:56:15 + rpm -qa 00:56:15 + sort 00:56:19 + '[' -f /tmp/packages_start.txt ']' 00:56:19 + '[' -f /tmp/packages_end.txt ']' 00:56:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 00:56:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 00:56:19 + 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 00:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:56:20 00:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:56:20 alpine: Pulling from edgex-lftools-log-publisher 00:56:20 c9b1b535fdd9: Pulling fs layer 00:56:20 2cc5ad85d9ab: Pulling fs layer 00:56:20 756a868c4378: Pulling fs layer 00:56:20 444b2fc9a129: Pulling fs layer 00:56:20 ea15f1150254: Pulling fs layer 00:56:20 41b27a9f41bf: Pulling fs layer 00:56:20 28c525ee5125: Pulling fs layer 00:56:20 094b1ea09ed8: Pulling fs layer 00:56:20 138eaada9080: Pulling fs layer 00:56:20 0622d0fa9048: Pulling fs layer 00:56:20 ea15f1150254: Waiting 00:56:20 41b27a9f41bf: Waiting 00:56:20 28c525ee5125: Waiting 00:56:20 094b1ea09ed8: Waiting 00:56:20 138eaada9080: Waiting 00:56:20 0622d0fa9048: Waiting 00:56:20 444b2fc9a129: Waiting 00:56:20 2cc5ad85d9ab: Verifying Checksum 00:56:20 2cc5ad85d9ab: Download complete 00:56:20 444b2fc9a129: Download complete 00:56:20 c9b1b535fdd9: Verifying Checksum 00:56:20 c9b1b535fdd9: Download complete 00:56:20 ea15f1150254: Verifying Checksum 00:56:20 ea15f1150254: Download complete 00:56:20 28c525ee5125: Verifying Checksum 00:56:20 28c525ee5125: Download complete 00:56:21 756a868c4378: Verifying Checksum 00:56:21 756a868c4378: Download complete 00:56:21 138eaada9080: Verifying Checksum 00:56:21 138eaada9080: Download complete 00:56:21 094b1ea09ed8: Verifying Checksum 00:56:21 094b1ea09ed8: Download complete 00:56:21 0622d0fa9048: Verifying Checksum 00:56:21 0622d0fa9048: Download complete 00:56:21 41b27a9f41bf: Verifying Checksum 00:56:21 41b27a9f41bf: Download complete 00:56:22 c9b1b535fdd9: Pull complete 00:56:22 2cc5ad85d9ab: Pull complete 00:56:23 756a868c4378: Pull complete 00:56:23 444b2fc9a129: Pull complete 00:56:24 ea15f1150254: Pull complete 00:56:28 41b27a9f41bf: Pull complete 00:56:28 28c525ee5125: Pull complete 00:56:29 094b1ea09ed8: Pull complete 00:56:29 138eaada9080: Pull complete 00:56:30 0622d0fa9048: Pull complete 00:56:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 00:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:56:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:56:30 prd-centos7-docker-4c-2g-3261 does not seem to be running inside a container 00:56:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:56:33 $ docker top 5b8d7561af0fcded9fef847d8eda036196e5ddae3b2efa94f40dfc46ee795386 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:33 provisioning config files... 00:56:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3020365888831939606tmp [Pipeline] { [Pipeline] echo 00:56:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:56:33 ---> create-netrc.sh [Pipeline] echo 00:56:33 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:34 ---> logs-deploy.sh 00:56:34 + ARCHIVE_ARTIFACTS= 00:56:34 + LOGS_SERVER=https://logs.edgexfoundry.org 00:56:34 + '[' https://logs.edgexfoundry.org == None ']' 00:56:34 + NEXUS_URL=https://nexus.edgexfoundry.org 00:56:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/46 00:56:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/46/ 00:56:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/46 /w/workspace/dgexfoundry_device-sdk-go_master 00:56:35 Archives upload complete. 00:56:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/46 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/46/