Pull request #432 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than db73cdc8dbf3122ad9408efcb2564a6f5d15645a Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1660’ is offline Running on prd-centos7-docker-4c-2g-1671 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [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_PR-432 # 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/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db73cdc8dbf3122ad9408efcb2564a6f5d15645a Merge succeeded, producing db73cdc8dbf3122ad9408efcb2564a6f5d15645a Checking out Revision db73cdc8dbf3122ad9408efcb2564a6f5d15645a (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # 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/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:46:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 01:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:46:55 01:46:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:46:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:46:55 latest: Pulling from edgex-devops/git-semver 01:46:55 9123ac7c32f7: Pulling fs layer 01:46:55 b8cc5d1170e3: Pulling fs layer 01:46:55 2924cbbf6a41: Pulling fs layer 01:46:55 93b08a4f1073: Pulling fs layer 01:46:55 93b08a4f1073: Waiting 01:46:55 b8cc5d1170e3: Download complete 01:46:55 9123ac7c32f7: Verifying Checksum 01:46:55 9123ac7c32f7: Download complete 01:46:55 93b08a4f1073: Verifying Checksum 01:46:55 93b08a4f1073: Download complete 01:46:55 2924cbbf6a41: Verifying Checksum 01:46:55 2924cbbf6a41: Download complete 01:46:55 9123ac7c32f7: Pull complete 01:46:56 b8cc5d1170e3: Pull complete 01:46:56 2924cbbf6a41: Pull complete 01:46:57 93b08a4f1073: Pull complete 01:46:57 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 01:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:46:57 prd-centos7-docker-4c-2g-1671 does not seem to be running inside a container 01:46:57 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:46:57 $ docker top 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:57 [ssh-agent] Looking for ssh-agent implementation... 01:46:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:58 $ docker exec 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf ssh-agent 01:46:58 SSH_AUTH_SOCK=/tmp/ssh-o4y35dNmvyXk/agent.15 01:46:58 SSH_AGENT_PID=22 01:46:58 Running ssh-add (command line suppressed) 01:46:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_8403565448378739747.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_8403565448378739747.key) 01:46:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:58 + git describe --exact-match --tags HEAD 01:46:58 fatal: No names found, cannot describe anything. [Pipeline] } 01:46:58 $ docker exec --env ******** --env ******** 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf ssh-agent -k 01:46:59 unset SSH_AUTH_SOCK; 01:46:59 unset SSH_AGENT_PID; 01:46:59 echo Agent pid 22 killed; 01:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:46:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:46:59 This usually means this commit has not been tagged. [Pipeline] sshagent 01:46:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:59 [ssh-agent] Looking for ssh-agent implementation... 01:46:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:59 $ docker exec 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf ssh-agent 01:46:59 SSH_AUTH_SOCK=/tmp/ssh-ka2BAYE5R1z0/agent.58 01:46:59 SSH_AGENT_PID=65 01:46:59 Running ssh-add (command line suppressed) 01:46:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3929453885918814716.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3929453885918814716.key) 01:46:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:00 + git semver init 01:47:00 # -> Open(): unable to determine branch for HEAD 01:47:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 01:47:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 01:47:00 # $SEMVER_REMOTE_NAME = origin 01:47:00 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 01:47:00 # $SEMVER_USER_NAME = jenkins 01:47:00 # $SEMVER_BRANCH = PR-432 01:47:00 # $SEMVER_TEMP = /tmp/semver-211692290 01:47:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:47:00 # '/tmp/semver-211692290' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 01:47:00 # -> Force: false 01:47:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 01:47:00 $ docker exec --env ******** --env ******** 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf ssh-agent -k 01:47:00 unset SSH_AUTH_SOCK; 01:47:00 unset SSH_AGENT_PID; 01:47:00 echo Agent pid 65 killed; 01:47:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:01 + git semver [Pipeline] } 01:47:01 $ docker stop --time=1 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf 01:47:02 $ docker rm -f 8778b41a903a0321f912546f2b791a8114b351065a3cd12b15f69d5a6ddcaedf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:47:03 Stashed 35 file(s) [Pipeline] echo 01:47:03 [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 01:47:18 Still waiting to schedule task 01:47:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:47:18 Still waiting to schedule task 01:47:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:49:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1672 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 01:49:18 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 01:49:23 using credential edgex-jenkins-ssh 01:49:23 Cloning the remote Git repository 01:49:23 Cloning with configured refspecs honoured and without tags 01:49:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:49:23 > git init /w/workspace/device-sdk-go/10 # timeout=10 01:49:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:49:23 > git --version # timeout=10 01:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:49:25 Fetching without tags 01:49:25 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:49:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:49:25 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 01:49:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:49:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:49:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:49:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:49:25 > git config core.sparsecheckout # timeout=10 01:49:25 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 01:49:25 > git remote # timeout=10 01:49:25 Merge succeeded, producing db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:49:25 Checking out Revision db73cdc8dbf3122ad9408efcb2564a6f5d15645a (PR-432) 01:49:25 > git config --get remote.origin.url # timeout=10 01:49:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:25 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 01:49:25 > git rev-parse HEAD^{commit} # timeout=10 01:49:25 > git config core.sparsecheckout # timeout=10 01:49:25 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 01:49:30 Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:49:32 ========================================================= 01:49:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:49:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:49:33 + 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 . 01:49:34 Sending build context to Docker daemon 2.769MB 01:49:34 Step 1/8 : ARG BASE=golang:1.13-alpine 01:49:34 Step 2/8 : FROM ${BASE} 01:49:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:49:34 cde5963f3b93: Pulling fs layer 01:49:34 2a23fa8c16f7: Pulling fs layer 01:49:34 777b28850792: Pulling fs layer 01:49:34 8a11ddd9e578: Pulling fs layer 01:49:34 4cf88f913ddb: Pulling fs layer 01:49:34 1df406cf5192: Pulling fs layer 01:49:34 cd6300453558: Pulling fs layer 01:49:34 b9c365052c96: Pulling fs layer 01:49:34 a2d8cc88f415: Pulling fs layer 01:49:34 ea1d1ca13537: Pulling fs layer 01:49:34 3750a50a1c5e: Pulling fs layer 01:49:34 8a11ddd9e578: Waiting 01:49:34 4cf88f913ddb: Waiting 01:49:34 1df406cf5192: Waiting 01:49:34 cd6300453558: Waiting 01:49:34 b9c365052c96: Waiting 01:49:34 a2d8cc88f415: Waiting 01:49:34 ea1d1ca13537: Waiting 01:49:34 3750a50a1c5e: Waiting 01:49:34 777b28850792: Verifying Checksum 01:49:34 777b28850792: Download complete 01:49:34 2a23fa8c16f7: Download complete 01:49:34 4cf88f913ddb: Verifying Checksum 01:49:34 4cf88f913ddb: Download complete 01:49:34 1df406cf5192: Download complete 01:49:34 cde5963f3b93: Download complete 01:49:35 cde5963f3b93: Pull complete 01:49:36 2a23fa8c16f7: Pull complete 01:49:36 777b28850792: Pull complete 01:49:39 cd6300453558: Verifying Checksum 01:49:39 cd6300453558: Download complete 01:49:39 a2d8cc88f415: Verifying Checksum 01:49:39 a2d8cc88f415: Download complete 01:49:41 ea1d1ca13537: Verifying Checksum 01:49:41 ea1d1ca13537: Download complete 01:49:41 3750a50a1c5e: Download complete 01:49:44 b9c365052c96: Verifying Checksum 01:49:44 b9c365052c96: Download complete 01:49:46 8a11ddd9e578: Verifying Checksum 01:49:46 8a11ddd9e578: Download complete 01:49:58 8a11ddd9e578: Pull complete 01:49:58 4cf88f913ddb: Pull complete 01:49:58 1df406cf5192: Pull complete 01:50:02 cd6300453558: Pull complete 01:50:02 Running on prd-centos7-docker-4c-2g-1673 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 01:50:02 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 01:50:07 b9c365052c96: Pull complete 01:50:07 a2d8cc88f415: Pull complete 01:50:08 ea1d1ca13537: Pull complete 01:50:09 using credential edgex-jenkins-ssh 01:50:09 Cloning the remote Git repository 01:50:09 Cloning with configured refspecs honoured and without tags 01:50:09 3750a50a1c5e: Pull complete 01:50:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 01:50:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:50:09 ---> 78745c68409d 01:50:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:50:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:50:09 > git init /w/workspace/device-sdk-go/10 # timeout=10 01:50:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:50:09 > git --version # timeout=10 01:50:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:50:10 Fetching without tags 01:50:10 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:50:11 Merge succeeded, producing db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:50:11 Checking out Revision db73cdc8dbf3122ad9408efcb2564a6f5d15645a (PR-432) 01:50:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:50:10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 01:50:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:50:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:50:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:50:11 > git config core.sparsecheckout # timeout=10 01:50:11 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 01:50:11 > git remote # timeout=10 01:50:11 > git config --get remote.origin.url # timeout=10 01:50:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:11 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 01:50:11 > git rev-parse HEAD^{commit} # timeout=10 01:50:11 > git config core.sparsecheckout # timeout=10 01:50:11 > git checkout -f db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 01:50:14 ---> Running in c0aa497f8437 01:50:14 Removing intermediate container c0aa497f8437 01:50:14 ---> 693bec7b92b8 01:50:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:14 ---> Running in 247499a29ed4 01:50:15 Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:50:16 ========================================================= 01:50:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:50:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:50:17 Removing intermediate container 247499a29ed4 01:50:17 ---> 27a9f8730498 01:50:17 Step 5/8 : RUN apk add --no-cache make git 01:50:17 ---> Running in 491456f99a13 01:50:17 + 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 . 01:50:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:50:18 Sending build context to Docker daemon 2.766MB 01:50:18 Step 1/8 : ARG BASE=golang:1.13-alpine 01:50:18 Step 2/8 : FROM ${BASE} 01:50:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:50:18 e6b0cf9c0882: Pulling fs layer 01:50:18 2848faf0eed1: Pulling fs layer 01:50:18 0f37312ad70f: Pulling fs layer 01:50:18 5788d62ee057: Pulling fs layer 01:50:18 0e6b1d234666: Pulling fs layer 01:50:18 bf5d7aec512f: Pulling fs layer 01:50:18 34c802a77dc8: Pulling fs layer 01:50:18 5788d62ee057: Waiting 01:50:18 9eb99e56ec68: Pulling fs layer 01:50:18 0e6b1d234666: Waiting 01:50:18 27c7a5d97fbd: Pulling fs layer 01:50:18 5c102a31e300: Pulling fs layer 01:50:18 dcfb455df0a1: Pulling fs layer 01:50:18 bf5d7aec512f: Waiting 01:50:18 34c802a77dc8: Waiting 01:50:18 27c7a5d97fbd: Waiting 01:50:18 5c102a31e300: Waiting 01:50:18 dcfb455df0a1: Waiting 01:50:18 0f37312ad70f: Verifying Checksum 01:50:18 0f37312ad70f: Download complete 01:50:18 2848faf0eed1: Verifying Checksum 01:50:18 2848faf0eed1: Download complete 01:50:18 0e6b1d234666: Verifying Checksum 01:50:18 0e6b1d234666: Download complete 01:50:18 bf5d7aec512f: Verifying Checksum 01:50:18 bf5d7aec512f: Download complete 01:50:18 e6b0cf9c0882: Verifying Checksum 01:50:18 e6b0cf9c0882: Download complete 01:50:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:50:19 OK: 125 MiB in 39 packages 01:50:19 e6b0cf9c0882: Pull complete 01:50:19 2848faf0eed1: Pull complete 01:50:19 0f37312ad70f: Pull complete 01:50:21 Removing intermediate container 491456f99a13 01:50:21 ---> bac1cd803a4b 01:50:21 Step 6/8 : WORKDIR /device-sdk-go 01:50:21 ---> Running in bef745dd7d21 01:50:21 Removing intermediate container bef745dd7d21 01:50:21 ---> ad13dc49fbd0 01:50:21 Step 7/8 : COPY . . 01:50:22 ---> 245210eb249b 01:50:22 Step 8/8 : RUN go mod download 01:50:22 ---> Running in 8f0aed9092a0 01:50:22 34c802a77dc8: Verifying Checksum 01:50:22 34c802a77dc8: Download complete 01:50:22 27c7a5d97fbd: Verifying Checksum 01:50:22 27c7a5d97fbd: Download complete 01:50:22 5788d62ee057: Verifying Checksum 01:50:22 5788d62ee057: Download complete 01:50:23 dcfb455df0a1: Verifying Checksum 01:50:23 dcfb455df0a1: Download complete 01:50:23 5c102a31e300: Verifying Checksum 01:50:23 5c102a31e300: Download complete 01:50:24 9eb99e56ec68: Verifying Checksum 01:50:24 9eb99e56ec68: Download complete 01:50:25 go: finding github.com/BurntSushi/toml v0.3.1 01:50:25 go: finding github.com/OneOfOne/xxhash v1.2.6 01:50:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:50:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:50:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:50:25 go: finding github.com/bgentry/speakeasy v0.1.0 01:50:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:50:25 go: finding github.com/davecgh/go-spew v1.1.1 01:50:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 01:50:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:50:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 01:50:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 01:50:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:50:25 go: finding github.com/fatih/color v1.7.0 01:50:25 go: finding github.com/go-kit/kit v0.8.0 01:50:26 go: finding github.com/go-logfmt/logfmt v0.4.0 01:50:26 go: finding github.com/go-stack/stack v1.8.0 01:50:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:50:26 go: finding github.com/google/uuid v1.1.0 01:50:26 go: finding github.com/gorilla/mux v1.7.1 01:50:26 go: finding github.com/hashicorp/consul/api v1.1.0 01:50:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:50:26 go: finding github.com/hashicorp/errwrap v1.0.0 01:50:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:50:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:50:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:50:26 go: finding github.com/hashicorp/go-multierror v1.0.0 01:50:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:50:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:50:26 go: finding github.com/hashicorp/go-syslog v1.0.0 01:50:26 go: finding github.com/hashicorp/go-uuid v1.0.1 01:50:26 go: finding github.com/hashicorp/go.net v0.0.1 01:50:26 go: finding github.com/hashicorp/golang-lru v0.5.0 01:50:26 go: finding github.com/hashicorp/logutils v1.0.0 01:50:26 go: finding github.com/hashicorp/mdns v1.0.0 01:50:26 go: finding github.com/hashicorp/memberlist v0.1.3 01:50:26 go: finding github.com/hashicorp/serf v0.8.2 01:50:26 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:50:26 go: finding github.com/mattn/go-colorable v0.0.9 01:50:26 go: finding github.com/mattn/go-isatty v0.0.3 01:50:26 go: finding github.com/miekg/dns v1.0.14 01:50:26 go: finding github.com/mitchellh/cli v1.0.0 01:50:26 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:50:26 go: finding github.com/mitchellh/copystructure v1.0.0 01:50:26 go: finding github.com/mitchellh/go-homedir v1.0.0 01:50:26 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:50:26 go: finding github.com/mitchellh/gox v0.4.0 01:50:26 go: finding github.com/mitchellh/iochan v1.0.0 01:50:26 go: finding github.com/mitchellh/mapstructure v1.1.2 01:50:26 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:50:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:50:27 go: finding github.com/pelletier/go-toml v1.2.0 01:50:27 go: finding github.com/pkg/errors v0.8.1 01:50:27 go: finding github.com/pmezard/go-difflib v1.0.0 01:50:27 go: finding github.com/posener/complete v1.1.1 01:50:27 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:50:27 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:50:27 go: finding github.com/stretchr/objx v0.1.0 01:50:27 go: finding github.com/stretchr/testify v1.5.1 01:50:27 go: finding github.com/ugorji/go v1.1.4 01:50:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:50:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:50:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:50:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:50:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:50:27 go: finding gopkg.in/yaml.v2 v2.2.8 01:50:34 5788d62ee057: Pull complete 01:50:34 0e6b1d234666: Pull complete 01:50:34 bf5d7aec512f: Pull complete 01:50:35 Removing intermediate container 8f0aed9092a0 01:50:35 ---> 1e8ec8608040 01:50:35 Successfully built 1e8ec8608040 01:50:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:50:36 + docker inspect -f . ci-base-image-arm64 01:50:36 . [Pipeline] withDockerContainer 01:50:36 prd-ubuntu18.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container 01:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:38 $ docker top 9128e8f818f7d2d679e0a418bf7b0d6bb4eb5ee50cd8ca38cc9a0bf0a531d3f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:39 + go version 01:50:39 go version go1.13.5 linux/arm64 [Pipeline] sh 01:50:39 34c802a77dc8: Pull complete 01:50:40 + make test 01:50:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:50:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:50:44 9eb99e56ec68: Pull complete 01:50:44 27c7a5d97fbd: Pull complete 01:50:45 5c102a31e300: Pull complete 01:50:45 dcfb455df0a1: Pull complete 01:50:45 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 01:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:50:45 ---> 7c70fe431013 01:50:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:50:45 ---> Running in 631f8c649064 01:50:45 Removing intermediate container 631f8c649064 01:50:45 ---> 2cf71b92f738 01:50:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:45 ---> Running in 5c07577eca44 01:50:47 Removing intermediate container 5c07577eca44 01:50:47 ---> 4da7515c7094 01:50:47 Step 5/8 : RUN apk add --no-cache make git 01:50:47 ---> Running in 798eb6e32983 01:50:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:50:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:50:49 OK: 143 MiB in 39 packages 01:50:50 Removing intermediate container 798eb6e32983 01:50:50 ---> 3dcc09c01f67 01:50:50 Step 6/8 : WORKDIR /device-sdk-go 01:50:50 ---> Running in b5df274682d7 01:50:50 Removing intermediate container b5df274682d7 01:50:50 ---> f66dda76dcfc 01:50:50 Step 7/8 : COPY . . 01:50:51 ---> a1af61a139fc 01:50:51 Step 8/8 : RUN go mod download 01:50:51 ---> Running in 4f5b5f1af39b 01:50:55 go: finding github.com/BurntSushi/toml v0.3.1 01:50:55 go: finding github.com/OneOfOne/xxhash v1.2.6 01:50:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:50:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:50:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:50:55 go: finding github.com/bgentry/speakeasy v0.1.0 01:50:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:50:55 go: finding github.com/davecgh/go-spew v1.1.1 01:50:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 01:50:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:50:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 01:50:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 01:50:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:50:55 go: finding github.com/fatih/color v1.7.0 01:50:55 go: finding github.com/go-kit/kit v0.8.0 01:50:55 go: finding github.com/go-logfmt/logfmt v0.4.0 01:50:55 go: finding github.com/go-stack/stack v1.8.0 01:50:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:50:55 go: finding github.com/google/uuid v1.1.0 01:50:55 go: finding github.com/gorilla/mux v1.7.1 01:50:55 go: finding github.com/hashicorp/consul/api v1.1.0 01:50:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:50:55 go: finding github.com/hashicorp/errwrap v1.0.0 01:50:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:50:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:50:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:50:55 go: finding github.com/hashicorp/go-multierror v1.0.0 01:50:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:50:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:50:55 go: finding github.com/hashicorp/go-syslog v1.0.0 01:50:55 go: finding github.com/hashicorp/go-uuid v1.0.1 01:50:55 go: finding github.com/hashicorp/go.net v0.0.1 01:50:55 go: finding github.com/hashicorp/golang-lru v0.5.0 01:50:55 go: finding github.com/hashicorp/logutils v1.0.0 01:50:55 go: finding github.com/hashicorp/mdns v1.0.0 01:50:56 go: finding github.com/hashicorp/memberlist v0.1.3 01:50:56 go: finding github.com/hashicorp/serf v0.8.2 01:50:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:50:56 go: finding github.com/mattn/go-colorable v0.0.9 01:50:56 go: finding github.com/mattn/go-isatty v0.0.3 01:50:56 go: finding github.com/miekg/dns v1.0.14 01:50:56 go: finding github.com/mitchellh/cli v1.0.0 01:50:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:50:56 go: finding github.com/mitchellh/copystructure v1.0.0 01:50:56 go: finding github.com/mitchellh/go-homedir v1.0.0 01:50:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:50:56 go: finding github.com/mitchellh/gox v0.4.0 01:50:56 go: finding github.com/mitchellh/iochan v1.0.0 01:50:56 go: finding github.com/mitchellh/mapstructure v1.1.2 01:50:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:50:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:50:56 go: finding github.com/pelletier/go-toml v1.2.0 01:50:56 go: finding github.com/pkg/errors v0.8.1 01:50:56 go: finding github.com/pmezard/go-difflib v1.0.0 01:50:56 go: finding github.com/posener/complete v1.1.1 01:50:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:50:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:50:56 go: finding github.com/stretchr/objx v0.1.0 01:50:56 go: finding github.com/stretchr/testify v1.5.1 01:50:56 go: finding github.com/ugorji/go v1.1.4 01:50:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:50:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:50:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:50:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:50:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:50:57 go: finding gopkg.in/yaml.v2 v2.2.8 01:51:01 Removing intermediate container 4f5b5f1af39b 01:51:01 ---> a154e89bd8a2 01:51:01 Successfully built a154e89bd8a2 01:51:01 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 01:51:02 + docker inspect -f . ci-base-image-x86_64 01:51:02 . [Pipeline] withDockerContainer 01:51:03 prd-centos7-docker-4c-2g-1673 does not seem to be running inside a container 01:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:51:04 $ docker top fc571314fa0bf9df79f1e867948bac482d181778011725dc95c9f4dcab599c70 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:05 + go version 01:51:05 go version go1.13.5 linux/amd64 [Pipeline] sh 01:51:06 + make test 01:51:06 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:51:07 ? github.com/edgexfoundry/device-sdk-go [no test files] 01:51:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:51:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:51:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.6% of statements 01:51:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.236s coverage: 95.8% of statements 01:51:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.048s coverage: 7.9% of statements 01:51:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.090s coverage: 22.1% of statements 01:51:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:51:25 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.216s coverage: 38.5% of statements 01:51:25 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:51:25 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 01:51:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 79.9% of statements 01:51:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:51:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:51:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:51:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.053s coverage: 52.6% of statements 01:51:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.340s coverage: 76.1% of statements 01:51:29 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:51:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:51:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:51:38 gofmt -l . 01:51:38 [ "`gofmt -l .`" = "" ] 01:51:38 ./bin/test-attribution-txt.sh 01:51:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:51:40 Stashed 1 file(s) [Pipeline] } 01:51:40 $ docker stop --time=1 9128e8f818f7d2d679e0a418bf7b0d6bb4eb5ee50cd8ca38cc9a0bf0a531d3f0 01:51:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 01:51:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 01:51:42 $ docker rm -f 9128e8f818f7d2d679e0a418bf7b0d6bb4eb5ee50cd8ca38cc9a0bf0a531d3f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:51:44 + ls -al . 01:51:44 total 200 01:51:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 01:51 . 01:51:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:49 .. 01:51:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 01:49 .dockerignore 01:51:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:49 .git 01:51:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:49 .github 01:51:44 -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 01:49 .gitignore 01:51:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:49 .semver 01:51:44 -rw-rw-r-- 1 jenkins jenkins 936 Apr 1 01:49 Dockerfile.build 01:51:44 -rw-rw-r-- 1 jenkins jenkins 808 Apr 1 01:49 Jenkinsfile 01:51:44 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 01:49 LICENSE 01:51:44 -rw-rw-r-- 1 jenkins jenkins 892 Apr 1 01:49 Makefile 01:51:44 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 1 01:49 README.md 01:51:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 01:47 VERSION 01:51:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:49 api 01:51:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:49 bin 01:51:44 -rw-r--r-- 1 jenkins jenkins 94825 Apr 1 01:51 coverage.out 01:51:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:49 example 01:51:44 -rw-r--r-- 1 jenkins jenkins 438 Apr 1 01:51 go.mod 01:51:44 -rw-r--r-- 1 jenkins jenkins 11812 Apr 1 01:51 go.sum 01:51:44 drwxrwxr-x 13 jenkins jenkins 4096 Apr 1 01:49 internal 01:51:44 drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 01:49 pkg 01:51:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:49 snap 01:51:44 -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 01:49 version.go [Pipeline] isUnix [Pipeline] sh 01:51:44 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 22.6% of statements 01:51:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.065s coverage: 95.8% of statements 01:51:44 + 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=db73cdc8dbf3122ad9408efcb2564a6f5d15645a --label arch=arm64 --label version=0.0.0 . 01:51:45 Sending build context to Docker daemon 2.886MB 01:51:45 Step 1/20 : ARG BASE=golang:1.13-alpine 01:51:45 Step 2/20 : FROM ${BASE} AS builder 01:51:45 ---> 1e8ec8608040 01:51:45 Step 3/20 : ARG MAKE='make build' 01:51:45 ---> Running in faa39b286071 01:51:45 Removing intermediate container faa39b286071 01:51:45 ---> 2e6f9f781800 01:51:45 Step 4/20 : WORKDIR /device-sdk-go 01:51:45 ---> Running in 5de22e2af5ec 01:51:46 Removing intermediate container 5de22e2af5ec 01:51:46 ---> e2baf3372674 01:51:46 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:51:46 ---> Running in 1e4070154597 01:51:46 Removing intermediate container 1e4070154597 01:51:46 ---> 1a2c0f95d013 01:51:46 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:47 ---> Running in eee3321a5131 01:51:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.627s coverage: 7.9% of statements 01:51:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 22.1% of statements 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 01:51:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.473s coverage: 38.5% of statements 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 01:51:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.329s coverage: 79.9% of statements 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 01:51:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 01:51:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 01:51:48 Removing intermediate container eee3321a5131 01:51:48 ---> 2a7656309989 01:51:48 Step 7/20 : RUN apk add --update --no-cache make git 01:51:48 ---> Running in 8aedc33007fe 01:51:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.134s coverage: 76.1% of statements 01:51:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 01:51:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 01:51:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:51:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:51:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:51:52 OK: 125 MiB in 39 packages 01:51:53 Removing intermediate container 8aedc33007fe 01:51:53 ---> 64442569f421 01:51:53 Step 8/20 : COPY . . 01:51:54 gofmt -l . 01:51:54 [ "`gofmt -l .`" = "" ] 01:51:54 ./bin/test-attribution-txt.sh 01:51:54 ---> 002413866edc 01:51:54 Step 9/20 : RUN ${MAKE} 01:51:54 ---> Running in 825d04dc9428 01:51:55 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 01:51:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:51:55 Warning: overwriting stash ‘coverage-report’ 01:51:56 Stashed 1 file(s) [Pipeline] } 01:51:56 $ docker stop --time=1 fc571314fa0bf9df79f1e867948bac482d181778011725dc95c9f4dcab599c70 01:51:58 $ docker rm -f fc571314fa0bf9df79f1e867948bac482d181778011725dc95c9f4dcab599c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:00 + ls -al . 01:52:00 total 160 01:52:00 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 1 01:51 . 01:52:00 drwxrwxr-x. 4 jenkins jenkins 30 Apr 1 01:50 .. 01:52:00 drwxrwxr-x. 3 jenkins jenkins 20 Apr 1 01:50 api 01:52:00 drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 01:50 bin 01:52:00 -rw-r--r--. 1 jenkins jenkins 94825 Apr 1 01:51 coverage.out 01:52:00 -rw-rw-r--. 1 jenkins jenkins 936 Apr 1 01:50 Dockerfile.build 01:52:00 -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 01:50 .dockerignore 01:52:00 drwxrwxr-x. 4 jenkins jenkins 31 Apr 1 01:50 example 01:52:00 drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 01:50 .git 01:52:00 drwxrwxr-x. 2 jenkins jenkins 38 Apr 1 01:50 .github 01:52:00 -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 01:50 .gitignore 01:52:00 -rw-r--r--. 1 jenkins jenkins 438 Apr 1 01:51 go.mod 01:52:00 -rw-r--r--. 1 jenkins jenkins 11812 Apr 1 01:51 go.sum 01:52:00 drwxrwxr-x. 13 jenkins jenkins 179 Apr 1 01:50 internal 01:52:00 -rw-rw-r--. 1 jenkins jenkins 808 Apr 1 01:50 Jenkinsfile 01:52:00 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 01:50 LICENSE 01:52:00 -rw-rw-r--. 1 jenkins jenkins 892 Apr 1 01:50 Makefile 01:52:00 drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 01:50 pkg 01:52:00 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 1 01:50 README.md 01:52:00 drwxrwxr-x. 3 jenkins jenkins 58 Apr 1 01:50 .semver 01:52:00 drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 01:50 snap 01:52:00 -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 01:47 VERSION 01:52:00 -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 01:50 version.go [Pipeline] isUnix [Pipeline] sh 01:52:00 + 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=db73cdc8dbf3122ad9408efcb2564a6f5d15645a --label arch=amd64 --label version=0.0.0 . 01:52:00 Sending build context to Docker daemon 2.883MB 01:52:00 Step 1/20 : ARG BASE=golang:1.13-alpine 01:52:00 Step 2/20 : FROM ${BASE} AS builder 01:52:00 ---> a154e89bd8a2 01:52:00 Step 3/20 : ARG MAKE='make build' 01:52:00 ---> Running in 472fb2575868 01:52:01 Removing intermediate container 472fb2575868 01:52:01 ---> 653a4ea489a1 01:52:01 Step 4/20 : WORKDIR /device-sdk-go 01:52:01 ---> Running in 6d875afb0667 01:52:01 Removing intermediate container 6d875afb0667 01:52:01 ---> 73ac83746e6a 01:52:01 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:01 ---> Running in d7a97bf71e4f 01:52:01 Removing intermediate container d7a97bf71e4f 01:52:01 ---> f4c9e1042801 01:52:01 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:01 ---> Running in 9f05bcb4020e 01:52:02 Removing intermediate container 9f05bcb4020e 01:52:02 ---> 7ee63e752e4e 01:52:02 Step 7/20 : RUN apk add --update --no-cache make git 01:52:02 ---> Running in b464aa5ab911 01:52:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:52:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:52:07 OK: 143 MiB in 39 packages 01:52:07 Removing intermediate container b464aa5ab911 01:52:07 ---> 3ccd7465176a 01:52:07 Step 8/20 : COPY . . 01:52:08 ---> 35d87b3b3e65 01:52:08 Step 9/20 : RUN ${MAKE} 01:52:08 ---> Running in 89f71a9e8a0b 01:52:08 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 01:52:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:52:31 Removing intermediate container 89f71a9e8a0b 01:52:31 ---> be0e6c21e328 01:52:31 Step 10/20 : FROM scratch 01:52:31 ---> 01:52:31 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:31 ---> Running in ba2449fb283d 01:52:31 Removing intermediate container ba2449fb283d 01:52:31 ---> 8cb9dc104629 01:52:31 Step 12/20 : ENV APP_PORT=49990 01:52:31 ---> Running in 71ff21f45db5 01:52:31 Removing intermediate container 71ff21f45db5 01:52:31 ---> 62af98943db0 01:52:31 Step 13/20 : EXPOSE $APP_PORT 01:52:31 ---> Running in ee3ddfd3c74a 01:52:31 Removing intermediate container ee3ddfd3c74a 01:52:31 ---> c25ed2e14ca0 01:52:31 Step 14/20 : WORKDIR / 01:52:32 ---> Running in bb82f8fb7943 01:52:32 Removing intermediate container bb82f8fb7943 01:52:32 ---> bf538463e046 01:52:32 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:52:32 ---> ed5a61fc0048 01:52:32 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 01:52:33 ---> d742a0cc7479 01:52:33 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 01:52:33 ---> Running in 60cd07c6a032 01:52:33 Removing intermediate container 60cd07c6a032 01:52:33 ---> e71c57d83814 01:52:33 Step 18/20 : LABEL arch=amd64 01:52:33 ---> Running in 2820ab63e822 01:52:33 Removing intermediate container 2820ab63e822 01:52:33 ---> 29b25a0c83cb 01:52:33 Step 19/20 : LABEL git_sha=db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:52:33 ---> Running in eec4231ec5c1 01:52:33 Removing intermediate container eec4231ec5c1 01:52:33 ---> 6fd1c2dafe76 01:52:33 Step 20/20 : LABEL version=0.0.0 01:52:34 ---> Running in 3d6a15d5052e 01:52:34 Removing intermediate container 3d6a15d5052e 01:52:34 ---> 2a120666685d 01:52:34 [Warning] One or more build-args [ARCH] were not consumed 01:52:34 Successfully built 2a120666685d 01:52:34 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 01:52:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:52:34 Removing intermediate container 825d04dc9428 01:52:34 ---> 1786a441e5d2 01:52:34 Step 10/20 : FROM scratch 01:52:34 ---> 01:52:34 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:34 ---> Running in 10a34a7be0b1 01:52:34 Removing intermediate container 10a34a7be0b1 01:52:34 ---> 0dfd034e6501 01:52:34 Step 12/20 : ENV APP_PORT=49990 01:52:34 ---> Running in 2cb5783b027c 01:52:34 Removing intermediate container 2cb5783b027c 01:52:34 ---> 08d3f7427f57 01:52:34 Step 13/20 : EXPOSE $APP_PORT 01:52:34 ---> Running in 2f3d68cb10bf 01:52:34 Removing intermediate container 2f3d68cb10bf 01:52:34 ---> afe6b4862e59 01:52:34 Step 14/20 : WORKDIR / 01:52:34 ---> Running in 257d4e21900e 01:52:34 Removing intermediate container 257d4e21900e 01:52:34 ---> b5d278527e65 01:52:34 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:52:34 ---> 5a4de68a5b3b 01:52:34 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 01:52:34 ---> 907712a364fe 01:52:34 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 01:52:34 ---> Running in 87e3d52a219a [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 01:52:34 Removing intermediate container 87e3d52a219a 01:52:34 ---> 4638efa4d3a3 01:52:34 Step 18/20 : LABEL arch=arm64 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 01:52:34 ---> Running in 27ce4560243e [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:34 Removing intermediate container 27ce4560243e 01:52:34 ---> 7d49a49e5e82 01:52:34 Step 19/20 : LABEL git_sha=db73cdc8dbf3122ad9408efcb2564a6f5d15645a 01:52:34 ---> Running in 23fc9d0337f7 01:52:35 Removing intermediate container 23fc9d0337f7 01:52:35 ---> b89013645ff7 01:52:35 Step 20/20 : LABEL version=0.0.0 01:52:35 ---> Running in 061b4c8f37c2 01:52:35 Removing intermediate container 061b4c8f37c2 01:52:35 ---> 14fcfeea02bf 01:52:35 [Warning] One or more build-args [ARCH] were not consumed 01:52:35 Successfully built 14fcfeea02bf 01:52:35 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] } [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 01:52:36 provisioning config files... 01:52:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config7166413717045377755tmp [Pipeline] { [Pipeline] sh 01:52:37 + curl -s https://codecov.io/bash 01:52:37 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config7166413717045377755tmp 01:52:37 01:52:37 _____ _ 01:52:37 / ____| | | 01:52:37 | | ___ __| | ___ ___ _____ __ 01:52:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:52:37 | |___| (_) | (_| | __/ (_| (_) \ V / 01:52:37 \_____\___/ \__,_|\___|\___\___/ \_/ 01:52:37 Bash-tbd 01:52:37 01:52:37 01:52:37 ==> Jenkins CI detected. 01:52:37 project root: . 01:52:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:52:37 ==> Running gcov in . (disable via -X gcov) 01:52:37 ==> Python coveragepy not found 01:52:37 ==> Searching for coverage reports in: 01:52:37 + . 01:52:37 -> Found 1 reports 01:52:37 ==> Detecting git/mercurial file structure 01:52:37 ==> Reading reports 01:52:37 + ./coverage.out bytes=94825 01:52:37 ==> Appending adjustments 01:52:37 http://docs.codecov.io/docs/fixing-reports 01:52:37 + Found adjustments 01:52:37 ==> Gzipping contents 01:52:37 ==> Uploading reports 01:52:37 url: https://codecov.io 01:52:37 query: branch=PR-432&commit=db73cdc8dbf3122ad9408efcb2564a6f5d15645a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 01:52:37 -> Pinging Codecov 01:52:37 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=db73cdc8dbf3122ad9408efcb2564a6f5d15645a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 01:52:38 -> Uploading 01:52:38 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/db73cdc8dbf3122ad9408efcb2564a6f5d15645a [Pipeline] } 01:52:38 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 01:52:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:52:40 ---> package-listing.sh 01:52:40 ++ facter osfamily 01:52:40 ++ tr '[:upper:]' '[:lower:]' 01:52:40 + OS_FAMILY=redhat 01:52:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 01:52:40 + START_PACKAGES=/tmp/packages_start.txt 01:52:40 + END_PACKAGES=/tmp/packages_end.txt 01:52:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:52:40 + PACKAGES=/tmp/packages_start.txt 01:52:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 01:52:40 + PACKAGES=/tmp/packages_end.txt 01:52:40 + case "${OS_FAMILY}" in 01:52:40 + rpm -qa 01:52:40 + sort 01:52:44 + '[' -f /tmp/packages_start.txt ']' 01:52:44 + '[' -f /tmp/packages_end.txt ']' 01:52:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:52:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 01:52:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 01:52:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 01:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:52:45 01:52:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:52:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:52:45 alpine: Pulling from edgex-lftools-log-publisher 01:52:45 c9b1b535fdd9: Pulling fs layer 01:52:45 2cc5ad85d9ab: Pulling fs layer 01:52:45 756a868c4378: Pulling fs layer 01:52:45 444b2fc9a129: Pulling fs layer 01:52:45 ea15f1150254: Pulling fs layer 01:52:45 41b27a9f41bf: Pulling fs layer 01:52:45 28c525ee5125: Pulling fs layer 01:52:45 094b1ea09ed8: Pulling fs layer 01:52:45 138eaada9080: Pulling fs layer 01:52:45 0622d0fa9048: Pulling fs layer 01:52:45 41b27a9f41bf: Waiting 01:52:45 28c525ee5125: Waiting 01:52:45 094b1ea09ed8: Waiting 01:52:45 444b2fc9a129: Waiting 01:52:45 138eaada9080: Waiting 01:52:45 0622d0fa9048: Waiting 01:52:45 ea15f1150254: Waiting 01:52:45 2cc5ad85d9ab: Verifying Checksum 01:52:45 2cc5ad85d9ab: Download complete 01:52:45 444b2fc9a129: Verifying Checksum 01:52:45 444b2fc9a129: Download complete 01:52:45 c9b1b535fdd9: Verifying Checksum 01:52:45 c9b1b535fdd9: Download complete 01:52:45 ea15f1150254: Verifying Checksum 01:52:45 ea15f1150254: Download complete 01:52:45 28c525ee5125: Verifying Checksum 01:52:45 28c525ee5125: Download complete 01:52:45 c9b1b535fdd9: Pull complete 01:52:45 756a868c4378: Download complete 01:52:45 138eaada9080: Verifying Checksum 01:52:45 138eaada9080: Download complete 01:52:45 2cc5ad85d9ab: Pull complete 01:52:45 0622d0fa9048: Verifying Checksum 01:52:45 0622d0fa9048: Download complete 01:52:46 094b1ea09ed8: Verifying Checksum 01:52:46 094b1ea09ed8: Download complete 01:52:46 41b27a9f41bf: Verifying Checksum 01:52:46 41b27a9f41bf: Download complete 01:52:47 756a868c4378: Pull complete 01:52:47 444b2fc9a129: Pull complete 01:52:47 ea15f1150254: Pull complete 01:52:50 41b27a9f41bf: Pull complete 01:52:50 28c525ee5125: Pull complete 01:52:52 094b1ea09ed8: Pull complete 01:52:52 138eaada9080: Pull complete 01:52:52 0622d0fa9048: Pull complete 01:52:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 01:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:52:53 prd-centos7-docker-4c-2g-1671 does not seem to be running inside a container 01:52:53 $ 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_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:52:54 $ docker top c6e9a4b1bad9086906bc9117ae04c03574b8e82e7d771eafac51987a6ac1dd7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:52:54 provisioning config files... 01:52:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6680591403772690095tmp [Pipeline] { [Pipeline] echo 01:52:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:52:54 ---> create-netrc.sh [Pipeline] echo 01:52:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:52:55 ---> logs-deploy.sh 01:52:55 + ARCHIVE_ARTIFACTS= 01:52:55 + LOGS_SERVER=https://logs.edgexfoundry.org 01:52:55 + '[' https://logs.edgexfoundry.org == None ']' 01:52:55 + NEXUS_URL=https://nexus.edgexfoundry.org 01:52:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/10 01:52:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/10/ 01:52:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/10 /w/workspace/dgexfoundry_device-sdk-go_PR-432 01:52:55 Archives upload complete. 01:52:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/10/ 01:52:56 ---> uname -a: 01:52:56 Linux c6e9a4b1bad9 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 01:52:56 01:52:56 01:52:56 ---> lscpu: 01:52:56 Architecture: x86_64 01:52:56 CPU op-mode(s): 32-bit, 64-bit 01:52:56 Byte Order: Little Endian 01:52:56 Address sizes: 40 bits physical, 48 bits virtual 01:52:56 CPU(s): 4 01:52:56 On-line CPU(s) list: 0-3 01:52:56 Thread(s) per core: 1 01:52:56 Core(s) per socket: 1 01:52:56 Socket(s): 4 01:52:56 NUMA node(s): 1 01:52:56 Vendor ID: GenuineIntel 01:52:56 CPU family: 6 01:52:56 Model: 44 01:52:56 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:52:56 Stepping: 1 01:52:56 CPU MHz: 2933.438 01:52:56 BogoMIPS: 5866.87 01:52:56 Virtualization: VT-x 01:52:56 Hypervisor vendor: KVM 01:52:56 Virtualization type: full 01:52:56 L1d cache: 128 KiB 01:52:56 L1i cache: 128 KiB 01:52:56 L2 cache: 16 MiB 01:52:56 L3 cache: 64 MiB 01:52:56 NUMA node0 CPU(s): 0-3 01:52:56 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 01:52:56 Vulnerability Meltdown: Mitigation; PTI 01:52:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:52:56 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 01:52:56 Vulnerability Spectre v2: Mitigation; Full retpoline 01:52:56 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 01:52:56 01:52:56 01:52:56 ---> nproc: 01:52:56 4 01:52:56 01:52:56 01:52:56 ---> df -h: 01:52:56 Filesystem Size Used Available Use% Mounted on 01:52:56 overlay 50.0G 6.4G 43.6G 13% / 01:52:56 tmpfs 64.0M 0 64.0M 0% /dev 01:52:56 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 01:52:56 shm 64.0M 0 64.0M 0% /dev/shm 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 01:52:56 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 01:52:56 01:52:56 01:52:56 ---> free -m: 01:52:56 total used free shared buff/cache available 01:52:56 Mem: 1838 623 65 0 1148 1109 01:52:56 Swap: 1023 0 1023 01:52:56 01:52:56 01:52:56 ---> ip addr: 01:52:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:52:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:52:56 inet 127.0.0.1/8 scope host lo 01:52:56 valid_lft forever preferred_lft forever 01:52:56 6: eth0@if7: mtu 1458 qdisc noqueue state UP 01:52:56 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 01:52:56 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 01:52:56 valid_lft forever preferred_lft forever 01:52:56 01:52:56 01:52:56 ---> sar -b -r -n DEV: 01:52:56 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/01/20 _x86_64_ (4 CPU) 01:52:56 01:52:56 01:46:13 LINUX RESTART 01:52:56 01:52:56 01:47:01 tps rtps wtps bread/s bwrtn/s 01:52:56 01:48:01 11.79 1.42 10.37 83.40 2181.22 01:52:56 01:49:01 2.32 0.00 2.32 0.00 83.56 01:52:56 01:50:01 0.27 0.00 0.27 0.00 3.75 01:52:56 01:51:01 0.23 0.00 0.23 0.00 2.70 01:52:56 01:52:01 0.23 0.00 0.23 0.00 3.78 01:52:56 Average: 2.97 0.28 2.68 16.68 455.07 01:52:56 01:52:56 01:47:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:52:56 01:48:01 116468 1765836 93.81 2620 1204092 949788 32.41 459984 1147268 16 01:52:56 01:49:01 124872 1757432 93.37 2620 1204096 912908 31.15 453124 1146968 8 01:52:56 01:50:01 124180 1758124 93.40 2620 1204104 913064 31.15 454092 1146900 8 01:52:56 01:51:01 124168 1758136 93.40 2620 1204104 913016 31.15 453852 1146900 16 01:52:56 01:52:01 124988 1757316 93.36 2620 1204116 912980 31.15 453700 1146900 8 01:52:56 Average: 122935 1759369 93.47 2620 1204102 920351 31.40 454950 1146987 11 01:52:56 01:52:56 01:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 01:52:56 01:48:01 eth0 15.40 11.62 6.72 31.63 0.00 0.00 0.00 01:52:56 01:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:48:01 docker0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 01:52:56 01:49:01 eth0 0.52 0.07 0.05 0.01 0.00 0.00 0.00 01:52:56 01:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:50:01 eth0 4.20 2.53 3.47 0.31 0.00 0.00 0.00 01:52:56 01:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:51:01 eth0 0.50 0.33 0.27 0.23 0.00 0.00 0.00 01:52:56 01:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:52:01 eth0 0.33 0.22 0.14 0.07 0.00 0.00 0.00 01:52:56 01:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 Average: eth0 4.19 2.95 2.13 6.45 0.00 0.00 0.00 01:52:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:52:56 01:52:56 01:52:56 ---> sar -P ALL: 01:52:56 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/01/20 _x86_64_ (4 CPU) 01:52:56 01:52:56 01:46:13 LINUX RESTART 01:52:56 01:52:56 01:47:01 CPU %user %nice %system %iowait %steal %idle 01:52:56 01:48:01 all 0.77 0.00 0.18 0.02 0.00 99.02 01:52:56 01:48:01 0 0.53 0.00 0.18 0.05 0.00 99.23 01:52:56 01:48:01 1 0.67 0.00 0.17 0.03 0.00 99.13 01:52:56 01:48:01 2 1.17 0.00 0.17 0.00 0.02 98.65 01:52:56 01:48:01 3 0.70 0.00 0.22 0.00 0.00 99.08 01:52:56 01:49:01 all 0.18 0.00 0.05 0.00 0.00 99.77 01:52:56 01:49:01 0 0.05 0.00 0.05 0.00 0.02 99.88 01:52:56 01:49:01 1 0.08 0.00 0.05 0.00 0.00 99.87 01:52:56 01:49:01 2 0.53 0.00 0.03 0.00 0.00 99.43 01:52:56 01:49:01 3 0.05 0.00 0.05 0.00 0.00 99.90 01:52:56 01:50:01 all 0.19 0.00 0.05 0.00 0.00 99.75 01:52:56 01:50:01 0 0.08 0.00 0.08 0.00 0.00 99.83 01:52:56 01:50:01 1 0.05 0.00 0.03 0.00 0.00 99.92 01:52:56 01:50:01 2 0.53 0.00 0.05 0.00 0.00 99.42 01:52:56 01:50:01 3 0.10 0.00 0.05 0.00 0.02 99.83 01:52:56 01:51:01 all 0.18 0.00 0.05 0.00 0.00 99.77 01:52:56 01:51:01 0 0.05 0.00 0.05 0.00 0.00 99.90 01:52:56 01:51:01 1 0.05 0.00 0.03 0.00 0.00 99.92 01:52:56 01:51:01 2 0.53 0.00 0.07 0.00 0.00 99.40 01:52:56 01:51:01 3 0.07 0.00 0.03 0.00 0.00 99.90 01:52:56 01:52:01 all 0.17 0.00 0.03 0.00 0.00 99.80 01:52:56 01:52:01 0 0.02 0.00 0.03 0.00 0.00 99.95 01:52:56 01:52:01 1 0.08 0.00 0.03 0.00 0.00 99.88 01:52:56 01:52:01 2 0.53 0.00 0.03 0.00 0.00 99.43 01:52:56 01:52:01 3 0.05 0.00 0.03 0.00 0.00 99.92 01:52:56 Average: all 0.30 0.00 0.07 0.00 0.00 99.62 01:52:56 Average: 0 0.15 0.00 0.08 0.01 0.00 99.76 01:52:56 Average: 1 0.19 0.00 0.06 0.01 0.00 99.74 01:52:56 Average: 2 0.66 0.00 0.07 0.00 0.00 99.27 01:52:56 Average: 3 0.19 0.00 0.08 0.00 0.00 99.73 01:52:56 01:52:56 01:52:56