Pull request #429 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 5e086035fd190758fe582ba093e57a486efc0f6b rather than eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 Obtained Jenkinsfile from 5e086035fd190758fe582ba093e57a486efc0f6b 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-1350 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5e086035fd190758fe582ba093e57a486efc0f6b into PR head commit eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 Merge succeeded, producing eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 Checking out Revision eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # 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 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # timeout=10 Commit message: "Refactor updateLastConnectd function" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:43:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 967fc596d104cd3de29b9da9f4866e0708061fd6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:43:40 09:43:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:43:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:43:41 latest: Pulling from edgex-devops/git-semver 09:43:41 9123ac7c32f7: Pulling fs layer 09:43:41 b8cc5d1170e3: Pulling fs layer 09:43:41 2924cbbf6a41: Pulling fs layer 09:43:41 93b08a4f1073: Pulling fs layer 09:43:41 93b08a4f1073: Waiting 09:43:41 b8cc5d1170e3: Download complete 09:43:41 9123ac7c32f7: Verifying Checksum 09:43:41 9123ac7c32f7: Download complete 09:43:41 93b08a4f1073: Verifying Checksum 09:43:41 93b08a4f1073: Download complete 09:43:41 2924cbbf6a41: Verifying Checksum 09:43:41 2924cbbf6a41: Download complete 09:43:41 9123ac7c32f7: Pull complete 09:43:41 b8cc5d1170e3: Pull complete 09:43:42 2924cbbf6a41: Pull complete 09:43:42 93b08a4f1073: Pull complete 09:43:42 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:43:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:43:42 prd-centos7-docker-4c-2g-1350 does not seem to be running inside a container 09:43:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@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 09:43:43 $ docker top 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:43 [ssh-agent] Looking for ssh-agent implementation... 09:43:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:44 $ docker exec 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 ssh-agent 09:43:44 SSH_AUTH_SOCK=/tmp/ssh-fjZp77oFJmWk/agent.14 09:43:44 SSH_AGENT_PID=21 09:43:44 Running ssh-add (command line suppressed) 09:43:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_3378658993721272239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_3378658993721272239.key) 09:43:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:44 + git describe --exact-match --tags HEAD 09:43:44 fatal: No names found, cannot describe anything. [Pipeline] } 09:43:44 $ docker exec --env ******** --env ******** 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 ssh-agent -k 09:43:44 unset SSH_AUTH_SOCK; 09:43:44 unset SSH_AGENT_PID; 09:43:44 echo Agent pid 21 killed; 09:43:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:43:45 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:43:45 This usually means this commit has not been tagged. [Pipeline] sshagent 09:43:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:45 [ssh-agent] Looking for ssh-agent implementation... 09:43:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:45 $ docker exec 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 ssh-agent 09:43:45 SSH_AUTH_SOCK=/tmp/ssh-bbXfGkgOUfOP/agent.56 09:43:45 SSH_AGENT_PID=62 09:43:45 Running ssh-add (command line suppressed) 09:43:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_5394025586859760232.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_5394025586859760232.key) 09:43:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:46 + git semver init 09:43:46 # -> Open(): unable to determine branch for HEAD 09:43:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.git 09:43:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-429 09:43:46 # $SEMVER_REMOTE_NAME = origin 09:43:46 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:43:46 # $SEMVER_USER_NAME = jenkins 09:43:46 # $SEMVER_BRANCH = PR-429 09:43:46 # $SEMVER_TEMP = /tmp/semver-080108501 09:43:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:43:46 # '/tmp/semver-080108501' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver' 09:43:46 # -> Force: false 09:43:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver [Pipeline] } 09:43:46 $ docker exec --env ******** --env ******** 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 ssh-agent -k 09:43:46 unset SSH_AUTH_SOCK; 09:43:46 unset SSH_AGENT_PID; 09:43:46 echo Agent pid 62 killed; 09:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:43:47 + git semver [Pipeline] } 09:43:47 $ docker stop --time=1 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 09:43:48 $ docker rm -f 00c19bdf8eaada81eb1818079a5874437e89c7cf5497a43ad36fe79dbeccb0a6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:43:49 Stashed 33 file(s) [Pipeline] echo 09:43:49 [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 09:44:04 Still waiting to schedule task 09:44:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1350’ 09:44:04 Still waiting to schedule task 09:44:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:45:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1351 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws 09:45:56 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 09:46:02 using credential edgex-jenkins-ssh 09:46:02 Cloning the remote Git repository 09:46:02 Cloning with configured refspecs honoured and without tags 09:46:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:46:03 > git init /w/workspace/device-sdk-go/13 # timeout=10 09:46:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:46:03 > git --version # timeout=10 09:46:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:46:04 > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 09:46:04 Fetching without tags 09:46:04 Merging remotes/origin/master commit 5e086035fd190758fe582ba093e57a486efc0f6b into PR head commit eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 09:46:05 Merge succeeded, producing eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 09:46:05 Checking out Revision eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 (PR-429) 09:46:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:04 > git config core.sparsecheckout # timeout=10 09:46:04 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # timeout=10 09:46:05 > git remote # timeout=10 09:46:05 > git config --get remote.origin.url # timeout=10 09:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:05 > git merge 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 09:46:05 > git rev-parse HEAD^{commit} # timeout=10 09:46:05 > git config core.sparsecheckout # timeout=10 09:46:05 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # timeout=10 09:46:09 Commit message: "Refactor updateLastConnectd function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:46:11 ========================================================= 09:46:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:46:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:46:12 + 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 . 09:46:13 Sending build context to Docker daemon 2.698MB 09:46:13 Step 1/8 : ARG BASE=golang:1.13-alpine 09:46:13 Step 2/8 : FROM ${BASE} 09:46:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:46:14 cde5963f3b93: Pulling fs layer 09:46:14 2a23fa8c16f7: Pulling fs layer 09:46:14 777b28850792: Pulling fs layer 09:46:14 8a11ddd9e578: Pulling fs layer 09:46:14 4cf88f913ddb: Pulling fs layer 09:46:14 1df406cf5192: Pulling fs layer 09:46:14 cd6300453558: Pulling fs layer 09:46:14 b9c365052c96: Pulling fs layer 09:46:14 a2d8cc88f415: Pulling fs layer 09:46:14 ea1d1ca13537: Pulling fs layer 09:46:14 3750a50a1c5e: Pulling fs layer 09:46:14 4cf88f913ddb: Waiting 09:46:14 1df406cf5192: Waiting 09:46:14 cd6300453558: Waiting 09:46:14 b9c365052c96: Waiting 09:46:14 a2d8cc88f415: Waiting 09:46:14 ea1d1ca13537: Waiting 09:46:14 3750a50a1c5e: Waiting 09:46:14 8a11ddd9e578: Waiting 09:46:14 777b28850792: Verifying Checksum 09:46:14 777b28850792: Download complete 09:46:14 2a23fa8c16f7: Download complete 09:46:14 4cf88f913ddb: Download complete 09:46:14 1df406cf5192: Download complete 09:46:14 cde5963f3b93: Verifying Checksum 09:46:14 cde5963f3b93: Download complete 09:46:15 cde5963f3b93: Pull complete 09:46:15 2a23fa8c16f7: Pull complete 09:46:15 777b28850792: Pull complete 09:46:18 cd6300453558: Verifying Checksum 09:46:18 cd6300453558: Download complete 09:46:18 a2d8cc88f415: Download complete 09:46:21 ea1d1ca13537: Verifying Checksum 09:46:21 ea1d1ca13537: Download complete 09:46:21 3750a50a1c5e: Verifying Checksum 09:46:21 3750a50a1c5e: Download complete 09:46:23 b9c365052c96: Verifying Checksum 09:46:23 b9c365052c96: Download complete 09:46:25 8a11ddd9e578: Verifying Checksum 09:46:25 8a11ddd9e578: Download complete 09:46:30 Running on prd-centos7-docker-4c-2g-1352 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws 09:46:30 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 09:46:33 using credential edgex-jenkins-ssh 09:46:33 Cloning the remote Git repository 09:46:33 Cloning with configured refspecs honoured and without tags 09:46:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:46:33 > git init /w/workspace/device-sdk-go/13 # timeout=10 09:46:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:46:33 > git --version # timeout=10 09:46:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:34 Fetching without tags 09:46:34 Merging remotes/origin/master commit 5e086035fd190758fe582ba093e57a486efc0f6b into PR head commit eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 09:46:34 Merge succeeded, producing eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 09:46:34 Checking out Revision eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 (PR-429) 09:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:46:34 > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 09:46:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:46:34 > git config core.sparsecheckout # timeout=10 09:46:34 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # timeout=10 09:46:34 > git remote # timeout=10 09:46:34 > git config --get remote.origin.url # timeout=10 09:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:34 > git merge 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 09:46:34 > git rev-parse HEAD^{commit} # timeout=10 09:46:34 > git config core.sparsecheckout # timeout=10 09:46:34 > git checkout -f eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 # timeout=10 09:46:38 8a11ddd9e578: Pull complete 09:46:38 4cf88f913ddb: Pull complete 09:46:38 1df406cf5192: Pull complete 09:46:39 Commit message: "Refactor updateLastConnectd function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:46:40 ========================================================= 09:46:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:46:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:46:41 cd6300453558: Pull complete 09:46:41 + 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 . 09:46:41 Sending build context to Docker daemon 2.701MB 09:46:41 Step 1/8 : ARG BASE=golang:1.13-alpine 09:46:41 Step 2/8 : FROM ${BASE} 09:46:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:46:42 e6b0cf9c0882: Pulling fs layer 09:46:42 2848faf0eed1: Pulling fs layer 09:46:42 0f37312ad70f: Pulling fs layer 09:46:42 5788d62ee057: Pulling fs layer 09:46:42 0e6b1d234666: Pulling fs layer 09:46:42 bf5d7aec512f: Pulling fs layer 09:46:42 34c802a77dc8: Pulling fs layer 09:46:42 9eb99e56ec68: Pulling fs layer 09:46:42 27c7a5d97fbd: Pulling fs layer 09:46:42 5c102a31e300: Pulling fs layer 09:46:42 dcfb455df0a1: Pulling fs layer 09:46:42 bf5d7aec512f: Waiting 09:46:42 34c802a77dc8: Waiting 09:46:42 9eb99e56ec68: Waiting 09:46:42 27c7a5d97fbd: Waiting 09:46:42 5c102a31e300: Waiting 09:46:42 dcfb455df0a1: Waiting 09:46:42 5788d62ee057: Waiting 09:46:42 0e6b1d234666: Waiting 09:46:42 0f37312ad70f: Verifying Checksum 09:46:42 0f37312ad70f: Download complete 09:46:42 2848faf0eed1: Verifying Checksum 09:46:42 2848faf0eed1: Download complete 09:46:42 0e6b1d234666: Verifying Checksum 09:46:42 0e6b1d234666: Download complete 09:46:42 bf5d7aec512f: Download complete 09:46:42 e6b0cf9c0882: Verifying Checksum 09:46:42 e6b0cf9c0882: Download complete 09:46:42 e6b0cf9c0882: Pull complete 09:46:43 34c802a77dc8: Verifying Checksum 09:46:43 34c802a77dc8: Download complete 09:46:43 27c7a5d97fbd: Verifying Checksum 09:46:43 27c7a5d97fbd: Download complete 09:46:43 5c102a31e300: Verifying Checksum 09:46:43 5c102a31e300: Download complete 09:46:44 dcfb455df0a1: Download complete 09:46:44 9eb99e56ec68: Verifying Checksum 09:46:44 9eb99e56ec68: Download complete 09:46:44 5788d62ee057: Verifying Checksum 09:46:44 5788d62ee057: Download complete 09:46:44 2848faf0eed1: Pull complete 09:46:44 0f37312ad70f: Pull complete 09:46:46 b9c365052c96: Pull complete 09:46:46 a2d8cc88f415: Pull complete 09:46:48 ea1d1ca13537: Pull complete 09:46:48 3750a50a1c5e: Pull complete 09:46:48 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:46:48 ---> 78745c68409d 09:46:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:46:51 5788d62ee057: Pull complete 09:46:51 0e6b1d234666: Pull complete 09:46:51 bf5d7aec512f: Pull complete 09:46:52 ---> Running in 2fea6d3e025d 09:46:53 Removing intermediate container 2fea6d3e025d 09:46:53 ---> 9a33a7643606 09:46:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:53 ---> Running in 7f2a2327ec31 09:46:55 Removing intermediate container 7f2a2327ec31 09:46:55 ---> c0150315bcaf 09:46:55 Step 5/8 : RUN apk add --no-cache make git 09:46:55 ---> Running in 5308f1393bd5 09:46:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:46:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:46:57 OK: 125 MiB in 39 packages 09:46:58 34c802a77dc8: Pull complete 09:46:59 Removing intermediate container 5308f1393bd5 09:46:59 ---> 16ef89a3f8dc 09:46:59 Step 6/8 : WORKDIR /device-sdk-go 09:46:59 ---> Running in 0f1c15b95dac 09:46:59 Removing intermediate container 0f1c15b95dac 09:46:59 ---> f1e6f1d79796 09:46:59 Step 7/8 : COPY . . 09:47:00 ---> 55d02673e7aa 09:47:00 Step 8/8 : RUN go mod download 09:47:00 ---> Running in d120456215fb 09:47:02 9eb99e56ec68: Pull complete 09:47:02 27c7a5d97fbd: Pull complete 09:47:02 go: finding github.com/BurntSushi/toml v0.3.1 09:47:02 go: finding github.com/OneOfOne/xxhash v1.2.6 09:47:02 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:47:02 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:47:02 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:47:02 go: finding github.com/bgentry/speakeasy v0.1.0 09:47:02 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:47:02 go: finding github.com/davecgh/go-spew v1.1.1 09:47:02 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:47:02 5c102a31e300: Pull complete 09:47:02 dcfb455df0a1: Pull complete 09:47:02 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:47:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:47:02 ---> 7c70fe431013 09:47:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:47:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:47:03 go: finding github.com/fatih/color v1.7.0 09:47:03 go: finding github.com/go-kit/kit v0.8.0 09:47:03 go: finding github.com/go-logfmt/logfmt v0.4.0 09:47:03 go: finding github.com/go-stack/stack v1.8.0 09:47:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:47:03 go: finding github.com/google/uuid v1.1.0 09:47:03 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:47:03 go: finding github.com/gorilla/mux v1.6.2 09:47:03 go: finding github.com/hashicorp/consul v1.4.2 09:47:03 ---> Running in 307e094dc032 09:47:03 Removing intermediate container 307e094dc032 09:47:03 ---> 26f05113e296 09:47:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:47:03 ---> Running in fa1c659470d7 09:47:03 go: finding github.com/hashicorp/errwrap v1.0.0 09:47:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:47:03 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:47:03 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:47:03 go: finding github.com/hashicorp/go-multierror v1.0.0 09:47:03 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:47:03 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:47:03 go: finding github.com/hashicorp/go-syslog v1.0.0 09:47:03 go: finding github.com/hashicorp/go-uuid v1.0.1 09:47:03 go: finding github.com/hashicorp/go.net v0.0.1 09:47:03 go: finding github.com/hashicorp/golang-lru v0.5.0 09:47:03 go: finding github.com/hashicorp/logutils v1.0.0 09:47:03 go: finding github.com/hashicorp/mdns v1.0.0 09:47:03 go: finding github.com/hashicorp/memberlist v0.1.3 09:47:03 go: finding github.com/hashicorp/serf v0.8.2 09:47:03 go: finding github.com/jessevdk/go-flags v1.4.0 09:47:03 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:47:03 go: finding github.com/mattn/go-colorable v0.0.9 09:47:03 go: finding github.com/mattn/go-isatty v0.0.3 09:47:03 go: finding github.com/miekg/dns v1.0.14 09:47:03 go: finding github.com/mitchellh/cli v1.0.0 09:47:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:47:03 go: finding github.com/mitchellh/copystructure v1.0.0 09:47:03 go: finding github.com/mitchellh/go-homedir v1.0.0 09:47:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:47:04 go: finding github.com/mitchellh/gox v0.4.0 09:47:04 go: finding github.com/mitchellh/iochan v1.0.0 09:47:04 go: finding github.com/mitchellh/mapstructure v1.1.2 09:47:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:47:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:47:04 go: finding github.com/pelletier/go-toml v1.2.0 09:47:04 go: finding github.com/pkg/errors v0.8.1 09:47:04 go: finding github.com/pmezard/go-difflib v1.0.0 09:47:04 go: finding github.com/posener/complete v1.1.1 09:47:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:47:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:47:04 go: finding github.com/stretchr/objx v0.1.0 09:47:04 go: finding github.com/stretchr/testify v1.3.0 09:47:04 go: finding github.com/ugorji/go v1.1.4 09:47:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:47:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:47:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:47:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:47:04 Removing intermediate container fa1c659470d7 09:47:04 ---> 10c1c1daa46d 09:47:04 Step 5/8 : RUN apk add --no-cache make git 09:47:04 ---> Running in fd4e729a7e28 09:47:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:47:04 go: finding gopkg.in/yaml.v2 v2.2.2 09:47:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:47:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:47:07 OK: 143 MiB in 39 packages 09:47:07 Removing intermediate container fd4e729a7e28 09:47:07 ---> ce7568bfb77a 09:47:07 Step 6/8 : WORKDIR /device-sdk-go 09:47:07 ---> Running in e8fa72fac0b7 09:47:07 Removing intermediate container e8fa72fac0b7 09:47:07 ---> 6a7e591d4b5d 09:47:07 Step 7/8 : COPY . . 09:47:08 ---> 84ae3028de2d 09:47:08 Step 8/8 : RUN go mod download 09:47:08 ---> Running in e7f094119f53 09:47:10 go: finding github.com/BurntSushi/toml v0.3.1 09:47:10 go: finding github.com/OneOfOne/xxhash v1.2.6 09:47:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:47:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:47:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:47:10 go: finding github.com/bgentry/speakeasy v0.1.0 09:47:10 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:47:10 go: finding github.com/davecgh/go-spew v1.1.1 09:47:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:47:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:47:10 go: finding github.com/fatih/color v1.7.0 09:47:10 go: finding github.com/go-kit/kit v0.8.0 09:47:10 go: finding github.com/go-logfmt/logfmt v0.4.0 09:47:10 go: finding github.com/go-stack/stack v1.8.0 09:47:11 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:47:11 go: finding github.com/google/uuid v1.1.0 09:47:11 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:47:11 go: finding github.com/gorilla/mux v1.6.2 09:47:11 go: finding github.com/hashicorp/consul v1.4.2 09:47:11 go: finding github.com/hashicorp/errwrap v1.0.0 09:47:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:47:11 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:47:11 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:47:11 go: finding github.com/hashicorp/go-multierror v1.0.0 09:47:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:47:11 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:47:11 go: finding github.com/hashicorp/go-syslog v1.0.0 09:47:11 go: finding github.com/hashicorp/go-uuid v1.0.1 09:47:11 go: finding github.com/hashicorp/go.net v0.0.1 09:47:11 go: finding github.com/hashicorp/golang-lru v0.5.0 09:47:11 go: finding github.com/hashicorp/logutils v1.0.0 09:47:11 go: finding github.com/hashicorp/mdns v1.0.0 09:47:11 go: finding github.com/hashicorp/memberlist v0.1.3 09:47:11 go: finding github.com/hashicorp/serf v0.8.2 09:47:11 go: finding github.com/jessevdk/go-flags v1.4.0 09:47:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:47:11 go: finding github.com/mattn/go-colorable v0.0.9 09:47:11 go: finding github.com/mattn/go-isatty v0.0.3 09:47:11 go: finding github.com/miekg/dns v1.0.14 09:47:11 go: finding github.com/mitchellh/cli v1.0.0 09:47:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:47:12 go: finding github.com/mitchellh/copystructure v1.0.0 09:47:12 go: finding github.com/mitchellh/go-homedir v1.0.0 09:47:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:47:12 go: finding github.com/mitchellh/gox v0.4.0 09:47:12 go: finding github.com/mitchellh/iochan v1.0.0 09:47:12 go: finding github.com/mitchellh/mapstructure v1.1.2 09:47:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:47:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:47:12 go: finding github.com/pelletier/go-toml v1.2.0 09:47:12 go: finding github.com/pkg/errors v0.8.1 09:47:12 go: finding github.com/pmezard/go-difflib v1.0.0 09:47:12 go: finding github.com/posener/complete v1.1.1 09:47:12 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:47:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:47:12 go: finding github.com/stretchr/objx v0.1.0 09:47:12 go: finding github.com/stretchr/testify v1.3.0 09:47:12 go: finding github.com/ugorji/go v1.1.4 09:47:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:47:12 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:47:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:47:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:47:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:47:13 go: finding gopkg.in/yaml.v2 v2.2.2 09:47:19 Removing intermediate container d120456215fb 09:47:19 ---> 01407e6750bd 09:47:19 Successfully built 01407e6750bd 09:47:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:47:20 + docker inspect -f . ci-base-image-arm64 09:47:20 . [Pipeline] withDockerContainer 09:47:21 prd-ubuntu18.04-docker-arm64-4c-16g-1351 does not seem to be running inside a container 09:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 09:47:22 $ docker top 758211d3e95327c32753831e2cb8000d7af1f68aca81097209d8508cd0b180a3 -eo pid,comm 09:47:23 Removing intermediate container e7f094119f53 09:47:23 ---> 6bf56b6d55ee 09:47:23 Successfully built 6bf56b6d55ee 09:47:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:47:23 + docker inspect -f . ci-base-image-x86_64 09:47:23 . [Pipeline] withDockerContainer 09:47:23 + go version 09:47:23 go version go1.13.5 linux/arm64 09:47:24 prd-centos7-docker-4c-2g-1352 does not seem to be running inside a container 09:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 09:47:26 $ docker top 563247c126af52da16a83524685ea43d43d2db41a1b3154c5e67d61d2d880fff -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 09:47:27 + go version 09:47:27 go version go1.13.5 linux/amd64 [Pipeline] sh 09:47:27 + make test 09:47:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:47:27 + make test 09:47:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:47:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:47:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:47:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:47:52 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements 09:47:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.060s coverage: 95.8% of statements 09:47:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.307s coverage: 12.7% of statements 09:47:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 25.2% of statements 09:48:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:48:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:48:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:48:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 23.1% of statements 09:48:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.235s coverage: 95.8% of statements 09:48:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.107s coverage: 12.7% of statements 09:48:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.036s coverage: 25.2% of statements 09:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.014s coverage: 30.0% of statements 09:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.430s coverage: 42.3% of statements 09:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.569s coverage: 79.9% of statements 09:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.053s coverage: 52.6% of statements 09:48:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.271s coverage: 76.1% of statements 09:48:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:48:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:48:28 gofmt -l . 09:48:28 [ "`gofmt -l .`" = "" ] 09:48:28 ./bin/test-attribution-txt.sh 09:48:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:48:30 Stashed 1 file(s) [Pipeline] } 09:48:30 $ docker stop --time=1 563247c126af52da16a83524685ea43d43d2db41a1b3154c5e67d61d2d880fff 09:48:31 $ docker rm -f 563247c126af52da16a83524685ea43d43d2db41a1b3154c5e67d61d2d880fff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:33 + ls -al . 09:48:33 total 200 09:48:33 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 30 09:48 . 09:48:33 drwxrwxr-x. 4 jenkins jenkins 30 Mar 30 09:46 .. 09:48:33 drwxrwxr-x. 3 jenkins jenkins 20 Mar 30 09:46 api 09:48:33 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 30 09:46 async.go 09:48:33 drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 09:46 bin 09:48:33 -rw-r--r--. 1 jenkins jenkins 100361 Mar 30 09:48 coverage.out 09:48:33 -rw-rw-r--. 1 jenkins jenkins 936 Mar 30 09:46 Dockerfile.build 09:48:33 -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 09:46 .dockerignore 09:48:33 drwxrwxr-x. 4 jenkins jenkins 31 Mar 30 09:46 example 09:48:33 drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 09:46 .git 09:48:33 drwxrwxr-x. 2 jenkins jenkins 38 Mar 30 09:46 .github 09:48:33 -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 09:46 .gitignore 09:48:33 -rw-r--r--. 1 jenkins jenkins 536 Mar 30 09:48 go.mod 09:48:33 -rw-r--r--. 1 jenkins jenkins 11140 Mar 30 09:48 go.sum 09:48:33 drwxrwxr-x. 13 jenkins jenkins 176 Mar 30 09:46 internal 09:48:33 -rw-rw-r--. 1 jenkins jenkins 808 Mar 30 09:46 Jenkinsfile 09:48:33 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 09:46 LICENSE 09:48:33 -rw-rw-r--. 1 jenkins jenkins 892 Mar 30 09:46 Makefile 09:48:33 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 30 09:46 manageddevices.go 09:48:33 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 30 09:46 managedprofiles.go 09:48:33 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 30 09:46 managedwatchers.go 09:48:33 drwxrwxr-x. 4 jenkins jenkins 35 Mar 30 09:46 pkg 09:48:33 -rw-rw-r--. 1 jenkins jenkins 2249 Mar 30 09:46 README.md 09:48:33 drwxrwxr-x. 3 jenkins jenkins 58 Mar 30 09:46 .semver 09:48:33 -rw-rw-r--. 1 jenkins jenkins 9817 Mar 30 09:46 service.go 09:48:33 drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 09:46 snap 09:48:33 -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 09:43 VERSION 09:48:33 -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 09:46 version.go [Pipeline] isUnix [Pipeline] sh 09:48:33 + 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=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 --label arch=amd64 --label version=0.0.0 . 09:48:33 Sending build context to Docker daemon 2.827MB 09:48:33 Step 1/20 : ARG BASE=golang:1.13-alpine 09:48:33 Step 2/20 : FROM ${BASE} AS builder 09:48:33 ---> 6bf56b6d55ee 09:48:33 Step 3/20 : ARG MAKE='make build' 09:48:33 ---> Running in a97c0836109d 09:48:33 Removing intermediate container a97c0836109d 09:48:33 ---> c6c473f7ab1d 09:48:33 Step 4/20 : WORKDIR /device-sdk-go 09:48:33 ---> Running in 1cee5c9de501 09:48:33 Removing intermediate container 1cee5c9de501 09:48:33 ---> 1ceeb7aa1599 09:48:33 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:33 ---> Running in 6c350261d09e 09:48:34 Removing intermediate container 6c350261d09e 09:48:34 ---> e82759c0e4df 09:48:34 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:34 ---> Running in 4b620b112342 09:48:35 Removing intermediate container 4b620b112342 09:48:35 ---> b92b04594436 09:48:35 Step 7/20 : RUN apk add --update --no-cache make git 09:48:35 ---> Running in bbd7ad6ffadc 09:48:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:48:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:48:37 OK: 143 MiB in 39 packages 09:48:38 Removing intermediate container bbd7ad6ffadc 09:48:38 ---> 02d61657f8d1 09:48:38 Step 8/20 : COPY . . 09:48:38 ---> 1f0590b6e81f 09:48:38 Step 9/20 : RUN ${MAKE} 09:48:38 ---> Running in 9ba1d0d302a5 09:48:38 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 09:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.059s coverage: 30.0% of statements 09:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.425s coverage: 42.3% of statements 09:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.006s coverage: 79.9% of statements 09:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.087s coverage: 52.6% of statements 09:48:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.357s coverage: 76.1% of statements 09:48:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:48:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:48:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:48:53 gofmt -l . 09:48:53 [ "`gofmt -l .`" = "" ] 09:48:54 ./bin/test-attribution-txt.sh 09:48:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:48:55 Warning: overwriting stash ‘coverage-report’ 09:48:55 Stashed 1 file(s) [Pipeline] } 09:48:55 $ docker stop --time=1 758211d3e95327c32753831e2cb8000d7af1f68aca81097209d8508cd0b180a3 09:48:57 Removing intermediate container 9ba1d0d302a5 09:48:57 ---> 245a4ab4ca5a 09:48:57 Step 10/20 : FROM scratch 09:48:57 ---> 09:48:57 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:48:57 ---> Running in 89818cfc7615 09:48:57 Removing intermediate container 89818cfc7615 09:48:57 ---> bfd18d5582d6 09:48:57 Step 12/20 : ENV APP_PORT=49990 09:48:57 ---> Running in 1bff26efd445 09:48:57 Removing intermediate container 1bff26efd445 09:48:57 ---> f791f5a566fa 09:48:57 Step 13/20 : EXPOSE $APP_PORT 09:48:57 ---> Running in 8f9c98b925cc 09:48:57 Removing intermediate container 8f9c98b925cc 09:48:57 ---> b2a0c68e5ab7 09:48:57 Step 14/20 : WORKDIR / 09:48:57 ---> Running in 85404d91d1bb 09:48:57 Removing intermediate container 85404d91d1bb 09:48:57 ---> bac6e24a96f3 09:48:57 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:48:57 $ docker rm -f 758211d3e95327c32753831e2cb8000d7af1f68aca81097209d8508cd0b180a3 09:48:58 ---> 3acd141284a3 09:48:58 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:48:58 ---> 62d663a0ae49 09:48:58 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:48:58 ---> Running in f04f55345646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 09:48:58 Removing intermediate container f04f55345646 09:48:58 ---> fba5e52f1ae3 09:48:58 Step 18/20 : LABEL arch=amd64 09:48:58 ---> Running in 821afc6defdd 09:48:58 Removing intermediate container 821afc6defdd 09:48:58 ---> 542eba127fa7 09:48:58 Step 19/20 : LABEL git_sha=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:59 ---> Running in 038a0bba1f4f 09:48:59 Removing intermediate container 038a0bba1f4f 09:48:59 ---> 9410597164ec 09:48:59 Step 20/20 : LABEL version=0.0.0 09:48:59 ---> Running in cce8bda6c745 09:48:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:59 Removing intermediate container cce8bda6c745 09:48:59 ---> ee4b0b9a521d 09:48:59 [Warning] One or more build-args [ARCH] were not consumed 09:48:59 Successfully built ee4b0b9a521d 09:48:59 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 09:48:59 + ls -al . 09:48:59 total 240 09:48:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 09:48 . 09:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 .. 09:48:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 09:46 .dockerignore 09:48:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 09:46 .git 09:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:46 .github 09:48:59 -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 09:46 .gitignore 09:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 09:46 .semver 09:48:59 -rw-rw-r-- 1 jenkins jenkins 936 Mar 30 09:46 Dockerfile.build 09:48:59 -rw-rw-r-- 1 jenkins jenkins 808 Mar 30 09:46 Jenkinsfile 09:48:59 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 09:46 LICENSE 09:48:59 -rw-rw-r-- 1 jenkins jenkins 892 Mar 30 09:46 Makefile 09:48:59 -rw-rw-r-- 1 jenkins jenkins 2249 Mar 30 09:46 README.md 09:48:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 09:43 VERSION 09:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 09:46 api 09:48:59 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 30 09:46 async.go 09:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:46 bin 09:48:59 -rw-r--r-- 1 jenkins jenkins 100361 Mar 30 09:48 coverage.out 09:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 example 09:48:59 -rw-r--r-- 1 jenkins jenkins 536 Mar 30 09:48 go.mod 09:48:59 -rw-r--r-- 1 jenkins jenkins 11140 Mar 30 09:48 go.sum 09:48:59 drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 09:46 internal 09:48:59 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 30 09:46 manageddevices.go 09:48:59 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 30 09:46 managedprofiles.go 09:48:59 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 30 09:46 managedwatchers.go 09:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 pkg 09:48:59 -rw-rw-r-- 1 jenkins jenkins 9817 Mar 30 09:46 service.go 09:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 snap 09:48:59 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 09:46 version.go [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:48:59 + 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=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 --label arch=arm64 --label version=0.0.0 . 09:49:00 Sending build context to Docker daemon 2.824MB 09:49:00 Step 1/20 : ARG BASE=golang:1.13-alpine 09:49:00 Step 2/20 : FROM ${BASE} AS builder 09:49:00 ---> 01407e6750bd 09:49:00 Step 3/20 : ARG MAKE='make build' 09:49:00 ---> Running in bd394a40cabe 09:49:01 Removing intermediate container bd394a40cabe 09:49:01 ---> ae493218f8c9 09:49:01 Step 4/20 : WORKDIR /device-sdk-go 09:49:01 ---> Running in 6670bdeb47ab 09:49:01 Removing intermediate container 6670bdeb47ab 09:49:01 ---> c88c91d07afc 09:49:01 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:49:01 ---> Running in 90159d55ddd3 09:49:01 Removing intermediate container 90159d55ddd3 09:49:01 ---> beeed7c09e67 09:49:01 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:49:02 ---> Running in 1afe9a1c5fd0 09:49:04 Removing intermediate container 1afe9a1c5fd0 09:49:04 ---> fd24dc8c54eb 09:49:04 Step 7/20 : RUN apk add --update --no-cache make git 09:49:04 ---> Running in bf6c4bcb3666 09:49:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:49:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:49:06 OK: 125 MiB in 39 packages 09:49:07 Removing intermediate container bf6c4bcb3666 09:49:07 ---> d346773e8755 09:49:07 Step 8/20 : COPY . . 09:49:08 ---> c9ba3d115918 09:49:08 Step 9/20 : RUN ${MAKE} 09:49:08 ---> Running in 5ae8d6a90840 09:49:09 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 09:49:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:49:58 Removing intermediate container 5ae8d6a90840 09:49:58 ---> 15c28e906125 09:49:58 Step 10/20 : FROM scratch 09:49:58 ---> 09:49:58 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:49:58 ---> Running in 8e809f70ae62 09:49:58 Removing intermediate container 8e809f70ae62 09:49:58 ---> 229ccc4f6948 09:49:58 Step 12/20 : ENV APP_PORT=49990 09:49:58 ---> Running in 5805aa6e74b1 09:49:58 Removing intermediate container 5805aa6e74b1 09:49:58 ---> ff686e5220bb 09:49:58 Step 13/20 : EXPOSE $APP_PORT 09:49:58 ---> Running in a47316aa47fd 09:49:58 Removing intermediate container a47316aa47fd 09:49:58 ---> 8ae72f59c671 09:49:58 Step 14/20 : WORKDIR / 09:49:59 ---> Running in 2f8a6ae00500 09:49:59 Removing intermediate container 2f8a6ae00500 09:49:59 ---> e856558e5fd9 09:49:59 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:50:00 ---> baab7bdd42f3 09:50:00 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:50:01 ---> 31db3f1179aa 09:50:01 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:50:01 ---> Running in c6f66f6e0366 09:50:01 Removing intermediate container c6f66f6e0366 09:50:01 ---> 2b1266fa03b0 09:50:01 Step 18/20 : LABEL arch=arm64 09:50:01 ---> Running in f091cb4e6d48 09:50:01 Removing intermediate container f091cb4e6d48 09:50:01 ---> 8580499d70c5 09:50:01 Step 19/20 : LABEL git_sha=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 09:50:02 ---> Running in 9824070de62a 09:50:02 Removing intermediate container 9824070de62a 09:50:02 ---> ba25179f3068 09:50:02 Step 20/20 : LABEL version=0.0.0 09:50:02 ---> Running in 932fa2c31322 09:50:02 Removing intermediate container 932fa2c31322 09:50:02 ---> d8ce836777b6 09:50:02 [Warning] One or more build-args [ARCH] were not consumed 09:50:02 Successfully built d8ce836777b6 09:50:02 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 09:50:04 provisioning config files... 09:50:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config1148251752823625714tmp [Pipeline] { [Pipeline] sh 09:50:04 + curl -s https://codecov.io/bash 09:50:04 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config1148251752823625714tmp 09:50:04 09:50:04 _____ _ 09:50:04 / ____| | | 09:50:04 | | ___ __| | ___ ___ _____ __ 09:50:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:50:04 | |___| (_) | (_| | __/ (_| (_) \ V / 09:50:04 \_____\___/ \__,_|\___|\___\___/ \_/ 09:50:04 Bash-tbd 09:50:04 09:50:04 09:50:04 ==> Jenkins CI detected. 09:50:04 project root: . 09:50:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:50:04 ==> Running gcov in . (disable via -X gcov) 09:50:04 ==> Python coveragepy not found 09:50:04 ==> Searching for coverage reports in: 09:50:04 + . 09:50:04 -> Found 1 reports 09:50:04 ==> Detecting git/mercurial file structure 09:50:04 ==> Reading reports 09:50:04 + ./coverage.out bytes=100361 09:50:04 ==> Appending adjustments 09:50:04 http://docs.codecov.io/docs/fixing-reports 09:50:04 + Found adjustments 09:50:04 ==> Gzipping contents 09:50:05 ==> Uploading reports 09:50:05 url: https://codecov.io 09:50:05 query: branch=PR-429&commit=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= 09:50:05 -> Pinging Codecov 09:50:05 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-429&commit=eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= 09:50:05 -> Uploading 09:50:05 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/eaeb153b1b0b1ca8f8a0ecdedc2a2d9fb196a509 [Pipeline] } 09:50:05 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 09:50:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:50:07 ---> package-listing.sh 09:50:07 ++ facter osfamily 09:50:07 ++ tr '[:upper:]' '[:lower:]' 09:50:07 + OS_FAMILY=redhat 09:50:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-429 09:50:07 + START_PACKAGES=/tmp/packages_start.txt 09:50:07 + END_PACKAGES=/tmp/packages_end.txt 09:50:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:50:07 + PACKAGES=/tmp/packages_start.txt 09:50:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' 09:50:07 + PACKAGES=/tmp/packages_end.txt 09:50:07 + case "${OS_FAMILY}" in 09:50:07 + rpm -qa 09:50:07 + sort 09:50:11 + '[' -f /tmp/packages_start.txt ']' 09:50:11 + '[' -f /tmp/packages_end.txt ']' 09:50:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:50:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' 09:50:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ 09:50:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ [Pipeline] isUnix [Pipeline] sh 09:50:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:50:12 09:50:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:50:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:50:12 alpine: Pulling from edgex-lftools-log-publisher 09:50:12 c9b1b535fdd9: Pulling fs layer 09:50:12 2cc5ad85d9ab: Pulling fs layer 09:50:12 756a868c4378: Pulling fs layer 09:50:12 444b2fc9a129: Pulling fs layer 09:50:12 ea15f1150254: Pulling fs layer 09:50:12 41b27a9f41bf: Pulling fs layer 09:50:12 28c525ee5125: Pulling fs layer 09:50:12 094b1ea09ed8: Pulling fs layer 09:50:12 138eaada9080: Pulling fs layer 09:50:12 0622d0fa9048: Pulling fs layer 09:50:12 444b2fc9a129: Waiting 09:50:12 ea15f1150254: Waiting 09:50:12 28c525ee5125: Waiting 09:50:12 138eaada9080: Waiting 09:50:12 41b27a9f41bf: Waiting 09:50:12 0622d0fa9048: Waiting 09:50:12 2cc5ad85d9ab: Download complete 09:50:12 444b2fc9a129: Verifying Checksum 09:50:12 444b2fc9a129: Download complete 09:50:12 c9b1b535fdd9: Verifying Checksum 09:50:12 c9b1b535fdd9: Download complete 09:50:12 ea15f1150254: Verifying Checksum 09:50:12 ea15f1150254: Download complete 09:50:12 28c525ee5125: Download complete 09:50:13 756a868c4378: Verifying Checksum 09:50:13 756a868c4378: Download complete 09:50:13 c9b1b535fdd9: Pull complete 09:50:13 138eaada9080: Verifying Checksum 09:50:13 138eaada9080: Download complete 09:50:13 0622d0fa9048: Verifying Checksum 09:50:13 0622d0fa9048: Download complete 09:50:13 094b1ea09ed8: Verifying Checksum 09:50:13 094b1ea09ed8: Download complete 09:50:13 2cc5ad85d9ab: Pull complete 09:50:13 41b27a9f41bf: Verifying Checksum 09:50:13 41b27a9f41bf: Download complete 09:50:15 756a868c4378: Pull complete 09:50:15 444b2fc9a129: Pull complete 09:50:15 ea15f1150254: Pull complete 09:50:18 41b27a9f41bf: Pull complete 09:50:18 28c525ee5125: Pull complete 09:50:20 094b1ea09ed8: Pull complete 09:50:20 138eaada9080: Pull complete 09:50:20 0622d0fa9048: Pull complete 09:50:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:50:20 prd-centos7-docker-4c-2g-1350 does not seem to be running inside a container 09:50:20 $ 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-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@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 09:50:22 $ docker top a1727005a9758229dd9980415b3622f0c51483df3fec52f40d4afbfb1776637c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:50:22 provisioning config files... 09:50:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config1607547149900070699tmp [Pipeline] { [Pipeline] echo 09:50:22 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:50:22 ---> create-netrc.sh [Pipeline] echo 09:50:22 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:50:22 ---> logs-deploy.sh 09:50:22 + ARCHIVE_ARTIFACTS= 09:50:22 + LOGS_SERVER=https://logs.edgexfoundry.org 09:50:22 + '[' https://logs.edgexfoundry.org == None ']' 09:50:22 + NEXUS_URL=https://nexus.edgexfoundry.org 09:50:22 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/13 09:50:22 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/13/ 09:50:22 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/13 /w/workspace/dgexfoundry_device-sdk-go_PR-429 09:50:23 Archives upload complete. 09:50:24 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/13/