Pull request #432 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than df5a7e6b4af67611839fd9ab2d0859ec220d04be Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1660’ is offline Running on prd-centos7-docker-4c-2g-2415 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-432 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit df5a7e6b4af67611839fd9ab2d0859ec220d04be Merge succeeded, producing df5a7e6b4af67611839fd9ab2d0859ec220d04be Checking out Revision df5a7e6b4af67611839fd9ab2d0859ec220d04be (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 Commit message: "Further Refactoring" First time build. Skipping changelog. > git rev-list --no-walk bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:09:22 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 17:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:25 17:09:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:09:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:09:25 latest: Pulling from edgex-devops/git-semver 17:09:25 9123ac7c32f7: Pulling fs layer 17:09:25 b8cc5d1170e3: Pulling fs layer 17:09:25 2924cbbf6a41: Pulling fs layer 17:09:25 93b08a4f1073: Pulling fs layer 17:09:25 93b08a4f1073: Waiting 17:09:25 b8cc5d1170e3: Download complete 17:09:26 9123ac7c32f7: Verifying Checksum 17:09:26 9123ac7c32f7: Download complete 17:09:26 2924cbbf6a41: Verifying Checksum 17:09:26 2924cbbf6a41: Download complete 17:09:26 93b08a4f1073: Verifying Checksum 17:09:26 93b08a4f1073: Download complete 17:09:26 9123ac7c32f7: Pull complete 17:09:27 b8cc5d1170e3: Pull complete 17:09:28 2924cbbf6a41: Pull complete 17:09:28 93b08a4f1073: Pull complete 17:09:28 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 17:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:09:28 prd-centos7-docker-4c-2g-2415 does not seem to be running inside a container 17:09:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:09:29 $ docker top 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:30 [ssh-agent] Looking for ssh-agent implementation... 17:09:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:30 $ docker exec 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 ssh-agent 17:09:30 SSH_AUTH_SOCK=/tmp/ssh-yWueW5XmkhvT/agent.15 17:09:30 SSH_AGENT_PID=22 17:09:30 Running ssh-add (command line suppressed) 17:09:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5882817652031869753.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5882817652031869753.key) 17:09:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:31 + git describe --exact-match --tags HEAD 17:09:31 fatal: No names found, cannot describe anything. [Pipeline] } 17:09:31 $ docker exec --env ******** --env ******** 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 ssh-agent -k 17:09:31 unset SSH_AUTH_SOCK; 17:09:31 unset SSH_AGENT_PID; 17:09:31 echo Agent pid 22 killed; 17:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:09:31 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:09:31 This usually means this commit has not been tagged. [Pipeline] sshagent 17:09:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:31 [ssh-agent] Looking for ssh-agent implementation... 17:09:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:32 $ docker exec 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 ssh-agent 17:09:32 SSH_AUTH_SOCK=/tmp/ssh-Yrx250iZnUQE/agent.56 17:09:32 SSH_AGENT_PID=63 17:09:32 Running ssh-add (command line suppressed) 17:09:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6643303671933082789.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6643303671933082789.key) 17:09:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:33 + git semver init 17:09:33 # -> Open(): unable to determine branch for HEAD 17:09:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 17:09:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 17:09:33 # $SEMVER_REMOTE_NAME = origin 17:09:33 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 17:09:33 # $SEMVER_USER_NAME = jenkins 17:09:33 # $SEMVER_BRANCH = PR-432 17:09:33 # $SEMVER_TEMP = /tmp/semver-458146883 17:09:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:09:34 # '/tmp/semver-458146883' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 17:09:34 # -> Force: false 17:09:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 17:09:34 $ docker exec --env ******** --env ******** 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 ssh-agent -k 17:09:34 unset SSH_AUTH_SOCK; 17:09:34 unset SSH_AGENT_PID; 17:09:34 echo Agent pid 63 killed; 17:09:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:34 + git semver [Pipeline] } 17:09:34 $ docker stop --time=1 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 17:09:36 $ docker rm -f 6b62659afdea59c893b62674cd7c335af528b553206eb65d492e3ce771318ce0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:09:37 Stashed 35 file(s) [Pipeline] echo 17:09:37 [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 17:09:52 Still waiting to schedule task 17:09:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:09:52 Still waiting to schedule task 17:09:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1788’ is offline 17:11:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2416 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 17:11:30 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 17:11:32 Running on prd-centos7-docker-4c-2g-2418 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 17:11:32 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 17:11:35 using credential edgex-jenkins-ssh 17:11:35 Cloning the remote Git repository 17:11:35 Cloning with configured refspecs honoured and without tags 17:11:35 Fetching without tags 17:11:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:11:34 > git init /w/workspace/device-sdk-go/14 # timeout=10 17:11:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:34 > git --version # timeout=10 17:11:34 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:34 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 17:11:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:36 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:11:36 Merge succeeded, producing df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:11:36 Checking out Revision df5a7e6b4af67611839fd9ab2d0859ec220d04be (PR-432) 17:11:36 using credential edgex-jenkins-ssh 17:11:36 Cloning the remote Git repository 17:11:36 Cloning with configured refspecs honoured and without tags 17:11:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:11:36 > git init /w/workspace/device-sdk-go/14 # timeout=10 17:11:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:36 > git --version # timeout=10 17:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:35 > git config core.sparsecheckout # timeout=10 17:11:35 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 17:11:35 > git remote # timeout=10 17:11:35 > git config --get remote.origin.url # timeout=10 17:11:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:35 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 17:11:35 > git rev-parse HEAD^{commit} # timeout=10 17:11:35 > git config core.sparsecheckout # timeout=10 17:11:35 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 17:11:37 Fetching without tags 17:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:37 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 17:11:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:38 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:11:38 Merge succeeded, producing df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:11:38 Checking out Revision df5a7e6b4af67611839fd9ab2d0859ec220d04be (PR-432) 17:11:38 > git config core.sparsecheckout # timeout=10 17:11:38 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 17:11:38 > git remote # timeout=10 17:11:38 > git config --get remote.origin.url # timeout=10 17:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:38 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 17:11:38 > git rev-parse HEAD^{commit} # timeout=10 17:11:38 > git config core.sparsecheckout # timeout=10 17:11:38 > git checkout -f df5a7e6b4af67611839fd9ab2d0859ec220d04be # timeout=10 17:11:39 Commit message: "Further Refactoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:11:40 ========================================================= 17:11:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:11:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11: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 . 17:11:41 Sending build context to Docker daemon 2.774MB 17:11:41 Step 1/8 : ARG BASE=golang:1.13-alpine 17:11:41 Step 2/8 : FROM ${BASE} 17:11:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:11:41 e6b0cf9c0882: Pulling fs layer 17:11:41 2848faf0eed1: Pulling fs layer 17:11:41 0f37312ad70f: Pulling fs layer 17:11:41 5788d62ee057: Pulling fs layer 17:11:41 0e6b1d234666: Pulling fs layer 17:11:41 bf5d7aec512f: Pulling fs layer 17:11:41 34c802a77dc8: Pulling fs layer 17:11:41 9eb99e56ec68: Pulling fs layer 17:11:41 5788d62ee057: Waiting 17:11:41 0e6b1d234666: Waiting 17:11:41 bf5d7aec512f: Waiting 17:11:41 34c802a77dc8: Waiting 17:11:41 27c7a5d97fbd: Pulling fs layer 17:11:41 5c102a31e300: Pulling fs layer 17:11:41 9eb99e56ec68: Waiting 17:11:41 27c7a5d97fbd: Waiting 17:11:41 dcfb455df0a1: Pulling fs layer 17:11:41 5c102a31e300: Waiting 17:11:41 0f37312ad70f: Verifying Checksum 17:11:41 0f37312ad70f: Download complete 17:11:41 2848faf0eed1: Verifying Checksum 17:11:41 2848faf0eed1: Download complete 17:11:41 0e6b1d234666: Verifying Checksum 17:11:41 0e6b1d234666: Download complete 17:11:41 bf5d7aec512f: Verifying Checksum 17:11:41 bf5d7aec512f: Download complete 17:11:41 e6b0cf9c0882: Verifying Checksum 17:11:41 e6b0cf9c0882: Download complete 17:11:42 e6b0cf9c0882: Pull complete 17:11:42 2848faf0eed1: Pull complete 17:11:42 34c802a77dc8: Verifying Checksum 17:11:42 34c802a77dc8: Download complete 17:11:42 27c7a5d97fbd: Verifying Checksum 17:11:42 27c7a5d97fbd: Download complete 17:11:43 5c102a31e300: Verifying Checksum 17:11:43 5c102a31e300: Download complete 17:11:43 dcfb455df0a1: Verifying Checksum 17:11:43 dcfb455df0a1: Download complete 17:11:43 Commit message: "Further Refactoring" 17:11:43 9eb99e56ec68: Verifying Checksum 17:11:43 9eb99e56ec68: Download complete 17:11:43 5788d62ee057: Verifying Checksum 17:11:43 5788d62ee057: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 17:11:44 0f37312ad70f: Pull complete [Pipeline] echo 17:11:44 ========================================================= 17:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:11:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11:45 + 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 . 17:11:46 Sending build context to Docker daemon 2.774MB 17:11:46 Step 1/8 : ARG BASE=golang:1.13-alpine 17:11:46 Step 2/8 : FROM ${BASE} 17:11:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:11:46 cde5963f3b93: Pulling fs layer 17:11:46 2a23fa8c16f7: Pulling fs layer 17:11:46 777b28850792: Pulling fs layer 17:11:46 8a11ddd9e578: Pulling fs layer 17:11:46 4cf88f913ddb: Pulling fs layer 17:11:46 1df406cf5192: Pulling fs layer 17:11:46 cd6300453558: Pulling fs layer 17:11:46 b9c365052c96: Pulling fs layer 17:11:46 a2d8cc88f415: Pulling fs layer 17:11:46 ea1d1ca13537: Pulling fs layer 17:11:46 3750a50a1c5e: Pulling fs layer 17:11:46 8a11ddd9e578: Waiting 17:11:46 4cf88f913ddb: Waiting 17:11:46 a2d8cc88f415: Waiting 17:11:46 1df406cf5192: Waiting 17:11:46 ea1d1ca13537: Waiting 17:11:46 3750a50a1c5e: Waiting 17:11:46 cd6300453558: Waiting 17:11:46 b9c365052c96: Waiting 17:11:46 777b28850792: Verifying Checksum 17:11:46 777b28850792: Download complete 17:11:46 2a23fa8c16f7: Verifying Checksum 17:11:46 2a23fa8c16f7: Download complete 17:11:47 4cf88f913ddb: Verifying Checksum 17:11:47 4cf88f913ddb: Download complete 17:11:47 cde5963f3b93: Verifying Checksum 17:11:47 cde5963f3b93: Download complete 17:11:47 1df406cf5192: Download complete 17:11:48 cde5963f3b93: Pull complete 17:11:48 2a23fa8c16f7: Pull complete 17:11:48 777b28850792: Pull complete 17:11:50 5788d62ee057: Pull complete 17:11:50 0e6b1d234666: Pull complete 17:11:50 bf5d7aec512f: Pull complete 17:11:51 cd6300453558: Verifying Checksum 17:11:51 cd6300453558: Download complete 17:11:51 a2d8cc88f415: Verifying Checksum 17:11:51 a2d8cc88f415: Download complete 17:11:53 34c802a77dc8: Pull complete 17:11:54 ea1d1ca13537: Verifying Checksum 17:11:54 ea1d1ca13537: Download complete 17:11:54 3750a50a1c5e: Download complete 17:11:56 b9c365052c96: Verifying Checksum 17:11:56 b9c365052c96: Download complete 17:11:57 9eb99e56ec68: Pull complete 17:11:57 27c7a5d97fbd: Pull complete 17:11:57 5c102a31e300: Pull complete 17:11:57 dcfb455df0a1: Pull complete 17:11:57 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 17:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:11:57 ---> 7c70fe431013 17:11:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:11:57 ---> Running in 0fa39afde068 17:11:57 8a11ddd9e578: Verifying Checksum 17:11:57 8a11ddd9e578: Download complete 17:11:58 Removing intermediate container 0fa39afde068 17:11:58 ---> 0dc0927dd709 17:11:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:58 ---> Running in 251a14b0709a 17:11:59 Removing intermediate container 251a14b0709a 17:11:59 ---> 8d84a9980cfb 17:11:59 Step 5/8 : RUN apk add --no-cache make git 17:11:59 ---> Running in b376f42aa8fb 17:12:00 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:12:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:12:00 OK: 143 MiB in 39 packages 17:12:01 Removing intermediate container b376f42aa8fb 17:12:01 ---> 86285ddf28f0 17:12:01 Step 6/8 : WORKDIR /device-sdk-go 17:12:01 ---> Running in 598c2d27dece 17:12:01 Removing intermediate container 598c2d27dece 17:12:01 ---> 9223df03abc8 17:12:01 Step 7/8 : COPY . . 17:12:02 ---> 4762108afc56 17:12:02 Step 8/8 : RUN go mod download 17:12:02 ---> Running in 503733f09220 17:12:04 go: finding github.com/BurntSushi/toml v0.3.1 17:12:04 go: finding github.com/OneOfOne/xxhash v1.2.6 17:12:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:12:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:12:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:12:05 go: finding github.com/bgentry/speakeasy v0.1.0 17:12:05 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:12:05 go: finding github.com/davecgh/go-spew v1.1.1 17:12:05 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 17:12:05 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:12:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 17:12:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:12:05 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:12:05 go: finding github.com/fatih/color v1.7.0 17:12:05 go: finding github.com/go-kit/kit v0.8.0 17:12:05 go: finding github.com/go-logfmt/logfmt v0.4.0 17:12:05 go: finding github.com/go-stack/stack v1.8.0 17:12:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:12:05 go: finding github.com/google/uuid v1.1.0 17:12:05 go: finding github.com/gorilla/mux v1.7.1 17:12:05 go: finding github.com/hashicorp/consul/api v1.1.0 17:12:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:12:05 go: finding github.com/hashicorp/errwrap v1.0.0 17:12:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:12:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:12:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:12:05 go: finding github.com/hashicorp/go-multierror v1.0.0 17:12:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:12:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:12:05 go: finding github.com/hashicorp/go-syslog v1.0.0 17:12:05 go: finding github.com/hashicorp/go-uuid v1.0.1 17:12:05 go: finding github.com/hashicorp/go.net v0.0.1 17:12:05 go: finding github.com/hashicorp/golang-lru v0.5.0 17:12:05 go: finding github.com/hashicorp/logutils v1.0.0 17:12:05 go: finding github.com/hashicorp/mdns v1.0.0 17:12:05 go: finding github.com/hashicorp/memberlist v0.1.3 17:12:05 go: finding github.com/hashicorp/serf v0.8.2 17:12:06 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:12:06 go: finding github.com/mattn/go-colorable v0.0.9 17:12:06 go: finding github.com/mattn/go-isatty v0.0.3 17:12:06 go: finding github.com/miekg/dns v1.0.14 17:12:06 go: finding github.com/mitchellh/cli v1.0.0 17:12:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:12:06 go: finding github.com/mitchellh/copystructure v1.0.0 17:12:06 go: finding github.com/mitchellh/go-homedir v1.0.0 17:12:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:12:06 go: finding github.com/mitchellh/gox v0.4.0 17:12:06 go: finding github.com/mitchellh/iochan v1.0.0 17:12:06 go: finding github.com/mitchellh/mapstructure v1.1.2 17:12:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:12:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:12:06 go: finding github.com/pelletier/go-toml v1.2.0 17:12:06 go: finding github.com/pkg/errors v0.8.1 17:12:06 go: finding github.com/pmezard/go-difflib v1.0.0 17:12:06 go: finding github.com/posener/complete v1.1.1 17:12:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:12:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:12:06 go: finding github.com/stretchr/objx v0.1.0 17:12:06 go: finding github.com/stretchr/testify v1.5.1 17:12:06 go: finding github.com/ugorji/go v1.1.4 17:12:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:12:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:12:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:12:06 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:12:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:12:06 go: finding gopkg.in/yaml.v2 v2.2.8 17:12:10 8a11ddd9e578: Pull complete 17:12:10 4cf88f913ddb: Pull complete 17:12:10 1df406cf5192: Pull complete 17:12:11 Removing intermediate container 503733f09220 17:12:11 ---> 8ec95211a29c 17:12:11 Successfully built 8ec95211a29c 17:12:11 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 17:12:11 + docker inspect -f . ci-base-image-x86_64 17:12:11 . [Pipeline] withDockerContainer 17:12:11 prd-centos7-docker-4c-2g-2418 does not seem to be running inside a container 17:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 17:12:12 $ docker top 4376281fb6cb2d2f29cd8f2446bfa12be8b8743cd592e301fe152f8780cbf490 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:12 + go version 17:12:12 go version go1.13.5 linux/amd64 [Pipeline] sh 17:12:13 + make test 17:12:13 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:12:13 cd6300453558: Pull complete 17:12:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:12:18 b9c365052c96: Pull complete 17:12:18 a2d8cc88f415: Pull complete 17:12:20 ea1d1ca13537: Pull complete 17:12:20 3750a50a1c5e: Pull complete 17:12:20 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 17:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:12:20 ---> 78745c68409d 17:12:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:12:25 ---> Running in 3cbc0d4ebc14 17:12:25 Removing intermediate container 3cbc0d4ebc14 17:12:25 ---> 89f9ff83a742 17:12:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:25 ---> Running in 2e4e20bc46cd 17:12:28 Removing intermediate container 2e4e20bc46cd 17:12:28 ---> d8c62eaafe38 17:12:28 Step 5/8 : RUN apk add --no-cache make git 17:12:28 ---> Running in 10f00ef68a37 17:12:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:12:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:12:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:12:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:12:30 OK: 125 MiB in 39 packages 17:12:31 Removing intermediate container 10f00ef68a37 17:12:31 ---> 933fb6fc8a31 17:12:31 Step 6/8 : WORKDIR /device-sdk-go 17:12:31 ---> Running in ba775b77035d 17:12:31 Removing intermediate container ba775b77035d 17:12:31 ---> dc49fe02cee5 17:12:31 Step 7/8 : COPY . . 17:12:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.6% of statements 17:12:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements 17:12:33 ---> fff7283fecee 17:12:33 Step 8/8 : RUN go mod download 17:12:33 ---> Running in d7fbfe0271ac 17:12:35 go: finding github.com/BurntSushi/toml v0.3.1 17:12:35 go: finding github.com/OneOfOne/xxhash v1.2.6 17:12:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:12:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:12:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:12:35 go: finding github.com/bgentry/speakeasy v0.1.0 17:12:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:12:35 go: finding github.com/davecgh/go-spew v1.1.1 17:12:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 17:12:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:12:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 17:12:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:12:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:12:35 go: finding github.com/fatih/color v1.7.0 17:12:35 go: finding github.com/go-kit/kit v0.8.0 17:12:35 go: finding github.com/go-logfmt/logfmt v0.4.0 17:12:35 go: finding github.com/go-stack/stack v1.8.0 17:12:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:12:35 go: finding github.com/google/uuid v1.1.0 17:12:35 go: finding github.com/gorilla/mux v1.7.1 17:12:35 go: finding github.com/hashicorp/consul/api v1.1.0 17:12:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:12:35 go: finding github.com/hashicorp/errwrap v1.0.0 17:12:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:12:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:12:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:12:35 go: finding github.com/hashicorp/go-multierror v1.0.0 17:12:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:12:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:12:35 go: finding github.com/hashicorp/go-syslog v1.0.0 17:12:35 go: finding github.com/hashicorp/go-uuid v1.0.1 17:12:35 go: finding github.com/hashicorp/go.net v0.0.1 17:12:35 go: finding github.com/hashicorp/golang-lru v0.5.0 17:12:35 go: finding github.com/hashicorp/logutils v1.0.0 17:12:35 go: finding github.com/hashicorp/mdns v1.0.0 17:12:35 go: finding github.com/hashicorp/memberlist v0.1.3 17:12:35 go: finding github.com/hashicorp/serf v0.8.2 17:12:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:12:35 go: finding github.com/mattn/go-colorable v0.0.9 17:12:35 go: finding github.com/mattn/go-isatty v0.0.3 17:12:35 go: finding github.com/miekg/dns v1.0.14 17:12:35 go: finding github.com/mitchellh/cli v1.0.0 17:12:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:12:35 go: finding github.com/mitchellh/copystructure v1.0.0 17:12:35 go: finding github.com/mitchellh/go-homedir v1.0.0 17:12:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:12:35 go: finding github.com/mitchellh/gox v0.4.0 17:12:35 go: finding github.com/mitchellh/iochan v1.0.0 17:12:35 go: finding github.com/mitchellh/mapstructure v1.1.2 17:12:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:12:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:12:35 go: finding github.com/pelletier/go-toml v1.2.0 17:12:35 go: finding github.com/pkg/errors v0.8.1 17:12:35 go: finding github.com/pmezard/go-difflib v1.0.0 17:12:35 go: finding github.com/posener/complete v1.1.1 17:12:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:12:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:12:35 go: finding github.com/stretchr/objx v0.1.0 17:12:35 go: finding github.com/stretchr/testify v1.5.1 17:12:35 go: finding github.com/ugorji/go v1.1.4 17:12:35 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:12:35 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:12:35 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:12:35 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:12:35 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:12:35 go: finding gopkg.in/yaml.v2 v2.2.8 17:12:44 Removing intermediate container d7fbfe0271ac 17:12:44 ---> 7557e77c1cec 17:12:44 Successfully built 7557e77c1cec 17:12:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:44 + docker inspect -f . ci-base-image-arm64 17:12:44 . [Pipeline] withDockerContainer 17:12:45 prd-ubuntu18.04-docker-arm64-4c-16g-2416 does not seem to be running inside a container 17:12:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 17:12:46 $ docker top d570cbb936cb21f53f1be1b0964aa148de0f5bd83ef65f4ead5a96e2ab684312 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:47 + go version 17:12:47 go version go1.13.5 linux/arm64 [Pipeline] sh 17:12:48 + make test 17:12:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:12:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:13:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.030s coverage: 7.7% of statements 17:13:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 22.7% of statements 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:13:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.061s coverage: 38.5% of statements 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:13:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.497s coverage: 79.9% of statements 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:13:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:13:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 17:13:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 76.1% of statements 17:13:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:13:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:13:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:13:04 gofmt -l . 17:13:04 [ "`gofmt -l .`" = "" ] 17:13:04 ./bin/test-attribution-txt.sh 17:13:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:13:05 Stashed 1 file(s) [Pipeline] } 17:13:05 $ docker stop --time=1 4376281fb6cb2d2f29cd8f2446bfa12be8b8743cd592e301fe152f8780cbf490 17:13:07 $ docker rm -f 4376281fb6cb2d2f29cd8f2446bfa12be8b8743cd592e301fe152f8780cbf490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:08 + ls -al . 17:13:08 total 160 17:13:08 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 6 17:13 . 17:13:08 drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 17:11 .. 17:13:08 drwxrwxr-x. 3 jenkins jenkins 20 Apr 6 17:11 api 17:13:08 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 17:11 bin 17:13:08 -rw-r--r--. 1 jenkins jenkins 94906 Apr 6 17:13 coverage.out 17:13:08 -rw-rw-r--. 1 jenkins jenkins 936 Apr 6 17:11 Dockerfile.build 17:13:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 17:11 .dockerignore 17:13:08 drwxrwxr-x. 4 jenkins jenkins 31 Apr 6 17:11 example 17:13:08 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 17:11 .git 17:13:08 drwxrwxr-x. 2 jenkins jenkins 38 Apr 6 17:11 .github 17:13:08 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 17:11 .gitignore 17:13:08 -rw-r--r--. 1 jenkins jenkins 438 Apr 6 17:13 go.mod 17:13:08 -rw-r--r--. 1 jenkins jenkins 11812 Apr 6 17:13 go.sum 17:13:08 drwxrwxr-x. 13 jenkins jenkins 179 Apr 6 17:11 internal 17:13:08 -rw-rw-r--. 1 jenkins jenkins 808 Apr 6 17:11 Jenkinsfile 17:13:08 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 17:11 LICENSE 17:13:08 -rw-rw-r--. 1 jenkins jenkins 892 Apr 6 17:11 Makefile 17:13:08 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 17:11 pkg 17:13:08 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 6 17:11 README.md 17:13:08 drwxrwxr-x. 3 jenkins jenkins 58 Apr 6 17:11 .semver 17:13:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 17:11 snap 17:13:08 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 17:09 VERSION 17:13:08 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 17:11 version.go [Pipeline] isUnix [Pipeline] sh 17:13:09 + 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=df5a7e6b4af67611839fd9ab2d0859ec220d04be --label arch=amd64 --label version=0.0.0 . 17:13:09 Sending build context to Docker daemon 2.89MB 17:13:09 Step 1/20 : ARG BASE=golang:1.13-alpine 17:13:09 Step 2/20 : FROM ${BASE} AS builder 17:13:09 ---> 8ec95211a29c 17:13:09 Step 3/20 : ARG MAKE='make build' 17:13:09 ---> Running in 21021e9374c3 17:13:09 Removing intermediate container 21021e9374c3 17:13:09 ---> 1e9aea71fff2 17:13:09 Step 4/20 : WORKDIR /device-sdk-go 17:13:09 ---> Running in 11ae1d279568 17:13:09 Removing intermediate container 11ae1d279568 17:13:09 ---> 76d7b0776d41 17:13:09 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:13:09 ---> Running in 18a3d8e3e300 17:13:10 Removing intermediate container 18a3d8e3e300 17:13:10 ---> 36c9e84a9424 17:13:10 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:10 ---> Running in 8396aec1619b 17:13:10 Removing intermediate container 8396aec1619b 17:13:10 ---> e04d439f32f3 17:13:10 Step 7/20 : RUN apk add --update --no-cache make git 17:13:10 ---> Running in f59687a68af3 17:13:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:13:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:13:11 OK: 143 MiB in 39 packages 17:13:12 Removing intermediate container f59687a68af3 17:13:12 ---> 8e3a2fa77a94 17:13:12 Step 8/20 : COPY . . 17:13:12 ---> 008b91fac043 17:13:12 Step 9/20 : RUN ${MAKE} 17:13:13 ---> Running in 5a85a6dee72a 17:13:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:13:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:13:26 Removing intermediate container 5a85a6dee72a 17:13:26 ---> cf6b8c18b1d8 17:13:26 Step 10/20 : FROM scratch 17:13:26 ---> 17:13:26 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:13:26 ---> Running in 68253d25e223 17:13:26 Removing intermediate container 68253d25e223 17:13:26 ---> 46fb8558be78 17:13:26 Step 12/20 : ENV APP_PORT=49990 17:13:26 ---> Running in f4daab6585aa 17:13:26 Removing intermediate container f4daab6585aa 17:13:26 ---> bc9a8e7a7bd0 17:13:26 Step 13/20 : EXPOSE $APP_PORT 17:13:27 ---> Running in 84dde25497cc 17:13:27 Removing intermediate container 84dde25497cc 17:13:27 ---> 46d898274ef7 17:13:27 Step 14/20 : WORKDIR / 17:13:27 ---> Running in b69962443802 17:13:27 Removing intermediate container b69962443802 17:13:27 ---> 726fe0565ed5 17:13:27 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:13:27 ---> 2add3b34327d 17:13:27 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 17:13:27 ---> beb3a251eab0 17:13:27 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 17:13:27 ---> Running in b01cb9130cf9 17:13:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:13:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:13:28 Removing intermediate container b01cb9130cf9 17:13:28 ---> da9909cbcdcb 17:13:28 Step 18/20 : LABEL arch=amd64 17:13:28 ---> Running in c46016d94bbe 17:13:28 Removing intermediate container c46016d94bbe 17:13:28 ---> ea283661974f 17:13:28 Step 19/20 : LABEL git_sha=df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:13:28 ---> Running in b7c95af9705d 17:13:28 Removing intermediate container b7c95af9705d 17:13:28 ---> 18f7a632ac93 17:13:28 Step 20/20 : LABEL version=0.0.0 17:13:28 ---> Running in 3a72d205403a 17:13:28 Removing intermediate container 3a72d205403a 17:13:28 ---> baaf2edd9264 17:13:28 [Warning] One or more build-args [ARCH] were not consumed 17:13:28 Successfully built baaf2edd9264 17:13:28 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 17:13:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.6% of statements [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] } 17:13:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.163s coverage: 95.8% of statements 17:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.111s coverage: 7.7% of statements 17:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 22.7% of statements 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.194s coverage: 38.5% of statements 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.852s coverage: 79.9% of statements 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:13:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:13:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.051s coverage: 52.6% of statements 17:13:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.336s coverage: 76.1% of statements 17:13:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:13:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:13:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:14:07 gofmt -l . 17:14:07 [ "`gofmt -l .`" = "" ] 17:14:07 ./bin/test-attribution-txt.sh 17:14:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:14:07 Warning: overwriting stash ‘coverage-report’ 17:14:08 Stashed 1 file(s) [Pipeline] } 17:14:08 $ docker stop --time=1 d570cbb936cb21f53f1be1b0964aa148de0f5bd83ef65f4ead5a96e2ab684312 17:14:10 $ docker rm -f d570cbb936cb21f53f1be1b0964aa148de0f5bd83ef65f4ead5a96e2ab684312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:12 + ls -al . 17:14:12 total 200 17:14:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 17:14 . 17:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 17:11 .. 17:14:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 17:11 .dockerignore 17:14:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 17:11 .git 17:14:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 17:11 .github 17:14:12 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 17:11 .gitignore 17:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 17:11 .semver 17:14:12 -rw-rw-r-- 1 jenkins jenkins 936 Apr 6 17:11 Dockerfile.build 17:14:12 -rw-rw-r-- 1 jenkins jenkins 808 Apr 6 17:11 Jenkinsfile 17:14:12 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 17:11 LICENSE 17:14:12 -rw-rw-r-- 1 jenkins jenkins 892 Apr 6 17:11 Makefile 17:14:12 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 6 17:11 README.md 17:14:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 17:09 VERSION 17:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 17:11 api 17:14:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 17:11 bin 17:14:12 -rw-r--r-- 1 jenkins jenkins 94906 Apr 6 17:13 coverage.out 17:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 17:11 example 17:14:12 -rw-r--r-- 1 jenkins jenkins 438 Apr 6 17:14 go.mod 17:14:12 -rw-r--r-- 1 jenkins jenkins 11812 Apr 6 17:14 go.sum 17:14:12 drwxrwxr-x 13 jenkins jenkins 4096 Apr 6 17:11 internal 17:14:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 17:11 pkg 17:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 17:11 snap 17:14:12 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 17:11 version.go [Pipeline] isUnix [Pipeline] sh 17:14:12 + 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=df5a7e6b4af67611839fd9ab2d0859ec220d04be --label arch=arm64 --label version=0.0.0 . 17:14:13 Sending build context to Docker daemon 2.89MB 17:14:13 Step 1/20 : ARG BASE=golang:1.13-alpine 17:14:13 Step 2/20 : FROM ${BASE} AS builder 17:14:13 ---> 7557e77c1cec 17:14:13 Step 3/20 : ARG MAKE='make build' 17:14:13 ---> Running in f804839d4dcf 17:14:13 Removing intermediate container f804839d4dcf 17:14:13 ---> 9080c1ff4604 17:14:13 Step 4/20 : WORKDIR /device-sdk-go 17:14:13 ---> Running in 099912c54480 17:14:13 Removing intermediate container 099912c54480 17:14:13 ---> 4714645dfd60 17:14:13 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:14:14 ---> Running in 0a94324a64ac 17:14:14 Removing intermediate container 0a94324a64ac 17:14:14 ---> 09536fbf6fe8 17:14:14 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:14 ---> Running in 93f073a6e31e 17:14:16 Removing intermediate container 93f073a6e31e 17:14:16 ---> 424e3c79011c 17:14:16 Step 7/20 : RUN apk add --update --no-cache make git 17:14:16 ---> Running in 1bab708587e9 17:14:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:14:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:14:18 OK: 125 MiB in 39 packages 17:14:19 Removing intermediate container 1bab708587e9 17:14:19 ---> 8ebd42bdaeec 17:14:19 Step 8/20 : COPY . . 17:14:20 ---> a9b13f7374ab 17:14:20 Step 9/20 : RUN ${MAKE} 17:14:20 ---> Running in 72b99efcdd24 17:14:21 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 17:15:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:15:00 Removing intermediate container 72b99efcdd24 17:15:00 ---> c186698c62d2 17:15:00 Step 10/20 : FROM scratch 17:15:00 ---> 17:15:00 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:15:00 ---> Running in 4f9d63265824 17:15:00 Removing intermediate container 4f9d63265824 17:15:00 ---> df76e22e1d80 17:15:00 Step 12/20 : ENV APP_PORT=49990 17:15:00 ---> Running in 1f07e535089e 17:15:00 Removing intermediate container 1f07e535089e 17:15:00 ---> ec8f188d0520 17:15:00 Step 13/20 : EXPOSE $APP_PORT 17:15:00 ---> Running in 3fed4b190751 17:15:00 Removing intermediate container 3fed4b190751 17:15:00 ---> ecc67552cec8 17:15:00 Step 14/20 : WORKDIR / 17:15:00 ---> Running in d8e8bd76f50a 17:15:00 Removing intermediate container d8e8bd76f50a 17:15:00 ---> de6d6c9c198c 17:15:00 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:15:00 ---> a7a68884d736 17:15:00 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 17:15:00 ---> 57ed9cf8dd4b 17:15:00 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 17:15:00 ---> Running in 189c4d456764 17:15:01 Removing intermediate container 189c4d456764 17:15:01 ---> 355ed58b4386 17:15:01 Step 18/20 : LABEL arch=arm64 17:15:01 ---> Running in 783f92235973 17:15:01 Removing intermediate container 783f92235973 17:15:01 ---> e6dba0a6e968 17:15:01 Step 19/20 : LABEL git_sha=df5a7e6b4af67611839fd9ab2d0859ec220d04be 17:15:01 ---> Running in 60360b8710f3 17:15:01 Removing intermediate container 60360b8710f3 17:15:01 ---> 4bd652bdb87c 17:15:01 Step 20/20 : LABEL version=0.0.0 17:15:02 ---> Running in e1c126508a40 17:15:02 Removing intermediate container e1c126508a40 17:15:02 ---> 57c8ec8913fd 17:15:02 [Warning] One or more build-args [ARCH] were not consumed 17:15:02 Successfully built 57c8ec8913fd 17:15: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 17:15:03 provisioning config files... 17:15:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config4940759801542525570tmp [Pipeline] { [Pipeline] sh 17:15:04 + curl -s https://codecov.io/bash 17:15:04 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config4940759801542525570tmp 17:15:04 17:15:04 _____ _ 17:15:04 / ____| | | 17:15:04 | | ___ __| | ___ ___ _____ __ 17:15:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:15:04 | |___| (_) | (_| | __/ (_| (_) \ V / 17:15:04 \_____\___/ \__,_|\___|\___\___/ \_/ 17:15:04 Bash-tbd 17:15:04 17:15:04 17:15:04 ==> Jenkins CI detected. 17:15:04 project root: . 17:15:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:15:04 ==> Running gcov in . (disable via -X gcov) 17:15:04 ==> Python coveragepy not found 17:15:04 ==> Searching for coverage reports in: 17:15:04 + . 17:15:04 -> Found 1 reports 17:15:04 ==> Detecting git/mercurial file structure 17:15:04 ==> Reading reports 17:15:04 + ./coverage.out bytes=94906 17:15:05 ==> Appending adjustments 17:15:05 http://docs.codecov.io/docs/fixing-reports 17:15:06 + Found adjustments 17:15:06 ==> Gzipping contents 17:15:06 ==> Uploading reports 17:15:06 url: https://codecov.io 17:15:06 query: branch=PR-432&commit=df5a7e6b4af67611839fd9ab2d0859ec220d04be&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 17:15:06 -> Pinging Codecov 17:15:06 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=df5a7e6b4af67611839fd9ab2d0859ec220d04be&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 17:15:06 -> Uploading 17:15:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/df5a7e6b4af67611839fd9ab2d0859ec220d04be [Pipeline] } 17:15:06 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 17:15:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:15:08 ---> package-listing.sh 17:15:08 ++ facter osfamily 17:15:08 ++ tr '[:upper:]' '[:lower:]' 17:15:08 + OS_FAMILY=redhat 17:15:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 17:15:08 + START_PACKAGES=/tmp/packages_start.txt 17:15:08 + END_PACKAGES=/tmp/packages_end.txt 17:15:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:15:08 + PACKAGES=/tmp/packages_start.txt 17:15:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 17:15:08 + PACKAGES=/tmp/packages_end.txt 17:15:08 + case "${OS_FAMILY}" in 17:15:08 + sort 17:15:08 + rpm -qa 17:15:14 + '[' -f /tmp/packages_start.txt ']' 17:15:14 + '[' -f /tmp/packages_end.txt ']' 17:15:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:15:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 17:15:14 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 17:15:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 17:15:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:15:15 17:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:15:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:15:16 alpine: Pulling from edgex-lftools-log-publisher 17:15:16 c9b1b535fdd9: Pulling fs layer 17:15:16 2cc5ad85d9ab: Pulling fs layer 17:15:16 756a868c4378: Pulling fs layer 17:15:16 444b2fc9a129: Pulling fs layer 17:15:16 ea15f1150254: Pulling fs layer 17:15:16 41b27a9f41bf: Pulling fs layer 17:15:16 28c525ee5125: Pulling fs layer 17:15:16 094b1ea09ed8: Pulling fs layer 17:15:16 138eaada9080: Pulling fs layer 17:15:16 0622d0fa9048: Pulling fs layer 17:15:16 41b27a9f41bf: Waiting 17:15:16 28c525ee5125: Waiting 17:15:16 444b2fc9a129: Waiting 17:15:16 ea15f1150254: Waiting 17:15:16 094b1ea09ed8: Waiting 17:15:16 138eaada9080: Waiting 17:15:16 0622d0fa9048: Waiting 17:15:16 2cc5ad85d9ab: Verifying Checksum 17:15:16 2cc5ad85d9ab: Download complete 17:15:16 444b2fc9a129: Verifying Checksum 17:15:16 444b2fc9a129: Download complete 17:15:17 c9b1b535fdd9: Verifying Checksum 17:15:17 c9b1b535fdd9: Download complete 17:15:18 c9b1b535fdd9: Pull complete 17:15:18 ea15f1150254: Verifying Checksum 17:15:18 ea15f1150254: Download complete 17:15:19 2cc5ad85d9ab: Pull complete 17:15:19 28c525ee5125: Verifying Checksum 17:15:19 28c525ee5125: Download complete 17:15:21 756a868c4378: Verifying Checksum 17:15:21 756a868c4378: Download complete 17:15:21 138eaada9080: Verifying Checksum 17:15:21 138eaada9080: Download complete 17:15:21 0622d0fa9048: Verifying Checksum 17:15:21 0622d0fa9048: Download complete 17:15:22 094b1ea09ed8: Verifying Checksum 17:15:22 094b1ea09ed8: Download complete 17:15:24 41b27a9f41bf: Verifying Checksum 17:15:24 41b27a9f41bf: Download complete 17:15:25 756a868c4378: Pull complete 17:15:26 444b2fc9a129: Pull complete 17:15:26 ea15f1150254: Pull complete 17:15:31 41b27a9f41bf: Pull complete 17:15:31 28c525ee5125: Pull complete 17:15:35 094b1ea09ed8: Pull complete 17:15:35 138eaada9080: Pull complete 17:15:35 0622d0fa9048: Pull complete 17:15:35 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:15:35 prd-centos7-docker-4c-2g-2415 does not seem to be running inside a container 17:15:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:15:37 $ docker top ea6c64973f54aafae47dbc1d21ca5072b0c259226003d241cf260f74642d3650 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:15:38 provisioning config files... 17:15:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8646901182139677770tmp [Pipeline] { [Pipeline] echo 17:15:38 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:15:39 ---> create-netrc.sh [Pipeline] echo 17:15:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:15:39 ---> logs-deploy.sh 17:15:39 + ARCHIVE_ARTIFACTS= 17:15:39 + LOGS_SERVER=https://logs.edgexfoundry.org 17:15:39 + '[' https://logs.edgexfoundry.org == None ']' 17:15:39 + NEXUS_URL=https://nexus.edgexfoundry.org 17:15:39 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/14 17:15:39 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/14/ 17:15:39 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/14 /w/workspace/dgexfoundry_device-sdk-go_PR-432 17:15:41 Archives upload complete. 17:15:41 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/14 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/14/ 17:15:44 ---> uname -a: 17:15:44 Linux ea6c64973f54 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 17:15:44 17:15:44 17:15:44 ---> lscpu: 17:15:44 Architecture: x86_64 17:15:44 CPU op-mode(s): 32-bit, 64-bit 17:15:44 Byte Order: Little Endian 17:15:44 Address sizes: 40 bits physical, 48 bits virtual 17:15:44 CPU(s): 4 17:15:44 On-line CPU(s) list: 0-3 17:15:44 Thread(s) per core: 1 17:15:44 Core(s) per socket: 1 17:15:44 Socket(s): 4 17:15:44 NUMA node(s): 1 17:15:44 Vendor ID: GenuineIntel 17:15:44 CPU family: 6 17:15:44 Model: 44 17:15:44 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:15:44 Stepping: 1 17:15:44 CPU MHz: 2933.438 17:15:44 BogoMIPS: 5866.87 17:15:44 Virtualization: VT-x 17:15:44 Hypervisor vendor: KVM 17:15:44 Virtualization type: full 17:15:44 L1d cache: 128 KiB 17:15:44 L1i cache: 128 KiB 17:15:44 L2 cache: 16 MiB 17:15:44 L3 cache: 64 MiB 17:15:44 NUMA node0 CPU(s): 0-3 17:15:44 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 17:15:44 Vulnerability Meltdown: Mitigation; PTI 17:15:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:15:44 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 17:15:44 Vulnerability Spectre v2: Mitigation; Full retpoline 17:15:44 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 17:15:44 17:15:44 17:15:44 ---> nproc: 17:15:44 4 17:15:44 17:15:44 17:15:44 ---> df -h: 17:15:44 Filesystem Size Used Available Use% Mounted on 17:15:44 overlay 50.0G 6.3G 43.7G 13% / 17:15:44 tmpfs 64.0M 0 64.0M 0% /dev 17:15:44 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 17:15:44 shm 64.0M 0 64.0M 0% /dev/shm 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 17:15:44 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 17:15:44 17:15:44 17:15:44 ---> free -m: 17:15:44 total used free shared buff/cache available 17:15:44 Mem: 1838 622 67 0 1148 1110 17:15:44 Swap: 1023 1 1022 17:15:44 17:15:44 17:15:44 ---> ip addr: 17:15:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:15:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:15:44 inet 127.0.0.1/8 scope host lo 17:15:44 valid_lft forever preferred_lft forever 17:15:44 6: eth0@if7: mtu 1458 qdisc noqueue state UP 17:15:44 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 17:15:44 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 17:15:44 valid_lft forever preferred_lft forever 17:15:44 17:15:44 17:15:44 ---> sar -b -r -n DEV: 17:15:44 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 17:15:44 17:15:44 17:08:22 LINUX RESTART 17:15:44 17:15:44 17:09:01 tps rtps wtps bread/s bwrtn/s 17:15:44 17:10:01 52.45 15.68 36.77 2914.75 3600.58 17:15:44 17:11:01 1.70 0.03 1.66 1.07 74.17 17:15:44 17:12:01 0.29 0.00 0.29 0.00 3.81 17:15:44 17:13:01 0.28 0.00 0.28 0.00 3.20 17:15:44 17:14:01 0.28 0.00 0.28 0.00 4.36 17:15:44 17:15:01 0.28 0.00 0.28 0.00 3.51 17:15:44 Average: 9.25 2.63 6.62 487.65 617.04 17:15:44 17:15:44 17:09:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:15:44 17:10:01 113880 1768424 93.95 2620 1209108 946660 32.30 458492 1153840 20 17:15:44 17:11:01 118748 1763556 93.69 2620 1209148 896688 30.59 456192 1152244 20 17:15:44 17:12:01 118536 1763768 93.70 2620 1209152 896736 30.60 456428 1152232 8 17:15:44 17:13:01 120380 1761924 93.60 2620 1209156 896460 30.59 455908 1151236 16 17:15:44 17:14:01 120584 1761720 93.59 2620 1209160 896460 30.59 455916 1151236 12 17:15:44 17:15:01 118724 1763580 93.69 2620 1209164 896688 30.59 457296 1151236 8 17:15:44 Average: 118475 1763829 93.71 2620 1209148 904949 30.88 456705 1152004 14 17:15:44 17:15:44 17:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 17:15:44 17:10:01 eth0 240.88 175.72 1001.16 95.41 0.00 0.00 0.00 17:15:44 17:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:10:01 docker0 7.42 5.69 0.94 15.61 0.00 0.00 0.00 17:15:44 17:11:01 eth0 1.63 0.63 0.37 0.29 0.00 0.00 0.00 17:15:44 17:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:12:01 eth0 0.88 0.52 0.36 0.22 0.00 0.00 0.00 17:15:44 17:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:13:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 17:15:44 17:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:14:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 17:15:44 17:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:15:01 eth0 0.90 0.58 0.43 0.24 0.00 0.00 0.00 17:15:44 17:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 Average: eth0 40.90 29.70 167.63 16.08 0.00 0.00 0.00 17:15:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:44 Average: docker0 1.24 0.95 0.16 2.61 0.00 0.00 0.00 17:15:44 17:15:44 17:15:44 ---> sar -P ALL: 17:15:44 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 17:15:44 17:15:44 17:08:22 LINUX RESTART 17:15:44 17:15:44 17:09:01 CPU %user %nice %system %iowait %steal %idle 17:15:44 17:10:01 all 12.68 0.00 4.22 1.47 9.03 72.59 17:15:44 17:10:01 0 11.57 0.00 4.23 0.56 9.86 73.78 17:15:44 17:10:01 1 12.74 0.00 4.40 1.60 8.95 72.32 17:15:44 17:10:01 2 13.92 0.00 4.11 2.24 8.65 71.08 17:15:44 17:10:01 3 12.49 0.00 4.12 1.46 8.68 73.25 17:15:44 17:11:01 all 0.15 0.00 0.10 0.00 0.18 99.58 17:15:44 17:11:01 0 0.12 0.00 0.08 0.00 0.18 99.62 17:15:44 17:11:01 1 0.22 0.00 0.20 0.00 0.27 99.32 17:15:44 17:11:01 2 0.23 0.00 0.08 0.00 0.20 99.48 17:15:44 17:11:01 3 0.03 0.00 0.03 0.00 0.07 99.87 17:15:44 17:12:01 all 0.11 0.00 0.05 0.00 0.25 99.59 17:15:44 17:12:01 0 0.27 0.00 0.08 0.00 0.24 99.41 17:15:44 17:12:01 1 0.03 0.00 0.07 0.00 0.32 99.58 17:15:44 17:12:01 2 0.07 0.00 0.03 0.00 0.20 99.70 17:15:44 17:12:01 3 0.05 0.00 0.03 0.00 0.24 99.68 17:15:44 17:13:01 all 0.12 0.00 0.05 0.00 0.43 99.40 17:15:44 17:13:01 0 0.33 0.00 0.05 0.00 0.50 99.12 17:15:44 17:13:01 1 0.05 0.00 0.05 0.00 0.25 99.65 17:15:44 17:13:01 2 0.05 0.00 0.03 0.00 0.76 99.16 17:15:44 17:13:01 3 0.07 0.00 0.02 0.00 0.22 99.70 17:15:44 17:14:01 all 0.08 0.00 0.04 0.00 0.36 99.53 17:15:44 17:14:01 0 0.03 0.00 0.03 0.00 0.58 99.35 17:15:44 17:14:01 1 0.05 0.00 0.05 0.00 0.20 99.70 17:15:44 17:14:01 2 0.05 0.00 0.05 0.00 0.42 99.48 17:15:44 17:14:01 3 0.18 0.00 0.05 0.00 0.22 99.55 17:15:44 17:15:01 all 0.14 0.00 0.05 0.00 0.23 99.58 17:15:44 17:15:01 0 0.03 0.00 0.03 0.00 0.30 99.63 17:15:44 17:15:01 1 0.07 0.00 0.05 0.00 0.27 99.62 17:15:44 17:15:01 2 0.07 0.00 0.07 0.00 0.15 99.72 17:15:44 17:15:01 3 0.40 0.00 0.03 0.00 0.22 99.35 17:15:44 Average: all 2.20 0.00 0.75 0.24 1.74 95.07 17:15:44 Average: 0 2.04 0.00 0.74 0.09 1.93 95.20 17:15:44 Average: 1 2.16 0.00 0.79 0.26 1.69 95.09 17:15:44 Average: 2 2.39 0.00 0.73 0.37 1.73 94.78 17:15:44 Average: 3 2.21 0.00 0.72 0.24 1.61 95.21 17:15:44 17:15:44 17:15:44