Pull request #448 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 Loading trusted files from base branch master at 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 rather than cb19a86ab5919b71a4cc14329a7578d3834d2efb Obtained Jenkinsfile from 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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-0 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit cb19a86ab5919b71a4cc14329a7578d3834d2efb Merge succeeded, producing cb19a86ab5919b71a4cc14329a7578d3834d2efb Checking out Revision cb19a86ab5919b71a4cc14329a7578d3834d2efb (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # timeout=10 Commit message: "Avoid updating duplicated device" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 66f453b202f06c00560fd34a013a1a3fdd01b888 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:48:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:48:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:12 08:48:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:48:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:48:13 latest: Pulling from edgex-devops/git-semver 08:48:13 9123ac7c32f7: Pulling fs layer 08:48:13 b8cc5d1170e3: Pulling fs layer 08:48:13 2924cbbf6a41: Pulling fs layer 08:48:13 93b08a4f1073: Pulling fs layer 08:48:13 93b08a4f1073: Waiting 08:48:13 b8cc5d1170e3: Download complete 08:48:13 9123ac7c32f7: Verifying Checksum 08:48:13 9123ac7c32f7: Download complete 08:48:13 93b08a4f1073: Verifying Checksum 08:48:13 93b08a4f1073: Download complete 08:48:13 2924cbbf6a41: Verifying Checksum 08:48:13 2924cbbf6a41: Download complete 08:48:13 9123ac7c32f7: Pull complete 08:48:13 b8cc5d1170e3: Pull complete 08:48:14 2924cbbf6a41: Pull complete 08:48:14 93b08a4f1073: Pull complete 08:48:14 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:48:15 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 08:48:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 08:48:15 $ docker top 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:16 [ssh-agent] Looking for ssh-agent implementation... 08:48:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:16 $ docker exec 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 ssh-agent 08:48:16 SSH_AUTH_SOCK=/tmp/ssh-gb3GXHcSjSzb/agent.15 08:48:16 SSH_AGENT_PID=21 08:48:16 Running ssh-add (command line suppressed) 08:48:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3208093671046223425.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3208093671046223425.key) 08:48:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:17 + git describe --exact-match --tags HEAD 08:48:17 fatal: No names found, cannot describe anything. [Pipeline] } 08:48:17 $ docker exec --env ******** --env ******** 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 ssh-agent -k 08:48:17 unset SSH_AUTH_SOCK; 08:48:17 unset SSH_AGENT_PID; 08:48:17 echo Agent pid 21 killed; 08:48:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:48:17 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:48:17 This usually means this commit has not been tagged. [Pipeline] sshagent 08:48:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:17 [ssh-agent] Looking for ssh-agent implementation... 08:48:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:17 $ docker exec 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 ssh-agent 08:48:18 SSH_AUTH_SOCK=/tmp/ssh-Phv4vCWplzVD/agent.56 08:48:18 SSH_AGENT_PID=62 08:48:18 Running ssh-add (command line suppressed) 08:48:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_7189478778654576944.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_7189478778654576944.key) 08:48:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:18 + git semver init 08:48:18 # -> Open(): unable to determine branch for HEAD 08:48:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 08:48:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 08:48:18 # $SEMVER_REMOTE_NAME = origin 08:48:18 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 08:48:18 # $SEMVER_USER_NAME = jenkins 08:48:18 # $SEMVER_BRANCH = PR-448 08:48:18 # $SEMVER_TEMP = /tmp/semver-736713937 08:48:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:48:19 # '/tmp/semver-736713937' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 08:48:19 # -> Force: false 08:48:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 08:48:19 $ docker exec --env ******** --env ******** 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 ssh-agent -k 08:48:19 unset SSH_AUTH_SOCK; 08:48:19 unset SSH_AGENT_PID; 08:48:19 echo Agent pid 62 killed; 08:48:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:19 + git semver [Pipeline] } 08:48:19 $ docker stop --time=1 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 08:48:21 $ docker rm -f 187d8884d2398a6cc9bd959bcecacba9d7585d57bac83a9c3c593a147a4c8624 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:48:22 Stashed 32 file(s) [Pipeline] echo 08:48:22 [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 08:48:37 Still waiting to schedule task 08:48:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-0’ 08:48:37 Still waiting to schedule task 08:48:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:50:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 08:50:25 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 08:50:31 using credential edgex-jenkins-ssh 08:50:31 Cloning the remote Git repository 08:50:31 Cloning with configured refspecs honoured and without tags 08:50:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:50:31 > git init /w/workspace/device-sdk-go/13 # timeout=10 08:50:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:50:31 > git --version # timeout=10 08:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:50:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:50:32 Fetching without tags 08:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:50:32 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 08:50:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:50:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:50:33 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:50:33 Merge succeeded, producing cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:50:33 Checking out Revision cb19a86ab5919b71a4cc14329a7578d3834d2efb (PR-448) 08:50:33 > git config core.sparsecheckout # timeout=10 08:50:33 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # timeout=10 08:50:33 > git remote # timeout=10 08:50:33 > git config --get remote.origin.url # timeout=10 08:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:50:33 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 08:50:33 > git rev-parse HEAD^{commit} # timeout=10 08:50:33 > git config core.sparsecheckout # timeout=10 08:50:33 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # timeout=10 08:50:38 Commit message: "Avoid updating duplicated device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:50:39 ========================================================= 08:50:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:50:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:50:40 + 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 . 08:50:41 Sending build context to Docker daemon 2.713MB 08:50:41 Step 1/8 : ARG BASE=golang:1.13-alpine 08:50:41 Step 2/8 : FROM ${BASE} 08:50:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:50:42 cde5963f3b93: Pulling fs layer 08:50:42 2a23fa8c16f7: Pulling fs layer 08:50:42 777b28850792: Pulling fs layer 08:50:42 8a11ddd9e578: Pulling fs layer 08:50:42 4cf88f913ddb: Pulling fs layer 08:50:42 1df406cf5192: Pulling fs layer 08:50:42 cd6300453558: Pulling fs layer 08:50:42 b9c365052c96: Pulling fs layer 08:50:42 a2d8cc88f415: Pulling fs layer 08:50:42 ea1d1ca13537: Pulling fs layer 08:50:42 3750a50a1c5e: Pulling fs layer 08:50:42 8a11ddd9e578: Waiting 08:50:42 4cf88f913ddb: Waiting 08:50:42 1df406cf5192: Waiting 08:50:42 cd6300453558: Waiting 08:50:42 b9c365052c96: Waiting 08:50:42 a2d8cc88f415: Waiting 08:50:42 ea1d1ca13537: Waiting 08:50:42 3750a50a1c5e: Waiting 08:50:42 777b28850792: Verifying Checksum 08:50:42 777b28850792: Download complete 08:50:42 2a23fa8c16f7: Verifying Checksum 08:50:42 2a23fa8c16f7: Download complete 08:50:42 4cf88f913ddb: Download complete 08:50:42 1df406cf5192: Verifying Checksum 08:50:42 1df406cf5192: Download complete 08:50:42 cde5963f3b93: Download complete 08:50:43 cde5963f3b93: Pull complete 08:50:44 2a23fa8c16f7: Pull complete 08:50:44 777b28850792: Pull complete 08:50:46 cd6300453558: Verifying Checksum 08:50:46 cd6300453558: Download complete 08:50:46 a2d8cc88f415: Download complete 08:50:49 ea1d1ca13537: Verifying Checksum 08:50:49 ea1d1ca13537: Download complete 08:50:49 3750a50a1c5e: Download complete 08:50:52 b9c365052c96: Verifying Checksum 08:50:52 b9c365052c96: Download complete 08:50:54 8a11ddd9e578: Verifying Checksum 08:50:54 8a11ddd9e578: Download complete 08:51:04 Running on prd-centos7-docker-4c-2g-2 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 08:51:04 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 08:51:06 using credential edgex-jenkins-ssh 08:51:06 Cloning the remote Git repository 08:51:06 Cloning with configured refspecs honoured and without tags 08:51:06 8a11ddd9e578: Pull complete 08:51:06 4cf88f913ddb: Pull complete 08:51:06 1df406cf5192: Pull complete 08:51:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:06 > git init /w/workspace/device-sdk-go/13 # timeout=10 08:51:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:06 > git --version # timeout=10 08:51:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:07 Fetching without tags 08:51:07 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:51:07 Merge succeeded, producing cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:51:07 Checking out Revision cb19a86ab5919b71a4cc14329a7578d3834d2efb (PR-448) 08:51:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:07 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 08:51:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:07 > git config core.sparsecheckout # timeout=10 08:51:07 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # timeout=10 08:51:07 > git remote # timeout=10 08:51:07 > git config --get remote.origin.url # timeout=10 08:51:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:07 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 08:51:07 > git rev-parse HEAD^{commit} # timeout=10 08:51:07 > git config core.sparsecheckout # timeout=10 08:51:07 > git checkout -f cb19a86ab5919b71a4cc14329a7578d3834d2efb # timeout=10 08:51:11 cd6300453558: Pull complete 08:51:12 Commit message: "Avoid updating duplicated device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:51:13 ========================================================= 08:51:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:51:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:14 + 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 . 08:51:14 Sending build context to Docker daemon 2.713MB 08:51:14 Step 1/8 : ARG BASE=golang:1.13-alpine 08:51:14 Step 2/8 : FROM ${BASE} 08:51:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:51:14 e6b0cf9c0882: Pulling fs layer 08:51:14 2848faf0eed1: Pulling fs layer 08:51:14 0f37312ad70f: Pulling fs layer 08:51:14 5788d62ee057: Pulling fs layer 08:51:14 0e6b1d234666: Pulling fs layer 08:51:14 bf5d7aec512f: Pulling fs layer 08:51:14 34c802a77dc8: Pulling fs layer 08:51:14 9eb99e56ec68: Pulling fs layer 08:51:14 27c7a5d97fbd: Pulling fs layer 08:51:14 5c102a31e300: Pulling fs layer 08:51:14 dcfb455df0a1: Pulling fs layer 08:51:14 5788d62ee057: Waiting 08:51:14 34c802a77dc8: Waiting 08:51:14 9eb99e56ec68: Waiting 08:51:14 27c7a5d97fbd: Waiting 08:51:14 5c102a31e300: Waiting 08:51:14 dcfb455df0a1: Waiting 08:51:14 bf5d7aec512f: Waiting 08:51:14 0e6b1d234666: Waiting 08:51:14 0f37312ad70f: Verifying Checksum 08:51:14 0f37312ad70f: Download complete 08:51:14 2848faf0eed1: Verifying Checksum 08:51:14 2848faf0eed1: Download complete 08:51:14 0e6b1d234666: Verifying Checksum 08:51:14 0e6b1d234666: Download complete 08:51:14 bf5d7aec512f: Verifying Checksum 08:51:14 bf5d7aec512f: Download complete 08:51:14 e6b0cf9c0882: Verifying Checksum 08:51:14 e6b0cf9c0882: Download complete 08:51:14 e6b0cf9c0882: Pull complete 08:51:15 2848faf0eed1: Pull complete 08:51:15 34c802a77dc8: Verifying Checksum 08:51:15 34c802a77dc8: Download complete 08:51:15 27c7a5d97fbd: Verifying Checksum 08:51:15 27c7a5d97fbd: Download complete 08:51:15 0f37312ad70f: Pull complete 08:51:16 b9c365052c96: Pull complete 08:51:16 5c102a31e300: Verifying Checksum 08:51:16 5c102a31e300: Download complete 08:51:16 dcfb455df0a1: Verifying Checksum 08:51:16 dcfb455df0a1: Download complete 08:51:16 a2d8cc88f415: Pull complete 08:51:16 5788d62ee057: Verifying Checksum 08:51:16 5788d62ee057: Download complete 08:51:16 9eb99e56ec68: Verifying Checksum 08:51:16 9eb99e56ec68: Download complete 08:51:18 ea1d1ca13537: Pull complete 08:51:18 3750a50a1c5e: Pull complete 08:51:18 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:51:18 ---> 78745c68409d 08:51:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:51:22 ---> Running in a7feb11acbff 08:51:23 5788d62ee057: Pull complete 08:51:23 0e6b1d234666: Pull complete 08:51:23 bf5d7aec512f: Pull complete 08:51:23 Removing intermediate container a7feb11acbff 08:51:23 ---> 8c8f7bb04615 08:51:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:23 ---> Running in c2fece8fdfc7 08:51:25 Removing intermediate container c2fece8fdfc7 08:51:25 ---> 1e4b45920c85 08:51:25 Step 5/8 : RUN apk add --no-cache make git 08:51:25 ---> Running in ade7b0485dea 08:51:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:51:27 34c802a77dc8: Pull complete 08:51:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:51:27 OK: 125 MiB in 39 packages 08:51:29 Removing intermediate container ade7b0485dea 08:51:29 ---> 6462fe6d320b 08:51:29 Step 6/8 : WORKDIR /device-sdk-go 08:51:29 ---> Running in a320733ed79d 08:51:29 Removing intermediate container a320733ed79d 08:51:29 ---> 8db3e21cffd6 08:51:29 Step 7/8 : COPY . . 08:51:30 9eb99e56ec68: Pull complete 08:51:30 ---> 48d8c0c08ea7 08:51:30 Step 8/8 : RUN go mod download 08:51:30 ---> Running in 26ff1d4f3504 08:51:30 27c7a5d97fbd: Pull complete 08:51:31 5c102a31e300: Pull complete 08:51:31 dcfb455df0a1: Pull complete 08:51:31 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:51:31 ---> 7c70fe431013 08:51:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:51:31 ---> Running in fc860eac47ac 08:51:31 Removing intermediate container fc860eac47ac 08:51:31 ---> df498a0bf66d 08:51:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:31 ---> Running in 9eac9465c981 08:51:33 Removing intermediate container 9eac9465c981 08:51:33 ---> 7d9a6598d0d9 08:51:33 Step 5/8 : RUN apk add --no-cache make git 08:51:33 ---> Running in e1e6e0274f95 08:51:33 go: finding github.com/BurntSushi/toml v0.3.1 08:51:33 go: finding github.com/OneOfOne/xxhash v1.2.6 08:51:33 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:51:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:51:33 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:51:33 go: finding github.com/bgentry/speakeasy v0.1.0 08:51:33 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 08:51:33 go: finding github.com/davecgh/go-spew v1.1.1 08:51:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 08:51:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 08:51:33 go: finding github.com/fatih/color v1.7.0 08:51:33 go: finding github.com/go-kit/kit v0.8.0 08:51:33 go: finding github.com/go-logfmt/logfmt v0.4.0 08:51:33 go: finding github.com/go-stack/stack v1.8.0 08:51:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:51:33 go: finding github.com/google/uuid v1.1.0 08:51:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:51:33 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 08:51:33 go: finding github.com/gorilla/mux v1.6.2 08:51:33 go: finding github.com/hashicorp/consul v1.4.2 08:51:33 go: finding github.com/hashicorp/errwrap v1.0.0 08:51:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 08:51:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:51:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:51:34 go: finding github.com/hashicorp/go-multierror v1.0.0 08:51:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:51:34 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:51:34 go: finding github.com/hashicorp/go-syslog v1.0.0 08:51:34 go: finding github.com/hashicorp/go-uuid v1.0.1 08:51:34 go: finding github.com/hashicorp/go.net v0.0.1 08:51:34 go: finding github.com/hashicorp/golang-lru v0.5.0 08:51:34 go: finding github.com/hashicorp/logutils v1.0.0 08:51:34 go: finding github.com/hashicorp/mdns v1.0.0 08:51:34 go: finding github.com/hashicorp/memberlist v0.1.3 08:51:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:51:34 OK: 143 MiB in 39 packages 08:51:34 go: finding github.com/hashicorp/serf v0.8.2 08:51:34 go: finding github.com/jessevdk/go-flags v1.4.0 08:51:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:51:34 go: finding github.com/mattn/go-colorable v0.0.9 08:51:34 go: finding github.com/mattn/go-isatty v0.0.3 08:51:34 go: finding github.com/miekg/dns v1.0.14 08:51:34 go: finding github.com/mitchellh/cli v1.0.0 08:51:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:51:34 go: finding github.com/mitchellh/copystructure v1.0.0 08:51:34 go: finding github.com/mitchellh/go-homedir v1.0.0 08:51:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:51:34 go: finding github.com/mitchellh/gox v0.4.0 08:51:34 go: finding github.com/mitchellh/iochan v1.0.0 08:51:34 go: finding github.com/mitchellh/mapstructure v1.1.2 08:51:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:51:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:51:35 go: finding github.com/pelletier/go-toml v1.2.0 08:51:35 go: finding github.com/pkg/errors v0.8.1 08:51:35 go: finding github.com/pmezard/go-difflib v1.0.0 08:51:35 go: finding github.com/posener/complete v1.1.1 08:51:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:51:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:51:35 Removing intermediate container e1e6e0274f95 08:51:35 ---> fe5a63696a84 08:51:35 Step 6/8 : WORKDIR /device-sdk-go 08:51:35 ---> Running in 5e6876b33ad3 08:51:35 Removing intermediate container 5e6876b33ad3 08:51:35 ---> ddd838c93c72 08:51:35 Step 7/8 : COPY . . 08:51:35 go: finding github.com/stretchr/objx v0.1.0 08:51:35 go: finding github.com/stretchr/testify v1.3.0 08:51:35 go: finding github.com/ugorji/go v1.1.4 08:51:35 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:51:35 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:51:35 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:51:35 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:51:35 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:51:35 go: finding gopkg.in/yaml.v2 v2.2.2 08:51:35 ---> 9e20cbfaa4bf 08:51:35 Step 8/8 : RUN go mod download 08:51:35 ---> Running in 0428b1a3468d 08:51:38 go: finding github.com/BurntSushi/toml v0.3.1 08:51:38 go: finding github.com/OneOfOne/xxhash v1.2.6 08:51:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:51:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:51:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:51:38 go: finding github.com/bgentry/speakeasy v0.1.0 08:51:38 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 08:51:38 go: finding github.com/davecgh/go-spew v1.1.1 08:51:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 08:51:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 08:51:38 go: finding github.com/fatih/color v1.7.0 08:51:38 go: finding github.com/go-kit/kit v0.8.0 08:51:38 go: finding github.com/go-logfmt/logfmt v0.4.0 08:51:38 go: finding github.com/go-stack/stack v1.8.0 08:51:38 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:51:38 go: finding github.com/google/uuid v1.1.0 08:51:38 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 08:51:38 go: finding github.com/gorilla/mux v1.6.2 08:51:38 go: finding github.com/hashicorp/consul v1.4.2 08:51:38 go: finding github.com/hashicorp/errwrap v1.0.0 08:51:38 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 08:51:38 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:51:38 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:51:38 go: finding github.com/hashicorp/go-multierror v1.0.0 08:51:38 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:51:38 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:51:38 go: finding github.com/hashicorp/go-syslog v1.0.0 08:51:38 go: finding github.com/hashicorp/go-uuid v1.0.1 08:51:38 go: finding github.com/hashicorp/go.net v0.0.1 08:51:38 go: finding github.com/hashicorp/golang-lru v0.5.0 08:51:39 go: finding github.com/hashicorp/logutils v1.0.0 08:51:39 go: finding github.com/hashicorp/mdns v1.0.0 08:51:39 go: finding github.com/hashicorp/memberlist v0.1.3 08:51:39 go: finding github.com/hashicorp/serf v0.8.2 08:51:39 go: finding github.com/jessevdk/go-flags v1.4.0 08:51:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:51:39 go: finding github.com/mattn/go-colorable v0.0.9 08:51:39 go: finding github.com/mattn/go-isatty v0.0.3 08:51:39 go: finding github.com/miekg/dns v1.0.14 08:51:39 go: finding github.com/mitchellh/cli v1.0.0 08:51:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:51:39 go: finding github.com/mitchellh/copystructure v1.0.0 08:51:39 go: finding github.com/mitchellh/go-homedir v1.0.0 08:51:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:51:39 go: finding github.com/mitchellh/gox v0.4.0 08:51:39 go: finding github.com/mitchellh/iochan v1.0.0 08:51:39 go: finding github.com/mitchellh/mapstructure v1.1.2 08:51:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:51:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:51:39 go: finding github.com/pelletier/go-toml v1.2.0 08:51:39 go: finding github.com/pkg/errors v0.8.1 08:51:39 go: finding github.com/pmezard/go-difflib v1.0.0 08:51:39 go: finding github.com/posener/complete v1.1.1 08:51:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:51:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:51:39 go: finding github.com/stretchr/objx v0.1.0 08:51:39 go: finding github.com/stretchr/testify v1.3.0 08:51:40 go: finding github.com/ugorji/go v1.1.4 08:51:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:51:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:51:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:51:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:51:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:51:40 go: finding gopkg.in/yaml.v2 v2.2.2 08:51:50 Removing intermediate container 0428b1a3468d 08:51:50 ---> 7520926e43b3 08:51:50 Successfully built 7520926e43b3 08:51:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:51:50 + docker inspect -f . ci-base-image-x86_64 08:51:50 . [Pipeline] withDockerContainer 08:51:51 prd-centos7-docker-4c-2g-2 does not seem to be running inside a container 08:51:51 $ 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 08:51:51 $ docker top e784e176eb87d224990390ab3f25e94f272b7d0d5270ff96129b118c8eb362b3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:52 + go version 08:51:52 go version go1.13.5 linux/amd64 [Pipeline] sh 08:51:52 + make test 08:51:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:51:54 Removing intermediate container 26ff1d4f3504 08:51:54 ---> 36c7cf1b8d93 08:51:54 Successfully built 36c7cf1b8d93 08:51:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:51:54 + docker inspect -f . ci-base-image-arm64 08:51:55 . [Pipeline] withDockerContainer 08:51:55 prd-ubuntu18.04-docker-arm64-4c-16g-1 does not seem to be running inside a container 08:51:55 $ 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 08:51:56 $ docker top 68e01b83d77adb46e53fccb4e6db0171539e995952428e8996a31dc5a077c2db -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:58 + go version 08:51:58 go version go1.13.5 linux/arm64 [Pipeline] sh 08:51:58 + make test 08:51:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:52:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:52:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:52:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 23.1% of statements 08:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.8% of statements 08:52:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.031s coverage: 12.7% of statements 08:52:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 25.6% of statements 08:52:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:52:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:52:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:52:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:52:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 23.1% of statements 08:52:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.224s coverage: 95.8% of statements 08:52:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.113s coverage: 12.7% of statements 08:52:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 25.6% of statements 08:52:48 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.014s coverage: 30.0% of statements 08:52:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.489s coverage: 40.6% of statements 08:52:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:52:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:52:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.483s coverage: 68.6% of statements 08:52:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:52:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:52:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:52:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 08:52:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements 08:52:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:52:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:52:48 gofmt -l . 08:52:48 [ "`gofmt -l .`" = "" ] 08:52:48 ./bin/test-attribution-txt.sh 08:52:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:52:49 Stashed 1 file(s) [Pipeline] } 08:52:49 $ docker stop --time=1 e784e176eb87d224990390ab3f25e94f272b7d0d5270ff96129b118c8eb362b3 08:52:50 $ docker rm -f e784e176eb87d224990390ab3f25e94f272b7d0d5270ff96129b118c8eb362b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:57 + ls -al . 08:52:57 total 204 08:52:57 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 19 08:52 . 08:52:57 drwxrwxr-x. 4 jenkins jenkins 30 Mar 19 08:51 .. 08:52:57 drwxrwxr-x. 3 jenkins jenkins 20 Mar 19 08:51 api 08:52:57 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 19 08:51 async.go 08:52:57 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:51 bin 08:52:57 -rw-r--r--. 1 jenkins jenkins 103284 Mar 19 08:52 coverage.out 08:52:57 -rw-rw-r--. 1 jenkins jenkins 936 Mar 19 08:51 Dockerfile.build 08:52:57 -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 08:51 .dockerignore 08:52:57 drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 08:51 example 08:52:57 drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 08:51 .git 08:52:57 drwxrwxr-x. 2 jenkins jenkins 38 Mar 19 08:51 .github 08:52:57 -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 08:51 .gitignore 08:52:57 -rw-r--r--. 1 jenkins jenkins 536 Mar 19 08:52 go.mod 08:52:57 -rw-r--r--. 1 jenkins jenkins 11140 Mar 19 08:52 go.sum 08:52:57 drwxrwxr-x. 14 jenkins jenkins 197 Mar 19 08:51 internal 08:52:57 -rw-rw-r--. 1 jenkins jenkins 808 Mar 19 08:51 Jenkinsfile 08:52:57 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 08:51 LICENSE 08:52:57 -rw-rw-r--. 1 jenkins jenkins 892 Mar 19 08:51 Makefile 08:52:57 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 19 08:51 manageddevices.go 08:52:57 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 19 08:51 managedprofiles.go 08:52:57 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 19 08:51 managedwatchers.go 08:52:57 drwxrwxr-x. 4 jenkins jenkins 35 Mar 19 08:51 pkg 08:52:57 -rw-rw-r--. 1 jenkins jenkins 761 Mar 19 08:51 README.md 08:52:57 drwxrwxr-x. 3 jenkins jenkins 58 Mar 19 08:51 .semver 08:52:57 -rw-rw-r--. 1 jenkins jenkins 10315 Mar 19 08:51 service.go 08:52:57 drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 08:51 snap 08:52:57 -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 08:48 VERSION 08:52:57 -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 08:51 version.go [Pipeline] isUnix [Pipeline] sh 08:52:57 + 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=cb19a86ab5919b71a4cc14329a7578d3834d2efb --label arch=amd64 --label version=0.0.0 . 08:52:57 Sending build context to Docker daemon 2.842MB 08:52:57 Step 1/20 : ARG BASE=golang:1.13-alpine 08:52:57 Step 2/20 : FROM ${BASE} AS builder 08:52:57 ---> 7520926e43b3 08:52:57 Step 3/20 : ARG MAKE='make build' 08:52:57 ---> Running in c6a20f09c611 08:52:57 Removing intermediate container c6a20f09c611 08:52:57 ---> c42aa763e20f 08:52:57 Step 4/20 : WORKDIR /device-sdk-go 08:52:57 ---> Running in 6a7145a48040 08:52:57 Removing intermediate container 6a7145a48040 08:52:57 ---> bea4b6b65a20 08:52:57 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:57 ---> Running in 26eee28d4ab8 08:52:58 Removing intermediate container 26eee28d4ab8 08:52:58 ---> 02a3830eb23e 08:52:58 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:58 ---> Running in 6fbd6de66b6b 08:52:58 Removing intermediate container 6fbd6de66b6b 08:52:58 ---> 4a6ecfe03a63 08:52:58 Step 7/20 : RUN apk add --update --no-cache make git 08:52:58 ---> Running in c4d1b1b2ce51 08:52:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:52:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:53:00 OK: 143 MiB in 39 packages 08:53:00 Removing intermediate container c4d1b1b2ce51 08:53:00 ---> 36525ac22faf 08:53:00 Step 8/20 : COPY . . 08:53:00 ---> 676afe14adbb 08:53:00 Step 9/20 : RUN ${MAKE} 08:53:00 ---> Running in cbff22b65bd3 08:53:01 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 08:53:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:53:17 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.049s coverage: 30.0% of statements 08:53:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.352s coverage: 40.6% of statements 08:53:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:53:17 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:53:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.627s coverage: 68.6% of statements 08:53:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:53:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:53:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:53:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 08:53:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.339s coverage: 76.1% of statements 08:53:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:53:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:53:20 Removing intermediate container cbff22b65bd3 08:53:20 ---> 544cc4d71c55 08:53:20 Step 10/20 : FROM scratch 08:53:20 ---> 08:53:20 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:53:20 ---> Running in ae69321046ce 08:53:20 Removing intermediate container ae69321046ce 08:53:20 ---> 4df795cef562 08:53:20 Step 12/20 : ENV APP_PORT=49990 08:53:20 ---> Running in da4bdd11f378 08:53:20 Removing intermediate container da4bdd11f378 08:53:20 ---> 5e3af0ae06ea 08:53:20 Step 13/20 : EXPOSE $APP_PORT 08:53:20 ---> Running in 7ed7b2fc6cca 08:53:20 Removing intermediate container 7ed7b2fc6cca 08:53:20 ---> 9e8b8d701639 08:53:20 Step 14/20 : WORKDIR / 08:53:20 ---> Running in 8a120148893f 08:53:20 Removing intermediate container 8a120148893f 08:53:20 ---> cbdfde3e6bc5 08:53:20 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:53:20 ---> 2ba1929d848e 08:53:20 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 08:53:20 ---> 69604d94ca62 08:53:20 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 08:53:20 ---> Running in 97e4bd9c81c9 08:53:20 Removing intermediate container 97e4bd9c81c9 08:53:20 ---> 19ae407787f9 08:53:20 Step 18/20 : LABEL arch=amd64 08:53:20 ---> Running in f265efa2f00c 08:53:20 Removing intermediate container f265efa2f00c 08:53:20 ---> c0709b779272 08:53:20 Step 19/20 : LABEL git_sha=cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:53:20 ---> Running in e3c4cb0d79e7 08:53:21 Removing intermediate container e3c4cb0d79e7 08:53:21 ---> 3762fb4b05aa 08:53:21 Step 20/20 : LABEL version=0.0.0 08:53:21 ---> Running in 97b79dad2265 08:53:21 Removing intermediate container 97b79dad2265 08:53:21 ---> 936ea4ef3b3c 08:53:21 [Warning] One or more build-args [ARCH] were not consumed 08:53:21 Successfully built 936ea4ef3b3c 08:53:21 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:53:24 gofmt -l . 08:53:24 [ "`gofmt -l .`" = "" ] 08:53:24 ./bin/test-attribution-txt.sh 08:53:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:53:25 Warning: overwriting stash ‘coverage-report’ 08:53:25 Stashed 1 file(s) [Pipeline] } 08:53:25 $ docker stop --time=1 68e01b83d77adb46e53fccb4e6db0171539e995952428e8996a31dc5a077c2db 08:53:27 $ docker rm -f 68e01b83d77adb46e53fccb4e6db0171539e995952428e8996a31dc5a077c2db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:53:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:53:29 + ls -al . 08:53:29 total 244 08:53:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 19 08:53 . 08:53:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:50 .. 08:53:29 -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 08:50 .dockerignore 08:53:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:50 .git 08:53:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:50 .github 08:53:29 -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 08:50 .gitignore 08:53:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:50 .semver 08:53:29 -rw-rw-r-- 1 jenkins jenkins 936 Mar 19 08:50 Dockerfile.build 08:53:29 -rw-rw-r-- 1 jenkins jenkins 808 Mar 19 08:50 Jenkinsfile 08:53:29 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 08:50 LICENSE 08:53:29 -rw-rw-r-- 1 jenkins jenkins 892 Mar 19 08:50 Makefile 08:53:29 -rw-rw-r-- 1 jenkins jenkins 761 Mar 19 08:50 README.md 08:53:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 08:48 VERSION 08:53:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:50 api 08:53:29 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 19 08:50 async.go 08:53:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:50 bin 08:53:29 -rw-r--r-- 1 jenkins jenkins 103284 Mar 19 08:53 coverage.out 08:53:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:50 example 08:53:29 -rw-r--r-- 1 jenkins jenkins 536 Mar 19 08:53 go.mod 08:53:29 -rw-r--r-- 1 jenkins jenkins 11140 Mar 19 08:53 go.sum 08:53:29 drwxrwxr-x 14 jenkins jenkins 4096 Mar 19 08:50 internal 08:53:29 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 19 08:50 manageddevices.go 08:53:29 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 19 08:50 managedprofiles.go 08:53:29 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 19 08:50 managedwatchers.go 08:53:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:50 pkg 08:53:29 -rw-rw-r-- 1 jenkins jenkins 10315 Mar 19 08:50 service.go 08:53:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:50 snap 08:53:29 -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 08:50 version.go [Pipeline] isUnix [Pipeline] sh 08:53:29 + 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=cb19a86ab5919b71a4cc14329a7578d3834d2efb --label arch=arm64 --label version=0.0.0 . 08:53:30 Sending build context to Docker daemon 2.842MB 08:53:30 Step 1/20 : ARG BASE=golang:1.13-alpine 08:53:30 Step 2/20 : FROM ${BASE} AS builder 08:53:30 ---> 36c7cf1b8d93 08:53:30 Step 3/20 : ARG MAKE='make build' 08:53:30 ---> Running in 8bb1b54d0c85 08:53:30 Removing intermediate container 8bb1b54d0c85 08:53:30 ---> 3ade2b66e8b3 08:53:30 Step 4/20 : WORKDIR /device-sdk-go 08:53:30 ---> Running in ce3e466b16b6 08:53:31 Removing intermediate container ce3e466b16b6 08:53:31 ---> 9d27450172d9 08:53:31 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:53:31 ---> Running in 419d7bc49317 08:53:31 Removing intermediate container 419d7bc49317 08:53:31 ---> a0b8c4271291 08:53:31 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:53:32 ---> Running in 6627f9602a1a 08:53:34 Removing intermediate container 6627f9602a1a 08:53:34 ---> 62ea1880b43d 08:53:34 Step 7/20 : RUN apk add --update --no-cache make git 08:53:34 ---> Running in 11bfc164cf7b 08:53:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:53:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:53:35 OK: 125 MiB in 39 packages 08:53:37 Removing intermediate container 11bfc164cf7b 08:53:37 ---> 9f006c31e83d 08:53:37 Step 8/20 : COPY . . 08:53:38 ---> e68dac84bfe1 08:53:38 Step 9/20 : RUN ${MAKE} 08:53:38 ---> Running in 1a3154b534ec 08:53:39 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 08:54:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:54:28 Removing intermediate container 1a3154b534ec 08:54:28 ---> 8f28ca089bf7 08:54:28 Step 10/20 : FROM scratch 08:54:28 ---> 08:54:28 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:54:28 ---> Running in 9cda76eb34f1 08:54:28 Removing intermediate container 9cda76eb34f1 08:54:28 ---> 73db34e6c324 08:54:28 Step 12/20 : ENV APP_PORT=49990 08:54:28 ---> Running in 0c08910f47d2 08:54:28 Removing intermediate container 0c08910f47d2 08:54:28 ---> 168014eda962 08:54:28 Step 13/20 : EXPOSE $APP_PORT 08:54:28 ---> Running in 1ace24894c4f 08:54:28 Removing intermediate container 1ace24894c4f 08:54:28 ---> ac375d3560e4 08:54:28 Step 14/20 : WORKDIR / 08:54:28 ---> Running in d5258d3f5760 08:54:29 Removing intermediate container d5258d3f5760 08:54:29 ---> 4146d7bc4f02 08:54:29 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:54:30 ---> b02dcda5a9a1 08:54:30 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 08:54:30 ---> c745a45425ee 08:54:30 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 08:54:31 ---> Running in abc7399ba280 08:54:31 Removing intermediate container abc7399ba280 08:54:31 ---> 4bf9bf15b0e0 08:54:31 Step 18/20 : LABEL arch=arm64 08:54:31 ---> Running in 1039d15a57aa 08:54:31 Removing intermediate container 1039d15a57aa 08:54:31 ---> e4b6e79fd8ea 08:54:31 Step 19/20 : LABEL git_sha=cb19a86ab5919b71a4cc14329a7578d3834d2efb 08:54:31 ---> Running in 4e7fca98389b 08:54:32 Removing intermediate container 4e7fca98389b 08:54:32 ---> 2f06efb80ae0 08:54:32 Step 20/20 : LABEL version=0.0.0 08:54:32 ---> Running in 4bed5866b074 08:54:32 Removing intermediate container 4bed5866b074 08:54:32 ---> 49d94e447a0d 08:54:32 [Warning] One or more build-args [ARCH] were not consumed 08:54:32 Successfully built 49d94e447a0d 08:54:32 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 08:54:34 provisioning config files... 08:54:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config7739177650671084803tmp [Pipeline] { [Pipeline] sh 08:54:34 + curl -s https://codecov.io/bash 08:54:34 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config7739177650671084803tmp 08:54:35 08:54:35 _____ _ 08:54:35 / ____| | | 08:54:35 | | ___ __| | ___ ___ _____ __ 08:54:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:54:35 | |___| (_) | (_| | __/ (_| (_) \ V / 08:54:35 \_____\___/ \__,_|\___|\___\___/ \_/ 08:54:35 Bash-tbd 08:54:35 08:54:35 08:54:35 ==> Jenkins CI detected. 08:54:35 project root: . 08:54:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:54:35 ==> Running gcov in . (disable via -X gcov) 08:54:35 ==> Python coveragepy not found 08:54:35 ==> Searching for coverage reports in: 08:54:35 + . 08:54:35 -> Found 1 reports 08:54:35 ==> Detecting git/mercurial file structure 08:54:35 ==> Reading reports 08:54:35 + ./coverage.out bytes=103284 08:54:35 ==> Appending adjustments 08:54:35 http://docs.codecov.io/docs/fixing-reports 08:54:35 + Found adjustments 08:54:35 ==> Gzipping contents 08:54:35 ==> Uploading reports 08:54:35 url: https://codecov.io 08:54:35 query: branch=PR-448&commit=cb19a86ab5919b71a4cc14329a7578d3834d2efb&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 08:54:35 -> Pinging Codecov 08:54:35 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-448&commit=cb19a86ab5919b71a4cc14329a7578d3834d2efb&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 08:54:35 -> Uploading 08:54:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb19a86ab5919b71a4cc14329a7578d3834d2efb [Pipeline] } 08:54:36 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 08:54:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:54:38 ---> package-listing.sh 08:54:38 ++ facter osfamily 08:54:38 ++ tr '[:upper:]' '[:lower:]' 08:54:38 + OS_FAMILY=redhat 08:54:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 08:54:38 + START_PACKAGES=/tmp/packages_start.txt 08:54:38 + END_PACKAGES=/tmp/packages_end.txt 08:54:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:54:38 + PACKAGES=/tmp/packages_start.txt 08:54:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 08:54:38 + PACKAGES=/tmp/packages_end.txt 08:54:38 + case "${OS_FAMILY}" in 08:54:38 + rpm -qa 08:54:38 + sort 08:54:41 + '[' -f /tmp/packages_start.txt ']' 08:54:41 + '[' -f /tmp/packages_end.txt ']' 08:54:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:54:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 08:54:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 08:54:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh 08:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:43 08:54:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:54:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:54:43 alpine: Pulling from edgex-lftools-log-publisher 08:54:43 c9b1b535fdd9: Pulling fs layer 08:54:43 2cc5ad85d9ab: Pulling fs layer 08:54:43 756a868c4378: Pulling fs layer 08:54:43 444b2fc9a129: Pulling fs layer 08:54:43 ea15f1150254: Pulling fs layer 08:54:43 41b27a9f41bf: Pulling fs layer 08:54:43 28c525ee5125: Pulling fs layer 08:54:43 094b1ea09ed8: Pulling fs layer 08:54:43 138eaada9080: Pulling fs layer 08:54:43 0622d0fa9048: Pulling fs layer 08:54:43 ea15f1150254: Waiting 08:54:43 41b27a9f41bf: Waiting 08:54:43 28c525ee5125: Waiting 08:54:43 094b1ea09ed8: Waiting 08:54:43 138eaada9080: Waiting 08:54:43 0622d0fa9048: Waiting 08:54:43 444b2fc9a129: Waiting 08:54:43 2cc5ad85d9ab: Verifying Checksum 08:54:43 2cc5ad85d9ab: Download complete 08:54:43 444b2fc9a129: Verifying Checksum 08:54:43 444b2fc9a129: Download complete 08:54:43 c9b1b535fdd9: Verifying Checksum 08:54:43 c9b1b535fdd9: Download complete 08:54:44 ea15f1150254: Verifying Checksum 08:54:44 ea15f1150254: Download complete 08:54:44 28c525ee5125: Verifying Checksum 08:54:44 28c525ee5125: Download complete 08:54:44 c9b1b535fdd9: Pull complete 08:54:44 756a868c4378: Verifying Checksum 08:54:44 756a868c4378: Download complete 08:54:44 2cc5ad85d9ab: Pull complete 08:54:44 138eaada9080: Verifying Checksum 08:54:44 138eaada9080: Download complete 08:54:44 0622d0fa9048: Download complete 08:54:44 094b1ea09ed8: Verifying Checksum 08:54:44 094b1ea09ed8: Download complete 08:54:45 41b27a9f41bf: Verifying Checksum 08:54:45 41b27a9f41bf: Download complete 08:54:46 756a868c4378: Pull complete 08:54:46 444b2fc9a129: Pull complete 08:54:47 ea15f1150254: Pull complete 08:54:51 41b27a9f41bf: Pull complete 08:54:51 28c525ee5125: Pull complete 08:54:53 094b1ea09ed8: Pull complete 08:54:53 138eaada9080: Pull complete 08:54:53 0622d0fa9048: Pull complete 08:54:53 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:54:53 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 08:54:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 08:54:54 $ docker top 7c870ffadd86e168b0fa048f06984370cce3e0bc558be92761400f330694c609 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:54:54 provisioning config files... 08:54:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config4347420068549697133tmp [Pipeline] { [Pipeline] echo 08:54:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:54:55 ---> create-netrc.sh [Pipeline] echo 08:54:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:54:55 ---> logs-deploy.sh 08:54:55 + ARCHIVE_ARTIFACTS= 08:54:55 + LOGS_SERVER=https://logs.edgexfoundry.org 08:54:55 + '[' https://logs.edgexfoundry.org == None ']' 08:54:55 + NEXUS_URL=https://nexus.edgexfoundry.org 08:54:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/13 08:54:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/13/ 08:54:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/13 /w/workspace/dgexfoundry_device-sdk-go_PR-448 08:54:57 Archives upload complete. 08:54:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/13/ 08:54:57 ---> uname -a: 08:54:57 Linux 7c870ffadd86 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 08:54:57 08:54:57 08:54:57 ---> lscpu: 08:54:57 Architecture: x86_64 08:54:57 CPU op-mode(s): 32-bit, 64-bit 08:54:57 Byte Order: Little Endian 08:54:57 Address sizes: 40 bits physical, 48 bits virtual 08:54:57 CPU(s): 4 08:54:57 On-line CPU(s) list: 0-3 08:54:57 Thread(s) per core: 1 08:54:57 Core(s) per socket: 1 08:54:57 Socket(s): 4 08:54:57 NUMA node(s): 1 08:54:57 Vendor ID: GenuineIntel 08:54:57 CPU family: 6 08:54:57 Model: 44 08:54:57 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:54:57 Stepping: 1 08:54:57 CPU MHz: 2933.436 08:54:57 BogoMIPS: 5866.87 08:54:57 Virtualization: VT-x 08:54:57 Hypervisor vendor: KVM 08:54:57 Virtualization type: full 08:54:57 L1d cache: 128 KiB 08:54:57 L1i cache: 128 KiB 08:54:57 L2 cache: 16 MiB 08:54:57 L3 cache: 64 MiB 08:54:57 NUMA node0 CPU(s): 0-3 08:54:57 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 08:54:57 Vulnerability Meltdown: Mitigation; PTI 08:54:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:54:57 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 08:54:57 Vulnerability Spectre v2: Mitigation; Full retpoline 08:54:57 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 08:54:57 08:54:57 08:54:57 ---> nproc: 08:54:57 4 08:54:57 08:54:57 08:54:57 ---> df -h: 08:54:57 Filesystem Size Used Available Use% Mounted on 08:54:57 overlay 50.0G 6.3G 43.7G 13% / 08:54:57 tmpfs 64.0M 0 64.0M 0% /dev 08:54:57 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 08:54:57 shm 64.0M 0 64.0M 0% /dev/shm 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-448 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp 08:54:57 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 08:54:57 08:54:57 08:54:57 ---> free -m: 08:54:57 total used free shared buff/cache available 08:54:57 Mem: 1838 595 66 0 1175 1138 08:54:57 Swap: 1023 0 1023 08:54:57 08:54:57 08:54:57 ---> ip addr: 08:54:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:54:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:54:57 inet 127.0.0.1/8 scope host lo 08:54:57 valid_lft forever preferred_lft forever 08:54:57 6: eth0@if7: mtu 1458 qdisc noqueue state UP 08:54:57 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 08:54:57 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 08:54:57 valid_lft forever preferred_lft forever 08:54:57 08:54:57 08:54:57 ---> sar -b -r -n DEV: 08:54:57 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/19/20 _x86_64_ (4 CPU) 08:54:57 08:54:57 08:47:23 LINUX RESTART 08:54:57 08:54:57 08:48:01 tps rtps wtps bread/s bwrtn/s 08:54:57 08:49:01 39.59 6.18 33.42 1850.68 2376.49 08:54:57 08:50:01 2.40 0.00 2.40 0.00 81.85 08:54:57 08:51:01 0.27 0.00 0.27 0.00 3.75 08:54:57 08:52:01 0.25 0.00 0.25 0.00 3.60 08:54:57 08:53:01 0.25 0.00 0.25 0.00 3.85 08:54:57 08:54:02 0.38 0.00 0.38 0.00 6.18 08:54:57 Average: 7.19 1.03 6.16 308.50 412.68 08:54:57 08:54:57 08:48:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:54:57 08:49:01 109048 1773256 94.21 2620 1244528 927792 31.66 431960 1182084 8 08:54:57 08:50:01 115996 1766308 93.84 2620 1244540 895448 30.55 426544 1181788 8 08:54:57 08:51:01 115260 1767044 93.88 2620 1244544 895616 30.56 427636 1181784 8 08:54:57 08:52:01 114824 1767480 93.90 2620 1244544 895752 30.56 427976 1181784 8 08:54:57 08:53:01 115548 1766756 93.86 2620 1244552 895584 30.56 427104 1181784 8 08:54:57 08:54:02 115324 1766980 93.87 2620 1244556 895560 30.56 427180 1181784 8 08:54:57 Average: 114333 1767971 93.93 2620 1244544 900959 30.74 428067 1181835 8 08:54:57 08:54:57 08:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 08:54:57 08:49:01 eth0 105.79 84.82 448.79 56.10 0.00 0.00 0.00 08:54:57 08:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:49:01 docker0 6.13 4.56 0.85 15.30 0.00 0.00 0.00 08:54:57 08:50:01 eth0 0.75 0.10 0.06 0.02 0.00 0.00 0.00 08:54:57 08:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:51:01 eth0 4.50 2.01 3.48 0.31 0.00 0.00 0.00 08:54:57 08:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:52:01 eth0 0.40 0.40 0.26 0.21 0.00 0.00 0.00 08:54:57 08:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:53:01 eth0 0.22 0.22 0.08 0.07 0.00 0.00 0.00 08:54:57 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:54:02 eth0 0.18 0.13 0.07 0.01 0.00 0.00 0.00 08:54:57 08:54:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 08:54:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 Average: eth0 18.64 14.62 75.47 9.45 0.00 0.00 0.00 08:54:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:54:57 Average: docker0 1.02 0.76 0.14 2.55 0.00 0.00 0.00 08:54:57 08:54:57 08:54:57 ---> sar -P ALL: 08:54:57 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/19/20 _x86_64_ (4 CPU) 08:54:57 08:54:57 08:47:23 LINUX RESTART 08:54:57 08:54:57 08:48:01 CPU %user %nice %system %iowait %steal %idle 08:54:57 08:49:01 all 3.48 0.00 1.67 0.77 0.23 93.85 08:54:57 08:49:01 0 2.99 0.00 1.53 0.17 0.22 95.10 08:54:57 08:49:01 1 3.86 0.00 2.00 1.56 0.20 92.38 08:54:57 08:49:01 2 3.31 0.00 1.61 1.16 0.20 93.71 08:54:57 08:49:01 3 3.76 0.00 1.54 0.17 0.25 94.27 08:54:57 08:50:01 all 0.06 0.00 0.05 0.00 0.02 99.87 08:54:57 08:50:01 0 0.03 0.00 0.03 0.00 0.03 99.90 08:54:57 08:50:01 1 0.08 0.00 0.03 0.00 0.02 99.87 08:54:57 08:50:01 2 0.05 0.00 0.05 0.00 0.02 99.88 08:54:57 08:50:01 3 0.10 0.00 0.07 0.00 0.02 99.82 08:54:57 08:51:01 all 0.20 0.00 0.04 0.00 0.03 99.73 08:54:57 08:51:01 0 0.08 0.00 0.03 0.00 0.05 99.83 08:54:57 08:51:01 1 0.05 0.00 0.03 0.00 0.02 99.90 08:54:57 08:51:01 2 0.43 0.00 0.05 0.00 0.02 99.50 08:54:57 08:51:01 3 0.22 0.00 0.05 0.00 0.03 99.70 08:54:57 08:52:01 all 0.17 0.00 0.05 0.00 0.02 99.76 08:54:57 08:52:01 0 0.03 0.00 0.07 0.00 0.02 99.88 08:54:57 08:52:01 1 0.07 0.00 0.05 0.00 0.02 99.87 08:54:57 08:52:01 2 0.07 0.00 0.05 0.00 0.02 99.87 08:54:57 08:52:01 3 0.52 0.00 0.05 0.00 0.00 99.43 08:54:57 08:53:01 all 0.18 0.00 0.04 0.00 0.01 99.77 08:54:57 08:53:01 0 0.08 0.00 0.02 0.00 0.00 99.90 08:54:57 08:53:01 1 0.08 0.00 0.05 0.00 0.00 99.87 08:54:57 08:53:01 2 0.05 0.00 0.05 0.00 0.03 99.87 08:54:57 08:53:01 3 0.50 0.00 0.05 0.00 0.02 99.43 08:54:57 08:54:02 all 0.16 0.00 0.05 0.00 0.02 99.77 08:54:57 08:54:02 0 0.03 0.00 0.07 0.00 0.00 99.90 08:54:57 08:54:02 1 0.08 0.00 0.07 0.00 0.02 99.83 08:54:57 08:54:02 2 0.05 0.00 0.05 0.00 0.02 99.88 08:54:57 08:54:02 3 0.48 0.00 0.02 0.00 0.02 99.48 08:54:57 Average: all 0.71 0.00 0.32 0.13 0.05 98.80 08:54:57 Average: 0 0.54 0.00 0.29 0.03 0.05 99.09 08:54:57 Average: 1 0.70 0.00 0.37 0.26 0.04 98.63 08:54:57 Average: 2 0.66 0.00 0.31 0.19 0.05 98.79 08:54:57 Average: 3 0.93 0.00 0.29 0.03 0.06 98.70 08:54:57 08:54:57 08:54:57