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 888b39f222b207ffcba3a6825bb33c7eea8f5d72 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-1704 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 Fetching 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 > 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 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 888b39f222b207ffcba3a6825bb33c7eea8f5d72 Merge succeeded, producing 888b39f222b207ffcba3a6825bb33c7eea8f5d72 Checking out Revision 888b39f222b207ffcba3a6825bb33c7eea8f5d72 (PR-432) > git config core.sparsecheckout # timeout=10 > git checkout -f 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # 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 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk db73cdc8dbf3122ad9408efcb2564a6f5d15645a # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-01T07:06:24.871Z] 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 [2020-04-01T07:06:26.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-01T07:06:26.993Z] [2020-04-01T07:06:26.993Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:06:27.371Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-01T07:06:27.371Z] latest: Pulling from edgex-devops/git-semver [2020-04-01T07:06:27.371Z] 9123ac7c32f7: Pulling fs layer [2020-04-01T07:06:27.371Z] b8cc5d1170e3: Pulling fs layer [2020-04-01T07:06:27.371Z] 2924cbbf6a41: Pulling fs layer [2020-04-01T07:06:27.371Z] 93b08a4f1073: Pulling fs layer [2020-04-01T07:06:27.371Z] 93b08a4f1073: Waiting [2020-04-01T07:06:27.633Z] b8cc5d1170e3: Verifying Checksum [2020-04-01T07:06:27.633Z] b8cc5d1170e3: Download complete [2020-04-01T07:06:27.633Z] 9123ac7c32f7: Verifying Checksum [2020-04-01T07:06:27.633Z] 9123ac7c32f7: Download complete [2020-04-01T07:06:27.633Z] 93b08a4f1073: Verifying Checksum [2020-04-01T07:06:27.633Z] 93b08a4f1073: Download complete [2020-04-01T07:06:27.633Z] 2924cbbf6a41: Verifying Checksum [2020-04-01T07:06:27.633Z] 2924cbbf6a41: Download complete [2020-04-01T07:06:27.893Z] 9123ac7c32f7: Pull complete [2020-04-01T07:06:27.893Z] b8cc5d1170e3: Pull complete [2020-04-01T07:06:29.289Z] 2924cbbf6a41: Pull complete [2020-04-01T07:06:29.289Z] 93b08a4f1073: Pull complete [2020-04-01T07:06:29.289Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-01T07:06:29.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-01T07:06:29.434Z] prd-centos7-docker-4c-2g-1704 does not seem to be running inside a container [2020-04-01T07:06:29.475Z] $ 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 [2020-04-01T07:06:30.156Z] $ docker top 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-01T07:06:30.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-01T07:06:30.483Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-01T07:06:30.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-01T07:06:30.798Z] $ docker exec 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 ssh-agent [2020-04-01T07:06:31.061Z] SSH_AUTH_SOCK=/tmp/ssh-EZebmoT6MCGg/agent.16 [2020-04-01T07:06:31.061Z] SSH_AGENT_PID=22 [2020-04-01T07:06:31.088Z] Running ssh-add (command line suppressed) [2020-04-01T07:06:31.328Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_8900462563112726944.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_8900462563112726944.key) [2020-04-01T07:06:31.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-01T07:06:31.747Z] + git describe --exact-match --tags HEAD [2020-04-01T07:06:31.747Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-01T07:06:31.811Z] $ docker exec --env ******** --env ******** 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 ssh-agent -k [2020-04-01T07:06:32.003Z] unset SSH_AUTH_SOCK; [2020-04-01T07:06:32.004Z] unset SSH_AGENT_PID; [2020-04-01T07:06:32.004Z] echo Agent pid 22 killed; [2020-04-01T07:06:32.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-01T07:06:32.142Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-01T07:06:32.142Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-01T07:06:32.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-01T07:06:32.218Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-01T07:06:32.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-01T07:06:32.514Z] $ docker exec 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 ssh-agent [2020-04-01T07:06:32.766Z] SSH_AUTH_SOCK=/tmp/ssh-H6NzdH4sjzKI/agent.58 [2020-04-01T07:06:32.766Z] SSH_AGENT_PID=65 [2020-04-01T07:06:32.778Z] Running ssh-add (command line suppressed) [2020-04-01T07:06:33.008Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3122202825607683478.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3122202825607683478.key) [2020-04-01T07:06:33.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-01T07:06:33.400Z] + git semver init [2020-04-01T07:06:33.400Z] # -> Open(): unable to determine branch for HEAD [2020-04-01T07:06:33.400Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git [2020-04-01T07:06:33.400Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-04-01T07:06:33.400Z] # $SEMVER_REMOTE_NAME = origin [2020-04-01T07:06:33.400Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-01T07:06:33.400Z] # $SEMVER_USER_NAME = jenkins [2020-04-01T07:06:33.400Z] # $SEMVER_BRANCH = PR-432 [2020-04-01T07:06:33.400Z] # $SEMVER_TEMP = /tmp/semver-623986891 [2020-04-01T07:06:33.400Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-01T07:06:34.346Z] # '/tmp/semver-623986891' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' [2020-04-01T07:06:34.346Z] # -> Force: false [2020-04-01T07:06:34.346Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } [2020-04-01T07:06:34.355Z] $ docker exec --env ******** --env ******** 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 ssh-agent -k [2020-04-01T07:06:34.535Z] unset SSH_AUTH_SOCK; [2020-04-01T07:06:34.535Z] unset SSH_AGENT_PID; [2020-04-01T07:06:34.535Z] echo Agent pid 65 killed; [2020-04-01T07:06:34.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-01T07:06:35.005Z] + git semver [Pipeline] } [2020-04-01T07:06:35.016Z] $ docker stop --time=1 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 [2020-04-01T07:06:36.452Z] $ docker rm -f 7d1dd0474d0b1ab80411703be86f4df0be309a5c4d279a9ddbfbd9eb8f536681 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-01T07:06:37.982Z] Stashed 35 file(s) [Pipeline] echo [2020-04-01T07:06:37.984Z] [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-01T07:06:53.193Z] Still waiting to schedule task [2020-04-01T07:06:53.193Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-01T07:06:53.195Z] Still waiting to schedule task [2020-04-01T07:06:53.195Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1700’ [2020-04-01T07:08:20.144Z] Running on prd-centos7-docker-4c-2g-1705 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-04-01T07:08:20.179Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-04-01T07:08:22.303Z] using credential edgex-jenkins-ssh [2020-04-01T07:08:22.345Z] Cloning the remote Git repository [2020-04-01T07:08:22.345Z] Cloning with configured refspecs honoured and without tags [2020-04-01T07:08:21.886Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:08:21.925Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-04-01T07:08:21.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:08:21.969Z] > git --version # timeout=10 [2020-04-01T07:08:21.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:08:22.000Z] > 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 [2020-04-01T07:08:23.047Z] Fetching without tags [2020-04-01T07:08:23.433Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:08:23.518Z] Merge succeeded, producing 888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:08:23.518Z] Checking out Revision 888b39f222b207ffcba3a6825bb33c7eea8f5d72 (PR-432) [2020-04-01T07:08:22.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-01T07:08:22.555Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-04-01T07:08:22.561Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-01T07:08:22.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-01T07:08:22.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:08:22.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:08:22.585Z] > 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 [2020-04-01T07:08:23.002Z] > git config core.sparsecheckout # timeout=10 [2020-04-01T07:08:23.010Z] > git checkout -f 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 [2020-04-01T07:08:23.055Z] > git remote # timeout=10 [2020-04-01T07:08:23.060Z] > git config --get remote.origin.url # timeout=10 [2020-04-01T07:08:23.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:08:23.068Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-04-01T07:08:23.077Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-01T07:08:23.092Z] > git config core.sparsecheckout # timeout=10 [2020-04-01T07:08:23.096Z] > git checkout -f 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 [2020-04-01T07:08:27.092Z] Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-01T07:08:27.935Z] ========================================================= [2020-04-01T07:08:27.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-01T07:08:27.935Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:08:28.586Z] + 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-01T07:08:28.586Z] Sending build context to Docker daemon 2.772MB [2020-04-01T07:08:28.847Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-01T07:08:28.847Z] Step 2/8 : FROM ${BASE} [2020-04-01T07:08:28.847Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-01T07:08:28.847Z] e6b0cf9c0882: Pulling fs layer [2020-04-01T07:08:28.847Z] 2848faf0eed1: Pulling fs layer [2020-04-01T07:08:28.847Z] 0f37312ad70f: Pulling fs layer [2020-04-01T07:08:28.847Z] 5788d62ee057: Pulling fs layer [2020-04-01T07:08:28.847Z] 0e6b1d234666: Pulling fs layer [2020-04-01T07:08:28.847Z] bf5d7aec512f: Pulling fs layer [2020-04-01T07:08:28.847Z] 34c802a77dc8: Pulling fs layer [2020-04-01T07:08:28.847Z] 9eb99e56ec68: Pulling fs layer [2020-04-01T07:08:28.847Z] 27c7a5d97fbd: Pulling fs layer [2020-04-01T07:08:28.847Z] 5c102a31e300: Pulling fs layer [2020-04-01T07:08:28.847Z] dcfb455df0a1: Pulling fs layer [2020-04-01T07:08:28.847Z] 5788d62ee057: Waiting [2020-04-01T07:08:28.847Z] 0e6b1d234666: Waiting [2020-04-01T07:08:28.847Z] 27c7a5d97fbd: Waiting [2020-04-01T07:08:28.847Z] bf5d7aec512f: Waiting [2020-04-01T07:08:28.847Z] 5c102a31e300: Waiting [2020-04-01T07:08:28.847Z] 34c802a77dc8: Waiting [2020-04-01T07:08:28.847Z] dcfb455df0a1: Waiting [2020-04-01T07:08:28.847Z] 9eb99e56ec68: Waiting [2020-04-01T07:08:28.847Z] 0f37312ad70f: Verifying Checksum [2020-04-01T07:08:28.847Z] 0f37312ad70f: Download complete [2020-04-01T07:08:28.847Z] 2848faf0eed1: Verifying Checksum [2020-04-01T07:08:28.847Z] 2848faf0eed1: Download complete [2020-04-01T07:08:28.847Z] 0e6b1d234666: Verifying Checksum [2020-04-01T07:08:28.847Z] 0e6b1d234666: Download complete [2020-04-01T07:08:28.847Z] bf5d7aec512f: Verifying Checksum [2020-04-01T07:08:28.847Z] bf5d7aec512f: Download complete [2020-04-01T07:08:28.847Z] e6b0cf9c0882: Verifying Checksum [2020-04-01T07:08:28.848Z] e6b0cf9c0882: Download complete [2020-04-01T07:08:29.110Z] e6b0cf9c0882: Pull complete [2020-04-01T07:08:29.378Z] 2848faf0eed1: Pull complete [2020-04-01T07:08:29.655Z] 34c802a77dc8: Verifying Checksum [2020-04-01T07:08:29.655Z] 34c802a77dc8: Download complete [2020-04-01T07:08:29.655Z] 27c7a5d97fbd: Verifying Checksum [2020-04-01T07:08:29.655Z] 27c7a5d97fbd: Download complete [2020-04-01T07:08:30.236Z] 5c102a31e300: Verifying Checksum [2020-04-01T07:08:30.236Z] 5c102a31e300: Download complete [2020-04-01T07:08:30.236Z] 9eb99e56ec68: Verifying Checksum [2020-04-01T07:08:30.236Z] 9eb99e56ec68: Download complete [2020-04-01T07:08:30.494Z] dcfb455df0a1: Verifying Checksum [2020-04-01T07:08:30.495Z] dcfb455df0a1: Download complete [2020-04-01T07:08:30.495Z] 5788d62ee057: Download complete [2020-04-01T07:08:31.432Z] 0f37312ad70f: Pull complete [2020-04-01T07:08:36.704Z] 5788d62ee057: Pull complete [2020-04-01T07:08:36.704Z] 0e6b1d234666: Pull complete [2020-04-01T07:08:36.704Z] bf5d7aec512f: Pull complete [2020-04-01T07:08:43.281Z] 34c802a77dc8: Pull complete [2020-04-01T07:08:46.582Z] 9eb99e56ec68: Pull complete [2020-04-01T07:08:46.582Z] 27c7a5d97fbd: Pull complete [2020-04-01T07:08:46.851Z] 5c102a31e300: Pull complete [2020-04-01T07:08:47.109Z] dcfb455df0a1: Pull complete [2020-04-01T07:08:47.109Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-01T07:08:47.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-01T07:08:47.109Z] ---> 7c70fe431013 [2020-04-01T07:08:47.109Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:08:47.109Z] ---> Running in ccbdeaf28d71 [2020-04-01T07:08:47.368Z] Removing intermediate container ccbdeaf28d71 [2020-04-01T07:08:47.368Z] ---> af35a7369454 [2020-04-01T07:08:47.368Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-01T07:08:47.368Z] ---> Running in 246e50a9e956 [2020-04-01T07:08:48.303Z] Removing intermediate container 246e50a9e956 [2020-04-01T07:08:48.303Z] ---> 758b214d49d6 [2020-04-01T07:08:48.303Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-01T07:08:48.561Z] ---> Running in 7f54b310c9fe [2020-04-01T07:08:49.128Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-01T07:08:50.063Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-01T07:08:50.629Z] OK: 143 MiB in 39 packages [2020-04-01T07:08:50.888Z] Removing intermediate container 7f54b310c9fe [2020-04-01T07:08:50.888Z] ---> fa19f5f7b648 [2020-04-01T07:08:50.888Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-01T07:08:50.888Z] ---> Running in 4aa4b71246a0 [2020-04-01T07:08:51.154Z] Removing intermediate container 4aa4b71246a0 [2020-04-01T07:08:51.154Z] ---> 92a8ee63526d [2020-04-01T07:08:51.154Z] Step 7/8 : COPY . . [2020-04-01T07:08:51.722Z] ---> a300221e6a64 [2020-04-01T07:08:51.722Z] Step 8/8 : RUN go mod download [2020-04-01T07:08:51.722Z] ---> Running in 6b4a740588b7 [2020-04-01T07:08:53.628Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-01T07:08:53.628Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-01T07:08:53.628Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-01T07:08:53.628Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-01T07:08:53.628Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-01T07:08:53.628Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-01T07:08:53.628Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-01T07:08:53.628Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-01T07:08:53.628Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-01T07:08:53.628Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-01T07:08:53.886Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-04-01T07:08:53.886Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-01T07:08:53.886Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-01T07:08:53.886Z] go: finding github.com/fatih/color v1.7.0 [2020-04-01T07:08:53.886Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-01T07:08:53.886Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-01T07:08:53.886Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-01T07:08:53.886Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-01T07:08:53.886Z] go: finding github.com/google/uuid v1.1.0 [2020-04-01T07:08:53.886Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-01T07:08:53.886Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-01T07:08:53.886Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-01T07:08:54.145Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-01T07:08:54.403Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-01T07:08:54.403Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-01T07:08:54.403Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-01T07:08:54.403Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-01T07:08:54.403Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-01T07:08:54.403Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-01T07:08:54.403Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-01T07:08:54.662Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-01T07:08:54.662Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-01T07:08:54.662Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-01T07:08:54.662Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-01T07:08:54.662Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-01T07:08:54.921Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-01T07:08:54.921Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-01T07:08:54.921Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-01T07:08:54.921Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-01T07:08:54.921Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-01T07:08:54.921Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-01T07:08:54.921Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-01T07:08:54.921Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-01T07:08:54.921Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-01T07:08:54.921Z] go: finding github.com/posener/complete v1.1.1 [2020-04-01T07:08:55.180Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-01T07:08:55.180Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-01T07:08:55.180Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-01T07:08:55.180Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-01T07:08:55.180Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-01T07:08:55.180Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-01T07:08:55.180Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-01T07:08:55.180Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-01T07:08:55.180Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-01T07:08:55.180Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-01T07:08:55.445Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-01T07:08:59.642Z] Removing intermediate container 6b4a740588b7 [2020-04-01T07:08:59.642Z] ---> 842ab6e8538d [2020-04-01T07:08:59.642Z] Successfully built 842ab6e8538d [2020-04-01T07:08:59.642Z] 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-01T07:09:00.196Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-01T07:09:00.196Z] . [Pipeline] withDockerContainer [2020-04-01T07:09:00.321Z] prd-centos7-docker-4c-2g-1705 does not seem to be running inside a container [2020-04-01T07:09:00.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T07:09:00.992Z] $ docker top 420f2539f753c68acb69cd7e3ef00eeb1346f0a8476870991c319b0dac7b7999 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-01T07:09:01.805Z] + go version [2020-04-01T07:09:01.805Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-01T07:09:02.442Z] + make test [2020-04-01T07:09:02.442Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-01T07:09:03.017Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-01T07:09:17.983Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-01T07:09:17.983Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-01T07:09:22.389Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.6% of statements [2020-04-01T07:09:22.389Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-04-01T07:09:25.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.544s coverage: 7.9% of statements [2020-04-01T07:09:25.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-01T07:09:25.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.112s coverage: 38.5% of statements [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-01T07:09:25.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.435s coverage: 79.9% of statements [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-01T07:09:25.702Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-01T07:09:25.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-04-01T07:09:25.961Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.093s coverage: 76.1% of statements [2020-04-01T07:09:25.961Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-01T07:09:25.961Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-01T07:09:26.223Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-01T07:09:28.783Z] gofmt -l . [2020-04-01T07:09:28.783Z] [ "`gofmt -l .`" = "" ] [2020-04-01T07:09:28.783Z] ./bin/test-attribution-txt.sh [2020-04-01T07:09:29.352Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-01T07:09:29.980Z] Stashed 1 file(s) [Pipeline] } [2020-04-01T07:09:29.986Z] $ docker stop --time=1 420f2539f753c68acb69cd7e3ef00eeb1346f0a8476870991c319b0dac7b7999 [2020-04-01T07:09:31.492Z] $ docker rm -f 420f2539f753c68acb69cd7e3ef00eeb1346f0a8476870991c319b0dac7b7999 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-01T07:09:32.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-01T07:09:33.021Z] + ls -al . [2020-04-01T07:09:33.021Z] total 160 [2020-04-01T07:09:33.021Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 1 07:09 . [2020-04-01T07:09:33.021Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 1 07:08 .. [2020-04-01T07:09:33.021Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 1 07:08 api [2020-04-01T07:09:33.021Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 07:08 bin [2020-04-01T07:09:33.021Z] -rw-r--r--. 1 jenkins jenkins 94825 Apr 1 07:09 coverage.out [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 1 07:08 Dockerfile.build [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 07:08 .dockerignore [2020-04-01T07:09:33.021Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 1 07:08 example [2020-04-01T07:09:33.021Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 07:08 .git [2020-04-01T07:09:33.021Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 1 07:08 .github [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 07:08 .gitignore [2020-04-01T07:09:33.021Z] -rw-r--r--. 1 jenkins jenkins 438 Apr 1 07:09 go.mod [2020-04-01T07:09:33.021Z] -rw-r--r--. 1 jenkins jenkins 11812 Apr 1 07:09 go.sum [2020-04-01T07:09:33.021Z] drwxrwxr-x. 13 jenkins jenkins 179 Apr 1 07:08 internal [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 1 07:08 Jenkinsfile [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 07:08 LICENSE [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 1 07:08 Makefile [2020-04-01T07:09:33.021Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 07:08 pkg [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 1 07:08 README.md [2020-04-01T07:09:33.021Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 1 07:08 .semver [2020-04-01T07:09:33.021Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 07:08 snap [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 07:06 VERSION [2020-04-01T07:09:33.021Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 07:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:09:33.314Z] + 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=888b39f222b207ffcba3a6825bb33c7eea8f5d72 --label arch=amd64 --label version=0.0.0 . [2020-04-01T07:09:33.314Z] Sending build context to Docker daemon 2.889MB [2020-04-01T07:09:33.314Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-01T07:09:33.314Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-01T07:09:33.314Z] ---> 842ab6e8538d [2020-04-01T07:09:33.314Z] Step 3/20 : ARG MAKE='make build' [2020-04-01T07:09:33.572Z] ---> Running in d37223119bf4 [2020-04-01T07:09:33.572Z] Removing intermediate container d37223119bf4 [2020-04-01T07:09:33.572Z] ---> b5c90c9d88aa [2020-04-01T07:09:33.572Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-01T07:09:33.572Z] ---> Running in f38a70efda01 [2020-04-01T07:09:33.832Z] Removing intermediate container f38a70efda01 [2020-04-01T07:09:33.832Z] ---> 2e985bd64863 [2020-04-01T07:09:33.832Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:09:33.832Z] ---> Running in df60c55ae5fd [2020-04-01T07:09:33.832Z] Removing intermediate container df60c55ae5fd [2020-04-01T07:09:33.832Z] ---> c2ec2f7e1f6d [2020-04-01T07:09:33.832Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-01T07:09:34.091Z] ---> Running in b168d641a709 [2020-04-01T07:09:35.034Z] Removing intermediate container b168d641a709 [2020-04-01T07:09:35.034Z] ---> b9a17c3d760f [2020-04-01T07:09:35.034Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-01T07:09:35.034Z] ---> Running in db0fdfd19195 [2020-04-01T07:09:35.304Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-01T07:09:36.240Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-01T07:09:36.806Z] OK: 143 MiB in 39 packages [2020-04-01T07:09:37.373Z] Removing intermediate container db0fdfd19195 [2020-04-01T07:09:37.373Z] ---> 34ea7c12c626 [2020-04-01T07:09:37.373Z] Step 8/20 : COPY . . [2020-04-01T07:09:37.373Z] ---> e425001025bb [2020-04-01T07:09:37.373Z] Step 9/20 : RUN ${MAKE} [2020-04-01T07:09:37.630Z] ---> Running in cb7b0175fa06 [2020-04-01T07:09:37.890Z] 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-01T07:09:50.168Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-01T07:09:50.168Z] Removing intermediate container cb7b0175fa06 [2020-04-01T07:09:50.168Z] ---> 08409987f0c2 [2020-04-01T07:09:50.168Z] Step 10/20 : FROM scratch [2020-04-01T07:09:50.168Z] ---> [2020-04-01T07:09:50.168Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:09:50.168Z] ---> Running in ac9c5171e6be [2020-04-01T07:09:50.168Z] Removing intermediate container ac9c5171e6be [2020-04-01T07:09:50.168Z] ---> bffab43a7336 [2020-04-01T07:09:50.168Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-01T07:09:51.102Z] ---> Running in 027709841e82 [2020-04-01T07:09:51.102Z] Removing intermediate container 027709841e82 [2020-04-01T07:09:51.102Z] ---> 969f4acc292e [2020-04-01T07:09:51.102Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-01T07:09:51.102Z] ---> Running in 62970a69dd48 [2020-04-01T07:09:51.102Z] Removing intermediate container 62970a69dd48 [2020-04-01T07:09:51.102Z] ---> d36b29d3dcb8 [2020-04-01T07:09:51.102Z] Step 14/20 : WORKDIR / [2020-04-01T07:09:51.102Z] ---> Running in ef94aabb554a [2020-04-01T07:09:51.361Z] Removing intermediate container ef94aabb554a [2020-04-01T07:09:51.361Z] ---> dfd21024fa73 [2020-04-01T07:09:51.361Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-01T07:09:51.933Z] ---> 2a3987b223ad [2020-04-01T07:09:51.933Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-01T07:09:51.933Z] ---> cf3c935f581a [2020-04-01T07:09:51.933Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-01T07:09:51.933Z] ---> Running in 1b3ad190bd27 [2020-04-01T07:09:52.192Z] Removing intermediate container 1b3ad190bd27 [2020-04-01T07:09:52.192Z] ---> f9d62f3a07fc [2020-04-01T07:09:52.192Z] Step 18/20 : LABEL arch=amd64 [2020-04-01T07:09:52.192Z] ---> Running in 12afeceec5d4 [2020-04-01T07:09:52.192Z] Removing intermediate container 12afeceec5d4 [2020-04-01T07:09:52.192Z] ---> 771dab9fe5cd [2020-04-01T07:09:52.192Z] Step 19/20 : LABEL git_sha=888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:09:52.451Z] ---> Running in db2655eb5f48 [2020-04-01T07:09:52.451Z] Removing intermediate container db2655eb5f48 [2020-04-01T07:09:52.451Z] ---> 2b8fc0c0fcbb [2020-04-01T07:09:52.451Z] Step 20/20 : LABEL version=0.0.0 [2020-04-01T07:09:52.451Z] ---> Running in f1fac5e1b72a [2020-04-01T07:09:52.710Z] Removing intermediate container f1fac5e1b72a [2020-04-01T07:09:52.710Z] ---> 7fbfd39095e0 [2020-04-01T07:09:52.710Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-01T07:09:52.710Z] Successfully built 7fbfd39095e0 [2020-04-01T07:09:52.710Z] 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-01T07:10:28.731Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1707 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-04-01T07:10:28.767Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-04-01T07:10:33.991Z] using credential edgex-jenkins-ssh [2020-04-01T07:10:34.037Z] Cloning the remote Git repository [2020-04-01T07:10:34.037Z] Cloning with configured refspecs honoured and without tags [2020-04-01T07:10:34.122Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:10:34.197Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-04-01T07:10:34.293Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:10:34.295Z] > git --version # timeout=10 [2020-04-01T07:10:34.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:10:34.381Z] > 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 [2020-04-01T07:10:35.506Z] Fetching without tags [2020-04-01T07:10:36.024Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:10:36.314Z] Merge succeeded, producing 888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:10:36.314Z] Checking out Revision 888b39f222b207ffcba3a6825bb33c7eea8f5d72 (PR-432) [2020-04-01T07:10:35.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-01T07:10:35.438Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-04-01T07:10:35.463Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-01T07:10:35.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-01T07:10:35.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-01T07:10:35.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:10:35.566Z] > 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 [2020-04-01T07:10:36.069Z] > git config core.sparsecheckout # timeout=10 [2020-04-01T07:10:36.116Z] > git checkout -f 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 [2020-04-01T07:10:36.218Z] > git remote # timeout=10 [2020-04-01T07:10:36.263Z] > git config --get remote.origin.url # timeout=10 [2020-04-01T07:10:36.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-01T07:10:36.298Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-04-01T07:10:36.320Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-01T07:10:36.346Z] > git config core.sparsecheckout # timeout=10 [2020-04-01T07:10:36.362Z] > git checkout -f 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 [2020-04-01T07:10:40.805Z] Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-01T07:10:41.983Z] ========================================================= [2020-04-01T07:10:41.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-01T07:10:41.983Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:10:42.952Z] + 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-01T07:10:43.919Z] Sending build context to Docker daemon 2.772MB [2020-04-01T07:10:43.919Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-01T07:10:43.919Z] Step 2/8 : FROM ${BASE} [2020-04-01T07:10:44.190Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-01T07:10:44.190Z] cde5963f3b93: Pulling fs layer [2020-04-01T07:10:44.191Z] 2a23fa8c16f7: Pulling fs layer [2020-04-01T07:10:44.191Z] 777b28850792: Pulling fs layer [2020-04-01T07:10:44.191Z] 8a11ddd9e578: Pulling fs layer [2020-04-01T07:10:44.191Z] 4cf88f913ddb: Pulling fs layer [2020-04-01T07:10:44.191Z] 1df406cf5192: Pulling fs layer [2020-04-01T07:10:44.191Z] cd6300453558: Pulling fs layer [2020-04-01T07:10:44.191Z] b9c365052c96: Pulling fs layer [2020-04-01T07:10:44.191Z] a2d8cc88f415: Pulling fs layer [2020-04-01T07:10:44.191Z] ea1d1ca13537: Pulling fs layer [2020-04-01T07:10:44.191Z] 3750a50a1c5e: Pulling fs layer [2020-04-01T07:10:44.191Z] 4cf88f913ddb: Waiting [2020-04-01T07:10:44.191Z] 1df406cf5192: Waiting [2020-04-01T07:10:44.191Z] cd6300453558: Waiting [2020-04-01T07:10:44.191Z] b9c365052c96: Waiting [2020-04-01T07:10:44.191Z] a2d8cc88f415: Waiting [2020-04-01T07:10:44.191Z] ea1d1ca13537: Waiting [2020-04-01T07:10:44.191Z] 3750a50a1c5e: Waiting [2020-04-01T07:10:44.191Z] 8a11ddd9e578: Waiting [2020-04-01T07:10:44.191Z] 777b28850792: Download complete [2020-04-01T07:10:44.460Z] 2a23fa8c16f7: Download complete [2020-04-01T07:10:44.460Z] 4cf88f913ddb: Verifying Checksum [2020-04-01T07:10:44.460Z] 4cf88f913ddb: Download complete [2020-04-01T07:10:44.460Z] 1df406cf5192: Verifying Checksum [2020-04-01T07:10:44.460Z] 1df406cf5192: Download complete [2020-04-01T07:10:44.460Z] cde5963f3b93: Verifying Checksum [2020-04-01T07:10:44.460Z] cde5963f3b93: Download complete [2020-04-01T07:10:45.434Z] cde5963f3b93: Pull complete [2020-04-01T07:10:46.026Z] 2a23fa8c16f7: Pull complete [2020-04-01T07:10:46.295Z] 777b28850792: Pull complete [2020-04-01T07:10:48.891Z] cd6300453558: Verifying Checksum [2020-04-01T07:10:48.891Z] cd6300453558: Download complete [2020-04-01T07:10:48.891Z] a2d8cc88f415: Verifying Checksum [2020-04-01T07:10:48.891Z] a2d8cc88f415: Download complete [2020-04-01T07:10:50.846Z] ea1d1ca13537: Verifying Checksum [2020-04-01T07:10:50.846Z] ea1d1ca13537: Download complete [2020-04-01T07:10:51.112Z] 3750a50a1c5e: Verifying Checksum [2020-04-01T07:10:51.112Z] 3750a50a1c5e: Download complete [2020-04-01T07:10:53.687Z] b9c365052c96: Verifying Checksum [2020-04-01T07:10:53.688Z] b9c365052c96: Download complete [2020-04-01T07:10:55.628Z] 8a11ddd9e578: Download complete [2020-04-01T07:11:07.954Z] 8a11ddd9e578: Pull complete [2020-04-01T07:11:07.954Z] 4cf88f913ddb: Pull complete [2020-04-01T07:11:07.954Z] 1df406cf5192: Pull complete [2020-04-01T07:11:11.304Z] cd6300453558: Pull complete [2020-04-01T07:11:15.572Z] b9c365052c96: Pull complete [2020-04-01T07:11:15.841Z] a2d8cc88f415: Pull complete [2020-04-01T07:11:17.810Z] ea1d1ca13537: Pull complete [2020-04-01T07:11:18.397Z] 3750a50a1c5e: Pull complete [2020-04-01T07:11:18.397Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-01T07:11:18.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-01T07:11:18.397Z] ---> 78745c68409d [2020-04-01T07:11:18.397Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:11:23.782Z] ---> Running in 8591b586b560 [2020-04-01T07:11:23.782Z] Removing intermediate container 8591b586b560 [2020-04-01T07:11:23.782Z] ---> 229f4aae549f [2020-04-01T07:11:23.782Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-01T07:11:23.782Z] ---> Running in 12cecab7549d [2020-04-01T07:11:25.196Z] Removing intermediate container 12cecab7549d [2020-04-01T07:11:25.196Z] ---> 12e5505cf379 [2020-04-01T07:11:25.196Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-01T07:11:25.469Z] ---> Running in e7fdd56587d7 [2020-04-01T07:11:26.432Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-01T07:11:27.388Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-01T07:11:27.971Z] OK: 125 MiB in 39 packages [2020-04-01T07:11:28.934Z] Removing intermediate container e7fdd56587d7 [2020-04-01T07:11:28.934Z] ---> 4db73db63d63 [2020-04-01T07:11:28.934Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-01T07:11:29.204Z] ---> Running in c5648ec487bf [2020-04-01T07:11:29.791Z] Removing intermediate container c5648ec487bf [2020-04-01T07:11:29.791Z] ---> 37f3568389c3 [2020-04-01T07:11:29.791Z] Step 7/8 : COPY . . [2020-04-01T07:11:30.756Z] ---> 9555a1985abf [2020-04-01T07:11:30.756Z] Step 8/8 : RUN go mod download [2020-04-01T07:11:31.023Z] ---> Running in 4e092142867e [2020-04-01T07:11:37.658Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-01T07:11:37.658Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-01T07:11:37.658Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-01T07:11:37.658Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-01T07:11:37.659Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-01T07:11:37.659Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-01T07:11:37.659Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-01T07:11:37.659Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-01T07:11:37.659Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-01T07:11:37.659Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-01T07:11:37.659Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-04-01T07:11:37.659Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-01T07:11:37.659Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-01T07:11:37.659Z] go: finding github.com/fatih/color v1.7.0 [2020-04-01T07:11:37.659Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-01T07:11:37.659Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-01T07:11:37.659Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-01T07:11:37.659Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-01T07:11:37.659Z] go: finding github.com/google/uuid v1.1.0 [2020-04-01T07:11:37.659Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-01T07:11:37.924Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-01T07:11:37.924Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-01T07:11:37.924Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-01T07:11:37.924Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-01T07:11:38.189Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-01T07:11:38.189Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-01T07:11:38.189Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-01T07:11:38.189Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-01T07:11:38.189Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-01T07:11:38.189Z] go: finding github.com/posener/complete v1.1.1 [2020-04-01T07:11:38.189Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-01T07:11:38.189Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-01T07:11:38.189Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-01T07:11:38.189Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-01T07:11:38.189Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-01T07:11:38.189Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-01T07:11:38.189Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-01T07:11:38.189Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-01T07:11:38.189Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-01T07:11:38.189Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-01T07:11:38.189Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-01T07:11:46.403Z] Removing intermediate container 4e092142867e [2020-04-01T07:11:46.403Z] ---> e03c62b41805 [2020-04-01T07:11:46.668Z] Successfully built e03c62b41805 [2020-04-01T07:11:46.668Z] 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-01T07:11:47.311Z] + docker inspect -f . ci-base-image-arm64 [2020-04-01T07:11:47.311Z] . [Pipeline] withDockerContainer [2020-04-01T07:11:47.929Z] prd-ubuntu18.04-docker-arm64-4c-16g-1707 does not seem to be running inside a container [2020-04-01T07:11:48.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-01T07:11:49.472Z] $ docker top 9ea0a9ebfdcdf35d6042c4aa9c50c72826a5f794896faa6ed9e0c0013feb6949 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-01T07:11:50.530Z] + go version [2020-04-01T07:11:50.530Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-01T07:11:51.185Z] + make test [2020-04-01T07:11:51.185Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-01T07:11:52.607Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-01T07:12:39.517Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-01T07:12:39.517Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-01T07:12:39.517Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 22.6% of statements [2020-04-01T07:12:39.517Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.158s coverage: 95.8% of statements [2020-04-01T07:12:39.517Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.077s coverage: 7.9% of statements [2020-04-01T07:12:39.517Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.1% of statements [2020-04-01T07:12:39.517Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-01T07:12:40.111Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.236s coverage: 38.5% of statements [2020-04-01T07:12:40.111Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-01T07:12:40.111Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-01T07:12:40.700Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.549s coverage: 79.9% of statements [2020-04-01T07:12:40.700Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-01T07:12:40.700Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-01T07:12:40.700Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-01T07:12:41.286Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.057s coverage: 52.6% of statements [2020-04-01T07:12:42.243Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 76.1% of statements [2020-04-01T07:12:42.243Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-01T07:12:42.243Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-01T07:12:42.508Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-01T07:12:50.764Z] gofmt -l . [2020-04-01T07:12:50.764Z] [ "`gofmt -l .`" = "" ] [2020-04-01T07:12:50.764Z] ./bin/test-attribution-txt.sh [2020-04-01T07:12:51.354Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-01T07:12:51.969Z] Warning: overwriting stash ‘coverage-report’ [2020-04-01T07:12:52.420Z] Stashed 1 file(s) [Pipeline] } [2020-04-01T07:12:52.427Z] $ docker stop --time=1 9ea0a9ebfdcdf35d6042c4aa9c50c72826a5f794896faa6ed9e0c0013feb6949 [2020-04-01T07:12:54.680Z] $ docker rm -f 9ea0a9ebfdcdf35d6042c4aa9c50c72826a5f794896faa6ed9e0c0013feb6949 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-01T07:12:55.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-01T07:12:56.323Z] + ls -al . [2020-04-01T07:12:56.324Z] total 200 [2020-04-01T07:12:56.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 07:12 . [2020-04-01T07:12:56.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 07:10 .. [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 07:10 .dockerignore [2020-04-01T07:12:56.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 07:10 .git [2020-04-01T07:12:56.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 07:10 .github [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 07:10 .gitignore [2020-04-01T07:12:56.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 07:10 .semver [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 1 07:10 Dockerfile.build [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 1 07:10 Jenkinsfile [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 07:10 LICENSE [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 1 07:10 Makefile [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 1 07:10 README.md [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 07:06 VERSION [2020-04-01T07:12:56.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 07:10 api [2020-04-01T07:12:56.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 07:10 bin [2020-04-01T07:12:56.324Z] -rw-r--r-- 1 jenkins jenkins 94825 Apr 1 07:12 coverage.out [2020-04-01T07:12:56.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 07:10 example [2020-04-01T07:12:56.324Z] -rw-r--r-- 1 jenkins jenkins 438 Apr 1 07:12 go.mod [2020-04-01T07:12:56.324Z] -rw-r--r-- 1 jenkins jenkins 11812 Apr 1 07:12 go.sum [2020-04-01T07:12:56.324Z] drwxrwxr-x 13 jenkins jenkins 4096 Apr 1 07:10 internal [2020-04-01T07:12:56.324Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 07:10 pkg [2020-04-01T07:12:56.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 07:10 snap [2020-04-01T07:12:56.324Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 07:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:12:56.651Z] + 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=888b39f222b207ffcba3a6825bb33c7eea8f5d72 --label arch=arm64 --label version=0.0.0 . [2020-04-01T07:12:57.233Z] Sending build context to Docker daemon 2.889MB [2020-04-01T07:12:57.233Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-01T07:12:57.233Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-01T07:12:57.233Z] ---> e03c62b41805 [2020-04-01T07:12:57.233Z] Step 3/20 : ARG MAKE='make build' [2020-04-01T07:12:57.233Z] ---> Running in c3f8f92d6fc6 [2020-04-01T07:12:57.501Z] Removing intermediate container c3f8f92d6fc6 [2020-04-01T07:12:57.501Z] ---> 3f50d65e981e [2020-04-01T07:12:57.501Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-01T07:12:57.769Z] ---> Running in 774ed9c99aba [2020-04-01T07:12:58.039Z] Removing intermediate container 774ed9c99aba [2020-04-01T07:12:58.039Z] ---> faa817a648c8 [2020-04-01T07:12:58.039Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:12:58.305Z] ---> Running in befea820d326 [2020-04-01T07:12:58.584Z] Removing intermediate container befea820d326 [2020-04-01T07:12:58.584Z] ---> df6de23f0a87 [2020-04-01T07:12:58.584Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-01T07:12:58.584Z] ---> Running in 6d17aa171b43 [2020-04-01T07:13:00.527Z] Removing intermediate container 6d17aa171b43 [2020-04-01T07:13:00.527Z] ---> 94e4343293d4 [2020-04-01T07:13:00.527Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-01T07:13:00.527Z] ---> Running in 812d84487c75 [2020-04-01T07:13:01.498Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-01T07:13:02.082Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-01T07:13:03.047Z] OK: 125 MiB in 39 packages [2020-04-01T07:13:04.011Z] Removing intermediate container 812d84487c75 [2020-04-01T07:13:04.011Z] ---> 3e678a204a34 [2020-04-01T07:13:04.011Z] Step 8/20 : COPY . . [2020-04-01T07:13:04.979Z] ---> 2389ecc14488 [2020-04-01T07:13:04.979Z] Step 9/20 : RUN ${MAKE} [2020-04-01T07:13:05.252Z] ---> Running in 1dd14b51f17d [2020-04-01T07:13:05.843Z] 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-01T07:13:44.721Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-01T07:13:44.721Z] Removing intermediate container 1dd14b51f17d [2020-04-01T07:13:44.721Z] ---> cab12ad2f020 [2020-04-01T07:13:44.721Z] Step 10/20 : FROM scratch [2020-04-01T07:13:44.721Z] ---> [2020-04-01T07:13:44.721Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-01T07:13:44.721Z] ---> Running in 8413e5c02696 [2020-04-01T07:13:44.721Z] Removing intermediate container 8413e5c02696 [2020-04-01T07:13:44.721Z] ---> b296e6eecdc2 [2020-04-01T07:13:44.721Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-01T07:13:44.721Z] ---> Running in 6d423219377f [2020-04-01T07:13:44.721Z] Removing intermediate container 6d423219377f [2020-04-01T07:13:44.721Z] ---> 7d0022970899 [2020-04-01T07:13:44.721Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-01T07:13:44.721Z] ---> Running in 4eb62d2b45f1 [2020-04-01T07:13:44.721Z] Removing intermediate container 4eb62d2b45f1 [2020-04-01T07:13:44.721Z] ---> ba9c919e0959 [2020-04-01T07:13:44.721Z] Step 14/20 : WORKDIR / [2020-04-01T07:13:44.721Z] ---> Running in 293eb108130b [2020-04-01T07:13:44.721Z] Removing intermediate container 293eb108130b [2020-04-01T07:13:44.721Z] ---> 08ad415764f5 [2020-04-01T07:13:44.721Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-01T07:13:44.721Z] ---> 62d68e1a7c4f [2020-04-01T07:13:44.721Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-01T07:13:45.302Z] ---> 19a2158c13be [2020-04-01T07:13:45.302Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-01T07:13:45.302Z] ---> Running in a1bcf8ae4096 [2020-04-01T07:13:45.566Z] Removing intermediate container a1bcf8ae4096 [2020-04-01T07:13:45.566Z] ---> 77ec2146b68b [2020-04-01T07:13:45.566Z] Step 18/20 : LABEL arch=arm64 [2020-04-01T07:13:45.852Z] ---> Running in e7e43316be14 [2020-04-01T07:13:46.143Z] Removing intermediate container e7e43316be14 [2020-04-01T07:13:46.143Z] ---> 9c5b7fed626a [2020-04-01T07:13:46.143Z] Step 19/20 : LABEL git_sha=888b39f222b207ffcba3a6825bb33c7eea8f5d72 [2020-04-01T07:13:46.143Z] ---> Running in c9544d0afbac [2020-04-01T07:13:46.738Z] Removing intermediate container c9544d0afbac [2020-04-01T07:13:46.738Z] ---> 18f99300aaa7 [2020-04-01T07:13:46.738Z] Step 20/20 : LABEL version=0.0.0 [2020-04-01T07:13:46.738Z] ---> Running in 53acce9ddb8b [2020-04-01T07:13:47.007Z] Removing intermediate container 53acce9ddb8b [2020-04-01T07:13:47.007Z] ---> 0cf48a56c671 [2020-04-01T07:13:47.007Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-01T07:13:47.007Z] Successfully built 0cf48a56c671 [2020-04-01T07:13:47.007Z] 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-01T07:13:48.054Z] provisioning config files... [2020-04-01T07:13:48.070Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config2183473407417495375tmp [Pipeline] { [Pipeline] sh [2020-04-01T07:13:48.418Z] + curl -s https://codecov.io/bash [2020-04-01T07:13:48.418Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config2183473407417495375tmp [2020-04-01T07:13:48.678Z] [2020-04-01T07:13:48.678Z] _____ _ [2020-04-01T07:13:48.678Z] / ____| | | [2020-04-01T07:13:48.678Z] | | ___ __| | ___ ___ _____ __ [2020-04-01T07:13:48.678Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-01T07:13:48.678Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-01T07:13:48.678Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-01T07:13:48.678Z] Bash-tbd [2020-04-01T07:13:48.678Z] [2020-04-01T07:13:48.678Z] [2020-04-01T07:13:48.678Z] ==> Jenkins CI detected. [2020-04-01T07:13:48.678Z] project root: . [2020-04-01T07:13:48.678Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-01T07:13:48.678Z] ==> Running gcov in . (disable via -X gcov) [2020-04-01T07:13:48.678Z] ==> Python coveragepy not found [2020-04-01T07:13:48.678Z] ==> Searching for coverage reports in: [2020-04-01T07:13:48.678Z] + . [2020-04-01T07:13:48.678Z] -> Found 1 reports [2020-04-01T07:13:48.678Z] ==> Detecting git/mercurial file structure [2020-04-01T07:13:48.678Z] ==> Reading reports [2020-04-01T07:13:48.678Z] + ./coverage.out bytes=94825 [2020-04-01T07:13:48.678Z] ==> Appending adjustments [2020-04-01T07:13:48.678Z] http://docs.codecov.io/docs/fixing-reports [2020-04-01T07:13:49.251Z] + Found adjustments [2020-04-01T07:13:49.251Z] ==> Gzipping contents [2020-04-01T07:13:49.251Z] ==> Uploading reports [2020-04-01T07:13:49.251Z] url: https://codecov.io [2020-04-01T07:13:49.251Z] query: branch=PR-432&commit=888b39f222b207ffcba3a6825bb33c7eea8f5d72&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-04-01T07:13:49.251Z] -> Pinging Codecov [2020-04-01T07:13:49.251Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=888b39f222b207ffcba3a6825bb33c7eea8f5d72&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-04-01T07:13:49.827Z] -> Uploading [2020-04-01T07:13:50.086Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/888b39f222b207ffcba3a6825bb33c7eea8f5d72 [Pipeline] } [2020-04-01T07:13:50.093Z] 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-01T07:13:51.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-01T07:13:51.575Z] ---> package-listing.sh [2020-04-01T07:13:51.575Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-01T07:13:51.575Z] ++ facter osfamily [2020-04-01T07:13:51.575Z] + OS_FAMILY=redhat [2020-04-01T07:13:51.575Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-04-01T07:13:51.575Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-01T07:13:51.575Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-01T07:13:51.575Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-01T07:13:51.575Z] + PACKAGES=/tmp/packages_start.txt [2020-04-01T07:13:51.575Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-04-01T07:13:51.575Z] + PACKAGES=/tmp/packages_end.txt [2020-04-01T07:13:51.575Z] + case "${OS_FAMILY}" in [2020-04-01T07:13:51.575Z] + rpm -qa [2020-04-01T07:13:51.575Z] + sort [2020-04-01T07:13:55.770Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-01T07:13:55.770Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-01T07:13:55.770Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-01T07:13:55.770Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-04-01T07:13:55.770Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [2020-04-01T07:13:55.770Z] + 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 [2020-04-01T07:13:56.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-01T07:13:56.223Z] [2020-04-01T07:13:56.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-01T07:13:56.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-01T07:13:56.562Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-01T07:13:56.562Z] c9b1b535fdd9: Pulling fs layer [2020-04-01T07:13:56.562Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-01T07:13:56.562Z] 756a868c4378: Pulling fs layer [2020-04-01T07:13:56.562Z] 444b2fc9a129: Pulling fs layer [2020-04-01T07:13:56.562Z] ea15f1150254: Pulling fs layer [2020-04-01T07:13:56.562Z] 41b27a9f41bf: Pulling fs layer [2020-04-01T07:13:56.562Z] 28c525ee5125: Pulling fs layer [2020-04-01T07:13:56.562Z] 094b1ea09ed8: Pulling fs layer [2020-04-01T07:13:56.562Z] 138eaada9080: Pulling fs layer [2020-04-01T07:13:56.562Z] 0622d0fa9048: Pulling fs layer [2020-04-01T07:13:56.562Z] 444b2fc9a129: Waiting [2020-04-01T07:13:56.562Z] ea15f1150254: Waiting [2020-04-01T07:13:56.562Z] 41b27a9f41bf: Waiting [2020-04-01T07:13:56.562Z] 28c525ee5125: Waiting [2020-04-01T07:13:56.562Z] 094b1ea09ed8: Waiting [2020-04-01T07:13:56.562Z] 138eaada9080: Waiting [2020-04-01T07:13:56.562Z] 0622d0fa9048: Waiting [2020-04-01T07:13:56.562Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-01T07:13:56.562Z] 2cc5ad85d9ab: Download complete [2020-04-01T07:13:56.562Z] 444b2fc9a129: Verifying Checksum [2020-04-01T07:13:56.562Z] 444b2fc9a129: Download complete [2020-04-01T07:13:56.562Z] c9b1b535fdd9: Verifying Checksum [2020-04-01T07:13:56.563Z] c9b1b535fdd9: Download complete [2020-04-01T07:13:56.563Z] ea15f1150254: Verifying Checksum [2020-04-01T07:13:56.563Z] ea15f1150254: Download complete [2020-04-01T07:13:56.831Z] 28c525ee5125: Verifying Checksum [2020-04-01T07:13:56.831Z] 28c525ee5125: Download complete [2020-04-01T07:13:57.108Z] c9b1b535fdd9: Pull complete [2020-04-01T07:13:57.108Z] 756a868c4378: Verifying Checksum [2020-04-01T07:13:57.108Z] 756a868c4378: Download complete [2020-04-01T07:13:57.370Z] 138eaada9080: Verifying Checksum [2020-04-01T07:13:57.370Z] 138eaada9080: Download complete [2020-04-01T07:13:57.370Z] 2cc5ad85d9ab: Pull complete [2020-04-01T07:13:57.370Z] 094b1ea09ed8: Verifying Checksum [2020-04-01T07:13:57.370Z] 094b1ea09ed8: Download complete [2020-04-01T07:13:57.370Z] 0622d0fa9048: Verifying Checksum [2020-04-01T07:13:57.370Z] 0622d0fa9048: Download complete [2020-04-01T07:13:58.325Z] 41b27a9f41bf: Verifying Checksum [2020-04-01T07:13:58.325Z] 41b27a9f41bf: Download complete [2020-04-01T07:13:59.274Z] 756a868c4378: Pull complete [2020-04-01T07:13:59.274Z] 444b2fc9a129: Pull complete [2020-04-01T07:13:59.538Z] ea15f1150254: Pull complete [2020-04-01T07:14:03.763Z] 41b27a9f41bf: Pull complete [2020-04-01T07:14:03.763Z] 28c525ee5125: Pull complete [2020-04-01T07:14:07.084Z] 094b1ea09ed8: Pull complete [2020-04-01T07:14:07.084Z] 138eaada9080: Pull complete [2020-04-01T07:14:07.084Z] 0622d0fa9048: Pull complete [2020-04-01T07:14:07.084Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-01T07:14:07.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-01T07:14:07.276Z] prd-centos7-docker-4c-2g-1704 does not seem to be running inside a container [2020-04-01T07:14:07.320Z] $ 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 [2020-04-01T07:14:08.488Z] $ docker top 7013559fd02f5d78705fdc82fa6fa611581a1b3a9fc110315ac5785552c78f7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-01T07:14:08.760Z] provisioning config files... [2020-04-01T07:14:08.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config7004830972398883585tmp [Pipeline] { [Pipeline] echo [2020-04-01T07:14:08.840Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-01T07:14:09.133Z] ---> create-netrc.sh [Pipeline] echo [2020-04-01T07:14:09.141Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-01T07:14:09.437Z] ---> logs-deploy.sh [2020-04-01T07:14:09.437Z] + ARCHIVE_ARTIFACTS= [2020-04-01T07:14:09.437Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-01T07:14:09.437Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-01T07:14:09.437Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-01T07:14:09.437Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/11 [2020-04-01T07:14:09.437Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/11/ [2020-04-01T07:14:09.437Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/11 /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-04-01T07:14:11.347Z] Archives upload complete. [2020-04-01T07:14:11.606Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/11/