Push event to branch issue-535 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f0d03bfb6530324afd54d83f0a15ae6fd4719453 Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/issue-535/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2527 in /w/workspace/xfoundry_device-sdk-go_issue-535 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/xfoundry_device-sdk-go_issue-535 # 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/issue-535:refs/remotes/origin/issue-535 # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/issue-535:refs/remotes/origin/issue-535 # 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/issue-535:refs/remotes/origin/issue-535 # timeout=10 Checking out Revision f0d03bfb6530324afd54d83f0a15ae6fd4719453 (issue-535) > git config core.sparsecheckout # timeout=10 > git checkout -f f0d03bfb6530324afd54d83f0a15ae6fd4719453 # timeout=10 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:39:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:39:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:39:30 ========================================================= 03:39:30 EdgeX Global Pipelines Version Info 03:39:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:39:32 ------------------- 03:39:32 stable info: 03:39:32 ------------------- 03:39:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:39:32 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:39:32 Message: update stable to v1.0.89 03:39:33 ------------------- 03:39:33 experimental info: 03:39:33 ------------------- 03:39:33 Commited By: **** collab-it+edgex@linuxfoundation.org 03:39:33 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:39:33 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 03:39:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:39:35 03:39:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:39:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:39:35 latest: Pulling from edgex-devops/git-semver 03:39:35 9123ac7c32f7: Pulling fs layer 03:39:35 b8cc5d1170e3: Pulling fs layer 03:39:35 2924cbbf6a41: Pulling fs layer 03:39:35 93b08a4f1073: Pulling fs layer 03:39:35 93b08a4f1073: Waiting 03:39:35 b8cc5d1170e3: Verifying Checksum 03:39:35 b8cc5d1170e3: Download complete 03:39:35 9123ac7c32f7: Verifying Checksum 03:39:35 9123ac7c32f7: Download complete 03:39:35 93b08a4f1073: Verifying Checksum 03:39:35 93b08a4f1073: Download complete 03:39:35 2924cbbf6a41: Verifying Checksum 03:39:35 2924cbbf6a41: Download complete 03:39:36 9123ac7c32f7: Pull complete 03:39:36 b8cc5d1170e3: Pull complete 03:39:36 2924cbbf6a41: Pull complete 03:39:36 93b08a4f1073: Pull complete 03:39:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:39:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:39:36 prd-centos7-docker-4c-2g-2527 does not seem to be running inside a container 03:39:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-sdk-go_issue-535 -v /w/workspace/xfoundry_device-sdk-go_issue-535:/w/workspace/xfoundry_device-sdk-go_issue-535:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-535@tmp:/w/workspace/xfoundry_device-sdk-go_issue-535@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:39:39 $ docker top bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:39:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:39:39 [ssh-agent] Looking for ssh-agent implementation... 03:39:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:39:39 $ docker exec bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 ssh-agent 03:39:39 SSH_AUTH_SOCK=/tmp/ssh-NhAoyXsj7hJP/agent.11 03:39:39 SSH_AGENT_PID=17 03:39:39 Running ssh-add (command line suppressed) 03:39:39 Identity added: /w/workspace/xfoundry_device-sdk-go_issue-535@tmp/private_key_6666305512968915978.key (/w/workspace/xfoundry_device-sdk-go_issue-535@tmp/private_key_6666305512968915978.key) 03:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:39:40 + git describe --exact-match --tags HEAD 03:39:40 fatal: No names found, cannot describe anything. [Pipeline] } 03:39:40 $ docker exec --env ******** --env ******** bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 ssh-agent -k 03:39:40 unset SSH_AUTH_SOCK; 03:39:40 unset SSH_AGENT_PID; 03:39:40 echo Agent pid 17 killed; 03:39:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:39:40 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:39:40 This usually means this commit has not been tagged. [Pipeline] sshagent 03:39:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:39:40 [ssh-agent] Looking for ssh-agent implementation... 03:39:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:39:40 $ docker exec bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 ssh-agent 03:39:41 SSH_AUTH_SOCK=/tmp/ssh-hWz6a4gPRRj8/agent.45 03:39:41 SSH_AGENT_PID=51 03:39:41 Running ssh-add (command line suppressed) 03:39:41 Identity added: /w/workspace/xfoundry_device-sdk-go_issue-535@tmp/private_key_5474080921635953890.key (/w/workspace/xfoundry_device-sdk-go_issue-535@tmp/private_key_5474080921635953890.key) 03:39:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:39:41 + git semver init 03:39:41 # -> Open(): unable to determine branch for HEAD 03:39:41 # $GIT_DIR = /w/workspace/xfoundry_device-sdk-go_issue-535/.git 03:39:41 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-sdk-go_issue-535 03:39:41 # $SEMVER_REMOTE_NAME = origin 03:39:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:39:41 # $SEMVER_USER_NAME = edgex-jenkins 03:39:41 # $SEMVER_BRANCH = issue-535 03:39:41 # $SEMVER_TEMP = /tmp/semver-180089123 03:39:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:39:42 # '/tmp/semver-180089123' -> '/w/workspace/xfoundry_device-sdk-go_issue-535/.semver' 03:39:42 # -> Force: false 03:39:42 # $SEMVER_DIR = /w/workspace/xfoundry_device-sdk-go_issue-535/.semver [Pipeline] } 03:39:42 $ docker exec --env ******** --env ******** bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 ssh-agent -k 03:39:42 unset SSH_AUTH_SOCK; 03:39:42 unset SSH_AGENT_PID; 03:39:42 echo Agent pid 51 killed; 03:39:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:39:42 + git semver [Pipeline] } 03:39:42 $ docker stop --time=1 bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 03:39:44 $ docker rm -f bb1f0b72557cccd974d357b1b58e634c0d5cb7d0c19d9162eac4b13a936ca962 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:39:45 Stashed 67 file(s) [Pipeline] echo 03:39:45 [edgeXSemver] initialized semver on version 0.0.0 [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 03:40:01 Still waiting to schedule task 03:40:01 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2527’ 03:40:01 Still waiting to schedule task 03:40:01 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 03:41:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2528 in /w/workspace/xfoundry_device-sdk-go_issue-535 [Pipeline] { [Pipeline] ws 03:41:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:41:42 using credential edgex-jenkins-ssh 03:41:42 Cloning the remote Git repository 03:41:42 Cloning with configured refspecs honoured and without tags 03:41:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:41:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:41:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:41:42 > git --version # timeout=10 03:41:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:41:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:41:43 Fetching without tags 03:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:41:43 > git config --add remote.origin.fetch +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:41:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 03:41:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:41:44 Checking out Revision f0d03bfb6530324afd54d83f0a15ae6fd4719453 (issue-535) 03:41:44 > git config core.sparsecheckout # timeout=10 03:41:44 > git checkout -f f0d03bfb6530324afd54d83f0a15ae6fd4719453 # timeout=10 03:41:48 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" 03:41:48 > git --version # timeout=10 03:41:48 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:41:50 ========================================================= 03:41:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:41:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:41:51 + 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 . 03:41:52 Sending build context to Docker daemon 3.068MB 03:41:52 Step 1/8 : ARG BASE=golang:1.13-alpine 03:41:52 Step 2/8 : FROM ${BASE} 03:41:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:41:52 cde5963f3b93: Pulling fs layer 03:41:52 2a23fa8c16f7: Pulling fs layer 03:41:52 777b28850792: Pulling fs layer 03:41:52 8a11ddd9e578: Pulling fs layer 03:41:52 4cf88f913ddb: Pulling fs layer 03:41:52 1df406cf5192: Pulling fs layer 03:41:52 cd6300453558: Pulling fs layer 03:41:52 b9c365052c96: Pulling fs layer 03:41:52 a2d8cc88f415: Pulling fs layer 03:41:52 ea1d1ca13537: Pulling fs layer 03:41:52 3750a50a1c5e: Pulling fs layer 03:41:52 8a11ddd9e578: Waiting 03:41:52 4cf88f913ddb: Waiting 03:41:52 1df406cf5192: Waiting 03:41:52 cd6300453558: Waiting 03:41:52 b9c365052c96: Waiting 03:41:52 a2d8cc88f415: Waiting 03:41:52 ea1d1ca13537: Waiting 03:41:52 3750a50a1c5e: Waiting 03:41:52 777b28850792: Verifying Checksum 03:41:52 777b28850792: Download complete 03:41:52 2a23fa8c16f7: Verifying Checksum 03:41:52 2a23fa8c16f7: Download complete 03:41:52 4cf88f913ddb: Download complete 03:41:52 1df406cf5192: Verifying Checksum 03:41:52 1df406cf5192: Download complete 03:41:52 cde5963f3b93: Verifying Checksum 03:41:52 cde5963f3b93: Download complete 03:41:53 cde5963f3b93: Pull complete 03:41:54 2a23fa8c16f7: Pull complete 03:41:54 cd6300453558: Verifying Checksum 03:41:54 cd6300453558: Download complete 03:41:54 a2d8cc88f415: Verifying Checksum 03:41:54 a2d8cc88f415: Download complete 03:41:54 777b28850792: Pull complete 03:41:56 ea1d1ca13537: Verifying Checksum 03:41:56 ea1d1ca13537: Download complete 03:41:56 3750a50a1c5e: Download complete 03:41:57 b9c365052c96: Download complete 03:41:57 8a11ddd9e578: Verifying Checksum 03:41:57 8a11ddd9e578: Download complete 03:42:02 Running on prd-centos7-docker-4c-2g-2530 in /w/workspace/xfoundry_device-sdk-go_issue-535 [Pipeline] { [Pipeline] ws 03:42:02 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:42:05 using credential edgex-jenkins-ssh 03:42:05 Cloning the remote Git repository 03:42:05 Cloning with configured refspecs honoured and without tags 03:42:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:42:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:42:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:42:05 > git --version # timeout=10 03:42:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:42:06 Fetching without tags 03:42:06 Checking out Revision f0d03bfb6530324afd54d83f0a15ae6fd4719453 (issue-535) 03:42:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:42:06 > git config --add remote.origin.fetch +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:42:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:42:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:42:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-535:refs/remotes/origin/issue-535 # timeout=10 03:42:06 > git config core.sparsecheckout # timeout=10 03:42:06 > git checkout -f f0d03bfb6530324afd54d83f0a15ae6fd4719453 # timeout=10 03:42:09 8a11ddd9e578: Pull complete 03:42:09 4cf88f913ddb: Pull complete 03:42:09 1df406cf5192: Pull complete 03:42:10 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" 03:42:10 > git --version # timeout=10 03:42:10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:42:11 ========================================================= 03:42:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:42:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:42:11 + 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 . 03:42:11 Sending build context to Docker daemon 3.068MB 03:42:11 Step 1/8 : ARG BASE=golang:1.13-alpine 03:42:11 Step 2/8 : FROM ${BASE} 03:42:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:42:12 e6b0cf9c0882: Pulling fs layer 03:42:12 2848faf0eed1: Pulling fs layer 03:42:12 0f37312ad70f: Pulling fs layer 03:42:12 5788d62ee057: Pulling fs layer 03:42:12 0e6b1d234666: Pulling fs layer 03:42:12 bf5d7aec512f: Pulling fs layer 03:42:12 34c802a77dc8: Pulling fs layer 03:42:12 9eb99e56ec68: Pulling fs layer 03:42:12 27c7a5d97fbd: Pulling fs layer 03:42:12 5c102a31e300: Pulling fs layer 03:42:12 dcfb455df0a1: Pulling fs layer 03:42:12 34c802a77dc8: Waiting 03:42:12 9eb99e56ec68: Waiting 03:42:12 27c7a5d97fbd: Waiting 03:42:12 5c102a31e300: Waiting 03:42:12 dcfb455df0a1: Waiting 03:42:12 5788d62ee057: Waiting 03:42:12 0e6b1d234666: Waiting 03:42:12 bf5d7aec512f: Waiting 03:42:12 0f37312ad70f: Verifying Checksum 03:42:12 0f37312ad70f: Download complete 03:42:12 2848faf0eed1: Verifying Checksum 03:42:12 2848faf0eed1: Download complete 03:42:12 0e6b1d234666: Verifying Checksum 03:42:12 0e6b1d234666: Download complete 03:42:12 bf5d7aec512f: Verifying Checksum 03:42:12 bf5d7aec512f: Download complete 03:42:12 e6b0cf9c0882: Verifying Checksum 03:42:12 e6b0cf9c0882: Download complete 03:42:12 e6b0cf9c0882: Pull complete 03:42:12 34c802a77dc8: Verifying Checksum 03:42:12 34c802a77dc8: Download complete 03:42:13 27c7a5d97fbd: Verifying Checksum 03:42:13 27c7a5d97fbd: Download complete 03:42:13 5c102a31e300: Verifying Checksum 03:42:13 5c102a31e300: Download complete 03:42:13 dcfb455df0a1: Verifying Checksum 03:42:13 dcfb455df0a1: Download complete 03:42:13 9eb99e56ec68: Verifying Checksum 03:42:13 9eb99e56ec68: Download complete 03:42:13 5788d62ee057: Verifying Checksum 03:42:13 5788d62ee057: Download complete 03:42:14 2848faf0eed1: Pull complete 03:42:14 cd6300453558: Pull complete 03:42:14 0f37312ad70f: Pull complete 03:42:18 b9c365052c96: Pull complete 03:42:18 a2d8cc88f415: Pull complete 03:42:19 5788d62ee057: Pull complete 03:42:19 0e6b1d234666: Pull complete 03:42:20 bf5d7aec512f: Pull complete 03:42:20 ea1d1ca13537: Pull complete 03:42:21 3750a50a1c5e: Pull complete 03:42:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:42:21 ---> 78745c68409d 03:42:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:42:26 ---> Running in a857d4106785 03:42:26 Removing intermediate container a857d4106785 03:42:26 ---> 1f3d4c5e65f2 03:42:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:26 ---> Running in cce3698c674d 03:42:28 34c802a77dc8: Pull complete 03:42:29 Removing intermediate container cce3698c674d 03:42:29 ---> 27d245f0779d 03:42:29 Step 5/8 : RUN apk add --no-cache make git 03:42:29 ---> Running in a99735315739 03:42:30 9eb99e56ec68: Pull complete 03:42:30 27c7a5d97fbd: Pull complete 03:42:30 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:42:31 5c102a31e300: Pull complete 03:42:31 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:42:31 dcfb455df0a1: Pull complete 03:42:31 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:42:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:42:31 ---> 7c70fe431013 03:42:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:42:31 OK: 125 MiB in 39 packages 03:42:31 ---> Running in cc0635cf617a 03:42:31 Removing intermediate container cc0635cf617a 03:42:31 ---> 9e22ea41a5bc 03:42:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:32 ---> Running in 3c73788bd784 03:42:32 Removing intermediate container a99735315739 03:42:32 ---> 1b7c57791ad2 03:42:32 Step 6/8 : WORKDIR /device-sdk-go 03:42:33 ---> Running in 4c4ebbe30c17 03:42:33 Removing intermediate container 4c4ebbe30c17 03:42:33 ---> 6af2ca8751bd 03:42:33 Step 7/8 : COPY . . 03:42:33 Removing intermediate container 3c73788bd784 03:42:33 ---> 947c8646ae73 03:42:33 Step 5/8 : RUN apk add --no-cache make git 03:42:33 ---> Running in 9f65ea5683a0 03:42:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:42:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:42:34 ---> 0cce4a06b936 03:42:34 Step 8/8 : RUN go mod download 03:42:34 ---> Running in 00c7771c2c6d 03:42:34 OK: 143 MiB in 39 packages 03:42:35 Removing intermediate container 9f65ea5683a0 03:42:35 ---> fecda30bd0fd 03:42:35 Step 6/8 : WORKDIR /device-sdk-go 03:42:35 ---> Running in 146ce29f1eb4 03:42:35 Removing intermediate container 146ce29f1eb4 03:42:35 ---> f11421912180 03:42:35 Step 7/8 : COPY . . 03:42:36 ---> 8aec1e4adf31 03:42:36 Step 8/8 : RUN go mod download 03:42:36 ---> Running in 284cabf6f3bc 03:42:38 go: finding github.com/BurntSushi/toml v0.3.1 03:42:38 go: finding github.com/OneOfOne/xxhash v1.2.6 03:42:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:42:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:42:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:42:38 go: finding github.com/bgentry/speakeasy v0.1.0 03:42:38 go: finding github.com/BurntSushi/toml v0.3.1 03:42:38 go: finding github.com/OneOfOne/xxhash v1.2.6 03:42:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:42:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:42:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:42:38 go: finding github.com/bgentry/speakeasy v0.1.0 03:42:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:42:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:42:38 go: finding github.com/davecgh/go-spew v1.1.1 03:42:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 03:42:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:42:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:42:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:42:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:42:38 go: finding github.com/davecgh/go-spew v1.1.1 03:42:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 03:42:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:42:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:42:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:42:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:42:38 go: finding github.com/fatih/color v1.7.0 03:42:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:42:38 go: finding github.com/fatih/color v1.7.0 03:42:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:42:38 go: finding github.com/go-kit/kit v0.8.0 03:42:38 go: finding github.com/go-logfmt/logfmt v0.4.0 03:42:38 go: finding github.com/go-stack/stack v1.8.0 03:42:38 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:42:38 go: finding github.com/google/uuid v1.1.0 03:42:38 go: finding github.com/gorilla/mux v1.7.1 03:42:38 go: finding github.com/go-kit/kit v0.8.0 03:42:38 go: finding github.com/go-logfmt/logfmt v0.4.0 03:42:38 go: finding github.com/go-stack/stack v1.8.0 03:42:38 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:42:38 go: finding github.com/google/uuid v1.1.0 03:42:38 go: finding github.com/gorilla/mux v1.7.1 03:42:38 go: finding github.com/hashicorp/consul/api v1.1.0 03:42:38 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:42:38 go: finding github.com/hashicorp/errwrap v1.0.0 03:42:38 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:42:38 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:42:39 go: finding github.com/hashicorp/consul/api v1.1.0 03:42:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:42:39 go: finding github.com/hashicorp/errwrap v1.0.0 03:42:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:42:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:42:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:42:39 go: finding github.com/hashicorp/go-multierror v1.0.0 03:42:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:42:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:42:39 go: finding github.com/hashicorp/go-syslog v1.0.0 03:42:39 go: finding github.com/hashicorp/go-uuid v1.0.1 03:42:39 go: finding github.com/hashicorp/go.net v0.0.1 03:42:39 go: finding github.com/hashicorp/golang-lru v0.5.0 03:42:39 go: finding github.com/hashicorp/logutils v1.0.0 03:42:39 go: finding github.com/hashicorp/mdns v1.0.0 03:42:39 go: finding github.com/hashicorp/memberlist v0.1.3 03:42:39 go: finding github.com/hashicorp/serf v0.8.2 03:42:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:42:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:42:39 go: finding github.com/hashicorp/go-multierror v1.0.0 03:42:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:42:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:42:39 go: finding github.com/hashicorp/go-syslog v1.0.0 03:42:39 go: finding github.com/hashicorp/go-uuid v1.0.1 03:42:39 go: finding github.com/hashicorp/go.net v0.0.1 03:42:39 go: finding github.com/hashicorp/golang-lru v0.5.0 03:42:39 go: finding github.com/hashicorp/logutils v1.0.0 03:42:39 go: finding github.com/hashicorp/mdns v1.0.0 03:42:39 go: finding github.com/hashicorp/memberlist v0.1.3 03:42:39 go: finding github.com/hashicorp/serf v0.8.2 03:42:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:42:39 go: finding github.com/mattn/go-colorable v0.0.9 03:42:39 go: finding github.com/mattn/go-isatty v0.0.3 03:42:39 go: finding github.com/miekg/dns v1.0.14 03:42:39 go: finding github.com/mitchellh/cli v1.0.0 03:42:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:42:39 go: finding github.com/mattn/go-colorable v0.0.9 03:42:39 go: finding github.com/mattn/go-isatty v0.0.3 03:42:39 go: finding github.com/miekg/dns v1.0.14 03:42:39 go: finding github.com/mitchellh/cli v1.0.0 03:42:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:42:39 go: finding github.com/mitchellh/copystructure v1.0.0 03:42:39 go: finding github.com/mitchellh/go-homedir v1.0.0 03:42:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:42:39 go: finding github.com/mitchellh/gox v0.4.0 03:42:39 go: finding github.com/mitchellh/iochan v1.0.0 03:42:39 go: finding github.com/mitchellh/mapstructure v1.1.2 03:42:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:42:39 go: finding github.com/mitchellh/copystructure v1.0.0 03:42:39 go: finding github.com/mitchellh/go-homedir v1.0.0 03:42:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:42:39 go: finding github.com/mitchellh/gox v0.4.0 03:42:39 go: finding github.com/mitchellh/iochan v1.0.0 03:42:39 go: finding github.com/mitchellh/mapstructure v1.1.2 03:42:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:42:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:42:39 go: finding github.com/pelletier/go-toml v1.2.0 03:42:39 go: finding github.com/pkg/errors v0.8.1 03:42:39 go: finding github.com/pmezard/go-difflib v1.0.0 03:42:39 go: finding github.com/posener/complete v1.1.1 03:42:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:42:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:42:39 go: finding github.com/stretchr/objx v0.1.0 03:42:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:42:39 go: finding github.com/pelletier/go-toml v1.2.0 03:42:39 go: finding github.com/pkg/errors v0.8.1 03:42:39 go: finding github.com/pmezard/go-difflib v1.0.0 03:42:39 go: finding github.com/posener/complete v1.1.1 03:42:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:42:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:42:39 go: finding github.com/stretchr/objx v0.1.0 03:42:39 go: finding github.com/stretchr/testify v1.5.1 03:42:39 go: finding github.com/ugorji/go v1.1.4 03:42:39 go: finding github.com/x448/float16 v0.8.4 03:42:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:42:39 go: finding github.com/stretchr/testify v1.5.1 03:42:39 go: finding github.com/ugorji/go v1.1.4 03:42:39 go: finding github.com/x448/float16 v0.8.4 03:42:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:42:39 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:42:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:42:39 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:42:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:42:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:42:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:42:39 go: finding gopkg.in/yaml.v2 v2.2.8 03:42:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:42:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:42:39 go: finding gopkg.in/yaml.v2 v2.2.8 03:42:48 Removing intermediate container 284cabf6f3bc 03:42:48 ---> e329ab3a22d3 03:42:48 Successfully built e329ab3a22d3 03:42:48 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 03:42:48 + docker inspect -f . ci-base-image-x86_64 03:42:48 . [Pipeline] withDockerContainer 03:42:48 prd-centos7-docker-4c-2g-2530 does not seem to be running inside a container 03:42:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:42:49 Removing intermediate container 00c7771c2c6d 03:42:49 ---> 970ae71e9b09 03:42:49 Successfully built 970ae71e9b09 03:42:49 Successfully tagged ci-base-image-arm64:latest 03:42:50 $ docker top b6cfcf439e57a2d6dfc70d83936af92606ddcfc178c07ed7535c81db7c53c98f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 03:42:50 + go version 03:42:50 go version go1.13.5 linux/amd64 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 03:42:50 + make test 03:42:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:42:51 + docker inspect -f . ci-base-image-arm64 03:42:51 . [Pipeline] withDockerContainer 03:42:51 prd-ubuntu18.04-docker-arm64-4c-16g-2528 does not seem to be running inside a container 03:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:42:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:42:53 $ docker top 37c0c47eb4b0053c630623c74635552271a1d01c956b71ad73fdf73067343833 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:54 + go version 03:42:54 go version go1.13.5 linux/arm64 [Pipeline] sh 03:42:55 + make test 03:42:55 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:42:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:43:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:43:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.009s coverage: 22.1% of statements 03:43:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements 03:43:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:43:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:43:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:43:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.1% of statements 03:43:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.140s coverage: 95.8% of statements 03:43:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.4% of statements 03:43:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 21.7% of statements 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:43:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.131s coverage: 36.9% of statements 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:43:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.427s coverage: 65.2% of statements 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:43:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements 03:43:35 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:43:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements 03:43:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:43:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:43:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:43:35 gofmt -l . 03:43:35 [ "`gofmt -l .`" = "" ] 03:43:35 ./bin/test-attribution-txt.sh 03:43:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:43:36 Stashed 1 file(s) [Pipeline] } 03:43:36 $ docker stop --time=1 b6cfcf439e57a2d6dfc70d83936af92606ddcfc178c07ed7535c81db7c53c98f 03:43:38 $ docker rm -f b6cfcf439e57a2d6dfc70d83936af92606ddcfc178c07ed7535c81db7c53c98f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:43:40 + ls -al . 03:43:40 total 180 03:43:40 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 11 03:43 . 03:43:40 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 03:42 .. 03:43:40 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 03:42 api 03:43:40 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 03:42 bin 03:43:40 -rw-r--r--. 1 jenkins jenkins 110877 Jun 11 03:43 coverage.out 03:43:40 -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 03:42 Dockerfile.build 03:43:40 -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 03:42 .dockerignore 03:43:40 drwxrwxr-x. 4 jenkins jenkins 48 Jun 11 03:42 example 03:43:40 drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 03:42 .git 03:43:40 drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 03:42 .github 03:43:40 -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 03:42 .gitignore 03:43:40 -rw-r--r--. 1 jenkins jenkins 446 Jun 11 03:43 go.mod 03:43:40 -rw-r--r--. 1 jenkins jenkins 12179 Jun 11 03:43 go.sum 03:43:40 drwxrwxr-x. 15 jenkins jenkins 217 Jun 11 03:42 internal 03:43:40 -rw-rw-r--. 1 jenkins jenkins 808 Jun 11 03:42 Jenkinsfile 03:43:40 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 03:42 LICENSE 03:43:40 -rw-rw-r--. 1 jenkins jenkins 892 Jun 11 03:42 Makefile 03:43:40 drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 03:42 pkg 03:43:40 -rw-rw-r--. 1 jenkins jenkins 3166 Jun 11 03:42 README.md 03:43:40 -rw-rw-r--. 1 jenkins jenkins 3788 Jun 11 03:42 RELEASE-NOTES.txt 03:43:40 drwxrwxr-x. 3 jenkins jenkins 61 Jun 11 03:42 .semver 03:43:40 drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 03:42 snap 03:43:40 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 03:39 VERSION 03:43:40 -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 03:42 version.go [Pipeline] isUnix [Pipeline] sh 03:43:41 + 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=f0d03bfb6530324afd54d83f0a15ae6fd4719453 --label arch=amd64 --label version=0.0.0 . 03:43:41 Sending build context to Docker daemon 3.196MB 03:43:41 Step 1/23 : ARG BASE=golang:1.13-alpine 03:43:41 Step 2/23 : FROM ${BASE} AS builder 03:43:41 ---> e329ab3a22d3 03:43:41 Step 3/23 : ARG MAKE='make build' 03:43:42 ---> Running in 8f9babf09e59 03:43:42 Removing intermediate container 8f9babf09e59 03:43:42 ---> 01a5e2a68c2c 03:43:42 Step 4/23 : WORKDIR /device-sdk-go 03:43:42 ---> Running in a5434c6361f0 03:43:42 Removing intermediate container a5434c6361f0 03:43:42 ---> fae0434d5bca 03:43:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:42 ---> Running in 561a3bc704e8 03:43:42 Removing intermediate container 561a3bc704e8 03:43:42 ---> 47af6227129e 03:43:42 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:42 ---> Running in e83115d8a066 03:43:43 Removing intermediate container e83115d8a066 03:43:43 ---> 8ecb4bada6af 03:43:43 Step 7/23 : RUN apk add --update --no-cache make git 03:43:43 ---> Running in 4446b16208d5 03:43:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:43:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:43:44 OK: 143 MiB in 39 packages 03:43:45 Removing intermediate container 4446b16208d5 03:43:45 ---> 1b9952da57d4 03:43:45 Step 8/23 : COPY . . 03:43:46 ---> 43f259e995e5 03:43:46 Step 9/23 : RUN ${MAKE} 03:43:46 ---> Running in 6048c621eed9 03:43:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:43:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:43:55 Removing intermediate container 6048c621eed9 03:43:55 ---> 224e5a7d6edf 03:43:55 Step 10/23 : FROM scratch 03:43:55 ---> 03:43:55 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:55 ---> Running in b5788f871d99 03:43:56 Removing intermediate container b5788f871d99 03:43:56 ---> c64186bc39fc 03:43:56 Step 12/23 : ENV APP_PORT=49990 03:43:56 ---> Running in a9418b4b51e9 03:43:56 Removing intermediate container a9418b4b51e9 03:43:56 ---> e76a518599e3 03:43:56 Step 13/23 : EXPOSE $APP_PORT 03:43:56 ---> Running in 3148580b1470 03:43:56 Removing intermediate container 3148580b1470 03:43:56 ---> 445fe4b57619 03:43:56 Step 14/23 : WORKDIR / 03:43:56 ---> Running in f8bc7a2d619f 03:43:56 Removing intermediate container f8bc7a2d619f 03:43:56 ---> 23c21f0c7b3b 03:43:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:43:57 ---> cb454aa60fb8 03:43:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:43:57 ---> a4f507fb4a17 03:43:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:43:58 ---> 407230fd436b 03:43:58 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:43:58 ---> a8a966d2aea9 03:43:58 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:43:58 ---> 440ab1b51f81 03:43:58 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:43:58 ---> Running in 21fb0f1d54c8 03:43:58 Removing intermediate container 21fb0f1d54c8 03:43:58 ---> 66a3b0167a44 03:43:58 Step 21/23 : LABEL arch=amd64 03:43:58 ---> Running in bc7a7b80dcf7 03:43:58 Removing intermediate container bc7a7b80dcf7 03:43:58 ---> a5f8b927f9fc 03:43:58 Step 22/23 : LABEL git_sha=f0d03bfb6530324afd54d83f0a15ae6fd4719453 03:43:58 ---> Running in 213d8192e06c 03:43:59 Removing intermediate container 213d8192e06c 03:43:59 ---> 2b6ba79f5afc 03:43:59 Step 23/23 : LABEL version=0.0.0 03:43:59 ---> Running in 7682a9841387 03:43:59 Removing intermediate container 7682a9841387 03:43:59 ---> e7cf85b0fe41 03:43:59 [Warning] One or more build-args [ARCH] were not consumed 03:43:59 Successfully built e7cf85b0fe41 03:43:59 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] } 03:44:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 11.4% of statements 03:44:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:44:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.177s coverage: 36.9% of statements 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:44:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.756s coverage: 65.2% of statements 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:44:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 03:44:01 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:44:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements 03:44:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:44:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:44:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:44:04 gofmt -l . 03:44:04 [ "`gofmt -l .`" = "" ] 03:44:04 ./bin/test-attribution-txt.sh 03:44:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:44:05 Warning: overwriting stash ‘coverage-report’ 03:44:06 Stashed 1 file(s) [Pipeline] } 03:44:06 $ docker stop --time=1 37c0c47eb4b0053c630623c74635552271a1d01c956b71ad73fdf73067343833 03:44:08 $ docker rm -f 37c0c47eb4b0053c630623c74635552271a1d01c956b71ad73fdf73067343833 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:09 + ls -al . 03:44:09 total 220 03:44:09 drwxrwxr-x 11 jenkins jenkins 4096 Jun 11 03:44 . 03:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:41 .. 03:44:09 -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 03:41 .dockerignore 03:44:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 03:41 .git 03:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:41 .github 03:44:09 -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 03:41 .gitignore 03:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:41 .semver 03:44:09 -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 03:41 Dockerfile.build 03:44:09 -rw-rw-r-- 1 jenkins jenkins 808 Jun 11 03:41 Jenkinsfile 03:44:09 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 03:41 LICENSE 03:44:09 -rw-rw-r-- 1 jenkins jenkins 892 Jun 11 03:41 Makefile 03:44:09 -rw-rw-r-- 1 jenkins jenkins 3166 Jun 11 03:41 README.md 03:44:09 -rw-rw-r-- 1 jenkins jenkins 3788 Jun 11 03:41 RELEASE-NOTES.txt 03:44:09 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 03:39 VERSION 03:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:41 api 03:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:41 bin 03:44:09 -rw-r--r-- 1 jenkins jenkins 110877 Jun 11 03:43 coverage.out 03:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:41 example 03:44:09 -rw-r--r-- 1 jenkins jenkins 446 Jun 11 03:44 go.mod 03:44:09 -rw-r--r-- 1 jenkins jenkins 12179 Jun 11 03:44 go.sum 03:44:09 drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 03:41 internal 03:44:09 drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 03:41 pkg 03:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:41 snap 03:44:09 -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 03:41 version.go [Pipeline] isUnix [Pipeline] sh 03:44:10 + 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=f0d03bfb6530324afd54d83f0a15ae6fd4719453 --label arch=arm64 --label version=0.0.0 . 03:44:10 Sending build context to Docker daemon 3.196MB 03:44:10 Step 1/23 : ARG BASE=golang:1.13-alpine 03:44:10 Step 2/23 : FROM ${BASE} AS builder 03:44:10 ---> 970ae71e9b09 03:44:10 Step 3/23 : ARG MAKE='make build' 03:44:11 ---> Running in 57c4789dbc30 03:44:11 Removing intermediate container 57c4789dbc30 03:44:11 ---> b6ec69624065 03:44:11 Step 4/23 : WORKDIR /device-sdk-go 03:44:11 ---> Running in 8c46f16ae3d2 03:44:12 Removing intermediate container 8c46f16ae3d2 03:44:12 ---> 12ee705cad42 03:44:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:44:12 ---> Running in dade5bf7815b 03:44:12 Removing intermediate container dade5bf7815b 03:44:12 ---> 2a4d4b3d07de 03:44:12 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:12 ---> Running in ae604afbaab1 03:44:15 Removing intermediate container ae604afbaab1 03:44:15 ---> abca8276a253 03:44:15 Step 7/23 : RUN apk add --update --no-cache make git 03:44:15 ---> Running in 430b6dd1775d 03:44:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:44:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:44:18 OK: 125 MiB in 39 packages 03:44:19 Removing intermediate container 430b6dd1775d 03:44:19 ---> 34eeefd4ea13 03:44:19 Step 8/23 : COPY . . 03:44:20 ---> 9a3e2234b71e 03:44:20 Step 9/23 : RUN ${MAKE} 03:44:20 ---> Running in b1477dfb5f12 03:44:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:44:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:44:46 Removing intermediate container b1477dfb5f12 03:44:46 ---> 6e0d114ea005 03:44:46 Step 10/23 : FROM scratch 03:44:46 ---> 03:44:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:44:46 ---> Running in c4ca25a93675 03:44:47 Removing intermediate container c4ca25a93675 03:44:47 ---> 706b24a963e9 03:44:47 Step 12/23 : ENV APP_PORT=49990 03:44:47 ---> Running in 3732069010db 03:44:48 Removing intermediate container 3732069010db 03:44:48 ---> bc216f14318e 03:44:48 Step 13/23 : EXPOSE $APP_PORT 03:44:48 ---> Running in c1a87214e0a8 03:44:48 Removing intermediate container c1a87214e0a8 03:44:48 ---> 921023a92136 03:44:48 Step 14/23 : WORKDIR / 03:44:48 ---> Running in 28f766f97ea8 03:44:48 Removing intermediate container 28f766f97ea8 03:44:48 ---> 737d71067420 03:44:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:44:50 ---> a103c21a1a8d 03:44:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:44:50 ---> a4c5664fe724 03:44:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:44:51 ---> efc33a84df13 03:44:51 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:44:52 ---> 2b3a75008b16 03:44:52 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:44:53 ---> 8b55fbbf47c0 03:44:53 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:53 ---> Running in 82b6d10da11f 03:44:53 Removing intermediate container 82b6d10da11f 03:44:53 ---> 21aa66564b87 03:44:53 Step 21/23 : LABEL arch=arm64 03:44:53 ---> Running in 485a0ab9a162 03:44:53 Removing intermediate container 485a0ab9a162 03:44:53 ---> f818895ebf77 03:44:53 Step 22/23 : LABEL git_sha=f0d03bfb6530324afd54d83f0a15ae6fd4719453 03:44:54 ---> Running in 928acffb5c40 03:44:54 Removing intermediate container 928acffb5c40 03:44:54 ---> ccef60b8b5a1 03:44:54 Step 23/23 : LABEL version=0.0.0 03:44:54 ---> Running in a6a1689c89ec 03:44:55 Removing intermediate container a6a1689c89ec 03:44:55 ---> 757a60f99c70 03:44:55 [Warning] One or more build-args [ARCH] were not consumed 03:44:55 Successfully built 757a60f99c70 03:44:55 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 03:44:56 provisioning config files... 03:44:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/xfoundry_device-sdk-go_issue-535@tmp/config5483129684365603341tmp [Pipeline] { [Pipeline] sh 03:44:56 + bash -s - -t @/w/workspace/xfoundry_device-sdk-go_issue-535@tmp/config5483129684365603341tmp 03:44:56 + curl -s https://codecov.io/bash 03:44:57 03:44:57 _____ _ 03:44:57 / ____| | | 03:44:57 | | ___ __| | ___ ___ _____ __ 03:44:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:57 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:57 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:57 Bash-20200602-f809a24 03:44:57 03:44:57 03:44:57 ==> Jenkins CI detected. 03:44:57 project root: . 03:44:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:57 ==> Running gcov in . (disable via -X gcov) 03:44:57 ==> Python coveragepy not found 03:44:57 ==> Searching for coverage reports in: 03:44:57 + . 03:44:57 -> Found 1 reports 03:44:57 ==> Detecting git/mercurial file structure 03:44:57 ==> Reading reports 03:44:57 + ./coverage.out bytes=110877 03:44:57 ==> Appending adjustments 03:44:57 https://docs.codecov.io/docs/fixing-reports 03:44:57 + Found adjustments 03:44:57 ==> Gzipping contents 03:44:57 ==> Uploading reports 03:44:57 url: https://codecov.io 03:44:57 query: branch=issue-535&commit=f0d03bfb6530324afd54d83f0a15ae6fd4719453&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fissue-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 03:44:57 -> Pinging Codecov 03:44:57 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=issue-535&commit=f0d03bfb6530324afd54d83f0a15ae6fd4719453&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fissue-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= 03:44:58 -> Uploading 03:44:58 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f0d03bfb6530324afd54d83f0a15ae6fd4719453 [Pipeline] } 03:44:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:45:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:45:00 ---> package-listing.sh 03:45:00 ++ facter osfamily 03:45:00 ++ tr '[:upper:]' '[:lower:]' 03:45:00 + OS_FAMILY=redhat 03:45:00 + workspace=/w/workspace/xfoundry_device-sdk-go_issue-535 03:45:00 + START_PACKAGES=/tmp/packages_start.txt 03:45:00 + END_PACKAGES=/tmp/packages_end.txt 03:45:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:45:00 + PACKAGES=/tmp/packages_start.txt 03:45:00 + '[' /w/workspace/xfoundry_device-sdk-go_issue-535 ']' 03:45:00 + PACKAGES=/tmp/packages_end.txt 03:45:00 + case "${OS_FAMILY}" in 03:45:00 + rpm -qa 03:45:00 + sort 03:45:04 + '[' -f /tmp/packages_start.txt ']' 03:45:04 + '[' -f /tmp/packages_end.txt ']' 03:45:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:45:04 + '[' /w/workspace/xfoundry_device-sdk-go_issue-535 ']' 03:45:04 + mkdir -p /w/workspace/xfoundry_device-sdk-go_issue-535/archives/ 03:45:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-sdk-go_issue-535/archives/ [Pipeline] isUnix [Pipeline] sh 03:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:45:05 03:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:45:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:45:05 alpine: Pulling from edgex-lftools-log-publisher 03:45:05 c9b1b535fdd9: Pulling fs layer 03:45:05 2cc5ad85d9ab: Pulling fs layer 03:45:05 756a868c4378: Pulling fs layer 03:45:05 444b2fc9a129: Pulling fs layer 03:45:05 ea15f1150254: Pulling fs layer 03:45:05 41b27a9f41bf: Pulling fs layer 03:45:05 28c525ee5125: Pulling fs layer 03:45:05 094b1ea09ed8: Pulling fs layer 03:45:05 138eaada9080: Pulling fs layer 03:45:05 0622d0fa9048: Pulling fs layer 03:45:05 28c525ee5125: Waiting 03:45:05 094b1ea09ed8: Waiting 03:45:05 444b2fc9a129: Waiting 03:45:05 ea15f1150254: Waiting 03:45:05 138eaada9080: Waiting 03:45:05 41b27a9f41bf: Waiting 03:45:05 2cc5ad85d9ab: Verifying Checksum 03:45:05 2cc5ad85d9ab: Download complete 03:45:05 444b2fc9a129: Verifying Checksum 03:45:05 444b2fc9a129: Download complete 03:45:05 c9b1b535fdd9: Download complete 03:45:05 ea15f1150254: Verifying Checksum 03:45:05 ea15f1150254: Download complete 03:45:06 28c525ee5125: Verifying Checksum 03:45:06 28c525ee5125: Download complete 03:45:06 756a868c4378: Download complete 03:45:06 c9b1b535fdd9: Pull complete 03:45:06 138eaada9080: Verifying Checksum 03:45:06 138eaada9080: Download complete 03:45:06 0622d0fa9048: Verifying Checksum 03:45:06 0622d0fa9048: Download complete 03:45:06 094b1ea09ed8: Verifying Checksum 03:45:06 094b1ea09ed8: Download complete 03:45:06 2cc5ad85d9ab: Pull complete 03:45:06 41b27a9f41bf: Verifying Checksum 03:45:06 41b27a9f41bf: Download complete 03:45:08 756a868c4378: Pull complete 03:45:08 444b2fc9a129: Pull complete 03:45:08 ea15f1150254: Pull complete 03:45:12 41b27a9f41bf: Pull complete 03:45:12 28c525ee5125: Pull complete 03:45:15 094b1ea09ed8: Pull complete 03:45:15 138eaada9080: Pull complete 03:45:15 0622d0fa9048: Pull complete 03:45:15 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:45:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:45:16 prd-centos7-docker-4c-2g-2527 does not seem to be running inside a container 03:45:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-sdk-go_issue-535 -v /w/workspace/xfoundry_device-sdk-go_issue-535:/w/workspace/xfoundry_device-sdk-go_issue-535:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-535@tmp:/w/workspace/xfoundry_device-sdk-go_issue-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:45:18 $ docker top fc34ce453f810c369e4ad7c243df2b22484009c92c6683ef4d15404ef37964e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:18 provisioning config files... 03:45:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-sdk-go_issue-535@tmp/config6050130996280377679tmp [Pipeline] { [Pipeline] echo 03:45:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:45:19 ---> create-netrc.sh [Pipeline] echo 03:45:19 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:45:19 ---> logs-deploy.sh 03:45:19 + ARCHIVE_ARTIFACTS= 03:45:19 + LOGS_SERVER=https://logs.edgexfoundry.org 03:45:19 + '[' https://logs.edgexfoundry.org == None ']' 03:45:19 + NEXUS_URL=https://nexus.edgexfoundry.org 03:45:19 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-535/1 03:45:19 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-535/1/ 03:45:19 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-535/1 /w/workspace/xfoundry_device-sdk-go_issue-535 03:45:20 Archives upload complete. 03:45:20 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-535/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-535/1/