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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 00653bff75031769b17374a6b15ddb1c4ef00afb+216cade7f2e553cd85bebefedf8dad939aae0897 (c5b260fad5f1b3523973b10406e33ff6c6e39f01) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1362’ Running on prd-centos7-docker-4c-2g-1365 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [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-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 0ad7407c629d9b5154a96715c1f8bb939cab194b Checking out Revision 0ad7407c629d9b5154a96715c1f8bb939cab194b (PR-467) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ad7407c629d9b5154a96715c1f8bb939cab194b # timeout=10 Commit message: "Merge commit '216cade7f2e553cd85bebefedf8dad939aae0897' into HEAD" > git rev-list --no-walk 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-30T14:42:03.138Z] 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-30T14:42:05.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:42:05.100Z] [2020-03-30T14:42:05.100Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:42:05.450Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:42:05.450Z] latest: Pulling from edgex-devops/git-semver [2020-03-30T14:42:05.450Z] 9123ac7c32f7: Pulling fs layer [2020-03-30T14:42:05.450Z] b8cc5d1170e3: Pulling fs layer [2020-03-30T14:42:05.450Z] 2924cbbf6a41: Pulling fs layer [2020-03-30T14:42:05.450Z] 93b08a4f1073: Pulling fs layer [2020-03-30T14:42:05.450Z] 93b08a4f1073: Waiting [2020-03-30T14:42:05.450Z] b8cc5d1170e3: Verifying Checksum [2020-03-30T14:42:05.450Z] b8cc5d1170e3: Download complete [2020-03-30T14:42:05.710Z] 9123ac7c32f7: Verifying Checksum [2020-03-30T14:42:05.710Z] 9123ac7c32f7: Download complete [2020-03-30T14:42:05.710Z] 93b08a4f1073: Verifying Checksum [2020-03-30T14:42:05.710Z] 93b08a4f1073: Download complete [2020-03-30T14:42:05.710Z] 2924cbbf6a41: Verifying Checksum [2020-03-30T14:42:05.710Z] 2924cbbf6a41: Download complete [2020-03-30T14:42:05.710Z] 9123ac7c32f7: Pull complete [2020-03-30T14:42:05.968Z] b8cc5d1170e3: Pull complete [2020-03-30T14:42:06.538Z] 2924cbbf6a41: Pull complete [2020-03-30T14:42:06.796Z] 93b08a4f1073: Pull complete [2020-03-30T14:42:06.796Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-30T14:42:06.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-30T14:42:06.922Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2020-03-30T14:42:06.969Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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:10004/edgex-devops/git-semver:latest cat [2020-03-30T14:42:07.559Z] $ docker top 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T14:42:07.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:42:07.810Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:42:08.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:42:08.032Z] $ docker exec 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a ssh-agent [2020-03-30T14:42:08.206Z] SSH_AUTH_SOCK=/tmp/ssh-6RaFD7fE1l7Y/agent.15 [2020-03-30T14:42:08.206Z] SSH_AGENT_PID=22 [2020-03-30T14:42:08.217Z] Running ssh-add (command line suppressed) [2020-03-30T14:42:08.350Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_819669406250887536.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_819669406250887536.key) [2020-03-30T14:42:08.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:42:08.708Z] + git describe --exact-match --tags HEAD [2020-03-30T14:42:08.708Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-30T14:42:08.759Z] $ docker exec --env ******** --env ******** 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a ssh-agent -k [2020-03-30T14:42:08.907Z] unset SSH_AUTH_SOCK; [2020-03-30T14:42:08.908Z] unset SSH_AGENT_PID; [2020-03-30T14:42:08.908Z] echo Agent pid 22 killed; [2020-03-30T14:42:08.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-30T14:42:09.015Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-30T14:42:09.015Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-30T14:42:09.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:42:09.092Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:42:09.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:42:09.274Z] $ docker exec 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a ssh-agent [2020-03-30T14:42:09.461Z] SSH_AUTH_SOCK=/tmp/ssh-QF6keZd3ev2H/agent.56 [2020-03-30T14:42:09.461Z] SSH_AGENT_PID=63 [2020-03-30T14:42:09.469Z] Running ssh-add (command line suppressed) [2020-03-30T14:42:09.601Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_4139073095546557968.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_4139073095546557968.key) [2020-03-30T14:42:09.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:42:09.976Z] + git semver init [2020-03-30T14:42:09.976Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T14:42:09.976Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git [2020-03-30T14:42:09.976Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-30T14:42:09.976Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T14:42:09.976Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T14:42:09.976Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T14:42:09.976Z] # $SEMVER_BRANCH = PR-467 [2020-03-30T14:42:09.976Z] # $SEMVER_TEMP = /tmp/semver-257234202 [2020-03-30T14:42:09.976Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-30T14:42:10.543Z] # '/tmp/semver-257234202' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' [2020-03-30T14:42:10.543Z] # -> Force: false [2020-03-30T14:42:10.543Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } [2020-03-30T14:42:10.551Z] $ docker exec --env ******** --env ******** 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a ssh-agent -k [2020-03-30T14:42:10.677Z] unset SSH_AUTH_SOCK; [2020-03-30T14:42:10.678Z] unset SSH_AGENT_PID; [2020-03-30T14:42:10.678Z] echo Agent pid 63 killed; [2020-03-30T14:42:10.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T14:42:11.136Z] + git semver [Pipeline] } [2020-03-30T14:42:11.150Z] $ docker stop --time=1 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a [2020-03-30T14:42:12.468Z] $ docker rm -f 4ba20b38f9b19a4d25598eccaa10de6887b73a6e4c53104eec1fcf76955ad17a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-30T14:42:13.203Z] Stashed 34 file(s) [Pipeline] echo [2020-03-30T14:42:13.205Z] [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-30T14:42:28.480Z] Still waiting to schedule task [2020-03-30T14:42:28.480Z] ‘prd-centos7-docker-4c-2g-1362’ is offline; ‘prd-centos7-docker-4c-2g-1368’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1363’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-30T14:42:28.481Z] Still waiting to schedule task [2020-03-30T14:42:28.481Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1363’ is offline [2020-03-30T14:43:12.008Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1367 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-30T14:43:12.075Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-30T14:43:19.146Z] using credential edgex-jenkins-ssh [2020-03-30T14:43:19.230Z] Cloning the remote Git repository [2020-03-30T14:43:19.230Z] Cloning with configured refspecs honoured and without tags [2020-03-30T14:43:19.326Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:19.396Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-30T14:43:19.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:19.563Z] > git --version # timeout=10 [2020-03-30T14:43:19.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:19.806Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:21.410Z] Fetching without tags [2020-03-30T14:43:21.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:43:21.237Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-30T14:43:21.286Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:21.350Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:43:21.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:21.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:21.468Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:22.017Z] Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-30T14:43:22.525Z] Merge succeeded, producing 8dc0a0885ca766aa390393e77b4634561b847735 [2020-03-30T14:43:22.526Z] Checking out Revision 8dc0a0885ca766aa390393e77b4634561b847735 (PR-467) [2020-03-30T14:43:22.046Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:43:22.102Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-30T14:43:22.240Z] > git remote # timeout=10 [2020-03-30T14:43:22.283Z] > git config --get remote.origin.url # timeout=10 [2020-03-30T14:43:22.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:22.328Z] > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-30T14:43:22.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-30T14:43:22.536Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:43:22.600Z] > git checkout -f 8dc0a0885ca766aa390393e77b4634561b847735 # timeout=10 [2020-03-30T14:43:24.397Z] Running on prd-centos7-docker-4c-2g-1370 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-30T14:43:24.438Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-30T14:43:26.808Z] Commit message: "Merge commit '216cade7f2e553cd85bebefedf8dad939aae0897' into HEAD" [2020-03-30T14:43:26.818Z] > git rev-list --no-walk 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-30T14:43:28.071Z] using credential edgex-jenkins-ssh [2020-03-30T14:43:28.119Z] Cloning the remote Git repository [2020-03-30T14:43:28.119Z] Cloning with configured refspecs honoured and without tags [Pipeline] echo [2020-03-30T14:43:28.271Z] ========================================================= [2020-03-30T14:43:28.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-30T14:43:28.271Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:43:27.630Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:27.686Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-30T14:43:27.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:27.751Z] > git --version # timeout=10 [2020-03-30T14:43:27.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:27.797Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:29.044Z] Fetching without tags [2020-03-30T14:43:29.462Z] Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-30T14:43:28.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:43:28.533Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-30T14:43:28.546Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:28.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:43:28.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:43:28.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:28.622Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:43:29.058Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:43:29.067Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-30T14:43:29.549Z] + 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-30T14:43:29.587Z] Merge succeeded, producing aab822c7bc0f40eff7ce0073d11620cf82f2d51b [2020-03-30T14:43:29.587Z] Checking out Revision aab822c7bc0f40eff7ce0073d11620cf82f2d51b (PR-467) [2020-03-30T14:43:30.524Z] Sending build context to Docker daemon 2.777MB [2020-03-30T14:43:30.524Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T14:43:30.524Z] Step 2/8 : FROM ${BASE} [2020-03-30T14:43:29.125Z] > git remote # timeout=10 [2020-03-30T14:43:29.132Z] > git config --get remote.origin.url # timeout=10 [2020-03-30T14:43:29.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:43:29.143Z] > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-30T14:43:29.179Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-30T14:43:29.188Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:43:29.195Z] > git checkout -f aab822c7bc0f40eff7ce0073d11620cf82f2d51b # timeout=10 [2020-03-30T14:43:30.794Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-30T14:43:30.795Z] cde5963f3b93: Pulling fs layer [2020-03-30T14:43:30.795Z] 2a23fa8c16f7: Pulling fs layer [2020-03-30T14:43:30.795Z] 777b28850792: Pulling fs layer [2020-03-30T14:43:30.795Z] 8a11ddd9e578: Pulling fs layer [2020-03-30T14:43:30.795Z] 4cf88f913ddb: Pulling fs layer [2020-03-30T14:43:30.795Z] 1df406cf5192: Pulling fs layer [2020-03-30T14:43:30.795Z] cd6300453558: Pulling fs layer [2020-03-30T14:43:30.795Z] b9c365052c96: Pulling fs layer [2020-03-30T14:43:30.795Z] a2d8cc88f415: Pulling fs layer [2020-03-30T14:43:30.795Z] 8a11ddd9e578: Waiting [2020-03-30T14:43:30.795Z] ea1d1ca13537: Pulling fs layer [2020-03-30T14:43:30.795Z] 3750a50a1c5e: Pulling fs layer [2020-03-30T14:43:30.795Z] cd6300453558: Waiting [2020-03-30T14:43:30.795Z] b9c365052c96: Waiting [2020-03-30T14:43:30.795Z] a2d8cc88f415: Waiting [2020-03-30T14:43:30.795Z] ea1d1ca13537: Waiting [2020-03-30T14:43:30.795Z] 3750a50a1c5e: Waiting [2020-03-30T14:43:30.795Z] 4cf88f913ddb: Waiting [2020-03-30T14:43:30.795Z] 1df406cf5192: Waiting [2020-03-30T14:43:30.795Z] 777b28850792: Verifying Checksum [2020-03-30T14:43:30.795Z] 777b28850792: Download complete [2020-03-30T14:43:30.795Z] 2a23fa8c16f7: Verifying Checksum [2020-03-30T14:43:30.795Z] 2a23fa8c16f7: Download complete [2020-03-30T14:43:30.795Z] 4cf88f913ddb: Download complete [2020-03-30T14:43:30.795Z] 1df406cf5192: Verifying Checksum [2020-03-30T14:43:30.795Z] 1df406cf5192: Download complete [2020-03-30T14:43:31.067Z] cde5963f3b93: Verifying Checksum [2020-03-30T14:43:31.067Z] cde5963f3b93: Download complete [2020-03-30T14:43:32.041Z] cde5963f3b93: Pull complete [2020-03-30T14:43:32.630Z] 2a23fa8c16f7: Pull complete [2020-03-30T14:43:32.902Z] 777b28850792: Pull complete [2020-03-30T14:43:33.477Z] Commit message: "Merge commit '216cade7f2e553cd85bebefedf8dad939aae0897' into HEAD" [2020-03-30T14:43:33.404Z] > git rev-list --no-walk 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-30T14:43:34.409Z] ========================================================= [2020-03-30T14:43:34.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-30T14:43:34.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:43:35.109Z] + 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-30T14:43:35.526Z] cd6300453558: Verifying Checksum [2020-03-30T14:43:35.526Z] cd6300453558: Download complete [2020-03-30T14:43:35.526Z] a2d8cc88f415: Verifying Checksum [2020-03-30T14:43:35.526Z] a2d8cc88f415: Download complete [2020-03-30T14:43:35.682Z] Sending build context to Docker daemon 2.777MB [2020-03-30T14:43:35.682Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T14:43:35.682Z] Step 2/8 : FROM ${BASE} [2020-03-30T14:43:35.682Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-30T14:43:35.682Z] e6b0cf9c0882: Pulling fs layer [2020-03-30T14:43:35.682Z] 2848faf0eed1: Pulling fs layer [2020-03-30T14:43:35.682Z] 0f37312ad70f: Pulling fs layer [2020-03-30T14:43:35.682Z] 5788d62ee057: Pulling fs layer [2020-03-30T14:43:35.682Z] 0e6b1d234666: Pulling fs layer [2020-03-30T14:43:35.682Z] bf5d7aec512f: Pulling fs layer [2020-03-30T14:43:35.682Z] 34c802a77dc8: Pulling fs layer [2020-03-30T14:43:35.682Z] 9eb99e56ec68: Pulling fs layer [2020-03-30T14:43:35.682Z] 27c7a5d97fbd: Pulling fs layer [2020-03-30T14:43:35.682Z] 5c102a31e300: Pulling fs layer [2020-03-30T14:43:35.682Z] dcfb455df0a1: Pulling fs layer [2020-03-30T14:43:35.682Z] 5788d62ee057: Waiting [2020-03-30T14:43:35.682Z] 0e6b1d234666: Waiting [2020-03-30T14:43:35.682Z] bf5d7aec512f: Waiting [2020-03-30T14:43:35.682Z] 34c802a77dc8: Waiting [2020-03-30T14:43:35.682Z] 9eb99e56ec68: Waiting [2020-03-30T14:43:35.682Z] 27c7a5d97fbd: Waiting [2020-03-30T14:43:35.682Z] 5c102a31e300: Waiting [2020-03-30T14:43:35.682Z] dcfb455df0a1: Waiting [2020-03-30T14:43:35.682Z] 0f37312ad70f: Verifying Checksum [2020-03-30T14:43:35.682Z] 0f37312ad70f: Download complete [2020-03-30T14:43:35.682Z] 2848faf0eed1: Download complete [2020-03-30T14:43:35.682Z] 0e6b1d234666: Verifying Checksum [2020-03-30T14:43:35.682Z] 0e6b1d234666: Download complete [2020-03-30T14:43:35.682Z] bf5d7aec512f: Download complete [2020-03-30T14:43:35.682Z] e6b0cf9c0882: Verifying Checksum [2020-03-30T14:43:35.682Z] e6b0cf9c0882: Download complete [2020-03-30T14:43:36.261Z] e6b0cf9c0882: Pull complete [2020-03-30T14:43:36.528Z] 2848faf0eed1: Pull complete [2020-03-30T14:43:36.528Z] 0f37312ad70f: Pull complete [2020-03-30T14:43:37.154Z] 34c802a77dc8: Verifying Checksum [2020-03-30T14:43:37.154Z] 34c802a77dc8: Download complete [2020-03-30T14:43:37.154Z] 27c7a5d97fbd: Download complete [2020-03-30T14:43:38.122Z] 5c102a31e300: Verifying Checksum [2020-03-30T14:43:38.122Z] 5c102a31e300: Download complete [2020-03-30T14:43:38.122Z] 5788d62ee057: Verifying Checksum [2020-03-30T14:43:38.122Z] 5788d62ee057: Download complete [2020-03-30T14:43:38.122Z] 9eb99e56ec68: Verifying Checksum [2020-03-30T14:43:38.122Z] 9eb99e56ec68: Download complete [2020-03-30T14:43:38.122Z] dcfb455df0a1: Verifying Checksum [2020-03-30T14:43:38.122Z] dcfb455df0a1: Download complete [2020-03-30T14:43:38.153Z] ea1d1ca13537: Verifying Checksum [2020-03-30T14:43:38.153Z] ea1d1ca13537: Download complete [2020-03-30T14:43:39.125Z] 3750a50a1c5e: Verifying Checksum [2020-03-30T14:43:39.125Z] 3750a50a1c5e: Download complete [2020-03-30T14:43:41.716Z] b9c365052c96: Verifying Checksum [2020-03-30T14:43:41.716Z] b9c365052c96: Download complete [2020-03-30T14:43:42.695Z] 8a11ddd9e578: Download complete [2020-03-30T14:43:44.720Z] 5788d62ee057: Pull complete [2020-03-30T14:43:44.720Z] 0e6b1d234666: Pull complete [2020-03-30T14:43:44.720Z] bf5d7aec512f: Pull complete [2020-03-30T14:43:48.985Z] 34c802a77dc8: Pull complete [2020-03-30T14:43:53.209Z] 9eb99e56ec68: Pull complete [2020-03-30T14:43:53.209Z] 27c7a5d97fbd: Pull complete [2020-03-30T14:43:53.786Z] 5c102a31e300: Pull complete [2020-03-30T14:43:53.786Z] dcfb455df0a1: Pull complete [2020-03-30T14:43:54.047Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-30T14:43:54.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-30T14:43:54.047Z] ---> 7c70fe431013 [2020-03-30T14:43:54.047Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:43:54.047Z] ---> Running in 5ddb225eac8b [2020-03-30T14:43:54.047Z] Removing intermediate container 5ddb225eac8b [2020-03-30T14:43:54.047Z] ---> e807eddf4cd5 [2020-03-30T14:43:54.047Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:43:54.311Z] ---> Running in 2a5d59ef3688 [2020-03-30T14:43:55.057Z] 8a11ddd9e578: Pull complete [2020-03-30T14:43:55.057Z] 4cf88f913ddb: Pull complete [2020-03-30T14:43:55.057Z] 1df406cf5192: Pull complete [2020-03-30T14:43:55.269Z] Removing intermediate container 2a5d59ef3688 [2020-03-30T14:43:55.269Z] ---> 2b0552b5c284 [2020-03-30T14:43:55.269Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T14:43:55.269Z] ---> Running in 942d6a3f2498 [2020-03-30T14:43:55.528Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T14:43:56.469Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T14:43:56.727Z] OK: 143 MiB in 39 packages [2020-03-30T14:43:56.986Z] Removing intermediate container 942d6a3f2498 [2020-03-30T14:43:56.986Z] ---> 52dd1524c504 [2020-03-30T14:43:56.986Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T14:43:56.986Z] ---> Running in b6f5b2ac0c24 [2020-03-30T14:43:57.245Z] Removing intermediate container b6f5b2ac0c24 [2020-03-30T14:43:57.245Z] ---> ec30bcb8e7e8 [2020-03-30T14:43:57.245Z] Step 7/8 : COPY . . [2020-03-30T14:43:57.813Z] ---> 77b4bde0def8 [2020-03-30T14:43:57.813Z] Step 8/8 : RUN go mod download [2020-03-30T14:43:57.813Z] ---> Running in bc263f599fde [2020-03-30T14:43:59.724Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T14:43:59.724Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T14:43:59.724Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T14:43:59.724Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T14:43:59.724Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T14:43:59.724Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T14:43:59.724Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T14:43:59.724Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T14:43:59.724Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T14:43:59.724Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T14:43:59.724Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T14:43:59.724Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T14:43:59.724Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T14:43:59.724Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T14:43:59.724Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T14:43:59.724Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T14:43:59.724Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T14:43:59.724Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T14:43:59.724Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T14:43:59.724Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T14:43:59.724Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T14:43:59.724Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T14:43:59.724Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T14:43:59.724Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T14:43:59.724Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T14:43:59.724Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T14:43:59.724Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T14:43:59.724Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T14:43:59.724Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T14:43:59.724Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T14:43:59.724Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T14:43:59.724Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T14:43:59.724Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T14:43:59.724Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T14:43:59.724Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T14:43:59.724Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T14:43:59.724Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T14:43:59.724Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T14:43:59.724Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T14:43:59.724Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T14:44:00.430Z] cd6300453558: Pull complete [2020-03-30T14:44:04.722Z] b9c365052c96: Pull complete [2020-03-30T14:44:04.991Z] a2d8cc88f415: Pull complete [2020-03-30T14:44:06.943Z] ea1d1ca13537: Pull complete [2020-03-30T14:44:07.212Z] 3750a50a1c5e: Pull complete [2020-03-30T14:44:07.212Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-30T14:44:07.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-30T14:44:07.212Z] ---> 78745c68409d [2020-03-30T14:44:07.212Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:44:07.894Z] Removing intermediate container bc263f599fde [2020-03-30T14:44:07.894Z] ---> 0d1d6c9158a5 [2020-03-30T14:44:07.894Z] Successfully built 0d1d6c9158a5 [2020-03-30T14:44:07.894Z] 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-30T14:44:08.529Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-30T14:44:08.529Z] . [Pipeline] withDockerContainer [2020-03-30T14:44:08.710Z] prd-centos7-docker-4c-2g-1370 does not seem to be running inside a container [2020-03-30T14:44:08.810Z] $ 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 ******** ci-base-image-x86_64 cat [2020-03-30T14:44:09.554Z] $ docker top 29f4cb1578ac33b734da64f42c26a325be430b34fdb9cb6b19a7f415e4c59a56 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T14:44:10.154Z] + go version [2020-03-30T14:44:10.154Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-30T14:44:10.478Z] + make test [2020-03-30T14:44:10.478Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T14:44:12.594Z] ---> Running in 91b014a4ee79 [2020-03-30T14:44:12.594Z] Removing intermediate container 91b014a4ee79 [2020-03-30T14:44:12.594Z] ---> 32c86f4d5808 [2020-03-30T14:44:12.594Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:44:12.594Z] ---> Running in d655cd4844bb [2020-03-30T14:44:14.555Z] Removing intermediate container d655cd4844bb [2020-03-30T14:44:14.555Z] ---> 1489772e04ac [2020-03-30T14:44:14.555Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T14:44:14.555Z] ---> Running in e6c16074b70b [2020-03-30T14:44:15.143Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T14:44:16.109Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T14:44:16.698Z] OK: 125 MiB in 39 packages [2020-03-30T14:44:17.661Z] Removing intermediate container e6c16074b70b [2020-03-30T14:44:17.661Z] ---> 71b234c9fe3f [2020-03-30T14:44:17.661Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T14:44:17.661Z] ---> Running in 205f58cd21f9 [2020-03-30T14:44:18.249Z] Removing intermediate container 205f58cd21f9 [2020-03-30T14:44:18.249Z] ---> 9edeb9e1bb15 [2020-03-30T14:44:18.249Z] Step 7/8 : COPY . . [2020-03-30T14:44:19.672Z] ---> 0adfb1127bb1 [2020-03-30T14:44:19.672Z] Step 8/8 : RUN go mod download [2020-03-30T14:44:19.672Z] ---> Running in a6064aa310a1 [2020-03-30T14:44:21.637Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T14:44:21.637Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T14:44:21.637Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T14:44:21.637Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T14:44:21.907Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T14:44:21.907Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T14:44:21.907Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T14:44:21.907Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T14:44:21.907Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T14:44:21.907Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T14:44:21.907Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T14:44:21.907Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T14:44:21.907Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T14:44:21.907Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T14:44:21.907Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T14:44:21.907Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T14:44:21.907Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T14:44:21.907Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T14:44:21.907Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T14:44:22.175Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T14:44:22.175Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T14:44:22.175Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T14:44:22.175Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T14:44:22.175Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T14:44:22.175Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T14:44:22.175Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T14:44:22.175Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T14:44:22.175Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T14:44:22.445Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T14:44:22.445Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T14:44:22.445Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T14:44:22.445Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T14:44:22.445Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T14:44:22.445Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T14:44:22.445Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T14:44:22.445Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T14:44:22.445Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T14:44:22.445Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T14:44:22.445Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T14:44:22.445Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T14:44:22.445Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T14:44:22.445Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T14:44:22.445Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T14:44:22.445Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T14:44:22.718Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T14:44:22.718Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T14:44:22.718Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T14:44:22.718Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T14:44:22.718Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T14:44:28.755Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T14:44:28.755Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T14:44:28.755Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T14:44:30.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 23.1% of statements [2020-03-30T14:44:30.702Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.275s coverage: 95.8% of statements [2020-03-30T14:44:34.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.145s coverage: 12.7% of statements [2020-03-30T14:44:34.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 25.2% of statements [2020-03-30T14:44:40.973Z] Removing intermediate container a6064aa310a1 [2020-03-30T14:44:40.973Z] ---> 8ceb3bcd1b0e [2020-03-30T14:44:40.973Z] Successfully built 8ceb3bcd1b0e [2020-03-30T14:44:40.973Z] 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-30T14:44:41.643Z] + docker inspect -f . ci-base-image-arm64 [2020-03-30T14:44:41.923Z] . [Pipeline] withDockerContainer [2020-03-30T14:44:42.376Z] prd-ubuntu18.04-docker-arm64-4c-16g-1367 does not seem to be running inside a container [2020-03-30T14:44:42.503Z] $ 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 ******** ci-base-image-arm64 cat [2020-03-30T14:44:44.081Z] $ docker top c394d273a3738ce3fc1285a2f5878f339f4de1cfd1ae4d7f83f2e49dcd500b3d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T14:44:45.262Z] + go version [2020-03-30T14:44:45.262Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-30T14:44:45.952Z] + make test [2020-03-30T14:44:45.952Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T14:45:07.099Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.015s coverage: 30.0% of statements [2020-03-30T14:45:07.099Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.440s coverage: 42.3% of statements [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T14:45:07.099Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.424s coverage: 79.9% of statements [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T14:45:07.099Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.122s coverage: 52.6% of statements [2020-03-30T14:45:07.099Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 76.1% of statements [2020-03-30T14:45:07.099Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T14:45:07.099Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T14:45:07.099Z] gofmt -l . [2020-03-30T14:45:07.099Z] [ "`gofmt -l .`" = "" ] [2020-03-30T14:45:07.359Z] ./bin/test-attribution-txt.sh [2020-03-30T14:45:07.933Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T14:45:08.725Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T14:45:08.728Z] $ docker stop --time=1 29f4cb1578ac33b734da64f42c26a325be430b34fdb9cb6b19a7f415e4c59a56 [2020-03-30T14:45:10.278Z] $ docker rm -f 29f4cb1578ac33b734da64f42c26a325be430b34fdb9cb6b19a7f415e4c59a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T14:45:11.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T14:45:11.599Z] + ls -al . [2020-03-30T14:45:11.599Z] total 200 [2020-03-30T14:45:11.599Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 30 14:45 . [2020-03-30T14:45:11.599Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 14:43 .. [2020-03-30T14:45:11.599Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 30 14:43 api [2020-03-30T14:45:11.599Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 30 14:43 async.go [2020-03-30T14:45:11.599Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 14:43 bin [2020-03-30T14:45:11.599Z] -rw-r--r--. 1 jenkins jenkins 100361 Mar 30 14:45 coverage.out [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 30 14:43 Dockerfile.build [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 14:43 .dockerignore [2020-03-30T14:45:11.600Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 30 14:43 example [2020-03-30T14:45:11.600Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 14:43 .git [2020-03-30T14:45:11.600Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 30 14:43 .github [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 14:43 .gitignore [2020-03-30T14:45:11.600Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 30 14:45 go.mod [2020-03-30T14:45:11.600Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 30 14:45 go.sum [2020-03-30T14:45:11.600Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 30 14:43 internal [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 30 14:43 Jenkinsfile [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 14:43 LICENSE [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 30 14:43 Makefile [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 30 14:43 manageddevices.go [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 30 14:43 managedprofiles.go [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 30 14:43 managedwatchers.go [2020-03-30T14:45:11.600Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 30 14:43 pkg [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 30 14:43 README.md [2020-03-30T14:45:11.600Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 30 14:43 .semver [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 30 14:43 service.go [2020-03-30T14:45:11.600Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 14:43 snap [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 14:42 VERSION [2020-03-30T14:45:11.600Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:45:11.919Z] + 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=0ad7407c629d9b5154a96715c1f8bb939cab194b --label arch=amd64 --label version=0.0.0 . [2020-03-30T14:45:11.919Z] Sending build context to Docker daemon 2.903MB [2020-03-30T14:45:11.919Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T14:45:11.919Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T14:45:11.919Z] ---> 0d1d6c9158a5 [2020-03-30T14:45:11.919Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T14:45:12.181Z] ---> Running in dbea16e60b01 [2020-03-30T14:45:12.181Z] Removing intermediate container dbea16e60b01 [2020-03-30T14:45:12.181Z] ---> 56a669a061e9 [2020-03-30T14:45:12.181Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T14:45:12.181Z] ---> Running in 61b2457894aa [2020-03-30T14:45:12.440Z] Removing intermediate container 61b2457894aa [2020-03-30T14:45:12.440Z] ---> c0ae5c212e99 [2020-03-30T14:45:12.440Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:45:12.440Z] ---> Running in c8865905a85e [2020-03-30T14:45:12.708Z] Removing intermediate container c8865905a85e [2020-03-30T14:45:12.708Z] ---> 55c41c9dc598 [2020-03-30T14:45:12.708Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:45:12.708Z] ---> Running in c800f518620c [2020-03-30T14:45:13.284Z] Removing intermediate container c800f518620c [2020-03-30T14:45:13.284Z] ---> 87c1b7d04481 [2020-03-30T14:45:13.284Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T14:45:13.547Z] ---> Running in 6bbee710e5ce [2020-03-30T14:45:13.805Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T14:45:14.381Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T14:45:14.669Z] OK: 143 MiB in 39 packages [2020-03-30T14:45:15.236Z] Removing intermediate container 6bbee710e5ce [2020-03-30T14:45:15.236Z] ---> 232e720e4e0c [2020-03-30T14:45:15.236Z] Step 8/20 : COPY . . [2020-03-30T14:45:15.496Z] ---> ef9fff0d7d3e [2020-03-30T14:45:15.496Z] Step 9/20 : RUN ${MAKE} [2020-03-30T14:45:15.765Z] ---> Running in 6a142bbcdb57 [2020-03-30T14:45:16.025Z] 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-30T14:45:31.007Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T14:45:32.911Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T14:45:32.911Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T14:45:32.911Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T14:45:32.911Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 23.1% of statements [2020-03-30T14:45:32.911Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.255s coverage: 95.8% of statements [2020-03-30T14:45:37.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.134s coverage: 12.7% of statements [2020-03-30T14:45:37.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 25.2% of statements [2020-03-30T14:45:37.637Z] Removing intermediate container 6a142bbcdb57 [2020-03-30T14:45:37.637Z] ---> a36690a4270a [2020-03-30T14:45:37.637Z] Step 10/20 : FROM scratch [2020-03-30T14:45:37.637Z] ---> [2020-03-30T14:45:37.637Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:45:37.637Z] ---> Running in 180e7b90687f [2020-03-30T14:45:37.637Z] Removing intermediate container 180e7b90687f [2020-03-30T14:45:37.637Z] ---> e0fe08a115fc [2020-03-30T14:45:37.637Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T14:45:37.637Z] ---> Running in 4aa320fc99a4 [2020-03-30T14:45:37.637Z] Removing intermediate container 4aa320fc99a4 [2020-03-30T14:45:37.637Z] ---> 8b749a0daf00 [2020-03-30T14:45:37.637Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T14:45:37.637Z] ---> Running in 3002290576d0 [2020-03-30T14:45:37.637Z] Removing intermediate container 3002290576d0 [2020-03-30T14:45:37.637Z] ---> d56024d38f44 [2020-03-30T14:45:37.637Z] Step 14/20 : WORKDIR / [2020-03-30T14:45:37.637Z] ---> Running in 248d1f79350c [2020-03-30T14:45:37.637Z] Removing intermediate container 248d1f79350c [2020-03-30T14:45:37.637Z] ---> 6a7893704ab6 [2020-03-30T14:45:37.637Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T14:45:38.218Z] ---> cc70371f9f3a [2020-03-30T14:45:38.218Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T14:45:38.481Z] ---> ebc6ad60a56e [2020-03-30T14:45:38.481Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T14:45:38.741Z] ---> Running in f3e863126df5 [2020-03-30T14:45:38.741Z] Removing intermediate container f3e863126df5 [2020-03-30T14:45:38.741Z] ---> 20db19a06e05 [2020-03-30T14:45:38.741Z] Step 18/20 : LABEL arch=amd64 [2020-03-30T14:45:38.741Z] ---> Running in 7430dcc77aa4 [2020-03-30T14:45:39.005Z] Removing intermediate container 7430dcc77aa4 [2020-03-30T14:45:39.005Z] ---> d2e237b88466 [2020-03-30T14:45:39.005Z] Step 19/20 : LABEL git_sha=0ad7407c629d9b5154a96715c1f8bb939cab194b [2020-03-30T14:45:39.005Z] ---> Running in c1880800f8c3 [2020-03-30T14:45:39.266Z] Removing intermediate container c1880800f8c3 [2020-03-30T14:45:39.266Z] ---> 0c95302faf06 [2020-03-30T14:45:39.266Z] Step 20/20 : LABEL version=0.0.0 [2020-03-30T14:45:39.266Z] ---> Running in 83d7a45bfe11 [2020-03-30T14:45:39.266Z] Removing intermediate container 83d7a45bfe11 [2020-03-30T14:45:39.266Z] ---> eb4ae14f7f2f [2020-03-30T14:45:39.266Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T14:45:39.266Z] Successfully built eb4ae14f7f2f [2020-03-30T14:45:39.527Z] 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-30T14:46:09.494Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.040s coverage: 30.0% of statements [2020-03-30T14:46:09.494Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.359s coverage: 42.3% of statements [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T14:46:09.494Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.606s coverage: 79.9% of statements [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T14:46:09.494Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.051s coverage: 52.6% of statements [2020-03-30T14:46:09.494Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 76.1% of statements [2020-03-30T14:46:09.494Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T14:46:09.494Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T14:46:14.861Z] gofmt -l . [2020-03-30T14:46:14.861Z] [ "`gofmt -l .`" = "" ] [2020-03-30T14:46:15.129Z] ./bin/test-attribution-txt.sh [2020-03-30T14:46:15.715Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T14:46:16.360Z] Warning: overwriting stash ‘coverage-report’ [2020-03-30T14:46:17.005Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T14:46:17.014Z] $ docker stop --time=1 c394d273a3738ce3fc1285a2f5878f339f4de1cfd1ae4d7f83f2e49dcd500b3d [2020-03-30T14:46:19.364Z] $ docker rm -f c394d273a3738ce3fc1285a2f5878f339f4de1cfd1ae4d7f83f2e49dcd500b3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T14:46:20.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T14:46:21.119Z] + ls -al . [2020-03-30T14:46:21.119Z] total 240 [2020-03-30T14:46:21.119Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 14:46 . [2020-03-30T14:46:21.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:43 .. [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 14:43 .dockerignore [2020-03-30T14:46:21.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 14:43 .git [2020-03-30T14:46:21.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:43 .github [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 14:43 .gitignore [2020-03-30T14:46:21.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 14:43 .semver [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 30 14:43 Dockerfile.build [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 30 14:43 Jenkinsfile [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 14:43 LICENSE [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 30 14:43 Makefile [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 30 14:43 README.md [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 14:42 VERSION [2020-03-30T14:46:21.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 14:43 api [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 30 14:43 async.go [2020-03-30T14:46:21.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:43 bin [2020-03-30T14:46:21.119Z] -rw-r--r-- 1 jenkins jenkins 100361 Mar 30 14:46 coverage.out [2020-03-30T14:46:21.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:43 example [2020-03-30T14:46:21.119Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 30 14:46 go.mod [2020-03-30T14:46:21.119Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 30 14:46 go.sum [2020-03-30T14:46:21.119Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 14:43 internal [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 30 14:43 manageddevices.go [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 30 14:43 managedprofiles.go [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 30 14:43 managedwatchers.go [2020-03-30T14:46:21.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:43 pkg [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 30 14:43 service.go [2020-03-30T14:46:21.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:43 snap [2020-03-30T14:46:21.119Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:46:21.473Z] + 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=0ad7407c629d9b5154a96715c1f8bb939cab194b --label arch=arm64 --label version=0.0.0 . [2020-03-30T14:46:22.066Z] Sending build context to Docker daemon 2.903MB [2020-03-30T14:46:22.066Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T14:46:22.066Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T14:46:22.066Z] ---> 8ceb3bcd1b0e [2020-03-30T14:46:22.066Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T14:46:22.337Z] ---> Running in f217da8885a9 [2020-03-30T14:46:22.613Z] Removing intermediate container f217da8885a9 [2020-03-30T14:46:22.613Z] ---> 3cbc73b7e4d5 [2020-03-30T14:46:22.613Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T14:46:22.885Z] ---> Running in ecd202f35a35 [2020-03-30T14:46:23.162Z] Removing intermediate container ecd202f35a35 [2020-03-30T14:46:23.162Z] ---> 7b7c158f2c1f [2020-03-30T14:46:23.162Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:46:23.162Z] ---> Running in b28aabbc9920 [2020-03-30T14:46:23.775Z] Removing intermediate container b28aabbc9920 [2020-03-30T14:46:23.775Z] ---> b5c9b588c177 [2020-03-30T14:46:23.775Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:46:23.775Z] ---> Running in 64ad1f1c78f3 [2020-03-30T14:46:25.744Z] Removing intermediate container 64ad1f1c78f3 [2020-03-30T14:46:25.744Z] ---> 8ac23498e47c [2020-03-30T14:46:25.744Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T14:46:25.744Z] ---> Running in 47f2df666438 [2020-03-30T14:46:26.747Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T14:46:27.711Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T14:46:27.980Z] OK: 125 MiB in 39 packages [2020-03-30T14:46:28.943Z] Removing intermediate container 47f2df666438 [2020-03-30T14:46:28.943Z] ---> 77173096da2c [2020-03-30T14:46:28.943Z] Step 8/20 : COPY . . [2020-03-30T14:46:30.362Z] ---> 2f7e3c35c2fd [2020-03-30T14:46:30.362Z] Step 9/20 : RUN ${MAKE} [2020-03-30T14:46:30.362Z] ---> Running in af98a5a1ff67 [2020-03-30T14:46:31.327Z] 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-30T14:47:10.278Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T14:47:28.541Z] Removing intermediate container af98a5a1ff67 [2020-03-30T14:47:28.541Z] ---> f020581129a4 [2020-03-30T14:47:28.541Z] Step 10/20 : FROM scratch [2020-03-30T14:47:28.541Z] ---> [2020-03-30T14:47:28.541Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:47:28.541Z] ---> Running in e7d091bb6efe [2020-03-30T14:47:28.541Z] Removing intermediate container e7d091bb6efe [2020-03-30T14:47:28.541Z] ---> ce54d6bbbd61 [2020-03-30T14:47:28.541Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T14:47:28.541Z] ---> Running in d0075aa0392a [2020-03-30T14:47:28.541Z] Removing intermediate container d0075aa0392a [2020-03-30T14:47:28.541Z] ---> 7dd7c4464b89 [2020-03-30T14:47:28.541Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T14:47:28.541Z] ---> Running in 6175a7565a47 [2020-03-30T14:47:28.541Z] Removing intermediate container 6175a7565a47 [2020-03-30T14:47:28.541Z] ---> dcda9c39e92c [2020-03-30T14:47:28.541Z] Step 14/20 : WORKDIR / [2020-03-30T14:47:28.541Z] ---> Running in e823b0cb1ccf [2020-03-30T14:47:28.541Z] Removing intermediate container e823b0cb1ccf [2020-03-30T14:47:28.541Z] ---> 207819c7f5a2 [2020-03-30T14:47:28.541Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T14:47:29.506Z] ---> 57acc16d17cd [2020-03-30T14:47:29.506Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T14:47:30.092Z] ---> 82c87a91f058 [2020-03-30T14:47:30.093Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T14:47:30.361Z] ---> Running in 400b8e95a846 [2020-03-30T14:47:30.629Z] Removing intermediate container 400b8e95a846 [2020-03-30T14:47:30.629Z] ---> e0e23837a1fd [2020-03-30T14:47:30.629Z] Step 18/20 : LABEL arch=arm64 [2020-03-30T14:47:30.901Z] ---> Running in 6af2d35777c9 [2020-03-30T14:47:31.173Z] Removing intermediate container 6af2d35777c9 [2020-03-30T14:47:31.173Z] ---> c00ed406565d [2020-03-30T14:47:31.173Z] Step 19/20 : LABEL git_sha=0ad7407c629d9b5154a96715c1f8bb939cab194b [2020-03-30T14:47:31.442Z] ---> Running in ab298ce8edc3 [2020-03-30T14:47:31.711Z] Removing intermediate container ab298ce8edc3 [2020-03-30T14:47:31.711Z] ---> bb11b1c1bc02 [2020-03-30T14:47:31.711Z] Step 20/20 : LABEL version=0.0.0 [2020-03-30T14:47:31.980Z] ---> Running in 770e1d5b6310 [2020-03-30T14:47:32.568Z] Removing intermediate container 770e1d5b6310 [2020-03-30T14:47:32.568Z] ---> 2ff840a43fc7 [2020-03-30T14:47:32.568Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T14:47:32.568Z] Successfully built 2ff840a43fc7 [2020-03-30T14:47:32.568Z] 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-30T14:47:33.673Z] provisioning config files... [2020-03-30T14:47:33.686Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config3438372748045775179tmp [Pipeline] { [Pipeline] sh [2020-03-30T14:47:34.038Z] + curl -s https://codecov.io/bash [2020-03-30T14:47:34.039Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config3438372748045775179tmp [2020-03-30T14:47:34.297Z] [2020-03-30T14:47:34.297Z] _____ _ [2020-03-30T14:47:34.297Z] / ____| | | [2020-03-30T14:47:34.297Z] | | ___ __| | ___ ___ _____ __ [2020-03-30T14:47:34.297Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-30T14:47:34.297Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-30T14:47:34.297Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-30T14:47:34.297Z] Bash-tbd [2020-03-30T14:47:34.297Z] [2020-03-30T14:47:34.297Z] [2020-03-30T14:47:34.297Z] ==> Jenkins CI detected. [2020-03-30T14:47:34.297Z] project root: . [2020-03-30T14:47:34.297Z] Fixing merge commit SHA [2020-03-30T14:47:34.297Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-30T14:47:34.297Z] ==> Running gcov in . (disable via -X gcov) [2020-03-30T14:47:34.297Z] ==> Python coveragepy not found [2020-03-30T14:47:34.297Z] ==> Searching for coverage reports in: [2020-03-30T14:47:34.297Z] + . [2020-03-30T14:47:34.297Z] -> Found 1 reports [2020-03-30T14:47:34.297Z] ==> Detecting git/mercurial file structure [2020-03-30T14:47:34.297Z] ==> Reading reports [2020-03-30T14:47:34.297Z] + ./coverage.out bytes=100361 [2020-03-30T14:47:34.297Z] ==> Appending adjustments [2020-03-30T14:47:34.297Z] http://docs.codecov.io/docs/fixing-reports [2020-03-30T14:47:34.558Z] + Found adjustments [2020-03-30T14:47:34.558Z] ==> Gzipping contents [2020-03-30T14:47:34.558Z] ==> Uploading reports [2020-03-30T14:47:34.558Z] url: https://codecov.io [2020-03-30T14:47:34.558Z] query: branch=PR-467&commit=216cade7f2e553cd85bebefedf8dad939aae0897&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-30T14:47:34.558Z] -> Pinging Codecov [2020-03-30T14:47:34.558Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=216cade7f2e553cd85bebefedf8dad939aae0897&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-30T14:47:34.817Z] -> Uploading [2020-03-30T14:47:35.385Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/216cade7f2e553cd85bebefedf8dad939aae0897 [Pipeline] } [2020-03-30T14:47:35.392Z] 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-30T14:47:36.609Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:47:36.907Z] ---> package-listing.sh [2020-03-30T14:47:36.907Z] ++ facter osfamily [2020-03-30T14:47:36.907Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-30T14:47:36.907Z] + OS_FAMILY=redhat [2020-03-30T14:47:36.907Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-30T14:47:36.907Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-30T14:47:36.907Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-30T14:47:36.907Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-30T14:47:36.907Z] + PACKAGES=/tmp/packages_start.txt [2020-03-30T14:47:36.907Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-30T14:47:36.907Z] + PACKAGES=/tmp/packages_end.txt [2020-03-30T14:47:36.907Z] + case "${OS_FAMILY}" in [2020-03-30T14:47:36.907Z] + rpm -qa [2020-03-30T14:47:36.907Z] + sort [2020-03-30T14:47:41.117Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-30T14:47:41.117Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-30T14:47:41.117Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-30T14:47:41.117Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-30T14:47:41.117Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [2020-03-30T14:47:41.117Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:47:41.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T14:47:41.514Z] [2020-03-30T14:47:41.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:47:41.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T14:47:41.854Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-30T14:47:41.854Z] c9b1b535fdd9: Pulling fs layer [2020-03-30T14:47:41.854Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-30T14:47:41.854Z] 756a868c4378: Pulling fs layer [2020-03-30T14:47:41.854Z] 444b2fc9a129: Pulling fs layer [2020-03-30T14:47:41.854Z] ea15f1150254: Pulling fs layer [2020-03-30T14:47:41.854Z] 41b27a9f41bf: Pulling fs layer [2020-03-30T14:47:41.854Z] 28c525ee5125: Pulling fs layer [2020-03-30T14:47:41.854Z] 094b1ea09ed8: Pulling fs layer [2020-03-30T14:47:41.854Z] 138eaada9080: Pulling fs layer [2020-03-30T14:47:41.854Z] 0622d0fa9048: Pulling fs layer [2020-03-30T14:47:41.854Z] 41b27a9f41bf: Waiting [2020-03-30T14:47:41.854Z] 28c525ee5125: Waiting [2020-03-30T14:47:41.854Z] 444b2fc9a129: Waiting [2020-03-30T14:47:41.854Z] ea15f1150254: Waiting [2020-03-30T14:47:41.854Z] 094b1ea09ed8: Waiting [2020-03-30T14:47:41.854Z] 138eaada9080: Waiting [2020-03-30T14:47:41.854Z] 2cc5ad85d9ab: Download complete [2020-03-30T14:47:41.854Z] 444b2fc9a129: Download complete [2020-03-30T14:47:41.854Z] c9b1b535fdd9: Verifying Checksum [2020-03-30T14:47:41.854Z] c9b1b535fdd9: Download complete [2020-03-30T14:47:41.854Z] ea15f1150254: Verifying Checksum [2020-03-30T14:47:41.854Z] ea15f1150254: Download complete [2020-03-30T14:47:42.126Z] 28c525ee5125: Verifying Checksum [2020-03-30T14:47:42.126Z] 28c525ee5125: Download complete [2020-03-30T14:47:42.126Z] c9b1b535fdd9: Pull complete [2020-03-30T14:47:42.126Z] 756a868c4378: Verifying Checksum [2020-03-30T14:47:42.126Z] 756a868c4378: Download complete [2020-03-30T14:47:42.387Z] 2cc5ad85d9ab: Pull complete [2020-03-30T14:47:42.387Z] 138eaada9080: Verifying Checksum [2020-03-30T14:47:42.387Z] 138eaada9080: Download complete [2020-03-30T14:47:42.387Z] 0622d0fa9048: Verifying Checksum [2020-03-30T14:47:42.387Z] 0622d0fa9048: Download complete [2020-03-30T14:47:42.387Z] 094b1ea09ed8: Verifying Checksum [2020-03-30T14:47:42.387Z] 094b1ea09ed8: Download complete [2020-03-30T14:47:42.957Z] 41b27a9f41bf: Verifying Checksum [2020-03-30T14:47:42.957Z] 41b27a9f41bf: Download complete [2020-03-30T14:47:43.898Z] 756a868c4378: Pull complete [2020-03-30T14:47:43.898Z] 444b2fc9a129: Pull complete [2020-03-30T14:47:44.469Z] ea15f1150254: Pull complete [2020-03-30T14:47:47.765Z] 41b27a9f41bf: Pull complete [2020-03-30T14:47:47.765Z] 28c525ee5125: Pull complete [2020-03-30T14:47:49.672Z] 094b1ea09ed8: Pull complete [2020-03-30T14:47:49.672Z] 138eaada9080: Pull complete [2020-03-30T14:47:49.672Z] 0622d0fa9048: Pull complete [2020-03-30T14:47:49.930Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-30T14:47:49.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-30T14:47:50.104Z] prd-centos7-docker-4c-2g-1365 does not seem to be running inside a container [2020-03-30T14:47:50.137Z] $ 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-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-30T14:47:51.181Z] $ docker top 78ad4c858c672a01d8bb6705b8555c0f360de6889366127c077a372cd7c12e85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-30T14:47:51.449Z] provisioning config files... [2020-03-30T14:47:51.465Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config2721520257755662832tmp [Pipeline] { [Pipeline] echo [2020-03-30T14:47:51.528Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:47:51.819Z] ---> create-netrc.sh [Pipeline] echo [2020-03-30T14:47:51.826Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:47:52.113Z] ---> logs-deploy.sh [2020-03-30T14:47:52.114Z] + ARCHIVE_ARTIFACTS= [2020-03-30T14:47:52.114Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-30T14:47:52.114Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-30T14:47:52.114Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-30T14:47:52.114Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/8 [2020-03-30T14:47:52.114Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/8/ [2020-03-30T14:47:52.114Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/8 /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-30T14:47:53.048Z] Archives upload complete. [2020-03-30T14:47:53.307Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/8/