Pull request #458 opened 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 rather than f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 Obtained Jenkinsfile from 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 Running in Durability level: MAX_SURVIVABILITY 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 a064049b44925e773913ffd78f21da3be13207f4 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-458/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 a064049b44925e773913ffd78f21da3be13207f4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a064049b44925e773913ffd78f21da3be13207f4 # timeout=10 Commit message: "Merge pull request #120 from ernestojeda/add-additional-docker-build-args" > 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 > git --version # 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-563’ is offline Running on prd-centos7-docker-4c-2g-2197 in /w/workspace/dgexfoundry_device-sdk-go_PR-458 [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-458 # 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/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 into PR head commit f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 Merge succeeded, producing f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 Checking out Revision f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 (PR-458) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/458/head:refs/remotes/origin/PR-458 # 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/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # 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 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # timeout=10 Commit message: "Encode the float as base64 string by little-endian binary" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a064049b44925e773913ffd78f21da3be13207f4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-04T07:59:39.862Z] 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-04T07:59:41.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 [2020-03-04T07:59:41.643Z] [2020-03-04T07:59:41.643Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 [Pipeline] isUnix [Pipeline] sh [2020-03-04T07:59:42.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 [2020-03-04T07:59:42.006Z] latest-x86_64: Pulling from edgexfoundry/git-semver [2020-03-04T07:59:42.006Z] e7c96db7181b: Pulling fs layer [2020-03-04T07:59:42.006Z] a038dfdf5543: Pulling fs layer [2020-03-04T07:59:42.006Z] 8d5d8e63b3c0: Pulling fs layer [2020-03-04T07:59:42.267Z] e7c96db7181b: Verifying Checksum [2020-03-04T07:59:42.268Z] e7c96db7181b: Download complete [2020-03-04T07:59:42.268Z] 8d5d8e63b3c0: Verifying Checksum [2020-03-04T07:59:42.268Z] 8d5d8e63b3c0: Download complete [2020-03-04T07:59:42.268Z] a038dfdf5543: Verifying Checksum [2020-03-04T07:59:42.268Z] a038dfdf5543: Download complete [2020-03-04T07:59:42.526Z] e7c96db7181b: Pull complete [2020-03-04T07:59:43.097Z] a038dfdf5543: Pull complete [2020-03-04T07:59:43.356Z] 8d5d8e63b3c0: Pull complete [2020-03-04T07:59:43.356Z] Digest: sha256:05a9b251b02206200c94075b08ee2f72dfb9f54528ed2399686c43a0d6b464fb [2020-03-04T07:59:43.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 [Pipeline] withDockerContainer [2020-03-04T07:59:43.517Z] prd-centos7-docker-4c-2g-2197 does not seem to be running inside a container [2020-03-04T07:59:43.560Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-458 -v /w/workspace/dgexfoundry_device-sdk-go_PR-458:/w/workspace/dgexfoundry_device-sdk-go_PR-458:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-458@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 ******** nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 cat [2020-03-04T07:59:44.183Z] $ docker top c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-04T07:59:44.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T07:59:44.903Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T07:59:45.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T07:59:45.109Z] $ docker exec c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 ssh-agent [2020-03-04T07:59:45.297Z] SSH_AUTH_SOCK=/tmp/ssh-R3Mjl033xEI8/agent.15 [2020-03-04T07:59:45.297Z] SSH_AGENT_PID=22 [2020-03-04T07:59:45.310Z] Running ssh-add (command line suppressed) [2020-03-04T07:59:45.450Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/private_key_4447885932398869209.key (/w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/private_key_4447885932398869209.key) [2020-03-04T07:59:45.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T07:59:45.834Z] + git describe --exact-match --tags HEAD [2020-03-04T07:59:45.834Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-04T07:59:45.904Z] $ docker exec --env ******** --env ******** c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 ssh-agent -k [2020-03-04T07:59:46.046Z] unset SSH_AUTH_SOCK; [2020-03-04T07:59:46.046Z] unset SSH_AGENT_PID; [2020-03-04T07:59:46.046Z] echo Agent pid 22 killed; [2020-03-04T07:59:46.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-04T07:59:46.180Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-04T07:59:46.180Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-04T07:59:46.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T07:59:46.229Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T07:59:46.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T07:59:46.419Z] $ docker exec c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 ssh-agent [2020-03-04T07:59:46.604Z] SSH_AUTH_SOCK=/tmp/ssh-F1cJizCY9YZh/agent.58 [2020-03-04T07:59:46.604Z] SSH_AGENT_PID=65 [2020-03-04T07:59:46.610Z] Running ssh-add (command line suppressed) [2020-03-04T07:59:46.755Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/private_key_5240255692557919033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/private_key_5240255692557919033.key) [2020-03-04T07:59:46.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T07:59:47.164Z] + git semver init [2020-03-04T07:59:47.164Z] # -> Open(): unable to determine branch for HEAD [2020-03-04T07:59:47.164Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-458/.git [2020-03-04T07:59:47.164Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-458 [2020-03-04T07:59:47.164Z] # $SEMVER_REMOTE_NAME = origin [2020-03-04T07:59:47.164Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-04T07:59:47.164Z] # $SEMVER_USER_NAME = jenkins [2020-03-04T07:59:47.164Z] # $SEMVER_BRANCH = PR-458 [2020-03-04T07:59:47.164Z] # $SEMVER_TEMP = /tmp/semver-362902216 [2020-03-04T07:59:47.164Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-04T07:59:47.733Z] # '/tmp/semver-362902216' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-458/.semver' [2020-03-04T07:59:47.733Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-458/.semver [Pipeline] } [2020-03-04T07:59:47.754Z] $ docker exec --env ******** --env ******** c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 ssh-agent -k [2020-03-04T07:59:47.891Z] unset SSH_AUTH_SOCK; [2020-03-04T07:59:47.891Z] unset SSH_AGENT_PID; [2020-03-04T07:59:47.892Z] echo Agent pid 65 killed; [2020-03-04T07:59:47.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-04T07:59:48.362Z] + git semver [Pipeline] } [2020-03-04T07:59:48.388Z] $ docker stop --time=1 c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 [2020-03-04T07:59:49.726Z] $ docker rm -f c061f26d5bee8fbe10ed3a0b30872c8c93038dd870f58bfde6a3a25477314846 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-04T07:59:50.572Z] Stashed 29 file(s) [Pipeline] echo [2020-03-04T07:59:50.589Z] [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-04T08:00:05.949Z] Still waiting to schedule task [2020-03-04T08:00:05.950Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-04T08:00:05.971Z] Still waiting to schedule task [2020-03-04T08:00:05.971Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-04T08:01:59.732Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2198 in /w/workspace/dgexfoundry_device-sdk-go_PR-458 [Pipeline] { [Pipeline] ws [2020-03-04T08:01:59.776Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-03-04T08:02:05.593Z] using credential edgex-jenkins-ssh [2020-03-04T08:02:05.621Z] Cloning the remote Git repository [2020-03-04T08:02:05.621Z] Cloning with configured refspecs honoured and without tags [2020-03-04T08:02:05.682Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:05.786Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-03-04T08:02:05.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:05.887Z] > git --version # timeout=10 [2020-03-04T08:02:05.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:06.026Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:07.247Z] Fetching without tags [2020-03-04T08:02:07.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-04T08:02:07.134Z] > git config --add remote.origin.fetch +refs/pull/458/head:refs/remotes/origin/PR-458 # timeout=10 [2020-03-04T08:02:07.163Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:07.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-04T08:02:07.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:07.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:07.278Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:07.712Z] Merging remotes/origin/master commit 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 into PR head commit f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:02:08.076Z] Merge succeeded, producing f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:02:08.076Z] Checking out Revision f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 (PR-458) [2020-03-04T08:02:07.734Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T08:02:07.777Z] > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # timeout=10 [2020-03-04T08:02:07.919Z] > git remote # timeout=10 [2020-03-04T08:02:07.943Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T08:02:07.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:07.992Z] > git merge 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 # timeout=10 [2020-03-04T08:02:08.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T08:02:08.081Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T08:02:08.095Z] > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # timeout=10 [2020-03-04T08:02:12.813Z] Commit message: "Encode the float as base64 string by little-endian binary" [2020-03-04T08:02:12.859Z] > git --version # timeout=10 [2020-03-04T08:02:12.900Z] fatal: bad object a064049b44925e773913ffd78f21da3be13207f4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T08:02:14.242Z] ========================================================= [2020-03-04T08:02:14.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-04T08:02:14.242Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:02:15.452Z] + 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-04T08:02:16.429Z] Sending build context to Docker daemon 2.675MB [2020-03-04T08:02:16.429Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-04T08:02:16.429Z] Step 2/8 : FROM ${BASE} [2020-03-04T08:02:16.701Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-04T08:02:16.701Z] cde5963f3b93: Pulling fs layer [2020-03-04T08:02:16.701Z] 2a23fa8c16f7: Pulling fs layer [2020-03-04T08:02:16.701Z] 777b28850792: Pulling fs layer [2020-03-04T08:02:16.701Z] 8a11ddd9e578: Pulling fs layer [2020-03-04T08:02:16.701Z] 4cf88f913ddb: Pulling fs layer [2020-03-04T08:02:16.701Z] 1df406cf5192: Pulling fs layer [2020-03-04T08:02:16.701Z] cd6300453558: Pulling fs layer [2020-03-04T08:02:16.701Z] b9c365052c96: Pulling fs layer [2020-03-04T08:02:16.701Z] a2d8cc88f415: Pulling fs layer [2020-03-04T08:02:16.701Z] ea1d1ca13537: Pulling fs layer [2020-03-04T08:02:16.701Z] 3750a50a1c5e: Pulling fs layer [2020-03-04T08:02:16.701Z] cd6300453558: Waiting [2020-03-04T08:02:16.701Z] b9c365052c96: Waiting [2020-03-04T08:02:16.701Z] a2d8cc88f415: Waiting [2020-03-04T08:02:16.701Z] ea1d1ca13537: Waiting [2020-03-04T08:02:16.701Z] 3750a50a1c5e: Waiting [2020-03-04T08:02:16.701Z] 8a11ddd9e578: Waiting [2020-03-04T08:02:16.701Z] 4cf88f913ddb: Waiting [2020-03-04T08:02:16.701Z] 1df406cf5192: Waiting [2020-03-04T08:02:16.701Z] 777b28850792: Download complete [2020-03-04T08:02:16.980Z] 2a23fa8c16f7: Download complete [2020-03-04T08:02:16.980Z] 4cf88f913ddb: Verifying Checksum [2020-03-04T08:02:16.980Z] 4cf88f913ddb: Download complete [2020-03-04T08:02:16.980Z] 1df406cf5192: Verifying Checksum [2020-03-04T08:02:16.980Z] 1df406cf5192: Download complete [2020-03-04T08:02:16.980Z] cde5963f3b93: Download complete [2020-03-04T08:02:17.948Z] cde5963f3b93: Pull complete [2020-03-04T08:02:18.547Z] 2a23fa8c16f7: Pull complete [2020-03-04T08:02:18.823Z] 777b28850792: Pull complete [2020-03-04T08:02:21.425Z] cd6300453558: Verifying Checksum [2020-03-04T08:02:21.425Z] cd6300453558: Download complete [2020-03-04T08:02:21.425Z] a2d8cc88f415: Verifying Checksum [2020-03-04T08:02:21.425Z] a2d8cc88f415: Download complete [2020-03-04T08:02:23.171Z] Running on prd-centos7-docker-4c-2g-2199 in /w/workspace/dgexfoundry_device-sdk-go_PR-458 [Pipeline] { [Pipeline] ws [2020-03-04T08:02:23.216Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-03-04T08:02:23.392Z] ea1d1ca13537: Verifying Checksum [2020-03-04T08:02:23.392Z] ea1d1ca13537: Download complete [2020-03-04T08:02:23.664Z] 3750a50a1c5e: Download complete [2020-03-04T08:02:25.090Z] using credential edgex-jenkins-ssh [2020-03-04T08:02:25.109Z] Cloning the remote Git repository [2020-03-04T08:02:25.109Z] Cloning with configured refspecs honoured and without tags [2020-03-04T08:02:24.992Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:25.027Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-03-04T08:02:25.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:25.067Z] > git --version # timeout=10 [2020-03-04T08:02:25.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:25.095Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:25.781Z] Fetching without tags [2020-03-04T08:02:26.145Z] Merging remotes/origin/master commit 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 into PR head commit f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:02:26.242Z] Merge succeeded, producing f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:02:26.243Z] Checking out Revision f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 (PR-458) [2020-03-04T08:02:25.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-04T08:02:25.625Z] > git config --add remote.origin.fetch +refs/pull/458/head:refs/remotes/origin/PR-458 # timeout=10 [2020-03-04T08:02:25.631Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:25.644Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-04T08:02:25.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-04T08:02:25.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:25.659Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T08:02:26.053Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T08:02:26.059Z] > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # timeout=10 [2020-03-04T08:02:26.110Z] > git remote # timeout=10 [2020-03-04T08:02:26.117Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T08:02:26.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T08:02:26.129Z] > git merge 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 # timeout=10 [2020-03-04T08:02:26.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T08:02:26.153Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T08:02:26.162Z] > git checkout -f f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 # timeout=10 [2020-03-04T08:02:27.017Z] b9c365052c96: Verifying Checksum [2020-03-04T08:02:27.017Z] b9c365052c96: Download complete [2020-03-04T08:02:28.431Z] 8a11ddd9e578: Download complete [2020-03-04T08:02:30.074Z] Commit message: "Encode the float as base64 string by little-endian binary" [2020-03-04T08:02:30.110Z] > git --version # timeout=10 [2020-03-04T08:02:30.118Z] fatal: bad object a064049b44925e773913ffd78f21da3be13207f4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T08:02:31.052Z] ========================================================= [2020-03-04T08:02:31.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-04T08:02:31.052Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:02:31.743Z] + 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-04T08:02:32.008Z] Sending build context to Docker daemon 2.675MB [2020-03-04T08:02:32.008Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-04T08:02:32.008Z] Step 2/8 : FROM ${BASE} [2020-03-04T08:02:32.008Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-04T08:02:32.008Z] e6b0cf9c0882: Pulling fs layer [2020-03-04T08:02:32.008Z] 2848faf0eed1: Pulling fs layer [2020-03-04T08:02:32.008Z] 0f37312ad70f: Pulling fs layer [2020-03-04T08:02:32.008Z] 5788d62ee057: Pulling fs layer [2020-03-04T08:02:32.008Z] 0e6b1d234666: Pulling fs layer [2020-03-04T08:02:32.008Z] bf5d7aec512f: Pulling fs layer [2020-03-04T08:02:32.008Z] 34c802a77dc8: Pulling fs layer [2020-03-04T08:02:32.008Z] 5788d62ee057: Waiting [2020-03-04T08:02:32.008Z] 0e6b1d234666: Waiting [2020-03-04T08:02:32.008Z] bf5d7aec512f: Waiting [2020-03-04T08:02:32.008Z] 34c802a77dc8: Waiting [2020-03-04T08:02:32.008Z] 9eb99e56ec68: Pulling fs layer [2020-03-04T08:02:32.008Z] 27c7a5d97fbd: Pulling fs layer [2020-03-04T08:02:32.008Z] 5c102a31e300: Pulling fs layer [2020-03-04T08:02:32.008Z] dcfb455df0a1: Pulling fs layer [2020-03-04T08:02:32.008Z] 9eb99e56ec68: Waiting [2020-03-04T08:02:32.008Z] 5c102a31e300: Waiting [2020-03-04T08:02:32.008Z] dcfb455df0a1: Waiting [2020-03-04T08:02:32.008Z] 27c7a5d97fbd: Waiting [2020-03-04T08:02:32.008Z] 0f37312ad70f: Download complete [2020-03-04T08:02:32.008Z] 2848faf0eed1: Verifying Checksum [2020-03-04T08:02:32.008Z] 2848faf0eed1: Download complete [2020-03-04T08:02:32.008Z] 0e6b1d234666: Verifying Checksum [2020-03-04T08:02:32.008Z] 0e6b1d234666: Download complete [2020-03-04T08:02:32.008Z] bf5d7aec512f: Verifying Checksum [2020-03-04T08:02:32.008Z] bf5d7aec512f: Download complete [2020-03-04T08:02:32.008Z] e6b0cf9c0882: Verifying Checksum [2020-03-04T08:02:32.008Z] e6b0cf9c0882: Download complete [2020-03-04T08:02:32.587Z] e6b0cf9c0882: Pull complete [2020-03-04T08:02:32.587Z] 2848faf0eed1: Pull complete [2020-03-04T08:02:32.854Z] 34c802a77dc8: Verifying Checksum [2020-03-04T08:02:32.854Z] 34c802a77dc8: Download complete [2020-03-04T08:02:33.118Z] 27c7a5d97fbd: Download complete [2020-03-04T08:02:33.708Z] 5c102a31e300: Verifying Checksum [2020-03-04T08:02:33.708Z] 5c102a31e300: Download complete [2020-03-04T08:02:33.708Z] 5788d62ee057: Verifying Checksum [2020-03-04T08:02:33.708Z] 5788d62ee057: Download complete [2020-03-04T08:02:33.708Z] dcfb455df0a1: Verifying Checksum [2020-03-04T08:02:33.708Z] dcfb455df0a1: Download complete [2020-03-04T08:02:33.708Z] 9eb99e56ec68: Verifying Checksum [2020-03-04T08:02:33.708Z] 9eb99e56ec68: Download complete [2020-03-04T08:02:34.284Z] 0f37312ad70f: Pull complete [2020-03-04T08:02:40.801Z] 8a11ddd9e578: Pull complete [2020-03-04T08:02:40.801Z] 4cf88f913ddb: Pull complete [2020-03-04T08:02:40.801Z] 1df406cf5192: Pull complete [2020-03-04T08:02:40.862Z] 5788d62ee057: Pull complete [2020-03-04T08:02:40.862Z] 0e6b1d234666: Pull complete [2020-03-04T08:02:40.862Z] bf5d7aec512f: Pull complete [2020-03-04T08:02:44.201Z] 34c802a77dc8: Pull complete [2020-03-04T08:02:45.105Z] cd6300453558: Pull complete [2020-03-04T08:02:48.399Z] 9eb99e56ec68: Pull complete [2020-03-04T08:02:48.399Z] 27c7a5d97fbd: Pull complete [2020-03-04T08:02:48.975Z] 5c102a31e300: Pull complete [2020-03-04T08:02:49.235Z] dcfb455df0a1: Pull complete [2020-03-04T08:02:49.235Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-04T08:02:49.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-04T08:02:49.235Z] ---> 7c70fe431013 [2020-03-04T08:02:49.236Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:02:49.493Z] ---> Running in a97f79645198 [2020-03-04T08:02:49.493Z] Removing intermediate container a97f79645198 [2020-03-04T08:02:49.493Z] ---> 336dbd50e446 [2020-03-04T08:02:49.493Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T08:02:49.493Z] ---> Running in da24ae9660b2 [2020-03-04T08:02:50.430Z] Removing intermediate container da24ae9660b2 [2020-03-04T08:02:50.430Z] ---> d563b6c6cb75 [2020-03-04T08:02:50.430Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-04T08:02:50.430Z] ---> Running in 08b1a7b1a651 [2020-03-04T08:02:50.467Z] b9c365052c96: Pull complete [2020-03-04T08:02:50.467Z] a2d8cc88f415: Pull complete [2020-03-04T08:02:51.366Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-04T08:02:52.301Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-04T08:02:52.301Z] OK: 143 MiB in 39 packages [2020-03-04T08:02:52.444Z] ea1d1ca13537: Pull complete [2020-03-04T08:02:52.868Z] Removing intermediate container 08b1a7b1a651 [2020-03-04T08:02:52.868Z] ---> c78fca3f0785 [2020-03-04T08:02:52.868Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-04T08:02:52.868Z] ---> Running in fca7b6b4b374 [2020-03-04T08:02:52.868Z] Removing intermediate container fca7b6b4b374 [2020-03-04T08:02:52.868Z] ---> 8bfb8bd33c57 [2020-03-04T08:02:52.868Z] Step 7/8 : COPY . . [2020-03-04T08:02:53.037Z] 3750a50a1c5e: Pull complete [2020-03-04T08:02:53.037Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-04T08:02:53.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-04T08:02:53.037Z] ---> 78745c68409d [2020-03-04T08:02:53.037Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:02:53.441Z] ---> b8ad54fb00db [2020-03-04T08:02:53.441Z] Step 8/8 : RUN go mod download [2020-03-04T08:02:53.441Z] ---> Running in 7672f6dd53fc [2020-03-04T08:02:55.976Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-04T08:02:55.976Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-04T08:02:55.976Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-04T08:02:55.976Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-04T08:02:55.976Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-04T08:02:55.976Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-04T08:02:55.976Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-04T08:02:55.976Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-04T08:02:55.976Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-04T08:02:55.976Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-04T08:02:55.976Z] go: finding github.com/fatih/color v1.7.0 [2020-03-04T08:02:55.976Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-04T08:02:55.976Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-04T08:02:55.976Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-04T08:02:55.976Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-04T08:02:55.976Z] go: finding github.com/google/uuid v1.1.0 [2020-03-04T08:02:56.235Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-04T08:02:56.235Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-04T08:02:56.235Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-04T08:02:56.235Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-04T08:02:56.235Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-04T08:02:56.235Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-04T08:02:56.235Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-04T08:02:56.495Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-04T08:02:56.754Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-04T08:02:56.754Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-04T08:02:56.754Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-04T08:02:56.754Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-04T08:02:56.754Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-04T08:02:56.754Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-04T08:02:56.754Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-04T08:02:56.754Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-04T08:02:56.754Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-04T08:02:56.754Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-04T08:02:56.754Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-04T08:02:57.013Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-04T08:02:57.013Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-04T08:02:57.013Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-04T08:02:57.013Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-04T08:02:57.013Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-04T08:02:57.013Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-04T08:02:57.013Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-04T08:02:57.013Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-04T08:02:57.013Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T08:02:57.013Z] go: finding github.com/posener/complete v1.1.1 [2020-03-04T08:02:57.271Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-04T08:02:57.271Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-04T08:02:57.271Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T08:02:57.271Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T08:02:57.271Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-04T08:02:57.271Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-04T08:02:57.271Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-04T08:02:57.317Z] ---> Running in 13cce063fe17 [2020-03-04T08:02:57.317Z] Removing intermediate container 13cce063fe17 [2020-03-04T08:02:57.317Z] ---> b33eaebf7eb6 [2020-03-04T08:02:57.317Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T08:02:57.317Z] ---> Running in 7644dc1ac3a7 [2020-03-04T08:02:57.534Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-04T08:02:57.534Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-04T08:02:57.534Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-04T08:02:57.534Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-04T08:02:59.922Z] Removing intermediate container 7644dc1ac3a7 [2020-03-04T08:02:59.922Z] ---> 763ac31fff66 [2020-03-04T08:02:59.922Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-04T08:02:59.922Z] ---> Running in eab431ba2ac9 [2020-03-04T08:03:00.508Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-04T08:03:01.471Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-04T08:03:01.753Z] OK: 125 MiB in 39 packages [2020-03-04T08:03:03.177Z] Removing intermediate container eab431ba2ac9 [2020-03-04T08:03:03.177Z] ---> f4e7cb4b6d68 [2020-03-04T08:03:03.177Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-04T08:03:03.446Z] ---> Running in 4b9f82a47af9 [2020-03-04T08:03:03.715Z] Removing intermediate container 4b9f82a47af9 [2020-03-04T08:03:03.715Z] ---> 802b14899d2b [2020-03-04T08:03:03.715Z] Step 7/8 : COPY . . [2020-03-04T08:03:04.687Z] ---> a05e5c44b928 [2020-03-04T08:03:04.687Z] Step 8/8 : RUN go mod download [2020-03-04T08:03:04.957Z] ---> Running in 5792150141bc [2020-03-04T08:03:05.667Z] Removing intermediate container 7672f6dd53fc [2020-03-04T08:03:05.667Z] ---> 5c105c9d0a29 [2020-03-04T08:03:05.667Z] Successfully built 5c105c9d0a29 [2020-03-04T08:03:05.667Z] 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-04T08:03:06.280Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-04T08:03:06.280Z] . [Pipeline] withDockerContainer [2020-03-04T08:03:06.428Z] prd-centos7-docker-4c-2g-2199 does not seem to be running inside a container [2020-03-04T08:03:06.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-03-04T08:03:07.004Z] $ docker top f2994801c41bcf7909c949b4123ba1ef066612bceab5a8efe17612c96c511299 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T08:03:07.870Z] + go version [2020-03-04T08:03:07.870Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-04T08:03:08.184Z] + make test [2020-03-04T08:03:08.184Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-04T08:03:08.307Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-04T08:03:08.307Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-04T08:03:08.307Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-04T08:03:08.307Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-04T08:03:08.307Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-04T08:03:08.307Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-04T08:03:08.307Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-04T08:03:08.307Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-04T08:03:08.307Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-04T08:03:08.307Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-04T08:03:08.307Z] go: finding github.com/fatih/color v1.7.0 [2020-03-04T08:03:08.307Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-04T08:03:08.307Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-04T08:03:08.307Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-04T08:03:08.307Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-04T08:03:08.307Z] go: finding github.com/google/uuid v1.1.0 [2020-03-04T08:03:08.574Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-04T08:03:08.574Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-04T08:03:08.574Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-04T08:03:08.574Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-04T08:03:08.574Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-04T08:03:08.574Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-04T08:03:08.851Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-04T08:03:08.852Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-04T08:03:08.852Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-04T08:03:08.852Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-04T08:03:08.852Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-04T08:03:08.852Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-04T08:03:09.117Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-04T08:03:09.117Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-04T08:03:09.384Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-04T08:03:09.384Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-04T08:03:09.384Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-04T08:03:09.384Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-04T08:03:09.384Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-04T08:03:09.384Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-04T08:03:09.384Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-04T08:03:09.650Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-04T08:03:09.650Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-04T08:03:09.650Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-04T08:03:09.650Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-04T08:03:09.917Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-04T08:03:09.918Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-04T08:03:09.918Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-04T08:03:09.918Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-04T08:03:09.918Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-04T08:03:09.918Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T08:03:10.186Z] go: finding github.com/posener/complete v1.1.1 [2020-03-04T08:03:10.186Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-04T08:03:10.186Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-04T08:03:10.186Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T08:03:10.186Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T08:03:10.186Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-04T08:03:10.186Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-04T08:03:10.454Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-04T08:03:10.454Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-04T08:03:10.455Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-04T08:03:10.455Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-04T08:03:10.455Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-04T08:03:23.145Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-04T08:03:23.145Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-04T08:03:23.145Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-04T08:03:23.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 23.1% of statements [2020-03-04T08:03:23.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-03-04T08:03:26.459Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.092s coverage: 12.7% of statements [2020-03-04T08:03:26.459Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 25.6% of statements [2020-03-04T08:03:28.701Z] Removing intermediate container 5792150141bc [2020-03-04T08:03:28.701Z] ---> 8d545825ffb1 [2020-03-04T08:03:28.701Z] Successfully built 8d545825ffb1 [2020-03-04T08:03:28.701Z] 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-04T08:03:29.422Z] + docker inspect -f . ci-base-image-arm64 [2020-03-04T08:03:29.692Z] . [Pipeline] withDockerContainer [2020-03-04T08:03:30.059Z] prd-ubuntu18.04-docker-arm64-4c-16g-2198 does not seem to be running inside a container [2020-03-04T08:03:30.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-03-04T08:03:31.478Z] $ docker top c52effef67a956ad46d61535a9fb68cee201ae21377d895756de85ff0884a697 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T08:03:33.768Z] + go version [2020-03-04T08:03:33.768Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-04T08:03:34.441Z] + make test [2020-03-04T08:03:34.441Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-04T08:03:58.542Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.017s coverage: 30.0% of statements [2020-03-04T08:03:58.542Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.404s coverage: 42.3% of statements [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-04T08:03:58.542Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.331s coverage: 79.5% of statements [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-04T08:03:58.542Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements [2020-03-04T08:03:58.542Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 75.8% of statements [2020-03-04T08:03:58.542Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-04T08:03:58.542Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-04T08:03:58.542Z] gofmt -l . [2020-03-04T08:03:58.542Z] [ "`gofmt -l .`" = "" ] [2020-03-04T08:03:58.542Z] ./bin/test-attribution-txt.sh [2020-03-04T08:03:58.542Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-04T08:03:58.964Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T08:03:58.981Z] $ docker stop --time=1 f2994801c41bcf7909c949b4123ba1ef066612bceab5a8efe17612c96c511299 [2020-03-04T08:04:00.395Z] $ docker rm -f f2994801c41bcf7909c949b4123ba1ef066612bceab5a8efe17612c96c511299 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-04T08:04:01.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-04T08:04:02.077Z] + ls -al . [2020-03-04T08:04:02.077Z] total 200 [2020-03-04T08:04:02.077Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 4 08:03 . [2020-03-04T08:04:02.077Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 4 08:02 .. [2020-03-04T08:04:02.077Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 4 08:02 api [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 4 08:02 async.go [2020-03-04T08:04:02.077Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 4 08:02 bin [2020-03-04T08:04:02.077Z] -rw-r--r--. 1 jenkins jenkins 100859 Mar 4 08:03 coverage.out [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 4 08:02 Dockerfile.build [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 4 08:02 .dockerignore [2020-03-04T08:04:02.077Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 4 08:02 example [2020-03-04T08:04:02.077Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 4 08:02 .git [2020-03-04T08:04:02.077Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 4 08:02 .github [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 4 08:02 .gitignore [2020-03-04T08:04:02.077Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 4 08:03 go.mod [2020-03-04T08:04:02.077Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 4 08:03 go.sum [2020-03-04T08:04:02.077Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 4 08:02 internal [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 4 08:02 Jenkinsfile [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 4 08:02 LICENSE [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 4 08:02 Makefile [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 4 08:02 manageddevices.go [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 4 08:02 managedprofiles.go [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 4 08:02 managedwatchers.go [2020-03-04T08:04:02.077Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 4 08:02 pkg [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 4 08:02 README.md [2020-03-04T08:04:02.077Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 4 08:02 .semver [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 4 08:02 service.go [2020-03-04T08:04:02.077Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 4 08:02 snap [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 4 07:59 VERSION [2020-03-04T08:04:02.077Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 4 08:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:04:02.407Z] + 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=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 --label arch=amd64 --label version=0.0.0 . [2020-03-04T08:04:02.407Z] Sending build context to Docker daemon 2.802MB [2020-03-04T08:04:02.407Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-04T08:04:02.407Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-04T08:04:02.407Z] ---> 5c105c9d0a29 [2020-03-04T08:04:02.407Z] Step 3/20 : ARG MAKE='make build' [2020-03-04T08:04:02.667Z] ---> Running in d9b849bae123 [2020-03-04T08:04:02.667Z] Removing intermediate container d9b849bae123 [2020-03-04T08:04:02.667Z] ---> 884c30715378 [2020-03-04T08:04:02.667Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-04T08:04:02.667Z] ---> Running in 98337ab8d34d [2020-03-04T08:04:02.932Z] Removing intermediate container 98337ab8d34d [2020-03-04T08:04:02.932Z] ---> 8ca7481420fa [2020-03-04T08:04:02.932Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:04:02.932Z] ---> Running in cc3533234b2c [2020-03-04T08:04:02.932Z] Removing intermediate container cc3533234b2c [2020-03-04T08:04:02.932Z] ---> dc0657e0a502 [2020-03-04T08:04:02.932Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T08:04:02.932Z] ---> Running in 03e79f6ffd27 [2020-03-04T08:04:03.886Z] Removing intermediate container 03e79f6ffd27 [2020-03-04T08:04:03.886Z] ---> a88df3654320 [2020-03-04T08:04:03.886Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-04T08:04:03.886Z] ---> Running in 3b5d7a386fd4 [2020-03-04T08:04:04.146Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-04T08:04:05.082Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-04T08:04:05.082Z] OK: 143 MiB in 39 packages [2020-03-04T08:04:05.650Z] Removing intermediate container 3b5d7a386fd4 [2020-03-04T08:04:05.650Z] ---> 4d6ec108f89a [2020-03-04T08:04:05.650Z] Step 8/20 : COPY . . [2020-03-04T08:04:05.909Z] ---> 76e7c3d01c34 [2020-03-04T08:04:05.909Z] Step 9/20 : RUN ${MAKE} [2020-03-04T08:04:05.909Z] ---> Running in c5ca67a3222e [2020-03-04T08:04:06.168Z] 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-04T08:04:18.448Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-04T08:04:21.384Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-04T08:04:21.384Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-04T08:04:21.384Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-04T08:04:21.384Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 23.1% of statements [2020-03-04T08:04:21.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.182s coverage: 95.8% of statements [2020-03-04T08:04:21.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.051s coverage: 12.7% of statements [2020-03-04T08:04:21.385Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 25.6% of statements [2020-03-04T08:04:22.653Z] Removing intermediate container c5ca67a3222e [2020-03-04T08:04:22.654Z] ---> 4542291da634 [2020-03-04T08:04:22.654Z] Step 10/20 : FROM scratch [2020-03-04T08:04:22.654Z] ---> [2020-03-04T08:04:22.654Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:04:22.654Z] ---> Running in 1d138fa3d45b [2020-03-04T08:04:22.654Z] Removing intermediate container 1d138fa3d45b [2020-03-04T08:04:22.654Z] ---> e8e4707c7f90 [2020-03-04T08:04:22.654Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-04T08:04:22.654Z] ---> Running in 8c50155eee0f [2020-03-04T08:04:22.911Z] Removing intermediate container 8c50155eee0f [2020-03-04T08:04:22.911Z] ---> 50511523ac3c [2020-03-04T08:04:22.911Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-04T08:04:22.911Z] ---> Running in d08976b52acc [2020-03-04T08:04:22.911Z] Removing intermediate container d08976b52acc [2020-03-04T08:04:22.911Z] ---> f1bb054eb164 [2020-03-04T08:04:22.911Z] Step 14/20 : WORKDIR / [2020-03-04T08:04:22.911Z] ---> Running in 36a83f81a6f0 [2020-03-04T08:04:23.174Z] Removing intermediate container 36a83f81a6f0 [2020-03-04T08:04:23.174Z] ---> 97287b8e689f [2020-03-04T08:04:23.174Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-04T08:04:23.432Z] ---> d42600b2c096 [2020-03-04T08:04:23.432Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-04T08:04:23.693Z] ---> 42d12a813ea6 [2020-03-04T08:04:23.693Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-04T08:04:23.693Z] ---> Running in 42fa4843fb5d [2020-03-04T08:04:23.951Z] Removing intermediate container 42fa4843fb5d [2020-03-04T08:04:23.951Z] ---> 58d7767ab2fa [2020-03-04T08:04:23.951Z] Step 18/20 : LABEL arch=amd64 [2020-03-04T08:04:23.951Z] ---> Running in a2d3f3ad558c [2020-03-04T08:04:23.951Z] Removing intermediate container a2d3f3ad558c [2020-03-04T08:04:23.951Z] ---> 76c06c296231 [2020-03-04T08:04:23.951Z] Step 19/20 : LABEL git_sha=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:04:24.210Z] ---> Running in df1e8f4ec834 [2020-03-04T08:04:24.210Z] Removing intermediate container df1e8f4ec834 [2020-03-04T08:04:24.210Z] ---> 7c644e21de0d [2020-03-04T08:04:24.210Z] Step 20/20 : LABEL version=0.0.0 [2020-03-04T08:04:24.210Z] ---> Running in 9dcfb6233133 [2020-03-04T08:04:24.468Z] Removing intermediate container 9dcfb6233133 [2020-03-04T08:04:24.468Z] ---> 94cb5bfa476c [2020-03-04T08:04:24.468Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-04T08:04:24.468Z] Successfully built 94cb5bfa476c [2020-03-04T08:04:24.468Z] 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-04T08:04:53.651Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.099s coverage: 30.0% of statements [2020-03-04T08:04:53.651Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.384s coverage: 42.3% of statements [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-04T08:04:53.651Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.751s coverage: 79.5% of statements [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-04T08:04:53.651Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 52.6% of statements [2020-03-04T08:04:53.651Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.360s coverage: 75.8% of statements [2020-03-04T08:04:53.651Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-04T08:04:53.651Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-04T08:04:59.061Z] gofmt -l . [2020-03-04T08:04:59.061Z] [ "`gofmt -l .`" = "" ] [2020-03-04T08:04:59.061Z] ./bin/test-attribution-txt.sh [2020-03-04T08:04:59.650Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-04T08:05:00.286Z] Warning: overwriting stash ‘coverage-report’ [2020-03-04T08:05:00.750Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T08:05:00.763Z] $ docker stop --time=1 c52effef67a956ad46d61535a9fb68cee201ae21377d895756de85ff0884a697 [2020-03-04T08:05:02.941Z] $ docker rm -f c52effef67a956ad46d61535a9fb68cee201ae21377d895756de85ff0884a697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-04T08:05:04.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-04T08:05:04.563Z] + ls -al . [2020-03-04T08:05:04.563Z] total 240 [2020-03-04T08:05:04.563Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 4 08:05 . [2020-03-04T08:05:04.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 08:02 .. [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 08:02 .dockerignore [2020-03-04T08:05:04.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 08:02 .git [2020-03-04T08:05:04.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 08:02 .github [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 4 08:02 .gitignore [2020-03-04T08:05:04.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 08:02 .semver [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 4 08:02 Dockerfile.build [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 4 08:02 Jenkinsfile [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 4 08:02 LICENSE [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 4 08:02 Makefile [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 4 08:02 README.md [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 07:59 VERSION [2020-03-04T08:05:04.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 08:02 api [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 4 08:02 async.go [2020-03-04T08:05:04.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 08:02 bin [2020-03-04T08:05:04.563Z] -rw-r--r-- 1 jenkins jenkins 100859 Mar 4 08:04 coverage.out [2020-03-04T08:05:04.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 08:02 example [2020-03-04T08:05:04.563Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 4 08:04 go.mod [2020-03-04T08:05:04.563Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 4 08:04 go.sum [2020-03-04T08:05:04.563Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 4 08:02 internal [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 4 08:02 manageddevices.go [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 4 08:02 managedprofiles.go [2020-03-04T08:05:04.563Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 4 08:02 managedwatchers.go [2020-03-04T08:05:04.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 08:02 pkg [2020-03-04T08:05:04.564Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 4 08:02 service.go [2020-03-04T08:05:04.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 08:02 snap [2020-03-04T08:05:04.564Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 4 08:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:05:04.927Z] + 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=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 --label arch=arm64 --label version=0.0.0 . [2020-03-04T08:05:05.598Z] Sending build context to Docker daemon 2.802MB [2020-03-04T08:05:05.598Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-04T08:05:05.598Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-04T08:05:05.598Z] ---> 8d545825ffb1 [2020-03-04T08:05:05.598Z] Step 3/20 : ARG MAKE='make build' [2020-03-04T08:05:05.598Z] ---> Running in d417e2b9c6a2 [2020-03-04T08:05:06.193Z] Removing intermediate container d417e2b9c6a2 [2020-03-04T08:05:06.193Z] ---> 239a891b0626 [2020-03-04T08:05:06.193Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-04T08:05:06.193Z] ---> Running in b7120cb7f947 [2020-03-04T08:05:06.804Z] Removing intermediate container b7120cb7f947 [2020-03-04T08:05:06.804Z] ---> 92afc9cf64a9 [2020-03-04T08:05:06.804Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:05:06.804Z] ---> Running in a15442803d96 [2020-03-04T08:05:07.407Z] Removing intermediate container a15442803d96 [2020-03-04T08:05:07.407Z] ---> 96d89f4c75c0 [2020-03-04T08:05:07.407Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T08:05:07.408Z] ---> Running in 1829ee799453 [2020-03-04T08:05:09.371Z] Removing intermediate container 1829ee799453 [2020-03-04T08:05:09.371Z] ---> 6d3949da5efb [2020-03-04T08:05:09.371Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-04T08:05:09.371Z] ---> Running in fda4dab4e86d [2020-03-04T08:05:10.341Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-04T08:05:10.936Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-04T08:05:11.201Z] OK: 125 MiB in 39 packages [2020-03-04T08:05:12.614Z] Removing intermediate container fda4dab4e86d [2020-03-04T08:05:12.614Z] ---> b48476d01864 [2020-03-04T08:05:12.614Z] Step 8/20 : COPY . . [2020-03-04T08:05:13.586Z] ---> 3496c514d468 [2020-03-04T08:05:13.586Z] Step 9/20 : RUN ${MAKE} [2020-03-04T08:05:13.586Z] ---> Running in 932d056b0221 [2020-03-04T08:05:14.559Z] 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-04T08:05:53.489Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-04T08:06:05.852Z] Removing intermediate container 932d056b0221 [2020-03-04T08:06:05.852Z] ---> 6a720948e754 [2020-03-04T08:06:05.852Z] Step 10/20 : FROM scratch [2020-03-04T08:06:05.852Z] ---> [2020-03-04T08:06:05.852Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-04T08:06:05.852Z] ---> Running in eb22af53a2a1 [2020-03-04T08:06:05.852Z] Removing intermediate container eb22af53a2a1 [2020-03-04T08:06:05.852Z] ---> 0c8346b97865 [2020-03-04T08:06:05.852Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-04T08:06:05.852Z] ---> Running in 7764936811bb [2020-03-04T08:06:05.852Z] Removing intermediate container 7764936811bb [2020-03-04T08:06:05.852Z] ---> edd64f30d14e [2020-03-04T08:06:05.852Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-04T08:06:05.852Z] ---> Running in 8280ba445bc9 [2020-03-04T08:06:05.852Z] Removing intermediate container 8280ba445bc9 [2020-03-04T08:06:05.852Z] ---> f564c2dff672 [2020-03-04T08:06:05.852Z] Step 14/20 : WORKDIR / [2020-03-04T08:06:05.852Z] ---> Running in 9088d36f4bca [2020-03-04T08:06:05.852Z] Removing intermediate container 9088d36f4bca [2020-03-04T08:06:05.852Z] ---> 49261f626dd1 [2020-03-04T08:06:05.852Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-04T08:06:06.814Z] ---> e0a87dbc6b8f [2020-03-04T08:06:06.814Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-04T08:06:07.399Z] ---> c649f31943fc [2020-03-04T08:06:07.399Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-04T08:06:07.666Z] ---> Running in aa59074f355e [2020-03-04T08:06:07.937Z] Removing intermediate container aa59074f355e [2020-03-04T08:06:07.937Z] ---> 695a731784db [2020-03-04T08:06:07.937Z] Step 18/20 : LABEL arch=arm64 [2020-03-04T08:06:07.937Z] ---> Running in 36f5c26ea1ea [2020-03-04T08:06:08.538Z] Removing intermediate container 36f5c26ea1ea [2020-03-04T08:06:08.538Z] ---> 9f4b1ab5ea53 [2020-03-04T08:06:08.538Z] Step 19/20 : LABEL git_sha=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [2020-03-04T08:06:08.538Z] ---> Running in ec6bc9430f7c [2020-03-04T08:06:08.813Z] Removing intermediate container ec6bc9430f7c [2020-03-04T08:06:08.813Z] ---> 064357a41a39 [2020-03-04T08:06:08.813Z] Step 20/20 : LABEL version=0.0.0 [2020-03-04T08:06:09.081Z] ---> Running in 9d5ab8e2e710 [2020-03-04T08:06:09.353Z] Removing intermediate container 9d5ab8e2e710 [2020-03-04T08:06:09.353Z] ---> 64114ecbacd7 [2020-03-04T08:06:09.353Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-04T08:06:09.353Z] Successfully built 64114ecbacd7 [2020-03-04T08:06:09.353Z] 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-04T08:06:10.346Z] provisioning config files... [2020-03-04T08:06:10.370Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/config864879573157985226tmp [Pipeline] { [Pipeline] sh [2020-03-04T08:06:10.735Z] + curl -s https://codecov.io/bash [2020-03-04T08:06:10.735Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/config864879573157985226tmp [2020-03-04T08:06:10.998Z] [2020-03-04T08:06:10.998Z] _____ _ [2020-03-04T08:06:10.998Z] / ____| | | [2020-03-04T08:06:10.998Z] | | ___ __| | ___ ___ _____ __ [2020-03-04T08:06:10.998Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-04T08:06:10.998Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-04T08:06:10.998Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-04T08:06:10.998Z] Bash-20200214-585fef0 [2020-03-04T08:06:10.998Z] [2020-03-04T08:06:10.998Z] [2020-03-04T08:06:10.998Z] ==> Jenkins CI detected. [2020-03-04T08:06:10.998Z] project root: . [2020-03-04T08:06:10.998Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-04T08:06:10.998Z] ==> Running gcov in . (disable via -X gcov) [2020-03-04T08:06:10.998Z] ==> Python coveragepy not found [2020-03-04T08:06:10.998Z] ==> Searching for coverage reports in: [2020-03-04T08:06:10.998Z] + . [2020-03-04T08:06:10.998Z] -> Found 1 reports [2020-03-04T08:06:10.998Z] ==> Detecting git/mercurial file structure [2020-03-04T08:06:10.998Z] ==> Reading reports [2020-03-04T08:06:10.998Z] + ./coverage.out bytes=100859 [2020-03-04T08:06:10.998Z] ==> Appending adjustments [2020-03-04T08:06:10.998Z] http://docs.codecov.io/docs/fixing-reports [2020-03-04T08:06:11.262Z] + Found adjustments [2020-03-04T08:06:11.262Z] ==> Gzipping contents [2020-03-04T08:06:11.262Z] ==> Uploading reports [2020-03-04T08:06:11.262Z] url: https://codecov.io [2020-03-04T08:06:11.262Z] query: branch=PR-458&commit=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=458&job= [2020-03-04T08:06:11.262Z] -> Pinging Codecov [2020-03-04T08:06:11.262Z] https://codecov.io/upload/v4?package=bash-20200214-585fef0&token=secret&branch=PR-458&commit=f7925d5125e308f94a78d3ec3f8c1c6ed0124a56&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=458&job= [2020-03-04T08:06:11.839Z] -> Uploading [2020-03-04T08:06:12.418Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f7925d5125e308f94a78d3ec3f8c1c6ed0124a56 [Pipeline] } [2020-03-04T08:06:12.447Z] 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-04T08:06:13.655Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T08:06:13.985Z] ---> package-listing.sh [2020-03-04T08:06:13.985Z] ++ facter osfamily [2020-03-04T08:06:13.985Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-04T08:06:13.985Z] + OS_FAMILY=redhat [2020-03-04T08:06:13.985Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-458 [2020-03-04T08:06:13.985Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-04T08:06:13.985Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-04T08:06:13.985Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-04T08:06:13.985Z] + PACKAGES=/tmp/packages_start.txt [2020-03-04T08:06:13.985Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-458 ']' [2020-03-04T08:06:13.985Z] + PACKAGES=/tmp/packages_end.txt [2020-03-04T08:06:13.985Z] + case "${OS_FAMILY}" in [2020-03-04T08:06:13.985Z] + rpm -qa [2020-03-04T08:06:13.985Z] + sort [2020-03-04T08:06:18.195Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-04T08:06:18.195Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-04T08:06:18.195Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-04T08:06:18.195Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-458 ']' [2020-03-04T08:06:18.195Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-458/archives/ [2020-03-04T08:06:18.195Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-458/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:06:18.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T08:06:18.674Z] [2020-03-04T08:06:18.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-04T08:06:19.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T08:06:19.037Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-04T08:06:19.037Z] c9b1b535fdd9: Pulling fs layer [2020-03-04T08:06:19.037Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-04T08:06:19.037Z] 756a868c4378: Pulling fs layer [2020-03-04T08:06:19.037Z] 444b2fc9a129: Pulling fs layer [2020-03-04T08:06:19.037Z] ea15f1150254: Pulling fs layer [2020-03-04T08:06:19.037Z] e81d8b4f9b56: Pulling fs layer [2020-03-04T08:06:19.037Z] 00274e75389d: Pulling fs layer [2020-03-04T08:06:19.037Z] 342a42058068: Pulling fs layer [2020-03-04T08:06:19.037Z] b4ef6b84b633: Pulling fs layer [2020-03-04T08:06:19.037Z] c33f2005cb31: Pulling fs layer [2020-03-04T08:06:19.037Z] ea15f1150254: Waiting [2020-03-04T08:06:19.037Z] e81d8b4f9b56: Waiting [2020-03-04T08:06:19.037Z] 00274e75389d: Waiting [2020-03-04T08:06:19.037Z] 342a42058068: Waiting [2020-03-04T08:06:19.037Z] b4ef6b84b633: Waiting [2020-03-04T08:06:19.037Z] c33f2005cb31: Waiting [2020-03-04T08:06:19.037Z] 444b2fc9a129: Waiting [2020-03-04T08:06:19.037Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-04T08:06:19.037Z] 2cc5ad85d9ab: Download complete [2020-03-04T08:06:19.037Z] 444b2fc9a129: Verifying Checksum [2020-03-04T08:06:19.037Z] 444b2fc9a129: Download complete [2020-03-04T08:06:19.037Z] c9b1b535fdd9: Verifying Checksum [2020-03-04T08:06:19.037Z] ea15f1150254: Verifying Checksum [2020-03-04T08:06:19.037Z] ea15f1150254: Download complete [2020-03-04T08:06:19.304Z] 00274e75389d: Verifying Checksum [2020-03-04T08:06:19.304Z] 00274e75389d: Download complete [2020-03-04T08:06:19.304Z] c9b1b535fdd9: Pull complete [2020-03-04T08:06:19.575Z] 756a868c4378: Verifying Checksum [2020-03-04T08:06:19.575Z] 756a868c4378: Download complete [2020-03-04T08:06:19.575Z] 2cc5ad85d9ab: Pull complete [2020-03-04T08:06:19.841Z] b4ef6b84b633: Verifying Checksum [2020-03-04T08:06:19.841Z] b4ef6b84b633: Download complete [2020-03-04T08:06:19.841Z] c33f2005cb31: Verifying Checksum [2020-03-04T08:06:19.841Z] c33f2005cb31: Download complete [2020-03-04T08:06:19.841Z] 342a42058068: Verifying Checksum [2020-03-04T08:06:19.841Z] 342a42058068: Download complete [2020-03-04T08:06:20.417Z] e81d8b4f9b56: Verifying Checksum [2020-03-04T08:06:20.417Z] e81d8b4f9b56: Download complete [2020-03-04T08:06:21.373Z] 756a868c4378: Pull complete [2020-03-04T08:06:21.373Z] 444b2fc9a129: Pull complete [2020-03-04T08:06:21.636Z] ea15f1150254: Pull complete [2020-03-04T08:06:24.952Z] e81d8b4f9b56: Pull complete [2020-03-04T08:06:24.952Z] 00274e75389d: Pull complete [2020-03-04T08:06:26.884Z] 342a42058068: Pull complete [2020-03-04T08:06:27.146Z] b4ef6b84b633: Pull complete [2020-03-04T08:06:27.146Z] c33f2005cb31: Pull complete [2020-03-04T08:06:27.147Z] Digest: sha256:6606f64f7576e5a87c7c61035e879b05704f78def72d15dee56fd69075fafeb1 [2020-03-04T08:06:27.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-04T08:06:27.340Z] prd-centos7-docker-4c-2g-2197 does not seem to be running inside a container [2020-03-04T08:06:27.386Z] $ 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-458 -v /w/workspace/dgexfoundry_device-sdk-go_PR-458:/w/workspace/dgexfoundry_device-sdk-go_PR-458:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-458@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-04T08:06:28.455Z] $ docker top b73aae7f54872aae649112b67050142cf214c8d1e4596101e867eb18535a39f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-04T08:06:29.083Z] provisioning config files... [2020-03-04T08:06:29.096Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-458@tmp/config2983954535217586747tmp [Pipeline] { [Pipeline] echo [2020-03-04T08:06:29.143Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T08:06:29.485Z] ---> create-netrc.sh [Pipeline] echo [2020-03-04T08:06:29.513Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T08:06:29.851Z] ---> logs-deploy.sh [2020-03-04T08:06:29.852Z] + ARCHIVE_ARTIFACTS= [2020-03-04T08:06:29.852Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-04T08:06:29.852Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-04T08:06:29.852Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-04T08:06:29.852Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-458/1 [2020-03-04T08:06:29.852Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-458/1/ [2020-03-04T08:06:29.852Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-458/1 /w/workspace/dgexfoundry_device-sdk-go_PR-458 [2020-03-04T08:06:31.246Z] Archives upload complete. [2020-03-04T08:06:31.246Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-458/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-458/1/