Pull request #474 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 b92b1a498a210f23e11ab247bf48f6be566a37ca rather than 0d6183c2c201acc7140892a361473bb0d4649dca Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca 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-blackbox-4c-2g-2794’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-blackbox-4c-2g-2795’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2875’ is offline; ‘prd-centos7-docker-4c-2g-2879’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2876’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2880 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 0d6183c2c201acc7140892a361473bb0d4649dca Merge succeeded, producing 0d6183c2c201acc7140892a361473bb0d4649dca Checking out Revision 0d6183c2c201acc7140892a361473bb0d4649dca (PR-474) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # timeout=10 Commit message: "Add new fields on Reading" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T15:39:14.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:39:16.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T15:39:16.564Z] [2020-04-08T15:39:16.564Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:39:16.927Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T15:39:16.927Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T15:39:16.927Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T15:39:16.927Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T15:39:16.927Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T15:39:16.927Z] 93b08a4f1073: Pulling fs layer [2020-04-08T15:39:16.927Z] 93b08a4f1073: Waiting [2020-04-08T15:39:16.927Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T15:39:16.927Z] b8cc5d1170e3: Download complete [2020-04-08T15:39:17.193Z] 9123ac7c32f7: Verifying Checksum [2020-04-08T15:39:17.193Z] 9123ac7c32f7: Download complete [2020-04-08T15:39:17.193Z] 93b08a4f1073: Verifying Checksum [2020-04-08T15:39:17.193Z] 93b08a4f1073: Download complete [2020-04-08T15:39:17.193Z] 2924cbbf6a41: Verifying Checksum [2020-04-08T15:39:17.193Z] 2924cbbf6a41: Download complete [2020-04-08T15:39:17.452Z] 9123ac7c32f7: Pull complete [2020-04-08T15:39:17.452Z] b8cc5d1170e3: Pull complete [2020-04-08T15:39:18.391Z] 2924cbbf6a41: Pull complete [2020-04-08T15:39:18.391Z] 93b08a4f1073: Pull complete [2020-04-08T15:39:18.391Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T15:39:18.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T15:39:18.543Z] prd-centos7-docker-4c-2g-2880 does not seem to be running inside a container [2020-04-08T15:39:18.585Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 [2020-04-08T15:39:19.200Z] $ docker top 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T15:39:19.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T15:39:19.459Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T15:39:19.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T15:39:19.691Z] $ docker exec 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 ssh-agent [2020-04-08T15:39:19.885Z] SSH_AUTH_SOCK=/tmp/ssh-qyMdS5lrdDGe/agent.14 [2020-04-08T15:39:19.885Z] SSH_AGENT_PID=20 [2020-04-08T15:39:19.895Z] Running ssh-add (command line suppressed) [2020-04-08T15:39:20.037Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_4986195612231425812.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_4986195612231425812.key) [2020-04-08T15:39:20.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T15:39:20.406Z] + git describe --exact-match --tags HEAD [2020-04-08T15:39:20.407Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T15:39:20.475Z] $ docker exec --env ******** --env ******** 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 ssh-agent -k [2020-04-08T15:39:20.637Z] unset SSH_AUTH_SOCK; [2020-04-08T15:39:20.638Z] unset SSH_AGENT_PID; [2020-04-08T15:39:20.638Z] echo Agent pid 20 killed; [2020-04-08T15:39:20.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T15:39:20.794Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T15:39:20.794Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T15:39:20.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T15:39:20.880Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T15:39:21.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T15:39:21.068Z] $ docker exec 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 ssh-agent [2020-04-08T15:39:21.255Z] SSH_AUTH_SOCK=/tmp/ssh-Tbpw1Q2GtTsz/agent.54 [2020-04-08T15:39:21.255Z] SSH_AGENT_PID=61 [2020-04-08T15:39:21.261Z] Running ssh-add (command line suppressed) [2020-04-08T15:39:21.420Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5176853013004075618.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5176853013004075618.key) [2020-04-08T15:39:21.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T15:39:21.799Z] + git semver init [2020-04-08T15:39:21.799Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T15:39:21.799Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git [2020-04-08T15:39:21.799Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-08T15:39:21.799Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T15:39:21.799Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T15:39:21.799Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T15:39:21.799Z] # $SEMVER_BRANCH = PR-474 [2020-04-08T15:39:21.799Z] # $SEMVER_TEMP = /tmp/semver-930887667 [2020-04-08T15:39:21.799Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-08T15:39:22.369Z] # '/tmp/semver-930887667' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' [2020-04-08T15:39:22.369Z] # -> Force: false [2020-04-08T15:39:22.369Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } [2020-04-08T15:39:22.379Z] $ docker exec --env ******** --env ******** 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 ssh-agent -k [2020-04-08T15:39:22.538Z] unset SSH_AUTH_SOCK; [2020-04-08T15:39:22.538Z] unset SSH_AGENT_PID; [2020-04-08T15:39:22.538Z] echo Agent pid 61 killed; [2020-04-08T15:39:22.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T15:39:23.014Z] + git semver [Pipeline] } [2020-04-08T15:39:23.037Z] $ docker stop --time=1 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 [2020-04-08T15:39:24.448Z] $ docker rm -f 994affd5cdb411d17ed0cb0f390ae6d79cd02c2339b1ef0b145dbc6eca1e5af7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T15:39:25.271Z] Stashed 38 file(s) [Pipeline] echo [2020-04-08T15:39:25.273Z] [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 [2020-04-08T15:39:40.490Z] Still waiting to schedule task [2020-04-08T15:39:40.490Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-08T15:39:40.492Z] Still waiting to schedule task [2020-04-08T15:39:40.492Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-08T15:41:12.971Z] Running on prd-centos7-docker-4c-2g-2882 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-08T15:41:13.015Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-08T15:41:15.171Z] using credential edgex-jenkins-ssh [2020-04-08T15:41:15.214Z] Cloning the remote Git repository [2020-04-08T15:41:15.214Z] Cloning with configured refspecs honoured and without tags [2020-04-08T15:41:15.026Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:41:15.064Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-08T15:41:15.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:41:15.118Z] > git --version # timeout=10 [2020-04-08T15:41:15.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:41:15.149Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:41:15.992Z] Fetching without tags [2020-04-08T15:41:16.356Z] Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:41:15.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T15:41:15.821Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-08T15:41:15.828Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:41:15.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T15:41:15.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:41:15.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:41:15.854Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:41:16.254Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T15:41:16.262Z] > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # timeout=10 [2020-04-08T15:41:16.319Z] > git remote # timeout=10 [2020-04-08T15:41:16.470Z] Merge succeeded, producing 0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:41:16.471Z] Checking out Revision 0d6183c2c201acc7140892a361473bb0d4649dca (PR-474) [2020-04-08T15:41:16.327Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T15:41:16.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:41:16.345Z] > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T15:41:16.356Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T15:41:16.366Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T15:41:16.374Z] > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # timeout=10 [2020-04-08T15:41:21.586Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T15:41:22.375Z] ========================================================= [2020-04-08T15:41:22.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-08T15:41:22.375Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:41:23.059Z] + 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 . [2020-04-08T15:41:23.320Z] Sending build context to Docker daemon 2.84MB [2020-04-08T15:41:23.320Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T15:41:23.320Z] Step 2/8 : FROM ${BASE} [2020-04-08T15:41:23.584Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-08T15:41:23.584Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T15:41:23.584Z] 2848faf0eed1: Pulling fs layer [2020-04-08T15:41:23.584Z] 0f37312ad70f: Pulling fs layer [2020-04-08T15:41:23.584Z] 5788d62ee057: Pulling fs layer [2020-04-08T15:41:23.584Z] 0e6b1d234666: Pulling fs layer [2020-04-08T15:41:23.584Z] bf5d7aec512f: Pulling fs layer [2020-04-08T15:41:23.584Z] 34c802a77dc8: Pulling fs layer [2020-04-08T15:41:23.584Z] 9eb99e56ec68: Pulling fs layer [2020-04-08T15:41:23.584Z] 27c7a5d97fbd: Pulling fs layer [2020-04-08T15:41:23.584Z] 5c102a31e300: Pulling fs layer [2020-04-08T15:41:23.584Z] 5788d62ee057: Waiting [2020-04-08T15:41:23.584Z] dcfb455df0a1: Pulling fs layer [2020-04-08T15:41:23.584Z] 0e6b1d234666: Waiting [2020-04-08T15:41:23.584Z] 34c802a77dc8: Waiting [2020-04-08T15:41:23.584Z] bf5d7aec512f: Waiting [2020-04-08T15:41:23.584Z] 9eb99e56ec68: Waiting [2020-04-08T15:41:23.584Z] 27c7a5d97fbd: Waiting [2020-04-08T15:41:23.584Z] 5c102a31e300: Waiting [2020-04-08T15:41:23.584Z] dcfb455df0a1: Waiting [2020-04-08T15:41:23.584Z] 0f37312ad70f: Verifying Checksum [2020-04-08T15:41:23.584Z] 0f37312ad70f: Download complete [2020-04-08T15:41:23.584Z] 2848faf0eed1: Verifying Checksum [2020-04-08T15:41:23.584Z] 2848faf0eed1: Download complete [2020-04-08T15:41:23.584Z] 0e6b1d234666: Verifying Checksum [2020-04-08T15:41:23.584Z] 0e6b1d234666: Download complete [2020-04-08T15:41:23.584Z] bf5d7aec512f: Verifying Checksum [2020-04-08T15:41:23.584Z] bf5d7aec512f: Download complete [2020-04-08T15:41:23.584Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T15:41:23.584Z] e6b0cf9c0882: Download complete [2020-04-08T15:41:24.158Z] e6b0cf9c0882: Pull complete [2020-04-08T15:41:24.423Z] 34c802a77dc8: Verifying Checksum [2020-04-08T15:41:24.423Z] 34c802a77dc8: Download complete [2020-04-08T15:41:24.423Z] 27c7a5d97fbd: Verifying Checksum [2020-04-08T15:41:24.423Z] 27c7a5d97fbd: Download complete [2020-04-08T15:41:25.043Z] 5c102a31e300: Verifying Checksum [2020-04-08T15:41:25.043Z] 5c102a31e300: Download complete [2020-04-08T15:41:25.043Z] dcfb455df0a1: Verifying Checksum [2020-04-08T15:41:25.043Z] dcfb455df0a1: Download complete [2020-04-08T15:41:25.303Z] 5788d62ee057: Verifying Checksum [2020-04-08T15:41:25.303Z] 5788d62ee057: Download complete [2020-04-08T15:41:25.303Z] 9eb99e56ec68: Verifying Checksum [2020-04-08T15:41:25.303Z] 9eb99e56ec68: Download complete [2020-04-08T15:41:26.238Z] 2848faf0eed1: Pull complete [2020-04-08T15:41:26.238Z] 0f37312ad70f: Pull complete [2020-04-08T15:41:32.833Z] 5788d62ee057: Pull complete [2020-04-08T15:41:32.833Z] 0e6b1d234666: Pull complete [2020-04-08T15:41:32.833Z] bf5d7aec512f: Pull complete [2020-04-08T15:41:36.119Z] 34c802a77dc8: Pull complete [2020-04-08T15:41:39.414Z] 9eb99e56ec68: Pull complete [2020-04-08T15:41:39.414Z] 27c7a5d97fbd: Pull complete [2020-04-08T15:41:40.361Z] 5c102a31e300: Pull complete [2020-04-08T15:41:40.361Z] dcfb455df0a1: Pull complete [2020-04-08T15:41:40.361Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-08T15:41:40.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-08T15:41:40.619Z] ---> 7c70fe431013 [2020-04-08T15:41:40.619Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:41:40.619Z] ---> Running in 21def6d7f767 [2020-04-08T15:41:40.619Z] Removing intermediate container 21def6d7f767 [2020-04-08T15:41:40.619Z] ---> 6eac8cac858b [2020-04-08T15:41:40.619Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T15:41:40.878Z] ---> Running in 271068ee46c0 [2020-04-08T15:41:42.258Z] Removing intermediate container 271068ee46c0 [2020-04-08T15:41:42.258Z] ---> ce6ac22ecad6 [2020-04-08T15:41:42.258Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T15:41:42.258Z] ---> Running in c6bdb0d0677c [2020-04-08T15:41:42.831Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T15:41:43.398Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T15:41:43.657Z] OK: 143 MiB in 39 packages [2020-04-08T15:41:43.916Z] Removing intermediate container c6bdb0d0677c [2020-04-08T15:41:43.916Z] ---> 9a0395d9c4e3 [2020-04-08T15:41:43.916Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T15:41:43.916Z] ---> Running in 19820212d343 [2020-04-08T15:41:44.175Z] Removing intermediate container 19820212d343 [2020-04-08T15:41:44.175Z] ---> 34f9dfcd86f2 [2020-04-08T15:41:44.175Z] Step 7/8 : COPY . . [2020-04-08T15:41:44.747Z] ---> 6d7485e62f1c [2020-04-08T15:41:44.747Z] Step 8/8 : RUN go mod download [2020-04-08T15:41:44.747Z] ---> Running in 2e0ba194f7b7 [2020-04-08T15:41:46.669Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T15:41:46.669Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T15:41:46.669Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T15:41:46.669Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T15:41:46.669Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T15:41:46.669Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T15:41:46.669Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T15:41:46.669Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T15:41:46.669Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T15:41:46.669Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T15:41:46.669Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T15:41:46.669Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T15:41:46.669Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T15:41:46.669Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T15:41:46.669Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T15:41:46.669Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T15:41:46.669Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T15:41:46.669Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T15:41:46.928Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T15:41:46.928Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T15:41:46.928Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T15:41:46.928Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T15:41:46.928Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T15:41:46.928Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T15:41:46.928Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T15:41:46.928Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T15:41:46.928Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T15:41:47.188Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T15:41:47.188Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T15:41:47.188Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T15:41:47.188Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T15:41:47.188Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T15:41:47.188Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T15:41:47.188Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T15:41:47.188Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T15:41:47.188Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T15:41:47.188Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T15:41:47.188Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T15:41:47.188Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T15:41:47.188Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T15:41:47.188Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T15:41:47.188Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T15:41:47.188Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T15:41:47.188Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T15:41:47.188Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T15:41:47.188Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T15:41:51.402Z] Removing intermediate container 2e0ba194f7b7 [2020-04-08T15:41:51.402Z] ---> 423b5a3a034f [2020-04-08T15:41:51.402Z] Successfully built 423b5a3a034f [2020-04-08T15:41:51.402Z] 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 [2020-04-08T15:41:51.970Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T15:41:51.971Z] . [Pipeline] withDockerContainer [2020-04-08T15:41:52.100Z] prd-centos7-docker-4c-2g-2882 does not seem to be running inside a container [2020-04-08T15:41:52.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-04-08T15:41:52.676Z] $ docker top 552852fcc87c50def3a25e0756f6e5911f1a594deb0788338c17cedb34441013 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T15:41:53.187Z] + go version [2020-04-08T15:41:53.187Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-08T15:41:53.507Z] + make test [2020-04-08T15:41:53.507Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T15:41:54.079Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T15:42:04.118Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T15:42:04.118Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T15:42:04.118Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.6% of statements [2020-04-08T15:42:10.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.037s coverage: 95.8% of statements [2020-04-08T15:42:23.963Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2883 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-08T15:42:24.004Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-08T15:42:30.672Z] using credential edgex-jenkins-ssh [2020-04-08T15:42:30.720Z] Cloning the remote Git repository [2020-04-08T15:42:30.720Z] Cloning with configured refspecs honoured and without tags [2020-04-08T15:42:30.790Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:42:30.878Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-08T15:42:30.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:42:30.982Z] > git --version # timeout=10 [2020-04-08T15:42:31.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:42:31.077Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:42:32.264Z] Fetching without tags [2020-04-08T15:42:32.721Z] Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:42:33.036Z] Merge succeeded, producing 0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:42:33.037Z] Checking out Revision 0d6183c2c201acc7140892a361473bb0d4649dca (PR-474) [2020-04-08T15:42:32.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T15:42:32.187Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-08T15:42:32.204Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:42:32.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T15:42:32.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T15:42:32.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:42:32.289Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T15:42:32.741Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T15:42:32.767Z] > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # timeout=10 [2020-04-08T15:42:32.906Z] > git remote # timeout=10 [2020-04-08T15:42:32.942Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T15:42:32.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T15:42:32.980Z] > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T15:42:33.013Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T15:42:33.044Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T15:42:33.079Z] > git checkout -f 0d6183c2c201acc7140892a361473bb0d4649dca # timeout=10 [2020-04-08T15:42:37.958Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T15:42:39.257Z] ========================================================= [2020-04-08T15:42:39.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-08T15:42:39.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:42:40.370Z] + 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 . [2020-04-08T15:42:41.344Z] Sending build context to Docker daemon 2.84MB [2020-04-08T15:42:41.344Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T15:42:41.344Z] Step 2/8 : FROM ${BASE} [2020-04-08T15:42:41.613Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-08T15:42:41.613Z] cde5963f3b93: Pulling fs layer [2020-04-08T15:42:41.613Z] 2a23fa8c16f7: Pulling fs layer [2020-04-08T15:42:41.613Z] 777b28850792: Pulling fs layer [2020-04-08T15:42:41.613Z] 8a11ddd9e578: Pulling fs layer [2020-04-08T15:42:41.613Z] 4cf88f913ddb: Pulling fs layer [2020-04-08T15:42:41.613Z] 1df406cf5192: Pulling fs layer [2020-04-08T15:42:41.613Z] cd6300453558: Pulling fs layer [2020-04-08T15:42:41.613Z] b9c365052c96: Pulling fs layer [2020-04-08T15:42:41.613Z] a2d8cc88f415: Pulling fs layer [2020-04-08T15:42:41.613Z] ea1d1ca13537: Pulling fs layer [2020-04-08T15:42:41.613Z] 3750a50a1c5e: Pulling fs layer [2020-04-08T15:42:41.613Z] 8a11ddd9e578: Waiting [2020-04-08T15:42:41.613Z] 4cf88f913ddb: Waiting [2020-04-08T15:42:41.613Z] 1df406cf5192: Waiting [2020-04-08T15:42:41.613Z] cd6300453558: Waiting [2020-04-08T15:42:41.613Z] b9c365052c96: Waiting [2020-04-08T15:42:41.613Z] 3750a50a1c5e: Waiting [2020-04-08T15:42:41.613Z] ea1d1ca13537: Waiting [2020-04-08T15:42:41.613Z] 777b28850792: Verifying Checksum [2020-04-08T15:42:41.613Z] 777b28850792: Download complete [2020-04-08T15:42:41.613Z] 2a23fa8c16f7: Verifying Checksum [2020-04-08T15:42:41.613Z] 2a23fa8c16f7: Download complete [2020-04-08T15:42:41.613Z] 4cf88f913ddb: Verifying Checksum [2020-04-08T15:42:41.613Z] 4cf88f913ddb: Download complete [2020-04-08T15:42:41.884Z] 1df406cf5192: Verifying Checksum [2020-04-08T15:42:41.884Z] 1df406cf5192: Download complete [2020-04-08T15:42:41.884Z] cde5963f3b93: Download complete [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 11.4% of statements [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 22.1% of statements [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.107s coverage: 38.5% of statements [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.384s coverage: 79.9% of statements [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T15:42:42.805Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.092s coverage: 71.4% of statements [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T15:42:42.805Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T15:42:42.805Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T15:42:42.805Z] gofmt -l . [2020-04-08T15:42:42.805Z] [ "`gofmt -l .`" = "" ] [2020-04-08T15:42:42.805Z] ./bin/test-attribution-txt.sh [2020-04-08T15:42:42.861Z] cde5963f3b93: Pull complete [2020-04-08T15:42:43.071Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T15:42:43.455Z] 2a23fa8c16f7: Pull complete [2020-04-08T15:42:43.726Z] 777b28850792: Pull complete [2020-04-08T15:42:43.801Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T15:42:43.788Z] $ docker stop --time=1 552852fcc87c50def3a25e0756f6e5911f1a594deb0788338c17cedb34441013 [2020-04-08T15:42:45.231Z] $ docker rm -f 552852fcc87c50def3a25e0756f6e5911f1a594deb0788338c17cedb34441013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T15:42:46.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T15:42:46.349Z] cd6300453558: Verifying Checksum [2020-04-08T15:42:46.349Z] cd6300453558: Download complete [2020-04-08T15:42:46.349Z] a2d8cc88f415: Verifying Checksum [2020-04-08T15:42:46.349Z] a2d8cc88f415: Download complete [2020-04-08T15:42:46.481Z] + ls -al . [2020-04-08T15:42:46.481Z] total 160 [2020-04-08T15:42:46.481Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 15:42 . [2020-04-08T15:42:46.481Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 15:41 .. [2020-04-08T15:42:46.481Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 15:41 api [2020-04-08T15:42:46.481Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 15:41 bin [2020-04-08T15:42:46.481Z] -rw-r--r--. 1 jenkins jenkins 95986 Apr 8 15:42 coverage.out [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 15:41 Dockerfile.build [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 15:41 .dockerignore [2020-04-08T15:42:46.481Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 15:41 example [2020-04-08T15:42:46.481Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 15:41 .git [2020-04-08T15:42:46.481Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 15:41 .github [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 15:41 .gitignore [2020-04-08T15:42:46.481Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 8 15:42 go.mod [2020-04-08T15:42:46.481Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 15:42 go.sum [2020-04-08T15:42:46.481Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 15:41 internal [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 15:41 Jenkinsfile [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 15:41 LICENSE [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 15:41 Makefile [2020-04-08T15:42:46.481Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 15:41 pkg [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 15:41 README.md [2020-04-08T15:42:46.481Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 15:41 .semver [2020-04-08T15:42:46.481Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 15:41 snap [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 15:39 VERSION [2020-04-08T15:42:46.481Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 15:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:42:46.782Z] + 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=0d6183c2c201acc7140892a361473bb0d4649dca --label arch=amd64 --label version=0.0.0 . [2020-04-08T15:42:46.782Z] Sending build context to Docker daemon 2.957MB [2020-04-08T15:42:46.782Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T15:42:46.782Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T15:42:46.782Z] ---> 423b5a3a034f [2020-04-08T15:42:46.782Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T15:42:47.042Z] ---> Running in 846776b5a44f [2020-04-08T15:42:47.042Z] Removing intermediate container 846776b5a44f [2020-04-08T15:42:47.042Z] ---> e5a9685faf9b [2020-04-08T15:42:47.042Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T15:42:47.042Z] ---> Running in 970590f1fea6 [2020-04-08T15:42:47.301Z] Removing intermediate container 970590f1fea6 [2020-04-08T15:42:47.301Z] ---> 63e6a8111634 [2020-04-08T15:42:47.301Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:42:47.301Z] ---> Running in d38c9603abce [2020-04-08T15:42:47.301Z] Removing intermediate container d38c9603abce [2020-04-08T15:42:47.301Z] ---> 3fe32e837114 [2020-04-08T15:42:47.301Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T15:42:47.560Z] ---> Running in 59de63e9f129 [2020-04-08T15:42:48.126Z] Removing intermediate container 59de63e9f129 [2020-04-08T15:42:48.126Z] ---> debdd8b2b026 [2020-04-08T15:42:48.126Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T15:42:48.126Z] ---> Running in 211d5e35188f [2020-04-08T15:42:48.310Z] ea1d1ca13537: Verifying Checksum [2020-04-08T15:42:48.311Z] ea1d1ca13537: Download complete [2020-04-08T15:42:48.385Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T15:42:48.579Z] 3750a50a1c5e: Verifying Checksum [2020-04-08T15:42:48.579Z] 3750a50a1c5e: Download complete [2020-04-08T15:42:49.762Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T15:42:49.762Z] OK: 143 MiB in 39 packages [2020-04-08T15:42:50.330Z] Removing intermediate container 211d5e35188f [2020-04-08T15:42:50.330Z] ---> 994c30917358 [2020-04-08T15:42:50.330Z] Step 8/20 : COPY . . [2020-04-08T15:42:50.591Z] ---> d77ab17160eb [2020-04-08T15:42:50.591Z] Step 9/20 : RUN ${MAKE} [2020-04-08T15:42:50.591Z] ---> Running in e4e0da206a3a [2020-04-08T15:42:50.852Z] 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 [2020-04-08T15:42:51.186Z] b9c365052c96: Verifying Checksum [2020-04-08T15:42:51.186Z] b9c365052c96: Download complete [2020-04-08T15:42:53.142Z] 8a11ddd9e578: Verifying Checksum [2020-04-08T15:42:53.142Z] 8a11ddd9e578: Download complete [2020-04-08T15:42:59.017Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T15:42:59.276Z] Removing intermediate container e4e0da206a3a [2020-04-08T15:42:59.276Z] ---> a98207882842 [2020-04-08T15:42:59.276Z] Step 10/20 : FROM scratch [2020-04-08T15:42:59.276Z] ---> [2020-04-08T15:42:59.276Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:42:59.276Z] ---> Running in e5615d021334 [2020-04-08T15:42:59.276Z] Removing intermediate container e5615d021334 [2020-04-08T15:42:59.276Z] ---> 0fccbcd85812 [2020-04-08T15:42:59.276Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T15:42:59.276Z] ---> Running in a2a0f3e33bbe [2020-04-08T15:42:59.536Z] Removing intermediate container a2a0f3e33bbe [2020-04-08T15:42:59.537Z] ---> 3661ac4f2920 [2020-04-08T15:42:59.537Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T15:42:59.537Z] ---> Running in ffc337b01c79 [2020-04-08T15:42:59.537Z] Removing intermediate container ffc337b01c79 [2020-04-08T15:42:59.537Z] ---> f62daa435803 [2020-04-08T15:42:59.537Z] Step 14/20 : WORKDIR / [2020-04-08T15:42:59.796Z] ---> Running in 5657e06af7a6 [2020-04-08T15:42:59.796Z] Removing intermediate container 5657e06af7a6 [2020-04-08T15:42:59.796Z] ---> 9597758c0003 [2020-04-08T15:42:59.796Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T15:43:00.055Z] ---> 0ca705ba7364 [2020-04-08T15:43:00.055Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T15:43:00.314Z] ---> 7a3ea280ba22 [2020-04-08T15:43:00.314Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T15:43:00.314Z] ---> Running in b251301277af [2020-04-08T15:43:00.573Z] Removing intermediate container b251301277af [2020-04-08T15:43:00.573Z] ---> 78089cd643bf [2020-04-08T15:43:00.573Z] Step 18/20 : LABEL arch=amd64 [2020-04-08T15:43:00.573Z] ---> Running in 5b6e4afbf986 [2020-04-08T15:43:00.573Z] Removing intermediate container 5b6e4afbf986 [2020-04-08T15:43:00.573Z] ---> fe3666a27f45 [2020-04-08T15:43:00.573Z] Step 19/20 : LABEL git_sha=0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:43:00.833Z] ---> Running in de517e9a20dc [2020-04-08T15:43:00.833Z] Removing intermediate container de517e9a20dc [2020-04-08T15:43:00.833Z] ---> 92f89447ee30 [2020-04-08T15:43:00.833Z] Step 20/20 : LABEL version=0.0.0 [2020-04-08T15:43:00.833Z] ---> Running in a8d4b185ff2a [2020-04-08T15:43:01.092Z] Removing intermediate container a8d4b185ff2a [2020-04-08T15:43:01.092Z] ---> 38bfdfa9c862 [2020-04-08T15:43:01.092Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T15:43:01.092Z] Successfully built 38bfdfa9c862 [2020-04-08T15:43:01.092Z] 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] } [2020-04-08T15:43:05.477Z] 8a11ddd9e578: Pull complete [2020-04-08T15:43:05.477Z] 4cf88f913ddb: Pull complete [2020-04-08T15:43:05.477Z] 1df406cf5192: Pull complete [2020-04-08T15:43:08.842Z] cd6300453558: Pull complete [2020-04-08T15:43:14.200Z] b9c365052c96: Pull complete [2020-04-08T15:43:14.200Z] a2d8cc88f415: Pull complete [2020-04-08T15:43:15.618Z] ea1d1ca13537: Pull complete [2020-04-08T15:43:15.893Z] 3750a50a1c5e: Pull complete [2020-04-08T15:43:15.893Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-08T15:43:15.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-08T15:43:15.893Z] ---> 78745c68409d [2020-04-08T15:43:15.893Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:43:20.169Z] ---> Running in 44309d495f0c [2020-04-08T15:43:20.437Z] Removing intermediate container 44309d495f0c [2020-04-08T15:43:20.437Z] ---> 0412cd4c35c0 [2020-04-08T15:43:20.437Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T15:43:20.708Z] ---> Running in 213f344ea6a5 [2020-04-08T15:43:22.667Z] Removing intermediate container 213f344ea6a5 [2020-04-08T15:43:22.667Z] ---> 76e011fa67cc [2020-04-08T15:43:22.667Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T15:43:22.937Z] ---> Running in 39b37152c89c [2020-04-08T15:43:23.907Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T15:43:29.253Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T15:43:37.458Z] OK: 125 MiB in 39 packages [2020-04-08T15:43:38.424Z] Removing intermediate container 39b37152c89c [2020-04-08T15:43:38.424Z] ---> 50e8bc69268f [2020-04-08T15:43:38.424Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T15:43:38.703Z] ---> Running in f7ad43c64102 [2020-04-08T15:43:38.971Z] Removing intermediate container f7ad43c64102 [2020-04-08T15:43:38.971Z] ---> 16fe8fb456e1 [2020-04-08T15:43:38.971Z] Step 7/8 : COPY . . [2020-04-08T15:43:40.392Z] ---> 200df9b7bbca [2020-04-08T15:43:40.392Z] Step 8/8 : RUN go mod download [2020-04-08T15:43:40.392Z] ---> Running in 80f3611e20d6 [2020-04-08T15:43:42.346Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T15:43:42.346Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T15:43:42.346Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T15:43:42.346Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T15:43:42.346Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T15:43:42.346Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T15:43:42.346Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T15:43:42.346Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T15:43:42.615Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T15:43:42.615Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T15:43:42.615Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T15:43:42.615Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T15:43:42.615Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T15:43:42.615Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T15:43:42.885Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T15:43:42.885Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T15:43:42.885Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T15:43:42.885Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T15:43:42.885Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T15:43:42.885Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T15:43:42.885Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T15:43:43.154Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T15:43:43.422Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T15:43:43.689Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T15:43:43.689Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T15:43:43.689Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T15:43:43.689Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T15:43:43.689Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T15:43:43.689Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T15:43:43.689Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T15:43:43.956Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T15:43:43.956Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T15:43:43.956Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T15:43:43.956Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T15:43:43.956Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T15:43:44.223Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T15:43:44.490Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T15:43:44.490Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T15:43:44.490Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T15:43:44.490Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T15:43:44.490Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T15:43:44.490Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T15:43:44.759Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T15:43:44.759Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T15:43:44.759Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T15:43:44.759Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T15:43:44.759Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T15:43:44.759Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T15:43:44.759Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T15:43:44.759Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T15:43:44.759Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T15:43:44.759Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T15:43:45.026Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T15:43:55.156Z] Removing intermediate container 80f3611e20d6 [2020-04-08T15:43:55.156Z] ---> 6074b28f3527 [2020-04-08T15:43:55.156Z] Successfully built 6074b28f3527 [2020-04-08T15:43:55.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:43:55.828Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T15:43:56.100Z] . [Pipeline] withDockerContainer [2020-04-08T15:43:56.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-2883 does not seem to be running inside a container [2020-04-08T15:43:56.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-04-08T15:43:58.057Z] $ docker top 98d31f79b9e788d0d50033d7bb15767330a7b17c298cf26564df97f66e2bdf65 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T15:43:59.110Z] + go version [2020-04-08T15:43:59.110Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-08T15:43:59.761Z] + make test [2020-04-08T15:43:59.761Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T15:44:01.186Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T15:44:27.949Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T15:44:27.949Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T15:44:29.920Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 22.6% of statements [2020-04-08T15:44:31.346Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.234s coverage: 95.8% of statements [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.027s coverage: 22.1% of statements [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.168s coverage: 38.5% of statements [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.583s coverage: 79.9% of statements [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T15:45:03.608Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.349s coverage: 71.4% of statements [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T15:45:03.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T15:45:03.608Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T15:45:07.895Z] gofmt -l . [2020-04-08T15:45:08.162Z] [ "`gofmt -l .`" = "" ] [2020-04-08T15:45:08.430Z] ./bin/test-attribution-txt.sh [2020-04-08T15:45:09.016Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T15:45:09.616Z] Warning: overwriting stash ‘coverage-report’ [2020-04-08T15:45:10.079Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T15:45:10.098Z] $ docker stop --time=1 98d31f79b9e788d0d50033d7bb15767330a7b17c298cf26564df97f66e2bdf65 [2020-04-08T15:45:12.303Z] $ docker rm -f 98d31f79b9e788d0d50033d7bb15767330a7b17c298cf26564df97f66e2bdf65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T15:45:13.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T15:45:13.884Z] + ls -al . [2020-04-08T15:45:13.884Z] total 200 [2020-04-08T15:45:13.884Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 15:45 . [2020-04-08T15:45:13.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 15:42 .. [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 15:42 .dockerignore [2020-04-08T15:45:13.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 15:42 .git [2020-04-08T15:45:13.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 15:42 .github [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 15:42 .gitignore [2020-04-08T15:45:13.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 15:42 .semver [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 15:42 Dockerfile.build [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 15:42 Jenkinsfile [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 15:42 LICENSE [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 15:42 Makefile [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 15:42 README.md [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 15:39 VERSION [2020-04-08T15:45:13.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 15:42 api [2020-04-08T15:45:13.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 15:42 bin [2020-04-08T15:45:13.884Z] -rw-r--r-- 1 jenkins jenkins 95986 Apr 8 15:45 coverage.out [2020-04-08T15:45:13.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 15:42 example [2020-04-08T15:45:13.884Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 8 15:45 go.mod [2020-04-08T15:45:13.884Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 15:45 go.sum [2020-04-08T15:45:13.884Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 15:42 internal [2020-04-08T15:45:13.884Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 15:42 pkg [2020-04-08T15:45:13.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 15:42 snap [2020-04-08T15:45:13.884Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 15:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:45:14.215Z] + 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=0d6183c2c201acc7140892a361473bb0d4649dca --label arch=arm64 --label version=0.0.0 . [2020-04-08T15:45:14.814Z] Sending build context to Docker daemon 2.957MB [2020-04-08T15:45:14.814Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T15:45:14.814Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T15:45:14.814Z] ---> 6074b28f3527 [2020-04-08T15:45:14.814Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T15:45:15.080Z] ---> Running in 882391f0cc48 [2020-04-08T15:45:15.349Z] Removing intermediate container 882391f0cc48 [2020-04-08T15:45:15.349Z] ---> ab5f07e0a3a9 [2020-04-08T15:45:15.349Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T15:45:15.349Z] ---> Running in 0052f29b1bb5 [2020-04-08T15:45:15.931Z] Removing intermediate container 0052f29b1bb5 [2020-04-08T15:45:15.931Z] ---> 181e9d7aff87 [2020-04-08T15:45:15.931Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:45:15.931Z] ---> Running in 931c5a30fe1a [2020-04-08T15:45:16.198Z] Removing intermediate container 931c5a30fe1a [2020-04-08T15:45:16.198Z] ---> ee6b23b24e81 [2020-04-08T15:45:16.198Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T15:45:16.467Z] ---> Running in c053ea5a0600 [2020-04-08T15:45:18.420Z] Removing intermediate container c053ea5a0600 [2020-04-08T15:45:18.420Z] ---> c6e653189b2e [2020-04-08T15:45:18.420Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T15:45:18.420Z] ---> Running in 08bce665d386 [2020-04-08T15:45:19.004Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T15:45:25.642Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T15:45:33.849Z] OK: 125 MiB in 39 packages [2020-04-08T15:45:33.849Z] Removing intermediate container 08bce665d386 [2020-04-08T15:45:33.849Z] ---> 06b2db61e13c [2020-04-08T15:45:33.849Z] Step 8/20 : COPY . . [2020-04-08T15:45:35.265Z] ---> b453e83366a6 [2020-04-08T15:45:35.265Z] Step 9/20 : RUN ${MAKE} [2020-04-08T15:45:35.265Z] ---> Running in 657aec9aece3 [2020-04-08T15:45:36.231Z] 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 [2020-04-08T15:46:02.961Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T15:46:02.961Z] Removing intermediate container 657aec9aece3 [2020-04-08T15:46:02.961Z] ---> ee4427a8f9bc [2020-04-08T15:46:02.961Z] Step 10/20 : FROM scratch [2020-04-08T15:46:02.961Z] ---> [2020-04-08T15:46:02.961Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T15:46:02.961Z] ---> Running in bf33f1dbca84 [2020-04-08T15:46:02.961Z] Removing intermediate container bf33f1dbca84 [2020-04-08T15:46:02.961Z] ---> 545a13b458ef [2020-04-08T15:46:02.961Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T15:46:02.961Z] ---> Running in e82df075f911 [2020-04-08T15:46:02.961Z] Removing intermediate container e82df075f911 [2020-04-08T15:46:02.961Z] ---> 642d16d6eeb3 [2020-04-08T15:46:02.961Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T15:46:02.961Z] ---> Running in 1ac6788c69e2 [2020-04-08T15:46:02.961Z] Removing intermediate container 1ac6788c69e2 [2020-04-08T15:46:02.961Z] ---> 08f35ea40dc0 [2020-04-08T15:46:02.961Z] Step 14/20 : WORKDIR / [2020-04-08T15:46:02.961Z] ---> Running in f83787a2e10a [2020-04-08T15:46:03.228Z] Removing intermediate container f83787a2e10a [2020-04-08T15:46:03.228Z] ---> 9951098dc681 [2020-04-08T15:46:03.228Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T15:46:04.191Z] ---> 672f755b3e1e [2020-04-08T15:46:04.191Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T15:46:04.784Z] ---> 00b13efa0f89 [2020-04-08T15:46:04.784Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T15:46:05.052Z] ---> Running in b14fa5d8eac7 [2020-04-08T15:46:05.322Z] Removing intermediate container b14fa5d8eac7 [2020-04-08T15:46:05.322Z] ---> de1089e0fa89 [2020-04-08T15:46:05.322Z] Step 18/20 : LABEL arch=arm64 [2020-04-08T15:46:05.322Z] ---> Running in f55fe7f526e2 [2020-04-08T15:46:05.911Z] Removing intermediate container f55fe7f526e2 [2020-04-08T15:46:05.911Z] ---> 2ba6e4900a05 [2020-04-08T15:46:05.911Z] Step 19/20 : LABEL git_sha=0d6183c2c201acc7140892a361473bb0d4649dca [2020-04-08T15:46:05.911Z] ---> Running in 86e8a31523b2 [2020-04-08T15:46:06.180Z] Removing intermediate container 86e8a31523b2 [2020-04-08T15:46:06.180Z] ---> 2fcd8d244b9b [2020-04-08T15:46:06.180Z] Step 20/20 : LABEL version=0.0.0 [2020-04-08T15:46:06.450Z] ---> Running in 4ef65ef4cad4 [2020-04-08T15:46:06.718Z] Removing intermediate container 4ef65ef4cad4 [2020-04-08T15:46:06.718Z] ---> 2c7ba6fda956 [2020-04-08T15:46:06.718Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T15:46:06.718Z] Successfully built 2c7ba6fda956 [2020-04-08T15:46:06.718Z] 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 [2020-04-08T15:46:07.791Z] provisioning config files... [2020-04-08T15:46:07.804Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config6909949384677817658tmp [Pipeline] { [Pipeline] sh [2020-04-08T15:46:08.159Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config6909949384677817658tmp [2020-04-08T15:46:08.159Z] + curl -s https://codecov.io/bash [2020-04-08T15:46:08.420Z] [2020-04-08T15:46:08.420Z] _____ _ [2020-04-08T15:46:08.420Z] / ____| | | [2020-04-08T15:46:08.420Z] | | ___ __| | ___ ___ _____ __ [2020-04-08T15:46:08.420Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-08T15:46:08.420Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-08T15:46:08.420Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-08T15:46:08.420Z] Bash-tbd [2020-04-08T15:46:08.420Z] [2020-04-08T15:46:08.420Z] [2020-04-08T15:46:08.420Z] ==> Jenkins CI detected. [2020-04-08T15:46:08.420Z] project root: . [2020-04-08T15:46:08.420Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-08T15:46:08.420Z] ==> Running gcov in . (disable via -X gcov) [2020-04-08T15:46:08.420Z] ==> Python coveragepy not found [2020-04-08T15:46:08.420Z] ==> Searching for coverage reports in: [2020-04-08T15:46:08.420Z] + . [2020-04-08T15:46:08.420Z] -> Found 1 reports [2020-04-08T15:46:08.420Z] ==> Detecting git/mercurial file structure [2020-04-08T15:46:08.420Z] ==> Reading reports [2020-04-08T15:46:08.420Z] + ./coverage.out bytes=95986 [2020-04-08T15:46:08.420Z] ==> Appending adjustments [2020-04-08T15:46:08.420Z] http://docs.codecov.io/docs/fixing-reports [2020-04-08T15:46:08.679Z] + Found adjustments [2020-04-08T15:46:08.679Z] ==> Gzipping contents [2020-04-08T15:46:08.953Z] ==> Uploading reports [2020-04-08T15:46:08.953Z] url: https://codecov.io [2020-04-08T15:46:08.953Z] query: branch=PR-474&commit=0d6183c2c201acc7140892a361473bb0d4649dca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-08T15:46:08.953Z] -> Pinging Codecov [2020-04-08T15:46:08.953Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-474&commit=0d6183c2c201acc7140892a361473bb0d4649dca&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-08T15:46:09.521Z] -> Uploading [2020-04-08T15:46:10.460Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d6183c2c201acc7140892a361473bb0d4649dca [Pipeline] } [2020-04-08T15:46:10.467Z] 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 [2020-04-08T15:46:11.623Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T15:46:11.923Z] ---> package-listing.sh [2020-04-08T15:46:11.923Z] ++ facter osfamily [2020-04-08T15:46:11.923Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T15:46:11.923Z] + OS_FAMILY=redhat [2020-04-08T15:46:11.923Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-08T15:46:11.923Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T15:46:11.923Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T15:46:11.923Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T15:46:11.923Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T15:46:11.923Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-08T15:46:11.923Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T15:46:11.923Z] + case "${OS_FAMILY}" in [2020-04-08T15:46:11.923Z] + rpm -qa [2020-04-08T15:46:11.923Z] + sort [2020-04-08T15:46:15.213Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T15:46:15.213Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T15:46:15.213Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T15:46:15.213Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-08T15:46:15.213Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [2020-04-08T15:46:15.213Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:46:15.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T15:46:15.572Z] [2020-04-08T15:46:15.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T15:46:15.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T15:46:15.915Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T15:46:15.915Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T15:46:15.915Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T15:46:15.915Z] 756a868c4378: Pulling fs layer [2020-04-08T15:46:15.915Z] 444b2fc9a129: Pulling fs layer [2020-04-08T15:46:15.915Z] ea15f1150254: Pulling fs layer [2020-04-08T15:46:15.915Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T15:46:15.915Z] 28c525ee5125: Pulling fs layer [2020-04-08T15:46:15.915Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T15:46:15.915Z] 138eaada9080: Pulling fs layer [2020-04-08T15:46:15.915Z] 0622d0fa9048: Pulling fs layer [2020-04-08T15:46:15.915Z] 41b27a9f41bf: Waiting [2020-04-08T15:46:15.915Z] 28c525ee5125: Waiting [2020-04-08T15:46:15.915Z] 094b1ea09ed8: Waiting [2020-04-08T15:46:15.915Z] 444b2fc9a129: Waiting [2020-04-08T15:46:15.915Z] 138eaada9080: Waiting [2020-04-08T15:46:15.915Z] 0622d0fa9048: Waiting [2020-04-08T15:46:15.915Z] ea15f1150254: Waiting [2020-04-08T15:46:15.915Z] 2cc5ad85d9ab: Download complete [2020-04-08T15:46:15.915Z] 444b2fc9a129: Verifying Checksum [2020-04-08T15:46:15.915Z] 444b2fc9a129: Download complete [2020-04-08T15:46:15.915Z] c9b1b535fdd9: Verifying Checksum [2020-04-08T15:46:16.181Z] ea15f1150254: Download complete [2020-04-08T15:46:16.181Z] 28c525ee5125: Verifying Checksum [2020-04-08T15:46:16.181Z] 28c525ee5125: Download complete [2020-04-08T15:46:16.441Z] c9b1b535fdd9: Pull complete [2020-04-08T15:46:16.441Z] 756a868c4378: Verifying Checksum [2020-04-08T15:46:16.441Z] 756a868c4378: Download complete [2020-04-08T15:46:16.441Z] 138eaada9080: Verifying Checksum [2020-04-08T15:46:16.441Z] 138eaada9080: Download complete [2020-04-08T15:46:16.441Z] 0622d0fa9048: Verifying Checksum [2020-04-08T15:46:16.441Z] 0622d0fa9048: Download complete [2020-04-08T15:46:16.711Z] 2cc5ad85d9ab: Pull complete [2020-04-08T15:46:16.711Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T15:46:16.711Z] 094b1ea09ed8: Download complete [2020-04-08T15:46:17.288Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T15:46:17.288Z] 41b27a9f41bf: Download complete [2020-04-08T15:46:18.237Z] 756a868c4378: Pull complete [2020-04-08T15:46:18.496Z] 444b2fc9a129: Pull complete [2020-04-08T15:46:18.496Z] ea15f1150254: Pull complete [2020-04-08T15:46:22.710Z] 41b27a9f41bf: Pull complete [2020-04-08T15:46:22.710Z] 28c525ee5125: Pull complete [2020-04-08T15:46:25.254Z] 094b1ea09ed8: Pull complete [2020-04-08T15:46:25.254Z] 138eaada9080: Pull complete [2020-04-08T15:46:25.514Z] 0622d0fa9048: Pull complete [2020-04-08T15:46:25.514Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T15:46:25.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T15:46:25.704Z] prd-centos7-docker-4c-2g-2880 does not seem to be running inside a container [2020-04-08T15:46:25.765Z] $ 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-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 [2020-04-08T15:46:26.860Z] $ docker top a816dab67c6e6b8fc28af5ebcb923d3829e90e7f0df497725b9635f9ae84c21a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T15:46:27.105Z] provisioning config files... [2020-04-08T15:46:27.120Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config7927223378686214466tmp [Pipeline] { [Pipeline] echo [2020-04-08T15:46:27.171Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T15:46:27.465Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T15:46:27.473Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T15:46:27.769Z] ---> logs-deploy.sh [2020-04-08T15:46:27.769Z] + ARCHIVE_ARTIFACTS= [2020-04-08T15:46:27.769Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T15:46:27.769Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T15:46:27.769Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T15:46:27.769Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/2 [2020-04-08T15:46:27.769Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/2/ [2020-04-08T15:46:27.769Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/2 /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-08T15:46:29.148Z] Archives upload complete. [2020-04-08T15:46:29.148Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/2/