Branch indexing 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 2731ca63cc475b67e9cc596139d210d033590fbd rather than 7c12d758e5802b9d6255458e3fccfccaf44a9f4d Obtained Jenkinsfile from 2731ca63cc475b67e9cc596139d210d033590fbd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8885 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-429 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 7c12d758e5802b9d6255458e3fccfccaf44a9f4d Merge succeeded, producing e324192f824338e2b9caaf86c035957dcff7d613 Checking out Revision e324192f824338e2b9caaf86c035957dcff7d613 (PR-429) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # 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 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e324192f824338e2b9caaf86c035957dcff7d613 # timeout=10 Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" > git rev-list --no-walk 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T18:44:58.292Z] 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-03-09T18:45:00.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T18:45:00.989Z] [2020-03-09T18:45:00.989Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:45:01.358Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T18:45:01.358Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T18:45:01.358Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T18:45:01.358Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T18:45:01.358Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T18:45:01.358Z] 93b08a4f1073: Pulling fs layer [2020-03-09T18:45:01.358Z] 93b08a4f1073: Waiting [2020-03-09T18:45:01.358Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T18:45:01.358Z] b8cc5d1170e3: Download complete [2020-03-09T18:45:01.620Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T18:45:01.620Z] 9123ac7c32f7: Download complete [2020-03-09T18:45:01.620Z] 93b08a4f1073: Verifying Checksum [2020-03-09T18:45:01.620Z] 93b08a4f1073: Download complete [2020-03-09T18:45:01.620Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T18:45:01.620Z] 2924cbbf6a41: Download complete [2020-03-09T18:45:01.889Z] 9123ac7c32f7: Pull complete [2020-03-09T18:45:01.889Z] b8cc5d1170e3: Pull complete [2020-03-09T18:45:02.840Z] 2924cbbf6a41: Pull complete [2020-03-09T18:45:02.840Z] 93b08a4f1073: Pull complete [2020-03-09T18:45:03.101Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T18:45:03.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T18:45:03.274Z] prd-centos7-docker-4c-2g-8885 does not seem to be running inside a container [2020-03-09T18:45:03.349Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T18:45:04.096Z] $ docker top 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T18:45:04.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T18:45:04.912Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T18:45:05.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T18:45:05.138Z] $ docker exec 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 ssh-agent [2020-03-09T18:45:05.331Z] SSH_AUTH_SOCK=/tmp/ssh-vEfZYepg0tLA/agent.15 [2020-03-09T18:45:05.331Z] SSH_AGENT_PID=21 [2020-03-09T18:45:05.344Z] Running ssh-add (command line suppressed) [2020-03-09T18:45:05.494Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_2059341995642040037.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_2059341995642040037.key) [2020-03-09T18:45:05.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T18:45:05.878Z] + git describe --exact-match --tags HEAD [2020-03-09T18:45:05.879Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T18:45:05.938Z] $ docker exec --env ******** --env ******** 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 ssh-agent -k [2020-03-09T18:45:06.103Z] unset SSH_AUTH_SOCK; [2020-03-09T18:45:06.103Z] unset SSH_AGENT_PID; [2020-03-09T18:45:06.103Z] echo Agent pid 21 killed; [2020-03-09T18:45:06.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T18:45:06.264Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T18:45:06.264Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T18:45:06.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T18:45:06.405Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T18:45:06.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T18:45:06.616Z] $ docker exec 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 ssh-agent [2020-03-09T18:45:06.837Z] SSH_AUTH_SOCK=/tmp/ssh-QFknptmHqNhI/agent.56 [2020-03-09T18:45:06.837Z] SSH_AGENT_PID=63 [2020-03-09T18:45:06.845Z] Running ssh-add (command line suppressed) [2020-03-09T18:45:07.015Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_7821654895345543422.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_7821654895345543422.key) [2020-03-09T18:45:07.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T18:45:07.447Z] + git semver init [2020-03-09T18:45:07.447Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T18:45:07.447Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.git [2020-03-09T18:45:07.447Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-09T18:45:07.447Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T18:45:07.447Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T18:45:07.447Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T18:45:07.447Z] # $SEMVER_BRANCH = PR-429 [2020-03-09T18:45:07.447Z] # $SEMVER_TEMP = /tmp/semver-466790062 [2020-03-09T18:45:07.447Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T18:45:08.017Z] # '/tmp/semver-466790062' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver' [2020-03-09T18:45:08.277Z] # -> Force: false [2020-03-09T18:45:08.277Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver [Pipeline] } [2020-03-09T18:45:08.288Z] $ docker exec --env ******** --env ******** 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 ssh-agent -k [2020-03-09T18:45:08.433Z] unset SSH_AUTH_SOCK; [2020-03-09T18:45:08.433Z] unset SSH_AGENT_PID; [2020-03-09T18:45:08.433Z] echo Agent pid 63 killed; [2020-03-09T18:45:08.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T18:45:08.954Z] + git semver [Pipeline] } [2020-03-09T18:45:08.971Z] $ docker stop --time=1 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 [2020-03-09T18:45:10.299Z] $ docker rm -f 7cc7d52745b8b86c41ce3cd3540f52536461de9ab3194e823f3f7a8efa0b7c75 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T18:45:11.234Z] Stashed 30 file(s) [Pipeline] echo [2020-03-09T18:45:11.236Z] [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-03-09T18:45:26.583Z] Still waiting to schedule task [2020-03-09T18:45:26.584Z] ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-centos7-docker-4c-2g-8888’ is offline; ‘prd-centos7-docker-4c-2g-8895’ is offline; ‘prd-centos7-docker-4c-2g-8896’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5709’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8748’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-09T18:45:26.609Z] Still waiting to schedule task [2020-03-09T18:45:26.609Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-09T18:51:08.596Z] Running on prd-centos7-docker-4c-2g-9010 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws [2020-03-09T18:51:08.646Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T18:51:16.426Z] using credential edgex-jenkins-ssh [2020-03-09T18:51:16.481Z] Cloning the remote Git repository [2020-03-09T18:51:16.481Z] Cloning with configured refspecs honoured and without tags [2020-03-09T18:51:16.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:51:16.361Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T18:51:16.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:51:16.527Z] > git --version # timeout=10 [2020-03-09T18:51:16.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:51:16.629Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:51:17.816Z] Fetching without tags [2020-03-09T18:51:18.274Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 7c12d758e5802b9d6255458e3fccfccaf44a9f4d [2020-03-09T18:51:17.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:51:17.565Z] > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 [2020-03-09T18:51:17.602Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:51:17.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:51:17.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:51:17.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:51:17.653Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:51:18.156Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:51:18.184Z] > git checkout -f 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # timeout=10 [2020-03-09T18:51:18.524Z] Merge succeeded, producing f3736ac04c57187e3e413982885b039abb806ee8 [2020-03-09T18:51:18.525Z] Checking out Revision f3736ac04c57187e3e413982885b039abb806ee8 (PR-429) [2020-03-09T18:51:18.307Z] > git remote # timeout=10 [2020-03-09T18:51:18.320Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T18:51:18.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:51:18.342Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T18:51:18.382Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T18:51:18.401Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:51:18.417Z] > git checkout -f f3736ac04c57187e3e413982885b039abb806ee8 # timeout=10 [2020-03-09T18:51:23.096Z] Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" [2020-03-09T18:51:23.104Z] > git rev-list --no-walk 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T18:51:24.305Z] ========================================================= [2020-03-09T18:51:24.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T18:51:24.305Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:51:25.006Z] + 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-03-09T18:51:25.623Z] Sending build context to Docker daemon 2.691MB [2020-03-09T18:51:25.623Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T18:51:25.623Z] Step 2/8 : FROM ${BASE} [2020-03-09T18:51:25.895Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T18:51:25.895Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T18:51:25.895Z] 2848faf0eed1: Pulling fs layer [2020-03-09T18:51:25.895Z] 0f37312ad70f: Pulling fs layer [2020-03-09T18:51:25.895Z] 5788d62ee057: Pulling fs layer [2020-03-09T18:51:25.895Z] 0e6b1d234666: Pulling fs layer [2020-03-09T18:51:25.895Z] bf5d7aec512f: Pulling fs layer [2020-03-09T18:51:25.895Z] 34c802a77dc8: Pulling fs layer [2020-03-09T18:51:25.895Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T18:51:25.895Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T18:51:25.895Z] 5c102a31e300: Pulling fs layer [2020-03-09T18:51:25.895Z] dcfb455df0a1: Pulling fs layer [2020-03-09T18:51:25.895Z] 5788d62ee057: Waiting [2020-03-09T18:51:25.895Z] 0e6b1d234666: Waiting [2020-03-09T18:51:25.895Z] bf5d7aec512f: Waiting [2020-03-09T18:51:25.895Z] 9eb99e56ec68: Waiting [2020-03-09T18:51:25.895Z] 34c802a77dc8: Waiting [2020-03-09T18:51:25.895Z] 27c7a5d97fbd: Waiting [2020-03-09T18:51:25.895Z] dcfb455df0a1: Waiting [2020-03-09T18:51:25.895Z] 0f37312ad70f: Verifying Checksum [2020-03-09T18:51:25.895Z] 0f37312ad70f: Download complete [2020-03-09T18:51:25.895Z] 2848faf0eed1: Verifying Checksum [2020-03-09T18:51:25.895Z] 2848faf0eed1: Download complete [2020-03-09T18:51:25.895Z] 0e6b1d234666: Verifying Checksum [2020-03-09T18:51:25.895Z] 0e6b1d234666: Download complete [2020-03-09T18:51:25.895Z] bf5d7aec512f: Verifying Checksum [2020-03-09T18:51:25.895Z] bf5d7aec512f: Download complete [2020-03-09T18:51:25.895Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T18:51:25.895Z] e6b0cf9c0882: Download complete [2020-03-09T18:51:26.473Z] e6b0cf9c0882: Pull complete [2020-03-09T18:51:26.473Z] 2848faf0eed1: Pull complete [2020-03-09T18:51:26.776Z] 0f37312ad70f: Pull complete [2020-03-09T18:51:27.372Z] 34c802a77dc8: Verifying Checksum [2020-03-09T18:51:27.372Z] 34c802a77dc8: Download complete [2020-03-09T18:51:27.372Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T18:51:27.372Z] 27c7a5d97fbd: Download complete [2020-03-09T18:51:28.014Z] 5c102a31e300: Verifying Checksum [2020-03-09T18:51:28.014Z] 5c102a31e300: Download complete [2020-03-09T18:51:28.285Z] dcfb455df0a1: Verifying Checksum [2020-03-09T18:51:28.285Z] dcfb455df0a1: Download complete [2020-03-09T18:51:28.545Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T18:51:28.545Z] 9eb99e56ec68: Download complete [2020-03-09T18:51:28.545Z] 5788d62ee057: Verifying Checksum [2020-03-09T18:51:28.545Z] 5788d62ee057: Download complete [2020-03-09T18:51:36.728Z] 5788d62ee057: Pull complete [2020-03-09T18:51:36.728Z] 0e6b1d234666: Pull complete [2020-03-09T18:51:36.728Z] bf5d7aec512f: Pull complete [2020-03-09T18:51:41.018Z] 34c802a77dc8: Pull complete [2020-03-09T18:51:44.354Z] 9eb99e56ec68: Pull complete [2020-03-09T18:51:44.354Z] 27c7a5d97fbd: Pull complete [2020-03-09T18:51:45.354Z] 5c102a31e300: Pull complete [2020-03-09T18:51:45.615Z] dcfb455df0a1: Pull complete [2020-03-09T18:51:45.615Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T18:51:45.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T18:51:45.615Z] ---> 7c70fe431013 [2020-03-09T18:51:45.615Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:51:45.615Z] ---> Running in b901964085d7 [2020-03-09T18:51:45.875Z] Removing intermediate container b901964085d7 [2020-03-09T18:51:45.875Z] ---> 9a96711b7784 [2020-03-09T18:51:45.875Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:51:45.875Z] ---> Running in 49a020bee457 [2020-03-09T18:51:47.277Z] Removing intermediate container 49a020bee457 [2020-03-09T18:51:47.277Z] ---> 84396f785d64 [2020-03-09T18:51:47.277Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T18:51:47.277Z] ---> Running in c41035d3f186 [2020-03-09T18:51:48.233Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T18:51:48.808Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T18:51:49.379Z] OK: 143 MiB in 39 packages [2020-03-09T18:51:49.639Z] Removing intermediate container c41035d3f186 [2020-03-09T18:51:49.639Z] ---> 4eb48934c10a [2020-03-09T18:51:49.639Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T18:51:49.905Z] ---> Running in 8240c1e2ce03 [2020-03-09T18:51:49.905Z] Removing intermediate container 8240c1e2ce03 [2020-03-09T18:51:49.905Z] ---> 0e570796b88a [2020-03-09T18:51:49.905Z] Step 7/8 : COPY . . [2020-03-09T18:51:50.479Z] ---> 2d789ab5b7a2 [2020-03-09T18:51:50.479Z] Step 8/8 : RUN go mod download [2020-03-09T18:51:50.479Z] ---> Running in 6eacf80adaff [2020-03-09T18:51:52.413Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T18:51:52.413Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T18:51:52.413Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T18:51:52.413Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T18:51:52.413Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T18:51:52.413Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T18:51:52.413Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T18:51:52.413Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T18:51:52.413Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T18:51:52.413Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T18:51:52.413Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T18:51:52.413Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T18:51:52.413Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T18:51:52.413Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T18:51:52.413Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T18:51:52.413Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T18:51:52.413Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T18:51:52.413Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T18:51:52.413Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T18:51:52.673Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T18:51:52.673Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T18:51:52.673Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T18:51:52.673Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T18:51:52.673Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T18:51:52.673Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T18:51:52.673Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T18:51:52.673Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T18:51:52.673Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T18:51:52.673Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T18:51:52.673Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T18:51:52.673Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T18:51:52.673Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T18:51:52.939Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T18:51:52.939Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T18:51:52.939Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T18:51:52.939Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T18:51:52.939Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T18:51:52.939Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T18:51:52.939Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T18:51:52.939Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T18:51:52.939Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T18:51:52.939Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T18:51:52.939Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T18:51:52.939Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T18:51:52.939Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T18:51:52.939Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T18:51:52.939Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T18:51:52.939Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T18:51:53.210Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T18:51:53.210Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T18:51:53.210Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T18:51:53.210Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T18:52:01.357Z] Removing intermediate container 6eacf80adaff [2020-03-09T18:52:01.357Z] ---> 95a493536102 [2020-03-09T18:52:01.357Z] Successfully built 95a493536102 [2020-03-09T18:52:01.357Z] 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-03-09T18:52:02.040Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T18:52:02.040Z] . [Pipeline] withDockerContainer [2020-03-09T18:52:02.187Z] prd-centos7-docker-4c-2g-9010 does not seem to be running inside a container [2020-03-09T18:52:02.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-03-09T18:52:03.047Z] $ docker top 7bbc7d1d14745bdc18c851f9aca7f25299a54058f62600aac5fc3114370ff8ee -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T18:52:04.200Z] + go version [2020-03-09T18:52:04.200Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T18:52:04.525Z] + make test [2020-03-09T18:52:04.525Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T18:52:26.762Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T18:52:26.762Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T18:52:26.762Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T18:52:26.762Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.317s coverage: 23.1% of statements [2020-03-09T18:52:26.762Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements [2020-03-09T18:52:30.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.029s coverage: 12.7% of statements [2020-03-09T18:52:30.124Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 24.2% of statements [2020-03-09T18:53:02.325Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.094s coverage: 30.0% of statements [2020-03-09T18:53:02.325Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.505s coverage: 42.3% of statements [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T18:53:02.325Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.543s coverage: 79.3% of statements [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T18:53:02.325Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.018s coverage: 52.6% of statements [2020-03-09T18:53:02.325Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.115s coverage: 75.8% of statements [2020-03-09T18:53:02.325Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T18:53:02.325Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T18:53:03.289Z] gofmt -l . [2020-03-09T18:53:03.558Z] [ "`gofmt -l .`" = "" ] [2020-03-09T18:53:03.558Z] ./bin/test-attribution-txt.sh [2020-03-09T18:53:04.518Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T18:53:05.977Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T18:53:05.985Z] $ docker stop --time=1 7bbc7d1d14745bdc18c851f9aca7f25299a54058f62600aac5fc3114370ff8ee [2020-03-09T18:53:07.536Z] $ docker rm -f 7bbc7d1d14745bdc18c851f9aca7f25299a54058f62600aac5fc3114370ff8ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T18:53:08.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T18:53:09.016Z] + ls -al . [2020-03-09T18:53:09.016Z] total 200 [2020-03-09T18:53:09.016Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 18:53 . [2020-03-09T18:53:09.016Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 18:51 .. [2020-03-09T18:53:09.016Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 18:51 api [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 18:51 async.go [2020-03-09T18:53:09.016Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 18:51 bin [2020-03-09T18:53:09.016Z] -rw-r--r--. 1 jenkins jenkins 101179 Mar 9 18:52 coverage.out [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 18:51 Dockerfile.build [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 18:51 .dockerignore [2020-03-09T18:53:09.016Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 9 18:51 example [2020-03-09T18:53:09.016Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 18:51 .git [2020-03-09T18:53:09.016Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 18:51 .github [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 18:51 .gitignore [2020-03-09T18:53:09.016Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 18:53 go.mod [2020-03-09T18:53:09.016Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 18:53 go.sum [2020-03-09T18:53:09.016Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 9 18:51 internal [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 18:51 Jenkinsfile [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 18:51 LICENSE [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 18:51 Makefile [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 18:51 manageddevices.go [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 18:51 managedprofiles.go [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 18:51 managedwatchers.go [2020-03-09T18:53:09.016Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 18:51 pkg [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 18:51 README.md [2020-03-09T18:53:09.016Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 9 18:51 .semver [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 9 18:51 service.go [2020-03-09T18:53:09.016Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 18:51 snap [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 18:45 VERSION [2020-03-09T18:53:09.016Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 18:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:53:09.337Z] + 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=e324192f824338e2b9caaf86c035957dcff7d613 --label arch=amd64 --label version=0.0.0 . [2020-03-09T18:53:09.598Z] Sending build context to Docker daemon 2.818MB [2020-03-09T18:53:09.598Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T18:53:09.598Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T18:53:09.598Z] ---> 95a493536102 [2020-03-09T18:53:09.598Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T18:53:09.598Z] ---> Running in 98ce4e88d027 [2020-03-09T18:53:09.858Z] Removing intermediate container 98ce4e88d027 [2020-03-09T18:53:09.858Z] ---> b0523d96fc6e [2020-03-09T18:53:09.858Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T18:53:09.858Z] ---> Running in aae4c28361a5 [2020-03-09T18:53:10.124Z] Removing intermediate container aae4c28361a5 [2020-03-09T18:53:10.124Z] ---> 7f6effdc9ff1 [2020-03-09T18:53:10.124Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:53:10.124Z] ---> Running in 88bf30d2049e [2020-03-09T18:53:10.124Z] Removing intermediate container 88bf30d2049e [2020-03-09T18:53:10.124Z] ---> 5fb4fea13947 [2020-03-09T18:53:10.124Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:53:10.385Z] ---> Running in 45bfe3294328 [2020-03-09T18:53:11.339Z] Removing intermediate container 45bfe3294328 [2020-03-09T18:53:11.339Z] ---> 3704dbf78037 [2020-03-09T18:53:11.339Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T18:53:11.339Z] ---> Running in 83a34de8b61d [2020-03-09T18:53:11.911Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T18:53:12.480Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T18:53:13.053Z] OK: 143 MiB in 39 packages [2020-03-09T18:53:13.313Z] Removing intermediate container 83a34de8b61d [2020-03-09T18:53:13.313Z] ---> 7279709b957a [2020-03-09T18:53:13.313Z] Step 8/20 : COPY . . [2020-03-09T18:53:13.910Z] ---> 460e84d085fb [2020-03-09T18:53:13.910Z] Step 9/20 : RUN ${MAKE} [2020-03-09T18:53:13.910Z] ---> Running in 91c545148517 [2020-03-09T18:53:14.506Z] 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-03-09T18:53:32.921Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T18:53:39.698Z] Removing intermediate container 91c545148517 [2020-03-09T18:53:39.698Z] ---> e3726d5df06f [2020-03-09T18:53:39.698Z] Step 10/20 : FROM scratch [2020-03-09T18:53:39.698Z] ---> [2020-03-09T18:53:39.698Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:53:39.698Z] ---> Running in 686e1ff4ae38 [2020-03-09T18:53:39.698Z] Removing intermediate container 686e1ff4ae38 [2020-03-09T18:53:39.698Z] ---> 39463066b6b4 [2020-03-09T18:53:39.698Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T18:53:39.698Z] ---> Running in d071c82f0706 [2020-03-09T18:53:39.698Z] Removing intermediate container d071c82f0706 [2020-03-09T18:53:39.698Z] ---> b6058d011a98 [2020-03-09T18:53:39.698Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T18:53:39.698Z] ---> Running in 30f42012758e [2020-03-09T18:53:39.698Z] Removing intermediate container 30f42012758e [2020-03-09T18:53:39.698Z] ---> 035604168c1e [2020-03-09T18:53:39.698Z] Step 14/20 : WORKDIR / [2020-03-09T18:53:39.698Z] ---> Running in dbec5a901f65 [2020-03-09T18:53:39.959Z] Removing intermediate container dbec5a901f65 [2020-03-09T18:53:39.959Z] ---> 92dfdf1e1479 [2020-03-09T18:53:39.959Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T18:53:40.531Z] ---> 46c9aff67032 [2020-03-09T18:53:40.531Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T18:53:40.792Z] ---> b9e5d771aa52 [2020-03-09T18:53:40.792Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T18:53:40.792Z] ---> Running in 384fbcad039f [2020-03-09T18:53:41.052Z] Removing intermediate container 384fbcad039f [2020-03-09T18:53:41.052Z] ---> 640aea36d3cc [2020-03-09T18:53:41.052Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T18:53:41.052Z] ---> Running in 3cb9210b4fec [2020-03-09T18:53:41.314Z] Removing intermediate container 3cb9210b4fec [2020-03-09T18:53:41.314Z] ---> cfa03586c96e [2020-03-09T18:53:41.314Z] Step 19/20 : LABEL git_sha=e324192f824338e2b9caaf86c035957dcff7d613 [2020-03-09T18:53:41.314Z] ---> Running in 8020a56e596a [2020-03-09T18:53:41.314Z] Removing intermediate container 8020a56e596a [2020-03-09T18:53:41.314Z] ---> 78b38ff2560b [2020-03-09T18:53:41.314Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T18:53:41.314Z] ---> Running in 698d73476a64 [2020-03-09T18:53:41.576Z] Removing intermediate container 698d73476a64 [2020-03-09T18:53:41.576Z] ---> 1d8fd25dd49a [2020-03-09T18:53:41.576Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T18:53:41.576Z] Successfully built 1d8fd25dd49a [2020-03-09T18:53:41.576Z] 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-03-09T19:02:13.631Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9057 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws [2020-03-09T19:02:13.671Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T19:02:19.687Z] using credential edgex-jenkins-ssh [2020-03-09T19:02:19.798Z] Cloning the remote Git repository [2020-03-09T19:02:19.798Z] Cloning with configured refspecs honoured and without tags [2020-03-09T19:02:19.897Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T19:02:19.988Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T19:02:20.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T19:02:20.065Z] > git --version # timeout=10 [2020-03-09T19:02:20.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T19:02:20.155Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T19:02:21.396Z] Fetching without tags [2020-03-09T19:02:21.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T19:02:21.225Z] > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 [2020-03-09T19:02:21.253Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T19:02:21.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T19:02:21.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T19:02:21.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T19:02:21.434Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T19:02:21.970Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 7c12d758e5802b9d6255458e3fccfccaf44a9f4d [2020-03-09T19:02:22.425Z] Merge succeeded, producing c216066454f6bec8109db273ad364f54fd2c7ca3 [2020-03-09T19:02:22.425Z] Checking out Revision c216066454f6bec8109db273ad364f54fd2c7ca3 (PR-429) [2020-03-09T19:02:22.006Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T19:02:22.059Z] > git checkout -f 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # timeout=10 [2020-03-09T19:02:22.242Z] > git remote # timeout=10 [2020-03-09T19:02:22.274Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T19:02:22.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T19:02:22.306Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T19:02:22.394Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T19:02:22.435Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T19:02:22.459Z] > git checkout -f c216066454f6bec8109db273ad364f54fd2c7ca3 # timeout=10 [2020-03-09T19:02:26.986Z] Commit message: "Merge commit '2731ca63cc475b67e9cc596139d210d033590fbd' into HEAD" [2020-03-09T19:02:26.995Z] > git rev-list --no-walk 7c12d758e5802b9d6255458e3fccfccaf44a9f4d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T19:02:28.479Z] ========================================================= [2020-03-09T19:02:28.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-09T19:02:28.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T19:02:29.587Z] + 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-03-09T19:02:30.562Z] Sending build context to Docker daemon 2.693MB [2020-03-09T19:02:30.562Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T19:02:30.562Z] Step 2/8 : FROM ${BASE} [2020-03-09T19:02:30.840Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-09T19:02:30.840Z] cde5963f3b93: Pulling fs layer [2020-03-09T19:02:30.840Z] 2a23fa8c16f7: Pulling fs layer [2020-03-09T19:02:30.840Z] 777b28850792: Pulling fs layer [2020-03-09T19:02:30.840Z] 8a11ddd9e578: Pulling fs layer [2020-03-09T19:02:30.840Z] 4cf88f913ddb: Pulling fs layer [2020-03-09T19:02:30.840Z] 1df406cf5192: Pulling fs layer [2020-03-09T19:02:30.840Z] cd6300453558: Pulling fs layer [2020-03-09T19:02:30.840Z] b9c365052c96: Pulling fs layer [2020-03-09T19:02:30.840Z] a2d8cc88f415: Pulling fs layer [2020-03-09T19:02:30.840Z] ea1d1ca13537: Pulling fs layer [2020-03-09T19:02:30.840Z] 3750a50a1c5e: Pulling fs layer [2020-03-09T19:02:30.840Z] 1df406cf5192: Waiting [2020-03-09T19:02:30.840Z] cd6300453558: Waiting [2020-03-09T19:02:30.840Z] b9c365052c96: Waiting [2020-03-09T19:02:30.840Z] a2d8cc88f415: Waiting [2020-03-09T19:02:30.840Z] ea1d1ca13537: Waiting [2020-03-09T19:02:30.840Z] 3750a50a1c5e: Waiting [2020-03-09T19:02:30.840Z] 8a11ddd9e578: Waiting [2020-03-09T19:02:30.840Z] 4cf88f913ddb: Waiting [2020-03-09T19:02:30.840Z] 777b28850792: Verifying Checksum [2020-03-09T19:02:30.840Z] 777b28850792: Download complete [2020-03-09T19:02:30.840Z] 2a23fa8c16f7: Verifying Checksum [2020-03-09T19:02:30.840Z] 2a23fa8c16f7: Download complete [2020-03-09T19:02:30.840Z] 4cf88f913ddb: Verifying Checksum [2020-03-09T19:02:30.840Z] 4cf88f913ddb: Download complete [2020-03-09T19:02:30.840Z] 1df406cf5192: Verifying Checksum [2020-03-09T19:02:30.840Z] 1df406cf5192: Download complete [2020-03-09T19:02:31.124Z] cde5963f3b93: Verifying Checksum [2020-03-09T19:02:32.107Z] cde5963f3b93: Pull complete [2020-03-09T19:02:32.378Z] 2a23fa8c16f7: Pull complete [2020-03-09T19:02:32.984Z] 777b28850792: Pull complete [2020-03-09T19:02:34.954Z] cd6300453558: Verifying Checksum [2020-03-09T19:02:34.954Z] cd6300453558: Download complete [2020-03-09T19:02:34.954Z] a2d8cc88f415: Verifying Checksum [2020-03-09T19:02:34.954Z] a2d8cc88f415: Download complete [2020-03-09T19:02:37.551Z] ea1d1ca13537: Verifying Checksum [2020-03-09T19:02:37.551Z] ea1d1ca13537: Download complete [2020-03-09T19:02:38.140Z] 3750a50a1c5e: Verifying Checksum [2020-03-09T19:02:38.140Z] 3750a50a1c5e: Download complete [2020-03-09T19:02:40.751Z] b9c365052c96: Download complete [2020-03-09T19:02:42.166Z] 8a11ddd9e578: Verifying Checksum [2020-03-09T19:02:42.166Z] 8a11ddd9e578: Download complete [2020-03-09T19:02:54.537Z] 8a11ddd9e578: Pull complete [2020-03-09T19:02:54.537Z] 4cf88f913ddb: Pull complete [2020-03-09T19:02:54.537Z] 1df406cf5192: Pull complete [2020-03-09T19:02:59.905Z] cd6300453558: Pull complete [2020-03-09T19:03:04.180Z] b9c365052c96: Pull complete [2020-03-09T19:03:04.180Z] a2d8cc88f415: Pull complete [2020-03-09T19:03:06.145Z] ea1d1ca13537: Pull complete [2020-03-09T19:03:06.414Z] 3750a50a1c5e: Pull complete [2020-03-09T19:03:06.414Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-09T19:03:06.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-09T19:03:06.684Z] ---> 78745c68409d [2020-03-09T19:03:06.684Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T19:03:10.058Z] ---> Running in b8d986a9205e [2020-03-09T19:03:10.326Z] Removing intermediate container b8d986a9205e [2020-03-09T19:03:10.326Z] ---> 72c6d48cb1c2 [2020-03-09T19:03:10.326Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T19:03:10.594Z] ---> Running in 76ac60a5d461 [2020-03-09T19:03:12.551Z] Removing intermediate container 76ac60a5d461 [2020-03-09T19:03:12.551Z] ---> 8323dff35ab3 [2020-03-09T19:03:12.551Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T19:03:12.819Z] ---> Running in 005b0e154123 [2020-03-09T19:03:13.780Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T19:03:14.363Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T19:03:14.952Z] OK: 125 MiB in 39 packages [2020-03-09T19:03:15.919Z] Removing intermediate container 005b0e154123 [2020-03-09T19:03:15.919Z] ---> 8cf6ba3cd5f3 [2020-03-09T19:03:15.919Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T19:03:16.194Z] ---> Running in 07a1846f16fc [2020-03-09T19:03:16.779Z] Removing intermediate container 07a1846f16fc [2020-03-09T19:03:16.779Z] ---> 4b142b5cd4dc [2020-03-09T19:03:16.779Z] Step 7/8 : COPY . . [2020-03-09T19:03:17.740Z] ---> e6f0b435ff26 [2020-03-09T19:03:17.740Z] Step 8/8 : RUN go mod download [2020-03-09T19:03:17.740Z] ---> Running in ba0345d0e244 [2020-03-09T19:03:19.692Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T19:03:19.963Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T19:03:19.963Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T19:03:19.963Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T19:03:19.963Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T19:03:19.963Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T19:03:19.963Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T19:03:19.963Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T19:03:19.963Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T19:03:19.963Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T19:03:19.963Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T19:03:19.963Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T19:03:19.963Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T19:03:19.963Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T19:03:19.963Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T19:03:19.963Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T19:03:19.963Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T19:03:19.963Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T19:03:19.963Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T19:03:19.963Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T19:03:19.963Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T19:03:19.963Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T19:03:20.231Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T19:03:20.231Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T19:03:20.231Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T19:03:20.231Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T19:03:20.231Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T19:03:20.231Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T19:03:20.498Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T19:03:20.498Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T19:03:20.498Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T19:03:20.498Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T19:03:20.498Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T19:03:20.498Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T19:03:20.498Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T19:03:20.498Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T19:03:20.498Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T19:03:20.498Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T19:03:20.498Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T19:03:20.770Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T19:03:20.770Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T19:03:20.770Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T19:03:20.770Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T19:03:20.770Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T19:03:35.799Z] Removing intermediate container ba0345d0e244 [2020-03-09T19:03:35.799Z] ---> 59dd74fb4156 [2020-03-09T19:03:35.799Z] Successfully built 59dd74fb4156 [2020-03-09T19:03:36.066Z] 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-03-09T19:03:36.745Z] + docker inspect -f . ci-base-image-arm64 [2020-03-09T19:03:36.745Z] . [Pipeline] withDockerContainer [2020-03-09T19:03:37.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-9057 does not seem to be running inside a container [2020-03-09T19:03:37.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-03-09T19:03:38.692Z] $ docker top 56f72d314ceaf51df51c5a1c9d72e2fe98d63327f9d40a5a0d92f584b5d56d0f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T19:03:41.109Z] + go version [2020-03-09T19:03:41.109Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-09T19:03:41.769Z] + make test [2020-03-09T19:03:41.769Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T19:04:28.709Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T19:04:28.709Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T19:04:28.709Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T19:04:28.709Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 23.1% of statements [2020-03-09T19:04:28.709Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.183s coverage: 95.8% of statements [2020-03-09T19:04:28.709Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.050s coverage: 12.7% of statements [2020-03-09T19:04:28.709Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 24.2% of statements [2020-03-09T19:05:00.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.088s coverage: 30.0% of statements [2020-03-09T19:05:00.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.412s coverage: 42.3% of statements [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T19:05:00.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 79.3% of statements [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T19:05:00.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements [2020-03-09T19:05:00.966Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 75.8% of statements [2020-03-09T19:05:00.966Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T19:05:00.966Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T19:05:05.241Z] gofmt -l . [2020-03-09T19:05:05.511Z] [ "`gofmt -l .`" = "" ] [2020-03-09T19:05:06.097Z] ./bin/test-attribution-txt.sh [2020-03-09T19:05:06.687Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T19:05:06.974Z] Warning: overwriting stash ‘coverage-report’ [2020-03-09T19:05:07.668Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T19:05:07.675Z] $ docker stop --time=1 56f72d314ceaf51df51c5a1c9d72e2fe98d63327f9d40a5a0d92f584b5d56d0f [2020-03-09T19:05:09.823Z] $ docker rm -f 56f72d314ceaf51df51c5a1c9d72e2fe98d63327f9d40a5a0d92f584b5d56d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T19:05:11.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T19:05:11.555Z] + ls -al . [2020-03-09T19:05:11.555Z] total 240 [2020-03-09T19:05:11.555Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 19:05 . [2020-03-09T19:05:11.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 19:02 .. [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 19:02 .dockerignore [2020-03-09T19:05:11.555Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 19:02 .git [2020-03-09T19:05:11.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 19:02 .github [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 19:02 .gitignore [2020-03-09T19:05:11.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 19:02 .semver [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 9 19:02 Dockerfile.build [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 9 19:02 Jenkinsfile [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 19:02 LICENSE [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 9 19:02 Makefile [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 9 19:02 README.md [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 18:45 VERSION [2020-03-09T19:05:11.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 19:02 api [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 9 19:02 async.go [2020-03-09T19:05:11.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 19:02 bin [2020-03-09T19:05:11.555Z] -rw-r--r-- 1 jenkins jenkins 101179 Mar 9 19:04 coverage.out [2020-03-09T19:05:11.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 19:02 example [2020-03-09T19:05:11.555Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 9 19:05 go.mod [2020-03-09T19:05:11.555Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 9 19:05 go.sum [2020-03-09T19:05:11.555Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 19:02 internal [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 9 19:02 manageddevices.go [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 9 19:02 managedprofiles.go [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 9 19:02 managedwatchers.go [2020-03-09T19:05:11.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 19:02 pkg [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 9 19:02 service.go [2020-03-09T19:05:11.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 19:02 snap [2020-03-09T19:05:11.555Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 19:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T19:05:11.880Z] + 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=e324192f824338e2b9caaf86c035957dcff7d613 --label arch=arm64 --label version=0.0.0 . [2020-03-09T19:05:12.462Z] Sending build context to Docker daemon 2.82MB [2020-03-09T19:05:12.462Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T19:05:12.462Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T19:05:12.462Z] ---> 59dd74fb4156 [2020-03-09T19:05:12.462Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T19:05:12.462Z] ---> Running in 74be2cac3e85 [2020-03-09T19:05:12.727Z] Removing intermediate container 74be2cac3e85 [2020-03-09T19:05:12.727Z] ---> e3d1e724a41d [2020-03-09T19:05:12.727Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T19:05:12.995Z] ---> Running in e58923ffb131 [2020-03-09T19:05:13.263Z] Removing intermediate container e58923ffb131 [2020-03-09T19:05:13.263Z] ---> 9d4e69cd06aa [2020-03-09T19:05:13.263Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T19:05:13.531Z] ---> Running in 7649c4f3b7ab [2020-03-09T19:05:13.801Z] Removing intermediate container 7649c4f3b7ab [2020-03-09T19:05:13.801Z] ---> 85af94ad1425 [2020-03-09T19:05:13.801Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T19:05:13.801Z] ---> Running in ec7d5cd9e5ea [2020-03-09T19:05:15.759Z] Removing intermediate container ec7d5cd9e5ea [2020-03-09T19:05:15.759Z] ---> 2a1f5666e7ab [2020-03-09T19:05:15.759Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T19:05:15.759Z] ---> Running in 650808ff4d82 [2020-03-09T19:05:16.724Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T19:05:17.309Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T19:05:18.285Z] OK: 125 MiB in 39 packages [2020-03-09T19:05:19.252Z] Removing intermediate container 650808ff4d82 [2020-03-09T19:05:19.252Z] ---> f0c42c8919e5 [2020-03-09T19:05:19.252Z] Step 8/20 : COPY . . [2020-03-09T19:05:20.228Z] ---> 823ef74440b6 [2020-03-09T19:05:20.228Z] Step 9/20 : RUN ${MAKE} [2020-03-09T19:05:20.228Z] ---> Running in ec3a13250fd2 [2020-03-09T19:05:21.197Z] 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-03-09T19:06:00.125Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T19:06:08.361Z] Removing intermediate container ec3a13250fd2 [2020-03-09T19:06:08.361Z] ---> 5de230ad69ac [2020-03-09T19:06:08.361Z] Step 10/20 : FROM scratch [2020-03-09T19:06:08.361Z] ---> [2020-03-09T19:06:08.361Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T19:06:08.629Z] ---> Running in b9a504d0d33a [2020-03-09T19:06:08.896Z] Removing intermediate container b9a504d0d33a [2020-03-09T19:06:08.896Z] ---> e540d2d73753 [2020-03-09T19:06:08.896Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T19:06:08.896Z] ---> Running in a4fd05764993 [2020-03-09T19:06:09.482Z] Removing intermediate container a4fd05764993 [2020-03-09T19:06:09.482Z] ---> 6ac4265d557e [2020-03-09T19:06:09.482Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T19:06:09.482Z] ---> Running in d5575b278a2e [2020-03-09T19:06:09.750Z] Removing intermediate container d5575b278a2e [2020-03-09T19:06:09.750Z] ---> c2e8827527b5 [2020-03-09T19:06:09.750Z] Step 14/20 : WORKDIR / [2020-03-09T19:06:09.750Z] ---> Running in c4448e0dfa24 [2020-03-09T19:06:10.018Z] Removing intermediate container c4448e0dfa24 [2020-03-09T19:06:10.018Z] ---> 77c6e13df7ae [2020-03-09T19:06:10.018Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T19:06:11.432Z] ---> 4462b6c57b04 [2020-03-09T19:06:11.432Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T19:06:12.021Z] ---> 7d64b031e713 [2020-03-09T19:06:12.021Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T19:06:12.021Z] ---> Running in 391c8301c818 [2020-03-09T19:06:12.606Z] Removing intermediate container 391c8301c818 [2020-03-09T19:06:12.606Z] ---> aebe62414272 [2020-03-09T19:06:12.606Z] Step 18/20 : LABEL arch=arm64 [2020-03-09T19:06:12.606Z] ---> Running in e38ba6b76d44 [2020-03-09T19:06:12.874Z] Removing intermediate container e38ba6b76d44 [2020-03-09T19:06:12.874Z] ---> 3dbf63fba347 [2020-03-09T19:06:12.874Z] Step 19/20 : LABEL git_sha=e324192f824338e2b9caaf86c035957dcff7d613 [2020-03-09T19:06:13.143Z] ---> Running in cf99293f1703 [2020-03-09T19:06:13.412Z] Removing intermediate container cf99293f1703 [2020-03-09T19:06:13.412Z] ---> 68af1353a606 [2020-03-09T19:06:13.412Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T19:06:13.412Z] ---> Running in 95964c57ae6d [2020-03-09T19:06:13.677Z] Removing intermediate container 95964c57ae6d [2020-03-09T19:06:13.677Z] ---> 46855918dfe0 [2020-03-09T19:06:13.677Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T19:06:13.677Z] Successfully built 46855918dfe0 [2020-03-09T19:06:13.944Z] 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-03-09T19:06:15.063Z] provisioning config files... [2020-03-09T19:06:15.076Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config5310835536772068371tmp [Pipeline] { [Pipeline] sh [2020-03-09T19:06:15.434Z] + curl -s https://codecov.io/bash [2020-03-09T19:06:15.434Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config5310835536772068371tmp [2020-03-09T19:06:15.693Z] [2020-03-09T19:06:15.693Z] _____ _ [2020-03-09T19:06:15.693Z] / ____| | | [2020-03-09T19:06:15.693Z] | | ___ __| | ___ ___ _____ __ [2020-03-09T19:06:15.693Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-09T19:06:15.693Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-09T19:06:15.693Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-09T19:06:15.693Z] Bash-20200303-bc4d7e6 [2020-03-09T19:06:15.693Z] [2020-03-09T19:06:15.693Z] [2020-03-09T19:06:15.693Z] ==> Jenkins CI detected. [2020-03-09T19:06:15.693Z] project root: . [2020-03-09T19:06:15.693Z] Fixing merge commit SHA [2020-03-09T19:06:15.693Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-09T19:06:15.693Z] ==> Running gcov in . (disable via -X gcov) [2020-03-09T19:06:15.693Z] ==> Python coveragepy not found [2020-03-09T19:06:15.693Z] ==> Searching for coverage reports in: [2020-03-09T19:06:15.693Z] + . [2020-03-09T19:06:15.693Z] -> Found 1 reports [2020-03-09T19:06:15.693Z] ==> Detecting git/mercurial file structure [2020-03-09T19:06:15.693Z] ==> Reading reports [2020-03-09T19:06:15.693Z] + ./coverage.out bytes=101179 [2020-03-09T19:06:15.693Z] ==> Appending adjustments [2020-03-09T19:06:15.693Z] http://docs.codecov.io/docs/fixing-reports [2020-03-09T19:06:15.953Z] + Found adjustments [2020-03-09T19:06:15.953Z] ==> Gzipping contents [2020-03-09T19:06:15.953Z] ==> Uploading reports [2020-03-09T19:06:15.953Z] url: https://codecov.io [2020-03-09T19:06:15.953Z] query: branch=PR-429&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= [2020-03-09T19:06:16.213Z] -> Pinging Codecov [2020-03-09T19:06:16.213Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-429&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= [2020-03-09T19:06:16.472Z] -> Uploading [2020-03-09T19:06:17.049Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2731ca63cc475b67e9cc596139d210d033590fbd [Pipeline] } [2020-03-09T19:06:17.062Z] 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-03-09T19:06:18.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T19:06:18.653Z] ---> package-listing.sh [2020-03-09T19:06:18.653Z] ++ facter osfamily [2020-03-09T19:06:18.653Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T19:06:18.653Z] + OS_FAMILY=redhat [2020-03-09T19:06:18.653Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-09T19:06:18.653Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T19:06:18.653Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T19:06:18.653Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T19:06:18.653Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T19:06:18.653Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' [2020-03-09T19:06:18.653Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T19:06:18.653Z] + case "${OS_FAMILY}" in [2020-03-09T19:06:18.653Z] + rpm -qa [2020-03-09T19:06:18.653Z] + sort [2020-03-09T19:06:22.886Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T19:06:22.886Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T19:06:22.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T19:06:22.886Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' [2020-03-09T19:06:22.886Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ [2020-03-09T19:06:22.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T19:06:23.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T19:06:23.238Z] [2020-03-09T19:06:23.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T19:06:23.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T19:06:23.589Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T19:06:23.589Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T19:06:23.589Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T19:06:23.589Z] 756a868c4378: Pulling fs layer [2020-03-09T19:06:23.589Z] 444b2fc9a129: Pulling fs layer [2020-03-09T19:06:23.589Z] ea15f1150254: Pulling fs layer [2020-03-09T19:06:23.589Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T19:06:23.589Z] 28c525ee5125: Pulling fs layer [2020-03-09T19:06:23.589Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T19:06:23.589Z] 138eaada9080: Pulling fs layer [2020-03-09T19:06:23.589Z] 0622d0fa9048: Pulling fs layer [2020-03-09T19:06:23.589Z] 444b2fc9a129: Waiting [2020-03-09T19:06:23.589Z] 28c525ee5125: Waiting [2020-03-09T19:06:23.589Z] 094b1ea09ed8: Waiting [2020-03-09T19:06:23.589Z] ea15f1150254: Waiting [2020-03-09T19:06:23.589Z] 41b27a9f41bf: Waiting [2020-03-09T19:06:23.589Z] 138eaada9080: Waiting [2020-03-09T19:06:23.589Z] 0622d0fa9048: Waiting [2020-03-09T19:06:23.589Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-09T19:06:23.589Z] 2cc5ad85d9ab: Download complete [2020-03-09T19:06:23.589Z] 444b2fc9a129: Verifying Checksum [2020-03-09T19:06:23.589Z] 444b2fc9a129: Download complete [2020-03-09T19:06:23.589Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T19:06:23.589Z] c9b1b535fdd9: Download complete [2020-03-09T19:06:23.589Z] ea15f1150254: Verifying Checksum [2020-03-09T19:06:23.589Z] ea15f1150254: Download complete [2020-03-09T19:06:23.589Z] 28c525ee5125: Verifying Checksum [2020-03-09T19:06:23.589Z] 28c525ee5125: Download complete [2020-03-09T19:06:24.181Z] 756a868c4378: Verifying Checksum [2020-03-09T19:06:24.181Z] 756a868c4378: Download complete [2020-03-09T19:06:24.181Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T19:06:24.181Z] 094b1ea09ed8: Download complete [2020-03-09T19:06:24.181Z] 138eaada9080: Verifying Checksum [2020-03-09T19:06:24.181Z] 138eaada9080: Download complete [2020-03-09T19:06:24.181Z] 0622d0fa9048: Verifying Checksum [2020-03-09T19:06:24.181Z] 0622d0fa9048: Download complete [2020-03-09T19:06:24.181Z] c9b1b535fdd9: Pull complete [2020-03-09T19:06:24.456Z] 2cc5ad85d9ab: Pull complete [2020-03-09T19:06:24.715Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T19:06:24.715Z] 41b27a9f41bf: Download complete [2020-03-09T19:06:26.627Z] 756a868c4378: Pull complete [2020-03-09T19:06:26.627Z] 444b2fc9a129: Pull complete [2020-03-09T19:06:26.886Z] ea15f1150254: Pull complete [2020-03-09T19:06:30.186Z] 41b27a9f41bf: Pull complete [2020-03-09T19:06:30.186Z] 28c525ee5125: Pull complete [2020-03-09T19:06:32.098Z] 094b1ea09ed8: Pull complete [2020-03-09T19:06:32.357Z] 138eaada9080: Pull complete [2020-03-09T19:06:32.617Z] 0622d0fa9048: Pull complete [2020-03-09T19:06:32.617Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T19:06:32.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T19:06:32.787Z] prd-centos7-docker-4c-2g-8885 does not seem to be running inside a container [2020-03-09T19:06:32.841Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T19:06:33.885Z] $ docker top ec4b3b2e639f51c85f7b4522417e60bcaba9bcf6ba550648e8ebc90013722be0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T19:06:34.602Z] provisioning config files... [2020-03-09T19:06:34.617Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config6518695091240340114tmp [Pipeline] { [Pipeline] echo [2020-03-09T19:06:34.675Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T19:06:34.977Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T19:06:34.985Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T19:06:35.277Z] ---> logs-deploy.sh [2020-03-09T19:06:35.277Z] + ARCHIVE_ARTIFACTS= [2020-03-09T19:06:35.277Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T19:06:35.277Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T19:06:35.277Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T19:06:35.277Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/8 [2020-03-09T19:06:35.277Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/8/ [2020-03-09T19:06:35.277Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/8 /w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-09T19:06:36.214Z] Archives upload complete. [2020-03-09T19:06:36.472Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/8/