Pull request #478 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 66770929a61e0f757044565a520b22c551656844+6d36f33b612300ee79929b7f99b8ffab79cfcdbd (0c57b3f510a49e29f4444f584d10981d09a6d27a) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3050 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [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/dgexfoundry_device-sdk-go_PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 66770929a61e0f757044565a520b22c551656844 Merge succeeded, producing 66770929a61e0f757044565a520b22c551656844 Checking out Revision 66770929a61e0f757044565a520b22c551656844 (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # 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 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # timeout=10 Commit message: "Update to correctly support -r argument" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:35:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:35:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:33 11:35:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:35:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:34 latest: Pulling from edgex-devops/git-semver 11:35:34 9123ac7c32f7: Pulling fs layer 11:35:34 b8cc5d1170e3: Pulling fs layer 11:35:34 2924cbbf6a41: Pulling fs layer 11:35:34 93b08a4f1073: Pulling fs layer 11:35:34 93b08a4f1073: Waiting 11:35:34 b8cc5d1170e3: Verifying Checksum 11:35:34 b8cc5d1170e3: Download complete 11:35:34 9123ac7c32f7: Verifying Checksum 11:35:34 9123ac7c32f7: Download complete 11:35:34 93b08a4f1073: Verifying Checksum 11:35:34 93b08a4f1073: Download complete 11:35:34 2924cbbf6a41: Verifying Checksum 11:35:34 2924cbbf6a41: Download complete 11:35:34 9123ac7c32f7: Pull complete 11:35:34 b8cc5d1170e3: Pull complete 11:35:35 2924cbbf6a41: Pull complete 11:35:36 93b08a4f1073: Pull complete 11:35:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 11:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:35:36 prd-centos7-docker-4c-2g-3050 does not seem to be running inside a container 11:35:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-478 -v /w/workspace/dgexfoundry_device-sdk-go_PR-478:/w/workspace/dgexfoundry_device-sdk-go_PR-478:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-478@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:10004/edgex-devops/git-semver:latest cat 11:35:37 $ docker top 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:35:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:37 [ssh-agent] Looking for ssh-agent implementation... 11:35:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:37 $ docker exec 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 ssh-agent 11:35:37 SSH_AUTH_SOCK=/tmp/ssh-VbSEkE6DQZKI/agent.14 11:35:37 SSH_AGENT_PID=20 11:35:37 Running ssh-add (command line suppressed) 11:35:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_4671227753884419348.key (/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_4671227753884419348.key) 11:35:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:38 + git describe --exact-match --tags HEAD 11:35:38 fatal: No names found, cannot describe anything. [Pipeline] } 11:35:38 $ docker exec --env ******** --env ******** 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 ssh-agent -k 11:35:38 unset SSH_AUTH_SOCK; 11:35:38 unset SSH_AGENT_PID; 11:35:38 echo Agent pid 20 killed; 11:35:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:35:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:35:38 This usually means this commit has not been tagged. [Pipeline] sshagent 11:35:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:39 [ssh-agent] Looking for ssh-agent implementation... 11:35:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:39 $ docker exec 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 ssh-agent 11:35:39 SSH_AUTH_SOCK=/tmp/ssh-KtjBa5m26JyM/agent.55 11:35:39 SSH_AGENT_PID=62 11:35:39 Running ssh-add (command line suppressed) 11:35:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_1187385215936439085.key (/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_1187385215936439085.key) 11:35:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:40 + git semver init 11:35:40 # -> Open(): unable to determine branch for HEAD 11:35:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-478/.git 11:35:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-478 11:35:40 # $SEMVER_REMOTE_NAME = origin 11:35:40 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 11:35:40 # $SEMVER_USER_NAME = jenkins 11:35:40 # $SEMVER_BRANCH = PR-478 11:35:40 # $SEMVER_TEMP = /tmp/semver-099217291 11:35:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 11:35:41 # '/tmp/semver-099217291' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-478/.semver' 11:35:41 # -> Force: false 11:35:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-478/.semver [Pipeline] } 11:35:41 $ docker exec --env ******** --env ******** 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 ssh-agent -k 11:35:41 unset SSH_AUTH_SOCK; 11:35:41 unset SSH_AGENT_PID; 11:35:41 echo Agent pid 62 killed; 11:35:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:35:41 + git semver [Pipeline] } 11:35:41 $ docker stop --time=1 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 11:35:43 $ docker rm -f 6f78cb0ce0117e2ee6ceb105032d5f3fe0bb82cb9906feab3816a69706630259 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:35:44 Stashed 39 file(s) [Pipeline] echo 11:35:44 [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 11:35:59 Still waiting to schedule task 11:35:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3050’ 11:35:59 Still waiting to schedule task 11:35:59 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 11:37:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3051 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [Pipeline] { [Pipeline] ws 11:37:46 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 11:37:53 using credential edgex-jenkins-ssh 11:37:53 Cloning the remote Git repository 11:37:53 Cloning with configured refspecs honoured and without tags 11:37:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:37:53 > git init /w/workspace/device-sdk-go/3 # timeout=10 11:37:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:37:53 > git --version # timeout=10 11:37:53 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:37:54 Fetching without tags 11:37:55 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 66770929a61e0f757044565a520b22c551656844 11:37:55 Merge succeeded, producing 66770929a61e0f757044565a520b22c551656844 11:37:55 Checking out Revision 66770929a61e0f757044565a520b22c551656844 (PR-478) 11:37:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:37:54 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 11:37:54 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:37:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:37:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:37:55 > git config core.sparsecheckout # timeout=10 11:37:55 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # timeout=10 11:37:55 > git remote # timeout=10 11:37:55 > git config --get remote.origin.url # timeout=10 11:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:55 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 11:37:55 > git rev-parse HEAD^{commit} # timeout=10 11:37:55 > git config core.sparsecheckout # timeout=10 11:37:55 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # timeout=10 11:38:00 Commit message: "Update to correctly support -r argument" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:38:02 ========================================================= 11:38:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 11:38:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:38:03 + 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 . 11:38:04 Sending build context to Docker daemon 2.847MB 11:38:04 Step 1/8 : ARG BASE=golang:1.13-alpine 11:38:04 Step 2/8 : FROM ${BASE} 11:38:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:38:04 cde5963f3b93: Pulling fs layer 11:38:04 2a23fa8c16f7: Pulling fs layer 11:38:04 777b28850792: Pulling fs layer 11:38:04 8a11ddd9e578: Pulling fs layer 11:38:04 4cf88f913ddb: Pulling fs layer 11:38:04 1df406cf5192: Pulling fs layer 11:38:04 cd6300453558: Pulling fs layer 11:38:04 b9c365052c96: Pulling fs layer 11:38:04 a2d8cc88f415: Pulling fs layer 11:38:04 ea1d1ca13537: Pulling fs layer 11:38:04 3750a50a1c5e: Pulling fs layer 11:38:04 4cf88f913ddb: Waiting 11:38:04 1df406cf5192: Waiting 11:38:04 cd6300453558: Waiting 11:38:04 b9c365052c96: Waiting 11:38:04 a2d8cc88f415: Waiting 11:38:04 ea1d1ca13537: Waiting 11:38:04 3750a50a1c5e: Waiting 11:38:04 8a11ddd9e578: Waiting 11:38:04 777b28850792: Download complete 11:38:04 2a23fa8c16f7: Verifying Checksum 11:38:04 2a23fa8c16f7: Download complete 11:38:04 4cf88f913ddb: Verifying Checksum 11:38:04 4cf88f913ddb: Download complete 11:38:04 1df406cf5192: Verifying Checksum 11:38:04 1df406cf5192: Download complete 11:38:05 cde5963f3b93: Verifying Checksum 11:38:05 cde5963f3b93: Download complete 11:38:05 cde5963f3b93: Pull complete 11:38:06 2a23fa8c16f7: Pull complete 11:38:06 777b28850792: Pull complete 11:38:09 cd6300453558: Verifying Checksum 11:38:09 cd6300453558: Download complete 11:38:09 a2d8cc88f415: Verifying Checksum 11:38:09 a2d8cc88f415: Download complete 11:38:11 ea1d1ca13537: Verifying Checksum 11:38:11 ea1d1ca13537: Download complete 11:38:11 3750a50a1c5e: Verifying Checksum 11:38:11 3750a50a1c5e: Download complete 11:38:14 b9c365052c96: Download complete 11:38:15 8a11ddd9e578: Verifying Checksum 11:38:15 8a11ddd9e578: Download complete 11:38:20 Running on prd-centos7-docker-4c-2g-3052 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [Pipeline] { [Pipeline] ws 11:38:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 11:38:24 using credential edgex-jenkins-ssh 11:38:25 Cloning the remote Git repository 11:38:25 Cloning with configured refspecs honoured and without tags 11:38:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:38:25 > git init /w/workspace/device-sdk-go/3 # timeout=10 11:38:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:38:25 > git --version # timeout=10 11:38:25 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:38:26 Fetching without tags 11:38:26 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 66770929a61e0f757044565a520b22c551656844 11:38:26 Merge succeeded, producing 66770929a61e0f757044565a520b22c551656844 11:38:26 Checking out Revision 66770929a61e0f757044565a520b22c551656844 (PR-478) 11:38:25 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 11:38:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:38:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:38:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:26 > git config core.sparsecheckout # timeout=10 11:38:26 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # timeout=10 11:38:26 > git remote # timeout=10 11:38:26 > git config --get remote.origin.url # timeout=10 11:38:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:26 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 11:38:26 > git rev-parse HEAD^{commit} # timeout=10 11:38:26 > git config core.sparsecheckout # timeout=10 11:38:26 > git checkout -f 66770929a61e0f757044565a520b22c551656844 # timeout=10 11:38:28 8a11ddd9e578: Pull complete 11:38:28 4cf88f913ddb: Pull complete 11:38:28 1df406cf5192: Pull complete 11:38:31 Commit message: "Update to correctly support -r argument" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:38:32 ========================================================= 11:38:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 11:38:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:38:33 cd6300453558: Pull complete 11:38:33 + 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 . 11:38:34 Sending build context to Docker daemon 2.848MB 11:38:34 Step 1/8 : ARG BASE=golang:1.13-alpine 11:38:34 Step 2/8 : FROM ${BASE} 11:38:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 11:38:34 e6b0cf9c0882: Pulling fs layer 11:38:34 2848faf0eed1: Pulling fs layer 11:38:34 0f37312ad70f: Pulling fs layer 11:38:34 5788d62ee057: Pulling fs layer 11:38:34 0e6b1d234666: Pulling fs layer 11:38:34 bf5d7aec512f: Pulling fs layer 11:38:34 34c802a77dc8: Pulling fs layer 11:38:34 9eb99e56ec68: Pulling fs layer 11:38:34 27c7a5d97fbd: Pulling fs layer 11:38:34 5c102a31e300: Pulling fs layer 11:38:34 dcfb455df0a1: Pulling fs layer 11:38:34 34c802a77dc8: Waiting 11:38:34 0e6b1d234666: Waiting 11:38:34 bf5d7aec512f: Waiting 11:38:34 5c102a31e300: Waiting 11:38:34 27c7a5d97fbd: Waiting 11:38:34 9eb99e56ec68: Waiting 11:38:34 0f37312ad70f: Verifying Checksum 11:38:34 0f37312ad70f: Download complete 11:38:34 2848faf0eed1: Verifying Checksum 11:38:34 2848faf0eed1: Download complete 11:38:34 0e6b1d234666: Verifying Checksum 11:38:34 0e6b1d234666: Download complete 11:38:34 bf5d7aec512f: Verifying Checksum 11:38:34 bf5d7aec512f: Download complete 11:38:34 e6b0cf9c0882: Verifying Checksum 11:38:34 e6b0cf9c0882: Download complete 11:38:34 e6b0cf9c0882: Pull complete 11:38:35 2848faf0eed1: Pull complete 11:38:35 34c802a77dc8: Verifying Checksum 11:38:35 34c802a77dc8: Download complete 11:38:35 27c7a5d97fbd: Verifying Checksum 11:38:35 27c7a5d97fbd: Download complete 11:38:36 5c102a31e300: Verifying Checksum 11:38:36 5c102a31e300: Download complete 11:38:36 dcfb455df0a1: Verifying Checksum 11:38:36 dcfb455df0a1: Download complete 11:38:36 0f37312ad70f: Pull complete 11:38:36 9eb99e56ec68: Verifying Checksum 11:38:36 9eb99e56ec68: Download complete 11:38:36 5788d62ee057: Verifying Checksum 11:38:36 5788d62ee057: Download complete 11:38:37 b9c365052c96: Pull complete 11:38:37 a2d8cc88f415: Pull complete 11:38:39 ea1d1ca13537: Pull complete 11:38:40 3750a50a1c5e: Pull complete 11:38:40 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 11:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 11:38:40 ---> 78745c68409d 11:38:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:38:43 5788d62ee057: Pull complete 11:38:43 0e6b1d234666: Pull complete 11:38:43 bf5d7aec512f: Pull complete 11:38:43 ---> Running in 2b0aaafba752 11:38:44 Removing intermediate container 2b0aaafba752 11:38:44 ---> a764bb8fb4a5 11:38:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:44 ---> Running in ce68b1385a8e 11:38:46 Removing intermediate container ce68b1385a8e 11:38:46 ---> f1c3953d69bd 11:38:46 Step 5/8 : RUN apk add --no-cache make git 11:38:46 ---> Running in cdc0084062f7 11:38:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:38:47 34c802a77dc8: Pull complete 11:38:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:38:48 OK: 125 MiB in 39 packages 11:38:50 Removing intermediate container cdc0084062f7 11:38:50 ---> ae4b610cabfe 11:38:50 Step 6/8 : WORKDIR /device-sdk-go 11:38:50 ---> Running in 1a8e30c554d1 11:38:50 Removing intermediate container 1a8e30c554d1 11:38:50 ---> 665319c63a50 11:38:50 Step 7/8 : COPY . . 11:38:51 9eb99e56ec68: Pull complete 11:38:51 27c7a5d97fbd: Pull complete 11:38:51 ---> d06d8c150c13 11:38:51 Step 8/8 : RUN go mod download 11:38:52 ---> Running in 011feda174d5 11:38:53 5c102a31e300: Pull complete 11:38:53 dcfb455df0a1: Pull complete 11:38:53 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 11:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 11:38:53 ---> 7c70fe431013 11:38:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:38:53 ---> Running in 6cdba78acefd 11:38:53 Removing intermediate container 6cdba78acefd 11:38:53 ---> a34fd0337c3c 11:38:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:53 ---> Running in 84a4eb2cf410 11:38:54 Removing intermediate container 84a4eb2cf410 11:38:54 ---> 32a114449682 11:38:54 Step 5/8 : RUN apk add --no-cache make git 11:38:54 ---> Running in 2c1f2bebb423 11:38:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:38:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:38:56 go: finding github.com/BurntSushi/toml v0.3.1 11:38:56 go: finding github.com/OneOfOne/xxhash v1.2.6 11:38:56 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:38:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:38:56 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:38:56 go: finding github.com/bgentry/speakeasy v0.1.0 11:38:56 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:38:56 go: finding github.com/davecgh/go-spew v1.1.1 11:38:56 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 11:38:56 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:38:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 11:38:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 11:38:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:38:56 go: finding github.com/fatih/color v1.7.0 11:38:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:38:56 go: finding github.com/go-kit/kit v0.8.0 11:38:56 go: finding github.com/go-logfmt/logfmt v0.4.0 11:38:56 go: finding github.com/go-stack/stack v1.8.0 11:38:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:38:56 go: finding github.com/google/uuid v1.1.0 11:38:56 OK: 143 MiB in 39 packages 11:38:56 go: finding github.com/gorilla/mux v1.7.1 11:38:56 go: finding github.com/hashicorp/consul/api v1.1.0 11:38:56 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:38:56 go: finding github.com/hashicorp/errwrap v1.0.0 11:38:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:38:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:38:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:38:57 go: finding github.com/hashicorp/go-multierror v1.0.0 11:38:57 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:38:57 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:38:57 go: finding github.com/hashicorp/go-syslog v1.0.0 11:38:57 go: finding github.com/hashicorp/go-uuid v1.0.1 11:38:57 go: finding github.com/hashicorp/go.net v0.0.1 11:38:57 Removing intermediate container 2c1f2bebb423 11:38:57 ---> b640ea6bd98e 11:38:57 Step 6/8 : WORKDIR /device-sdk-go 11:38:57 ---> Running in c385aa1694d8 11:38:57 go: finding github.com/hashicorp/golang-lru v0.5.0 11:38:57 go: finding github.com/hashicorp/logutils v1.0.0 11:38:57 go: finding github.com/hashicorp/mdns v1.0.0 11:38:57 go: finding github.com/hashicorp/memberlist v0.1.3 11:38:57 go: finding github.com/hashicorp/serf v0.8.2 11:38:57 Removing intermediate container c385aa1694d8 11:38:57 ---> 1084fc333df2 11:38:57 Step 7/8 : COPY . . 11:38:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:38:57 go: finding github.com/mattn/go-colorable v0.0.9 11:38:57 go: finding github.com/mattn/go-isatty v0.0.3 11:38:57 go: finding github.com/miekg/dns v1.0.14 11:38:57 go: finding github.com/mitchellh/cli v1.0.0 11:38:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:38:57 go: finding github.com/mitchellh/copystructure v1.0.0 11:38:57 go: finding github.com/mitchellh/go-homedir v1.0.0 11:38:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:38:57 go: finding github.com/mitchellh/gox v0.4.0 11:38:57 go: finding github.com/mitchellh/iochan v1.0.0 11:38:57 go: finding github.com/mitchellh/mapstructure v1.1.2 11:38:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:38:58 ---> c4024ef52eef 11:38:58 Step 8/8 : RUN go mod download 11:38:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:38:58 go: finding github.com/pelletier/go-toml v1.2.0 11:38:58 go: finding github.com/pkg/errors v0.8.1 11:38:58 go: finding github.com/pmezard/go-difflib v1.0.0 11:38:58 go: finding github.com/posener/complete v1.1.1 11:38:58 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:38:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:38:58 ---> Running in 00d473f10811 11:38:58 go: finding github.com/stretchr/objx v0.1.0 11:38:58 go: finding github.com/stretchr/testify v1.5.1 11:38:58 go: finding github.com/ugorji/go v1.1.4 11:38:58 go: finding github.com/x448/float16 v0.8.4 11:38:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:38:58 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 11:38:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:38:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:38:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 11:38:58 go: finding gopkg.in/yaml.v2 v2.2.8 11:39:01 go: finding github.com/BurntSushi/toml v0.3.1 11:39:01 go: finding github.com/OneOfOne/xxhash v1.2.6 11:39:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:39:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:39:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:39:01 go: finding github.com/bgentry/speakeasy v0.1.0 11:39:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:39:01 go: finding github.com/davecgh/go-spew v1.1.1 11:39:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 11:39:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:39:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 11:39:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 11:39:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:39:01 go: finding github.com/fatih/color v1.7.0 11:39:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:39:01 go: finding github.com/go-kit/kit v0.8.0 11:39:01 go: finding github.com/go-logfmt/logfmt v0.4.0 11:39:01 go: finding github.com/go-stack/stack v1.8.0 11:39:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:39:01 go: finding github.com/google/uuid v1.1.0 11:39:01 go: finding github.com/gorilla/mux v1.7.1 11:39:01 go: finding github.com/hashicorp/consul/api v1.1.0 11:39:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:39:01 go: finding github.com/hashicorp/errwrap v1.0.0 11:39:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:39:02 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:39:02 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:39:02 go: finding github.com/hashicorp/go-multierror v1.0.0 11:39:02 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:39:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:39:02 go: finding github.com/hashicorp/go-syslog v1.0.0 11:39:02 go: finding github.com/hashicorp/go-uuid v1.0.1 11:39:02 go: finding github.com/hashicorp/go.net v0.0.1 11:39:02 go: finding github.com/hashicorp/golang-lru v0.5.0 11:39:02 go: finding github.com/hashicorp/logutils v1.0.0 11:39:02 go: finding github.com/hashicorp/mdns v1.0.0 11:39:02 go: finding github.com/hashicorp/memberlist v0.1.3 11:39:02 go: finding github.com/hashicorp/serf v0.8.2 11:39:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:39:02 go: finding github.com/mattn/go-colorable v0.0.9 11:39:02 go: finding github.com/mattn/go-isatty v0.0.3 11:39:02 go: finding github.com/miekg/dns v1.0.14 11:39:02 go: finding github.com/mitchellh/cli v1.0.0 11:39:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:39:02 go: finding github.com/mitchellh/copystructure v1.0.0 11:39:02 go: finding github.com/mitchellh/go-homedir v1.0.0 11:39:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:39:02 go: finding github.com/mitchellh/gox v0.4.0 11:39:02 go: finding github.com/mitchellh/iochan v1.0.0 11:39:02 go: finding github.com/mitchellh/mapstructure v1.1.2 11:39:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:39:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:39:03 go: finding github.com/pelletier/go-toml v1.2.0 11:39:03 go: finding github.com/pkg/errors v0.8.1 11:39:03 go: finding github.com/pmezard/go-difflib v1.0.0 11:39:03 go: finding github.com/posener/complete v1.1.1 11:39:03 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:39:03 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:39:03 go: finding github.com/stretchr/objx v0.1.0 11:39:03 go: finding github.com/stretchr/testify v1.5.1 11:39:03 go: finding github.com/ugorji/go v1.1.4 11:39:03 go: finding github.com/x448/float16 v0.8.4 11:39:03 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:39:03 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 11:39:03 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:39:03 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:39:03 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 11:39:03 go: finding gopkg.in/yaml.v2 v2.2.8 11:39:08 Removing intermediate container 011feda174d5 11:39:08 ---> 5cde902e6338 11:39:08 Successfully built 5cde902e6338 11:39:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 11:39:09 Removing intermediate container 00d473f10811 11:39:09 ---> cff876c12090 11:39:09 Successfully built cff876c12090 11:39:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:39:09 + docker inspect -f . ci-base-image-arm64 11:39:09 + docker inspect -f . ci-base-image-x86_64 11:39:09 . [Pipeline] withDockerContainer 11:39:09 prd-centos7-docker-4c-2g-3052 does not seem to be running inside a container 11:39:09 . 11:39:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 11:39:11 $ docker top 390a0911a52bdd58626877913ba5882f02e7c0a8ec1aefd587bfd065ac04f46c -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 11:39:12 prd-ubuntu18.04-docker-arm64-4c-16g-3051 does not seem to be running inside a container 11:39:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 11:39:14 $ docker top 7c7583de0c7e81896bc932c7efeb10a6a154a4f4d302354f4c940e0c40d6570b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 11:39:14 + go version 11:39:14 go version go1.13.5 linux/amd64 [Pipeline] sh 11:39:15 + make test 11:39:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:39:15 + go version 11:39:15 go version go1.13.5 linux/arm64 [Pipeline] sh 11:39:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 11:39:15 + make test 11:39:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:39:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 11:39:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 11:39:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 11:39:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 11:39:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements 11:39:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 11:39:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 11:39:44 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements 11:39:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.174s coverage: 95.8% of statements 11:40:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.4% of statements 11:40:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 22.7% of statements 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 11:40:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.094s coverage: 38.5% of statements 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 11:40:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.359s coverage: 79.8% of statements 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 11:40:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 11:40:02 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 11:40:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.115s coverage: 76.1% of statements 11:40:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 11:40:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 11:40:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:40:02 gofmt -l . 11:40:02 [ "`gofmt -l .`" = "" ] 11:40:03 ./bin/test-attribution-txt.sh 11:40:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 11:40:04 Stashed 1 file(s) [Pipeline] } 11:40:04 $ docker stop --time=1 390a0911a52bdd58626877913ba5882f02e7c0a8ec1aefd587bfd065ac04f46c 11:40:06 $ docker rm -f 390a0911a52bdd58626877913ba5882f02e7c0a8ec1aefd587bfd065ac04f46c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:40:08 + ls -al . 11:40:08 total 160 11:40:08 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 9 11:40 . 11:40:08 drwxrwxr-x. 4 jenkins jenkins 28 Apr 9 11:38 .. 11:40:08 drwxrwxr-x. 3 jenkins jenkins 20 Apr 9 11:38 api 11:40:08 drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 11:38 bin 11:40:08 -rw-r--r--. 1 jenkins jenkins 94997 Apr 9 11:40 coverage.out 11:40:08 -rw-rw-r--. 1 jenkins jenkins 936 Apr 9 11:38 Dockerfile.build 11:40:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 9 11:38 .dockerignore 11:40:08 drwxrwxr-x. 4 jenkins jenkins 31 Apr 9 11:38 example 11:40:08 drwxrwxr-x. 8 jenkins jenkins 179 Apr 9 11:38 .git 11:40:08 drwxrwxr-x. 2 jenkins jenkins 38 Apr 9 11:38 .github 11:40:08 -rw-rw-r--. 1 jenkins jenkins 138 Apr 9 11:38 .gitignore 11:40:08 -rw-r--r--. 1 jenkins jenkins 446 Apr 9 11:40 go.mod 11:40:08 -rw-r--r--. 1 jenkins jenkins 12076 Apr 9 11:40 go.sum 11:40:08 drwxrwxr-x. 14 jenkins jenkins 196 Apr 9 11:38 internal 11:40:08 -rw-rw-r--. 1 jenkins jenkins 808 Apr 9 11:38 Jenkinsfile 11:40:08 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 9 11:38 LICENSE 11:40:08 -rw-rw-r--. 1 jenkins jenkins 892 Apr 9 11:38 Makefile 11:40:08 drwxrwxr-x. 5 jenkins jenkins 50 Apr 9 11:38 pkg 11:40:08 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 9 11:38 README.md 11:40:08 drwxrwxr-x. 3 jenkins jenkins 58 Apr 9 11:38 .semver 11:40:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 9 11:38 snap 11:40:08 -rw-rw-r--. 1 jenkins jenkins 5 Apr 9 11:35 VERSION 11:40:08 -rw-rw-r--. 1 jenkins jenkins 222 Apr 9 11:38 version.go [Pipeline] isUnix [Pipeline] sh 11:40:08 + 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=66770929a61e0f757044565a520b22c551656844 --label arch=amd64 --label version=0.0.0 . 11:40:08 Sending build context to Docker daemon 2.964MB 11:40:08 Step 1/21 : ARG BASE=golang:1.13-alpine 11:40:08 Step 2/21 : FROM ${BASE} AS builder 11:40:08 ---> cff876c12090 11:40:08 Step 3/21 : ARG MAKE='make build' 11:40:08 ---> Running in 784d25a823e1 11:40:08 Removing intermediate container 784d25a823e1 11:40:08 ---> 3740af9bb704 11:40:08 Step 4/21 : WORKDIR /device-sdk-go 11:40:09 ---> Running in df67a222d19f 11:40:09 Removing intermediate container df67a222d19f 11:40:09 ---> cad7a1557ac2 11:40:09 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:40:09 ---> Running in 6ad334138fe0 11:40:09 Removing intermediate container 6ad334138fe0 11:40:09 ---> ad411c05ea78 11:40:09 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:40:09 ---> Running in 6deaa5281d64 11:40:10 Removing intermediate container 6deaa5281d64 11:40:10 ---> fe3933d46316 11:40:10 Step 7/21 : RUN apk add --update --no-cache make git 11:40:10 ---> Running in 56e12c6bb094 11:40:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:40:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:40:11 OK: 143 MiB in 39 packages 11:40:12 Removing intermediate container 56e12c6bb094 11:40:12 ---> c223b1815b22 11:40:12 Step 8/21 : COPY . . 11:40:13 ---> 33f1ab236461 11:40:13 Step 9/21 : RUN ${MAKE} 11:40:13 ---> Running in f534e5c9d008 11:40:13 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 11:40:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 11.4% of statements 11:40:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 22.7% of statements 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 11:40:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.161s coverage: 38.5% of statements 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 11:40:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.605s coverage: 79.8% of statements 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 11:40:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements 11:40:19 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 11:40:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 76.1% of statements 11:40:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 11:40:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 11:40:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:40:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 11:40:23 Removing intermediate container f534e5c9d008 11:40:23 ---> 7fb202804513 11:40:23 Step 10/21 : FROM scratch 11:40:23 ---> 11:40:23 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:40:23 ---> Running in 7c4c8c31ec1b 11:40:23 Removing intermediate container 7c4c8c31ec1b 11:40:23 ---> d759d24c7802 11:40:23 Step 12/21 : ENV APP_PORT=49990 11:40:23 ---> Running in ff2ddac5eadf 11:40:23 Removing intermediate container ff2ddac5eadf 11:40:23 ---> 7d4290c5fdc4 11:40:23 Step 13/21 : EXPOSE $APP_PORT 11:40:23 ---> Running in a8cba8f31708 11:40:23 Removing intermediate container a8cba8f31708 11:40:23 ---> 11051d0bb505 11:40:23 Step 14/21 : WORKDIR / 11:40:23 ---> Running in e698a5f98e92 11:40:24 Removing intermediate container e698a5f98e92 11:40:24 ---> 9f86814d804d 11:40:24 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 11:40:24 gofmt -l . 11:40:24 [ "`gofmt -l .`" = "" ] 11:40:24 ---> 5ceb27c54dd3 11:40:24 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 11:40:24 ./bin/test-attribution-txt.sh 11:40:24 ---> 1e47c27967fd 11:40:24 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 11:40:24 ---> 399666fe052e 11:40:24 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:40:24 ---> Running in d6f1e7dd3492 11:40:24 Removing intermediate container d6f1e7dd3492 11:40:24 ---> d232e1ef282d 11:40:24 Step 19/21 : LABEL arch=amd64 11:40:25 ./bin/test-go-mod-tidy.sh 11:40:25 ---> Running in d718cccfb488 11:40:25 Removing intermediate container d718cccfb488 11:40:25 ---> 31430e32efcd 11:40:25 Step 20/21 : LABEL git_sha=66770929a61e0f757044565a520b22c551656844 11:40:25 ---> Running in 112b93490439 11:40:25 Removing intermediate container 112b93490439 11:40:25 ---> 8f8f0a61971d 11:40:25 Step 21/21 : LABEL version=0.0.0 11:40:25 ---> Running in 9cd608d61747 [Pipeline] stash 11:40:25 Warning: overwriting stash ‘coverage-report’ 11:40:25 Removing intermediate container 9cd608d61747 11:40:25 ---> 19be8f946060 11:40:25 [Warning] One or more build-args [ARCH] were not consumed 11:40:25 Successfully built 19be8f946060 11:40:25 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] } [Pipeline] // withEnv [Pipeline] } 11:40:26 Stashed 1 file(s) [Pipeline] // withEnv [Pipeline] } [Pipeline] } 11:40:26 $ docker stop --time=1 7c7583de0c7e81896bc932c7efeb10a6a154a4f4d302354f4c940e0c40d6570b 11:40:28 $ docker rm -f 7c7583de0c7e81896bc932c7efeb10a6a154a4f4d302354f4c940e0c40d6570b [Pipeline] // ws [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:40:30 + ls -al . 11:40:30 total 200 11:40:30 drwxrwxr-x 11 jenkins jenkins 4096 Apr 9 11:40 . 11:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 11:37 .. 11:40:30 -rw-rw-r-- 1 jenkins jenkins 140 Apr 9 11:37 .dockerignore 11:40:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 11:38 .git 11:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 11:37 .github 11:40:30 -rw-rw-r-- 1 jenkins jenkins 138 Apr 9 11:37 .gitignore 11:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 11:38 .semver 11:40:30 -rw-rw-r-- 1 jenkins jenkins 936 Apr 9 11:37 Dockerfile.build 11:40:30 -rw-rw-r-- 1 jenkins jenkins 808 Apr 9 11:37 Jenkinsfile 11:40:30 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 9 11:37 LICENSE 11:40:30 -rw-rw-r-- 1 jenkins jenkins 892 Apr 9 11:37 Makefile 11:40:30 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 9 11:37 README.md 11:40:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 9 11:35 VERSION 11:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 11:37 api 11:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 11:37 bin 11:40:30 -rw-r--r-- 1 jenkins jenkins 94997 Apr 9 11:40 coverage.out 11:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 11:37 example 11:40:30 -rw-r--r-- 1 jenkins jenkins 446 Apr 9 11:40 go.mod 11:40:30 -rw-r--r-- 1 jenkins jenkins 12076 Apr 9 11:40 go.sum 11:40:30 drwxrwxr-x 14 jenkins jenkins 4096 Apr 9 11:37 internal 11:40:30 drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 11:37 pkg 11:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 11:37 snap 11:40:30 -rw-rw-r-- 1 jenkins jenkins 222 Apr 9 11:37 version.go [Pipeline] isUnix [Pipeline] sh 11:40:30 + 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=66770929a61e0f757044565a520b22c551656844 --label arch=arm64 --label version=0.0.0 . 11:40:31 Sending build context to Docker daemon 2.963MB 11:40:31 Step 1/21 : ARG BASE=golang:1.13-alpine 11:40:31 Step 2/21 : FROM ${BASE} AS builder 11:40:31 ---> 5cde902e6338 11:40:31 Step 3/21 : ARG MAKE='make build' 11:40:31 ---> Running in 74eb099bf32c 11:40:32 Removing intermediate container 74eb099bf32c 11:40:32 ---> e2d642b3d9df 11:40:32 Step 4/21 : WORKDIR /device-sdk-go 11:40:32 ---> Running in fd02a127dd3d 11:40:32 Removing intermediate container fd02a127dd3d 11:40:32 ---> 7333937107b8 11:40:32 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:40:32 ---> Running in 6898433b16d9 11:40:32 Removing intermediate container 6898433b16d9 11:40:32 ---> d9428ca3aa28 11:40:32 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:40:33 ---> Running in 1f4aab6ecbe8 11:40:34 Removing intermediate container 1f4aab6ecbe8 11:40:34 ---> b6b857ac2b50 11:40:34 Step 7/21 : RUN apk add --update --no-cache make git 11:40:34 ---> Running in 6ffcfd74f029 11:40:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:40:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:40:36 OK: 125 MiB in 39 packages 11:40:38 Removing intermediate container 6ffcfd74f029 11:40:38 ---> 48977a292b9b 11:40:38 Step 8/21 : COPY . . 11:40:39 ---> ce6269eb50d9 11:40:39 Step 9/21 : RUN ${MAKE} 11:40:39 ---> Running in a929d04af0ac 11:40:40 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 11:41:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 11:41:05 Removing intermediate container a929d04af0ac 11:41:05 ---> 6c9ce57e3dbc 11:41:05 Step 10/21 : FROM scratch 11:41:05 ---> 11:41:05 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:41:05 ---> Running in 9bf6d455b7c7 11:41:05 Removing intermediate container 9bf6d455b7c7 11:41:05 ---> 6bf2a2e9d2f1 11:41:05 Step 12/21 : ENV APP_PORT=49990 11:41:05 ---> Running in d0fd57976490 11:41:05 Removing intermediate container d0fd57976490 11:41:05 ---> b027df2a444a 11:41:05 Step 13/21 : EXPOSE $APP_PORT 11:41:06 ---> Running in d2ff0d76085b 11:41:06 Removing intermediate container d2ff0d76085b 11:41:06 ---> 30bea55ec279 11:41:06 Step 14/21 : WORKDIR / 11:41:06 ---> Running in 622a77582038 11:41:06 Removing intermediate container 622a77582038 11:41:06 ---> 0b529a5746dd 11:41:06 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 11:41:07 ---> 2a7dc33b4dc4 11:41:07 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 11:41:08 ---> 07fe9e4c287a 11:41:08 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 11:41:09 ---> e86f63f7321c 11:41:09 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:41:09 ---> Running in bdf9b6f180ed 11:41:09 Removing intermediate container bdf9b6f180ed 11:41:09 ---> 7e0a37b30209 11:41:09 Step 19/21 : LABEL arch=arm64 11:41:09 ---> Running in 7958716f8980 11:41:09 Removing intermediate container 7958716f8980 11:41:09 ---> cc2eb2bca601 11:41:09 Step 20/21 : LABEL git_sha=66770929a61e0f757044565a520b22c551656844 11:41:09 ---> Running in 8fc61fa85a0f 11:41:10 Removing intermediate container 8fc61fa85a0f 11:41:10 ---> 8aef98b59034 11:41:10 Step 21/21 : LABEL version=0.0.0 11:41:10 ---> Running in 86a326584847 11:41:10 Removing intermediate container 86a326584847 11:41:10 ---> b4877c9190d4 11:41:10 [Warning] One or more build-args [ARCH] were not consumed 11:41:10 Successfully built b4877c9190d4 11:41:10 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 11:41:12 provisioning config files... 11:41:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config3750681244183115666tmp [Pipeline] { [Pipeline] sh 11:41:12 + curl -s https://codecov.io/bash 11:41:12 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config3750681244183115666tmp 11:41:12 11:41:12 _____ _ 11:41:12 / ____| | | 11:41:12 | | ___ __| | ___ ___ _____ __ 11:41:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:41:12 | |___| (_) | (_| | __/ (_| (_) \ V / 11:41:12 \_____\___/ \__,_|\___|\___\___/ \_/ 11:41:12 Bash-tbd 11:41:12 11:41:12 11:41:12 ==> Jenkins CI detected. 11:41:12 project root: . 11:41:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:41:12 ==> Running gcov in . (disable via -X gcov) 11:41:12 ==> Python coveragepy not found 11:41:12 ==> Searching for coverage reports in: 11:41:12 + . 11:41:12 -> Found 1 reports 11:41:12 ==> Detecting git/mercurial file structure 11:41:12 ==> Reading reports 11:41:12 + ./coverage.out bytes=94997 11:41:12 ==> Appending adjustments 11:41:12 http://docs.codecov.io/docs/fixing-reports 11:41:13 + Found adjustments 11:41:13 ==> Gzipping contents 11:41:13 ==> Uploading reports 11:41:13 url: https://codecov.io 11:41:13 query: branch=PR-478&commit=66770929a61e0f757044565a520b22c551656844&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-478%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=478&job= 11:41:13 -> Pinging Codecov 11:41:13 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-478&commit=66770929a61e0f757044565a520b22c551656844&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-478%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=478&job= 11:41:13 -> Uploading 11:41:14 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/66770929a61e0f757044565a520b22c551656844 [Pipeline] } 11:41:14 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 11:41:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:41:15 ---> package-listing.sh 11:41:15 ++ tr '[:upper:]' '[:lower:]' 11:41:15 ++ facter osfamily 11:41:15 + OS_FAMILY=redhat 11:41:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-478 11:41:15 + START_PACKAGES=/tmp/packages_start.txt 11:41:15 + END_PACKAGES=/tmp/packages_end.txt 11:41:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:41:15 + PACKAGES=/tmp/packages_start.txt 11:41:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-478 ']' 11:41:15 + PACKAGES=/tmp/packages_end.txt 11:41:15 + case "${OS_FAMILY}" in 11:41:15 + rpm -qa 11:41:15 + sort 11:41:19 + '[' -f /tmp/packages_start.txt ']' 11:41:19 + '[' -f /tmp/packages_end.txt ']' 11:41:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:41:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-478 ']' 11:41:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-478/archives/ 11:41:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh 11:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:41:20 11:41:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:41:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:41:20 alpine: Pulling from edgex-lftools-log-publisher 11:41:20 c9b1b535fdd9: Pulling fs layer 11:41:20 2cc5ad85d9ab: Pulling fs layer 11:41:20 756a868c4378: Pulling fs layer 11:41:20 444b2fc9a129: Pulling fs layer 11:41:20 ea15f1150254: Pulling fs layer 11:41:20 41b27a9f41bf: Pulling fs layer 11:41:20 28c525ee5125: Pulling fs layer 11:41:20 094b1ea09ed8: Pulling fs layer 11:41:20 138eaada9080: Pulling fs layer 11:41:20 0622d0fa9048: Pulling fs layer 11:41:20 28c525ee5125: Waiting 11:41:20 094b1ea09ed8: Waiting 11:41:20 444b2fc9a129: Waiting 11:41:20 138eaada9080: Waiting 11:41:20 0622d0fa9048: Waiting 11:41:20 41b27a9f41bf: Waiting 11:41:20 ea15f1150254: Waiting 11:41:20 2cc5ad85d9ab: Download complete 11:41:20 444b2fc9a129: Verifying Checksum 11:41:20 444b2fc9a129: Download complete 11:41:20 c9b1b535fdd9: Verifying Checksum 11:41:20 c9b1b535fdd9: Download complete 11:41:20 ea15f1150254: Verifying Checksum 11:41:20 ea15f1150254: Download complete 11:41:20 28c525ee5125: Verifying Checksum 11:41:20 28c525ee5125: Download complete 11:41:21 756a868c4378: Verifying Checksum 11:41:21 756a868c4378: Download complete 11:41:21 c9b1b535fdd9: Pull complete 11:41:21 138eaada9080: Verifying Checksum 11:41:21 138eaada9080: Download complete 11:41:21 0622d0fa9048: Verifying Checksum 11:41:21 0622d0fa9048: Download complete 11:41:21 094b1ea09ed8: Verifying Checksum 11:41:21 094b1ea09ed8: Download complete 11:41:21 2cc5ad85d9ab: Pull complete 11:41:22 41b27a9f41bf: Verifying Checksum 11:41:22 41b27a9f41bf: Download complete 11:41:23 756a868c4378: Pull complete 11:41:23 444b2fc9a129: Pull complete 11:41:23 ea15f1150254: Pull complete 11:41:27 41b27a9f41bf: Pull complete 11:41:27 28c525ee5125: Pull complete 11:41:29 094b1ea09ed8: Pull complete 11:41:29 138eaada9080: Pull complete 11:41:29 0622d0fa9048: Pull complete 11:41:29 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 11:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:41:29 prd-centos7-docker-4c-2g-3050 does not seem to be running inside a container 11:41:29 $ 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-478 -v /w/workspace/dgexfoundry_device-sdk-go_PR-478:/w/workspace/dgexfoundry_device-sdk-go_PR-478:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:41:30 $ docker top 44940819f65efee68cf1d9c282973dbdee08df87a6c65ea5078ace04c3820ac3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:41:31 provisioning config files... 11:41:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config7997894189821273780tmp [Pipeline] { [Pipeline] echo 11:41:32 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:41:32 ---> create-netrc.sh [Pipeline] echo 11:41:32 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:41:32 ---> logs-deploy.sh 11:41:32 + ARCHIVE_ARTIFACTS= 11:41:32 + LOGS_SERVER=https://logs.edgexfoundry.org 11:41:32 + '[' https://logs.edgexfoundry.org == None ']' 11:41:32 + NEXUS_URL=https://nexus.edgexfoundry.org 11:41:32 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/3 11:41:32 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-478/3/ 11:41:32 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/3 /w/workspace/dgexfoundry_device-sdk-go_PR-478 11:41:34 Archives upload complete. 11:41:34 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-478/3/ 11:41:35 ---> uname -a: 11:41:35 Linux 44940819f65e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 11:41:35 11:41:35 11:41:35 ---> lscpu: 11:41:35 Architecture: x86_64 11:41:35 CPU op-mode(s): 32-bit, 64-bit 11:41:35 Byte Order: Little Endian 11:41:35 Address sizes: 40 bits physical, 48 bits virtual 11:41:35 CPU(s): 4 11:41:35 On-line CPU(s) list: 0-3 11:41:35 Thread(s) per core: 1 11:41:35 Core(s) per socket: 1 11:41:35 Socket(s): 4 11:41:35 NUMA node(s): 1 11:41:35 Vendor ID: GenuineIntel 11:41:35 CPU family: 6 11:41:35 Model: 44 11:41:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:41:35 Stepping: 1 11:41:35 CPU MHz: 2933.436 11:41:35 BogoMIPS: 5866.87 11:41:35 Virtualization: VT-x 11:41:35 Hypervisor vendor: KVM 11:41:35 Virtualization type: full 11:41:35 L1d cache: 128 KiB 11:41:35 L1i cache: 128 KiB 11:41:35 L2 cache: 16 MiB 11:41:35 L3 cache: 64 MiB 11:41:35 NUMA node0 CPU(s): 0-3 11:41:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 11:41:35 Vulnerability Meltdown: Mitigation; PTI 11:41:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:41:35 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 11:41:35 Vulnerability Spectre v2: Mitigation; Full retpoline 11:41:35 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 11:41:35 11:41:35 11:41:35 ---> nproc: 11:41:35 4 11:41:35 11:41:35 11:41:35 ---> df -h: 11:41:35 Filesystem Size Used Available Use% Mounted on 11:41:35 overlay 50.0G 6.4G 43.6G 13% / 11:41:35 tmpfs 64.0M 0 64.0M 0% /dev 11:41:35 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 11:41:35 shm 64.0M 0 64.0M 0% /dev/shm 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 11:41:35 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-478 11:41:35 11:41:35 11:41:35 ---> free -m: 11:41:35 total used free shared buff/cache available 11:41:35 Mem: 1838 612 64 0 1161 1121 11:41:35 Swap: 1023 0 1023 11:41:35 11:41:35 11:41:35 ---> ip addr: 11:41:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:41:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:41:35 inet 127.0.0.1/8 scope host lo 11:41:35 valid_lft forever preferred_lft forever 11:41:35 6: eth0@if7: mtu 1458 qdisc noqueue state UP 11:41:35 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 11:41:35 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 11:41:35 valid_lft forever preferred_lft forever 11:41:35 11:41:35 11:41:35 ---> sar -b -r -n DEV: 11:41:35 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/09/20 _x86_64_ (4 CPU) 11:41:35 11:41:35 11:34:41 LINUX RESTART 11:41:35 11:41:35 11:35:01 tps rtps wtps bread/s bwrtn/s 11:41:35 11:36:01 123.10 45.20 77.90 5149.64 37316.38 11:41:35 11:37:01 9.24 0.00 9.24 0.00 1784.12 11:41:35 11:38:01 0.98 0.00 0.98 0.00 13.72 11:41:35 11:39:01 0.63 0.00 0.63 0.00 7.53 11:41:35 11:40:01 0.33 0.00 0.33 0.00 5.43 11:41:35 11:41:02 0.35 0.00 0.35 0.00 4.78 11:41:35 Average: 22.45 7.54 14.91 858.58 6524.24 11:41:35 11:41:35 11:35:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:41:35 11:36:01 119412 1762892 93.66 2620 1215228 939280 32.05 439292 1166360 49672 11:41:35 11:37:01 126164 1756140 93.30 2620 1215264 903540 30.83 433928 1164696 8 11:41:35 11:38:01 124996 1757308 93.36 2620 1215272 903748 30.84 435284 1164680 8 11:41:35 11:39:01 124404 1757900 93.39 2620 1215272 903832 30.84 435664 1164680 8 11:41:35 11:40:01 126016 1756288 93.31 2620 1215280 903544 30.83 434232 1164680 8 11:41:35 11:41:02 125976 1756328 93.31 2620 1215284 903616 30.83 434496 1164680 8 11:41:35 Average: 124495 1757809 93.39 2620 1215267 909593 31.03 435483 1164963 8285 11:41:35 11:41:35 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 11:41:35 11:36:01 eth0 473.66 278.83 1031.16 102.31 0.00 0.00 0.00 11:41:35 11:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:36:01 docker0 7.32 6.44 0.99 16.33 0.00 0.00 0.00 11:41:35 11:37:01 eth0 0.85 0.10 0.07 0.02 0.00 0.00 0.00 11:41:35 11:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:38:01 eth0 0.82 0.38 0.30 0.20 0.00 0.00 0.00 11:41:35 11:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:39:01 eth0 0.73 0.50 0.52 0.39 0.00 0.00 0.00 11:41:35 11:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:40:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 11:41:35 11:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:41:02 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 11:41:35 11:41:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 11:41:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 Average: eth0 79.43 46.71 172.09 17.17 0.00 0.00 0.00 11:41:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:35 Average: docker0 1.22 1.07 0.16 2.72 0.00 0.00 0.00 11:41:35 11:41:35 11:41:35 ---> sar -P ALL: 11:41:35 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/09/20 _x86_64_ (4 CPU) 11:41:35 11:41:35 11:34:41 LINUX RESTART 11:41:35 11:41:35 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:41:35 11:36:01 all 16.83 0.00 7.94 8.16 1.65 65.42 11:41:35 11:36:01 0 15.70 0.00 8.11 8.03 1.70 66.46 11:41:35 11:36:01 1 18.53 0.00 8.59 9.24 1.42 62.22 11:41:35 11:36:01 2 15.29 0.00 8.05 7.08 1.86 67.71 11:41:35 11:36:01 3 17.79 0.00 7.01 8.28 1.61 65.31 11:41:35 11:37:01 all 0.16 0.00 0.10 0.00 0.21 99.52 11:41:35 11:37:01 0 0.15 0.00 0.08 0.00 0.33 99.43 11:41:35 11:37:01 1 0.25 0.00 0.05 0.00 0.18 99.52 11:41:35 11:37:01 2 0.12 0.00 0.17 0.00 0.18 99.53 11:41:35 11:37:01 3 0.13 0.00 0.10 0.00 0.15 99.62 11:41:35 11:38:01 all 0.17 0.00 0.05 0.00 0.24 99.54 11:41:35 11:38:01 0 0.08 0.00 0.10 0.00 0.33 99.48 11:41:35 11:38:01 1 0.20 0.00 0.05 0.00 0.15 99.60 11:41:35 11:38:01 2 0.32 0.00 0.03 0.00 0.35 99.30 11:41:35 11:38:01 3 0.03 0.00 0.03 0.00 0.13 99.80 11:41:35 11:39:01 all 0.10 0.00 0.05 0.00 0.49 99.37 11:41:35 11:39:01 0 0.03 0.00 0.03 0.00 0.37 99.57 11:41:35 11:39:01 1 0.08 0.00 0.07 0.00 0.93 98.92 11:41:35 11:39:01 2 0.28 0.00 0.05 0.00 0.47 99.20 11:41:35 11:39:01 3 0.03 0.00 0.03 0.00 0.20 99.73 11:41:35 11:40:01 all 0.07 0.00 0.06 0.00 0.16 99.70 11:41:35 11:40:01 0 0.10 0.00 0.08 0.00 0.33 99.48 11:41:35 11:40:01 1 0.03 0.00 0.05 0.00 0.12 99.80 11:41:35 11:40:01 2 0.13 0.00 0.10 0.00 0.10 99.67 11:41:35 11:40:01 3 0.02 0.00 0.03 0.00 0.08 99.87 11:41:35 11:41:02 all 0.17 0.00 0.05 0.00 0.12 99.66 11:41:35 11:41:02 0 0.08 0.00 0.07 0.00 0.23 99.62 11:41:35 11:41:02 1 0.05 0.00 0.05 0.00 0.03 99.87 11:41:35 11:41:02 2 0.50 0.00 0.05 0.00 0.20 99.25 11:41:35 11:41:02 3 0.03 0.00 0.03 0.00 0.05 99.88 11:41:35 Average: all 2.85 0.00 1.35 1.33 0.47 94.00 11:41:35 Average: 0 2.63 0.00 1.38 1.30 0.54 94.14 11:41:35 Average: 1 3.12 0.00 1.44 1.50 0.47 93.47 11:41:35 Average: 2 2.72 0.00 1.38 1.16 0.52 94.22 11:41:35 Average: 3 2.94 0.00 1.18 1.35 0.37 94.17 11:41:35 11:41:35 11:41:35