Pull request #461 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than 855d649bafbc37363bcd18f874dc5d1b5990fa3e Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-83 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [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-461 # 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/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # 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/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 Commit message: "Update commit message guideline URL" First time build. Skipping changelog. > git rev-list --no-walk 2ad704c6b9b7f4f681c222abe4755802de3cc221 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-11T09:07:32.487Z] 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-11T09:07:34.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-11T09:07:34.448Z] [2020-03-11T09:07:34.448Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:07:34.849Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-11T09:07:34.849Z] latest: Pulling from edgex-devops/git-semver [2020-03-11T09:07:34.849Z] 9123ac7c32f7: Pulling fs layer [2020-03-11T09:07:34.849Z] b8cc5d1170e3: Pulling fs layer [2020-03-11T09:07:34.849Z] 2924cbbf6a41: Pulling fs layer [2020-03-11T09:07:34.849Z] 93b08a4f1073: Pulling fs layer [2020-03-11T09:07:34.849Z] 93b08a4f1073: Waiting [2020-03-11T09:07:34.849Z] b8cc5d1170e3: Download complete [2020-03-11T09:07:35.118Z] 9123ac7c32f7: Verifying Checksum [2020-03-11T09:07:35.118Z] 9123ac7c32f7: Download complete [2020-03-11T09:07:35.118Z] 2924cbbf6a41: Verifying Checksum [2020-03-11T09:07:35.118Z] 2924cbbf6a41: Download complete [2020-03-11T09:07:35.118Z] 93b08a4f1073: Verifying Checksum [2020-03-11T09:07:35.118Z] 93b08a4f1073: Download complete [2020-03-11T09:07:35.387Z] 9123ac7c32f7: Pull complete [2020-03-11T09:07:35.387Z] b8cc5d1170e3: Pull complete [2020-03-11T09:07:36.347Z] 2924cbbf6a41: Pull complete [2020-03-11T09:07:36.933Z] 93b08a4f1073: Pull complete [2020-03-11T09:07:36.933Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-11T09:07:36.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-11T09:07:37.084Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2020-03-11T09:07:37.155Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-461 -v /w/workspace/dgexfoundry_device-sdk-go_PR-461:/w/workspace/dgexfoundry_device-sdk-go_PR-461:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-11T09:07:37.987Z] $ docker top 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-11T09:07:38.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-11T09:07:38.271Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-11T09:07:38.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-11T09:07:38.500Z] $ docker exec 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent [2020-03-11T09:07:38.738Z] SSH_AUTH_SOCK=/tmp/ssh-GepAPnLblpsc/agent.15 [2020-03-11T09:07:38.738Z] SSH_AGENT_PID=22 [2020-03-11T09:07:38.750Z] Running ssh-add (command line suppressed) [2020-03-11T09:07:38.910Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_382022169168316387.key (/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_382022169168316387.key) [2020-03-11T09:07:38.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-11T09:07:39.320Z] + git describe --exact-match --tags HEAD [2020-03-11T09:07:39.320Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-11T09:07:39.380Z] $ docker exec --env ******** --env ******** 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent -k [2020-03-11T09:07:39.532Z] unset SSH_AUTH_SOCK; [2020-03-11T09:07:39.532Z] unset SSH_AGENT_PID; [2020-03-11T09:07:39.532Z] echo Agent pid 22 killed; [2020-03-11T09:07:39.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-11T09:07:39.654Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-11T09:07:39.654Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-11T09:07:39.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-11T09:07:39.730Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-11T09:07:39.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-11T09:07:39.935Z] $ docker exec 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent [2020-03-11T09:07:40.165Z] SSH_AUTH_SOCK=/tmp/ssh-DbdGjMXlC9n2/agent.55 [2020-03-11T09:07:40.165Z] SSH_AGENT_PID=62 [2020-03-11T09:07:40.175Z] Running ssh-add (command line suppressed) [2020-03-11T09:07:40.341Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_6436675743569913801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_6436675743569913801.key) [2020-03-11T09:07:40.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-11T09:07:40.737Z] + git semver init [2020-03-11T09:07:40.737Z] # -> Open(): unable to determine branch for HEAD [2020-03-11T09:07:40.737Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-461/.git [2020-03-11T09:07:40.737Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-461 [2020-03-11T09:07:40.737Z] # $SEMVER_REMOTE_NAME = origin [2020-03-11T09:07:40.737Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-11T09:07:40.737Z] # $SEMVER_USER_NAME = jenkins [2020-03-11T09:07:40.737Z] # $SEMVER_BRANCH = PR-461 [2020-03-11T09:07:40.737Z] # $SEMVER_TEMP = /tmp/semver-466256869 [2020-03-11T09:07:40.737Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-11T09:07:41.311Z] # '/tmp/semver-466256869' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-461/.semver' [2020-03-11T09:07:41.311Z] # -> Force: false [2020-03-11T09:07:41.311Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-461/.semver [Pipeline] } [2020-03-11T09:07:41.318Z] $ docker exec --env ******** --env ******** 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent -k [2020-03-11T09:07:41.474Z] unset SSH_AUTH_SOCK; [2020-03-11T09:07:41.474Z] unset SSH_AGENT_PID; [2020-03-11T09:07:41.474Z] echo Agent pid 62 killed; [2020-03-11T09:07:41.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-11T09:07:41.958Z] + git semver [Pipeline] } [2020-03-11T09:07:41.971Z] $ docker stop --time=1 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 [2020-03-11T09:07:43.356Z] $ docker rm -f 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-11T09:07:44.205Z] Stashed 31 file(s) [Pipeline] echo [2020-03-11T09:07:44.208Z] [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-11T09:07:59.453Z] Still waiting to schedule task [2020-03-11T09:07:59.454Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-11T09:07:59.456Z] Still waiting to schedule task [2020-03-11T09:07:59.456Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-11T09:10:06.971Z] Running on prd-centos7-docker-4c-2g-84 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [Pipeline] { [Pipeline] ws [2020-03-11T09:10:07.009Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-03-11T09:10:09.141Z] using credential edgex-jenkins-ssh [2020-03-11T09:10:09.192Z] Cloning the remote Git repository [2020-03-11T09:10:09.192Z] Cloning with configured refspecs honoured and without tags [2020-03-11T09:10:08.921Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:10:08.960Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-03-11T09:10:09.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:10:09.004Z] > git --version # timeout=10 [2020-03-11T09:10:09.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:10:09.039Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:10:09.962Z] Fetching without tags [2020-03-11T09:10:10.340Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:10:09.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:10:09.706Z] > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # timeout=10 [2020-03-11T09:10:09.712Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:10:09.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:10:09.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:10:09.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:10:09.738Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:10:10.146Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:10:10.152Z] > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 [2020-03-11T09:10:10.427Z] Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:10:10.428Z] Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) [2020-03-11T09:10:10.199Z] > git remote # timeout=10 [2020-03-11T09:10:10.204Z] > git config --get remote.origin.url # timeout=10 [2020-03-11T09:10:10.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:10:10.214Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-11T09:10:10.225Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-11T09:10:10.235Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:10:10.243Z] > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 [2020-03-11T09:10:15.091Z] Commit message: "Update commit message guideline URL" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-11T09:10:15.980Z] ========================================================= [2020-03-11T09:10:15.980Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-11T09:10:15.980Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:10:16.704Z] + 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-11T09:10:16.965Z] Sending build context to Docker daemon 2.674MB [2020-03-11T09:10:16.965Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-11T09:10:16.965Z] Step 2/8 : FROM ${BASE} [2020-03-11T09:10:17.224Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-11T09:10:17.224Z] e6b0cf9c0882: Pulling fs layer [2020-03-11T09:10:17.224Z] 2848faf0eed1: Pulling fs layer [2020-03-11T09:10:17.224Z] 0f37312ad70f: Pulling fs layer [2020-03-11T09:10:17.224Z] 5788d62ee057: Pulling fs layer [2020-03-11T09:10:17.224Z] 0e6b1d234666: Pulling fs layer [2020-03-11T09:10:17.224Z] bf5d7aec512f: Pulling fs layer [2020-03-11T09:10:17.224Z] 34c802a77dc8: Pulling fs layer [2020-03-11T09:10:17.224Z] 9eb99e56ec68: Pulling fs layer [2020-03-11T09:10:17.224Z] 27c7a5d97fbd: Pulling fs layer [2020-03-11T09:10:17.224Z] 5c102a31e300: Pulling fs layer [2020-03-11T09:10:17.224Z] dcfb455df0a1: Pulling fs layer [2020-03-11T09:10:17.224Z] 34c802a77dc8: Waiting [2020-03-11T09:10:17.224Z] 9eb99e56ec68: Waiting [2020-03-11T09:10:17.224Z] 27c7a5d97fbd: Waiting [2020-03-11T09:10:17.224Z] 5c102a31e300: Waiting [2020-03-11T09:10:17.224Z] dcfb455df0a1: Waiting [2020-03-11T09:10:17.224Z] 5788d62ee057: Waiting [2020-03-11T09:10:17.224Z] 0e6b1d234666: Waiting [2020-03-11T09:10:17.224Z] bf5d7aec512f: Waiting [2020-03-11T09:10:17.224Z] 0f37312ad70f: Verifying Checksum [2020-03-11T09:10:17.224Z] 0f37312ad70f: Download complete [2020-03-11T09:10:17.224Z] 2848faf0eed1: Download complete [2020-03-11T09:10:17.224Z] 0e6b1d234666: Verifying Checksum [2020-03-11T09:10:17.224Z] 0e6b1d234666: Download complete [2020-03-11T09:10:17.224Z] bf5d7aec512f: Verifying Checksum [2020-03-11T09:10:17.224Z] bf5d7aec512f: Download complete [2020-03-11T09:10:17.224Z] e6b0cf9c0882: Verifying Checksum [2020-03-11T09:10:17.796Z] e6b0cf9c0882: Pull complete [2020-03-11T09:10:18.063Z] 34c802a77dc8: Verifying Checksum [2020-03-11T09:10:18.063Z] 34c802a77dc8: Download complete [2020-03-11T09:10:18.063Z] 27c7a5d97fbd: Verifying Checksum [2020-03-11T09:10:18.063Z] 27c7a5d97fbd: Download complete [2020-03-11T09:10:18.643Z] 5c102a31e300: Verifying Checksum [2020-03-11T09:10:18.643Z] 5c102a31e300: Download complete [2020-03-11T09:10:18.643Z] dcfb455df0a1: Verifying Checksum [2020-03-11T09:10:18.643Z] dcfb455df0a1: Download complete [2020-03-11T09:10:18.904Z] 5788d62ee057: Verifying Checksum [2020-03-11T09:10:18.904Z] 5788d62ee057: Download complete [2020-03-11T09:10:18.904Z] 9eb99e56ec68: Verifying Checksum [2020-03-11T09:10:18.904Z] 9eb99e56ec68: Download complete [2020-03-11T09:10:19.849Z] 2848faf0eed1: Pull complete [2020-03-11T09:10:20.111Z] 0f37312ad70f: Pull complete [2020-03-11T09:10:26.709Z] 5788d62ee057: Pull complete [2020-03-11T09:10:26.710Z] 0e6b1d234666: Pull complete [2020-03-11T09:10:26.710Z] bf5d7aec512f: Pull complete [2020-03-11T09:10:30.927Z] 34c802a77dc8: Pull complete [2020-03-11T09:10:34.284Z] 9eb99e56ec68: Pull complete [2020-03-11T09:10:34.546Z] 27c7a5d97fbd: Pull complete [2020-03-11T09:10:35.120Z] 5c102a31e300: Pull complete [2020-03-11T09:10:35.380Z] dcfb455df0a1: Pull complete [2020-03-11T09:10:35.380Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-11T09:10:35.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-11T09:10:35.380Z] ---> 7c70fe431013 [2020-03-11T09:10:35.380Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:10:35.646Z] ---> Running in ccbc16983012 [2020-03-11T09:10:35.646Z] Removing intermediate container ccbc16983012 [2020-03-11T09:10:35.646Z] ---> 53980fdfeb55 [2020-03-11T09:10:35.646Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:10:35.646Z] ---> Running in c08a6f60a9a6 [2020-03-11T09:10:36.586Z] Removing intermediate container c08a6f60a9a6 [2020-03-11T09:10:36.586Z] ---> 6d27c8fb5bf0 [2020-03-11T09:10:36.586Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-11T09:10:36.586Z] ---> Running in 56992be79841 [2020-03-11T09:10:37.530Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-11T09:10:38.112Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-11T09:10:38.372Z] OK: 143 MiB in 39 packages [2020-03-11T09:10:38.943Z] Removing intermediate container 56992be79841 [2020-03-11T09:10:38.943Z] ---> 6429e103a53c [2020-03-11T09:10:38.943Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-11T09:10:38.943Z] ---> Running in 12ad815436d1 [2020-03-11T09:10:38.943Z] Removing intermediate container 12ad815436d1 [2020-03-11T09:10:38.943Z] ---> 212fc0cd2fda [2020-03-11T09:10:38.943Z] Step 7/8 : COPY . . [2020-03-11T09:10:39.883Z] ---> 43865c7b1f87 [2020-03-11T09:10:39.883Z] Step 8/8 : RUN go mod download [2020-03-11T09:10:39.883Z] ---> Running in 124788ac588d [2020-03-11T09:10:41.268Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-11T09:10:41.268Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-11T09:10:41.268Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-11T09:10:41.268Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-11T09:10:41.268Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-11T09:10:41.268Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-11T09:10:41.268Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-11T09:10:41.268Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-11T09:10:41.268Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-11T09:10:41.268Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-11T09:10:41.268Z] go: finding github.com/fatih/color v1.7.0 [2020-03-11T09:10:41.268Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-11T09:10:41.268Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-11T09:10:41.268Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-11T09:10:41.268Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-11T09:10:41.268Z] go: finding github.com/google/uuid v1.1.0 [2020-03-11T09:10:41.268Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-11T09:10:41.268Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-11T09:10:41.268Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-11T09:10:41.268Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-11T09:10:41.268Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-11T09:10:41.268Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-11T09:10:41.268Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-11T09:10:41.530Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-11T09:10:41.531Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-11T09:10:41.531Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-11T09:10:41.531Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-11T09:10:41.531Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-11T09:10:41.531Z] go: finding github.com/posener/complete v1.1.1 [2020-03-11T09:10:41.531Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-11T09:10:41.531Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-11T09:10:41.531Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-11T09:10:41.531Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-11T09:10:41.531Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-11T09:10:41.531Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-11T09:10:41.531Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-11T09:10:41.531Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-11T09:10:41.531Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-11T09:10:41.531Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-11T09:10:41.531Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-11T09:10:49.686Z] Removing intermediate container 124788ac588d [2020-03-11T09:10:49.686Z] ---> d6e5c322665c [2020-03-11T09:10:49.686Z] Successfully built d6e5c322665c [2020-03-11T09:10:49.686Z] 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-11T09:10:50.270Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-11T09:10:50.270Z] . [Pipeline] withDockerContainer [2020-03-11T09:10:50.395Z] prd-centos7-docker-4c-2g-84 does not seem to be running inside a container [2020-03-11T09:10:50.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-11T09:10:51.031Z] $ docker top 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-11T09:10:51.528Z] + go version [2020-03-11T09:10:51.528Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-11T09:10:51.832Z] + make test [2020-03-11T09:10:51.832Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-11T09:11:06.839Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-11T09:11:06.839Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-11T09:11:06.839Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-11T09:11:06.839Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements [2020-03-11T09:11:06.839Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-03-11T09:11:11.165Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.032s coverage: 12.7% of statements [2020-03-11T09:11:11.165Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 25.6% of statements [2020-03-11T09:11:12.184Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-85 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [Pipeline] { [Pipeline] ws [2020-03-11T09:11:12.241Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-03-11T09:11:18.363Z] using credential edgex-jenkins-ssh [2020-03-11T09:11:18.410Z] Cloning the remote Git repository [2020-03-11T09:11:18.411Z] Cloning with configured refspecs honoured and without tags [2020-03-11T09:11:18.482Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:11:18.601Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-03-11T09:11:18.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:11:18.709Z] > git --version # timeout=10 [2020-03-11T09:11:18.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:11:19.821Z] Fetching without tags [2020-03-11T09:11:18.836Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:11:19.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:11:19.698Z] > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # timeout=10 [2020-03-11T09:11:19.719Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:11:19.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:11:19.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:11:19.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:11:19.857Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:11:20.395Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:11:20.710Z] Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:11:20.711Z] Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) [2020-03-11T09:11:20.423Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:11:20.474Z] > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 [2020-03-11T09:11:20.587Z] > git remote # timeout=10 [2020-03-11T09:11:20.623Z] > git config --get remote.origin.url # timeout=10 [2020-03-11T09:11:20.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:11:20.659Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-11T09:11:20.687Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-11T09:11:20.725Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:11:20.744Z] > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 [2020-03-11T09:11:25.436Z] Commit message: "Update commit message guideline URL" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-11T09:11:26.899Z] ========================================================= [2020-03-11T09:11:26.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-11T09:11:26.899Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:11:28.292Z] + 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-11T09:11:29.260Z] Sending build context to Docker daemon 2.677MB [2020-03-11T09:11:29.260Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-11T09:11:29.260Z] Step 2/8 : FROM ${BASE} [2020-03-11T09:11:29.533Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-11T09:11:29.533Z] cde5963f3b93: Pulling fs layer [2020-03-11T09:11:29.533Z] 2a23fa8c16f7: Pulling fs layer [2020-03-11T09:11:29.533Z] 777b28850792: Pulling fs layer [2020-03-11T09:11:29.533Z] 8a11ddd9e578: Pulling fs layer [2020-03-11T09:11:29.533Z] 4cf88f913ddb: Pulling fs layer [2020-03-11T09:11:29.533Z] 1df406cf5192: Pulling fs layer [2020-03-11T09:11:29.533Z] cd6300453558: Pulling fs layer [2020-03-11T09:11:29.533Z] b9c365052c96: Pulling fs layer [2020-03-11T09:11:29.533Z] a2d8cc88f415: Pulling fs layer [2020-03-11T09:11:29.533Z] ea1d1ca13537: Pulling fs layer [2020-03-11T09:11:29.533Z] 3750a50a1c5e: Pulling fs layer [2020-03-11T09:11:29.533Z] b9c365052c96: Waiting [2020-03-11T09:11:29.533Z] 8a11ddd9e578: Waiting [2020-03-11T09:11:29.533Z] 4cf88f913ddb: Waiting [2020-03-11T09:11:29.533Z] 1df406cf5192: Waiting [2020-03-11T09:11:29.533Z] a2d8cc88f415: Waiting [2020-03-11T09:11:29.533Z] ea1d1ca13537: Waiting [2020-03-11T09:11:29.533Z] cd6300453558: Waiting [2020-03-11T09:11:29.533Z] 777b28850792: Verifying Checksum [2020-03-11T09:11:29.533Z] 777b28850792: Download complete [2020-03-11T09:11:29.533Z] 2a23fa8c16f7: Download complete [2020-03-11T09:11:29.533Z] 4cf88f913ddb: Download complete [2020-03-11T09:11:29.802Z] 1df406cf5192: Download complete [2020-03-11T09:11:30.392Z] cde5963f3b93: Verifying Checksum [2020-03-11T09:11:30.392Z] cde5963f3b93: Download complete [2020-03-11T09:11:31.380Z] cde5963f3b93: Pull complete [2020-03-11T09:11:32.361Z] 2a23fa8c16f7: Pull complete [2020-03-11T09:11:32.630Z] 777b28850792: Pull complete [2020-03-11T09:11:34.596Z] cd6300453558: Verifying Checksum [2020-03-11T09:11:34.596Z] cd6300453558: Download complete [2020-03-11T09:11:34.596Z] a2d8cc88f415: Download complete [2020-03-11T09:11:37.203Z] ea1d1ca13537: Verifying Checksum [2020-03-11T09:11:37.203Z] ea1d1ca13537: Download complete [2020-03-11T09:11:37.471Z] 3750a50a1c5e: Verifying Checksum [2020-03-11T09:11:37.471Z] 3750a50a1c5e: Download complete [2020-03-11T09:11:40.054Z] b9c365052c96: Verifying Checksum [2020-03-11T09:11:40.054Z] b9c365052c96: Download complete [2020-03-11T09:11:41.998Z] 8a11ddd9e578: Verifying Checksum [2020-03-11T09:11:41.998Z] 8a11ddd9e578: Download complete [2020-03-11T09:11:43.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements [2020-03-11T09:11:43.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.283s coverage: 42.3% of statements [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-11T09:11:43.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.271s coverage: 79.5% of statements [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-11T09:11:43.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements [2020-03-11T09:11:43.344Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 76.1% of statements [2020-03-11T09:11:43.344Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-11T09:11:43.344Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-11T09:11:43.344Z] gofmt -l . [2020-03-11T09:11:43.344Z] [ "`gofmt -l .`" = "" ] [2020-03-11T09:11:43.344Z] ./bin/test-attribution-txt.sh [2020-03-11T09:11:43.344Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-11T09:11:43.862Z] Stashed 1 file(s) [Pipeline] } [2020-03-11T09:11:43.869Z] $ docker stop --time=1 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 [2020-03-11T09:11:45.355Z] $ docker rm -f 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-11T09:11:46.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-11T09:11:46.731Z] + ls -al . [2020-03-11T09:11:46.731Z] total 200 [2020-03-11T09:11:46.731Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 09:11 . [2020-03-11T09:11:46.731Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 11 09:10 .. [2020-03-11T09:11:46.731Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 11 09:10 api [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 11 09:10 async.go [2020-03-11T09:11:46.731Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 09:10 bin [2020-03-11T09:11:46.731Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 11 09:11 coverage.out [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 11 09:10 Dockerfile.build [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 09:10 .dockerignore [2020-03-11T09:11:46.731Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 11 09:10 example [2020-03-11T09:11:46.731Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 09:10 .git [2020-03-11T09:11:46.731Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 11 09:10 .github [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 09:10 .gitignore [2020-03-11T09:11:46.731Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 11 09:11 go.mod [2020-03-11T09:11:46.731Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 11 09:11 go.sum [2020-03-11T09:11:46.731Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 11 09:10 internal [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 11 09:10 Jenkinsfile [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 09:10 LICENSE [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 11 09:10 Makefile [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 11 09:10 manageddevices.go [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 11 09:10 managedprofiles.go [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 11 09:10 managedwatchers.go [2020-03-11T09:11:46.731Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 11 09:10 pkg [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 11 09:10 README.md [2020-03-11T09:11:46.731Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 11 09:10 .semver [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 11 09:10 service.go [2020-03-11T09:11:46.731Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 09:10 snap [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 09:07 VERSION [2020-03-11T09:11:46.731Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:11:47.033Z] + 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=855d649bafbc37363bcd18f874dc5d1b5990fa3e --label arch=amd64 --label version=0.0.0 . [2020-03-11T09:11:47.292Z] Sending build context to Docker daemon 2.8MB [2020-03-11T09:11:47.292Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-11T09:11:47.292Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-11T09:11:47.292Z] ---> d6e5c322665c [2020-03-11T09:11:47.292Z] Step 3/20 : ARG MAKE='make build' [2020-03-11T09:11:47.292Z] ---> Running in f0d23993f3bc [2020-03-11T09:11:47.553Z] Removing intermediate container f0d23993f3bc [2020-03-11T09:11:47.553Z] ---> 893f7cebcc7c [2020-03-11T09:11:47.553Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-11T09:11:47.553Z] ---> Running in 7405d639561b [2020-03-11T09:11:47.553Z] Removing intermediate container 7405d639561b [2020-03-11T09:11:47.553Z] ---> 6af6cd46f16a [2020-03-11T09:11:47.553Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:11:47.553Z] ---> Running in 2fe0c553334b [2020-03-11T09:11:47.813Z] Removing intermediate container 2fe0c553334b [2020-03-11T09:11:47.813Z] ---> 135551ce1931 [2020-03-11T09:11:47.813Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:11:47.813Z] ---> Running in 836057a681c5 [2020-03-11T09:11:48.752Z] Removing intermediate container 836057a681c5 [2020-03-11T09:11:48.752Z] ---> 5fc0a563ee27 [2020-03-11T09:11:48.752Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-11T09:11:48.752Z] ---> Running in 41459c897fbe [2020-03-11T09:11:49.011Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-11T09:11:49.578Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-11T09:11:49.837Z] OK: 143 MiB in 39 packages [2020-03-11T09:11:50.407Z] Removing intermediate container 41459c897fbe [2020-03-11T09:11:50.407Z] ---> 348cb4f2bb86 [2020-03-11T09:11:50.407Z] Step 8/20 : COPY . . [2020-03-11T09:11:50.668Z] ---> c9fd3091fde0 [2020-03-11T09:11:50.668Z] Step 9/20 : RUN ${MAKE} [2020-03-11T09:11:50.668Z] ---> Running in 206348fe7bcd [2020-03-11T09:11:50.932Z] 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-11T09:11:54.343Z] 8a11ddd9e578: Pull complete [2020-03-11T09:11:54.344Z] 4cf88f913ddb: Pull complete [2020-03-11T09:11:54.344Z] 1df406cf5192: Pull complete [2020-03-11T09:11:57.703Z] cd6300453558: Pull complete [2020-03-11T09:12:03.066Z] b9c365052c96: Pull complete [2020-03-11T09:12:03.066Z] a2d8cc88f415: Pull complete [2020-03-11T09:12:03.247Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-11T09:12:05.023Z] ea1d1ca13537: Pull complete [2020-03-11T09:12:05.023Z] 3750a50a1c5e: Pull complete [2020-03-11T09:12:05.023Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-11T09:12:05.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-11T09:12:05.292Z] ---> 78745c68409d [2020-03-11T09:12:05.292Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:12:08.576Z] Removing intermediate container 206348fe7bcd [2020-03-11T09:12:08.576Z] ---> af44dfca1685 [2020-03-11T09:12:08.576Z] Step 10/20 : FROM scratch [2020-03-11T09:12:08.576Z] ---> [2020-03-11T09:12:08.576Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:12:08.576Z] ---> Running in b914cd40caf0 [2020-03-11T09:12:08.576Z] Removing intermediate container b914cd40caf0 [2020-03-11T09:12:08.576Z] ---> 398efa54a199 [2020-03-11T09:12:08.576Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-11T09:12:08.837Z] ---> Running in c2c6fe1bff3d [2020-03-11T09:12:08.837Z] Removing intermediate container c2c6fe1bff3d [2020-03-11T09:12:08.837Z] ---> 999803f8b324 [2020-03-11T09:12:08.837Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-11T09:12:08.837Z] ---> Running in 5b76d8723480 [2020-03-11T09:12:09.097Z] Removing intermediate container 5b76d8723480 [2020-03-11T09:12:09.097Z] ---> 3c9d09433642 [2020-03-11T09:12:09.097Z] Step 14/20 : WORKDIR / [2020-03-11T09:12:09.097Z] ---> Running in 929a989c1c14 [2020-03-11T09:12:09.097Z] Removing intermediate container 929a989c1c14 [2020-03-11T09:12:09.097Z] ---> 1040b468283d [2020-03-11T09:12:09.097Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-11T09:12:09.666Z] ---> d8b695028d39 [2020-03-11T09:12:09.666Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-11T09:12:09.928Z] ---> 54371680caf7 [2020-03-11T09:12:09.928Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-11T09:12:09.928Z] ---> Running in c6e9667441de [2020-03-11T09:12:09.928Z] Removing intermediate container c6e9667441de [2020-03-11T09:12:09.928Z] ---> e299e09579fe [2020-03-11T09:12:09.928Z] Step 18/20 : LABEL arch=amd64 [2020-03-11T09:12:10.188Z] ---> Running in 05448c828f18 [2020-03-11T09:12:10.188Z] Removing intermediate container 05448c828f18 [2020-03-11T09:12:10.188Z] ---> a0b19be97b3f [2020-03-11T09:12:10.188Z] Step 19/20 : LABEL git_sha=855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:12:10.188Z] ---> Running in 8046f3b8b7cc [2020-03-11T09:12:10.448Z] Removing intermediate container 8046f3b8b7cc [2020-03-11T09:12:10.448Z] ---> a6fbea055921 [2020-03-11T09:12:10.448Z] Step 20/20 : LABEL version=0.0.0 [2020-03-11T09:12:10.448Z] ---> Running in 319e06f3fd54 [2020-03-11T09:12:10.448Z] Removing intermediate container 319e06f3fd54 [2020-03-11T09:12:10.448Z] ---> 5ba5a07c8c49 [2020-03-11T09:12:10.448Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-11T09:12:10.671Z] ---> Running in a7c7c10fbaae [2020-03-11T09:12:10.671Z] Removing intermediate container a7c7c10fbaae [2020-03-11T09:12:10.671Z] ---> 50d0e5feb372 [2020-03-11T09:12:10.671Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:12:10.671Z] ---> Running in a84de08ff112 [2020-03-11T09:12:10.709Z] Successfully built 5ba5a07c8c49 [2020-03-11T09:12:10.709Z] 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-11T09:12:12.626Z] Removing intermediate container a84de08ff112 [2020-03-11T09:12:12.626Z] ---> 1663e55a425c [2020-03-11T09:12:12.626Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-11T09:12:12.897Z] ---> Running in 72466a0d8faf [2020-03-11T09:12:13.863Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-11T09:12:14.456Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-11T09:12:15.049Z] OK: 125 MiB in 39 packages [2020-03-11T09:12:16.488Z] Removing intermediate container 72466a0d8faf [2020-03-11T09:12:16.488Z] ---> e135c76f3733 [2020-03-11T09:12:16.488Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-11T09:12:16.488Z] ---> Running in ea3d001071f9 [2020-03-11T09:12:16.759Z] Removing intermediate container ea3d001071f9 [2020-03-11T09:12:16.759Z] ---> f7eab1ea46ca [2020-03-11T09:12:16.759Z] Step 7/8 : COPY . . [2020-03-11T09:12:18.188Z] ---> 61f36d4a861d [2020-03-11T09:12:18.188Z] Step 8/8 : RUN go mod download [2020-03-11T09:12:18.188Z] ---> Running in 1cf3a7b7d7be [2020-03-11T09:12:20.151Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-11T09:12:20.151Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-11T09:12:20.151Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-11T09:12:20.151Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-11T09:12:20.151Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-11T09:12:20.151Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-11T09:12:20.151Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-11T09:12:20.151Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-11T09:12:20.151Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-11T09:12:20.151Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-11T09:12:20.151Z] go: finding github.com/fatih/color v1.7.0 [2020-03-11T09:12:20.151Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-11T09:12:20.151Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-11T09:12:20.151Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-11T09:12:20.151Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-11T09:12:20.151Z] go: finding github.com/google/uuid v1.1.0 [2020-03-11T09:12:20.151Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-11T09:12:20.151Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-11T09:12:20.151Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-11T09:12:20.151Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-11T09:12:20.151Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-11T09:12:20.151Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-11T09:12:20.151Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-11T09:12:20.151Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-11T09:12:20.419Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-11T09:12:20.419Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-11T09:12:20.419Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-11T09:12:20.419Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-11T09:12:20.419Z] go: finding github.com/posener/complete v1.1.1 [2020-03-11T09:12:20.419Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-11T09:12:20.419Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-11T09:12:20.419Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-11T09:12:20.419Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-11T09:12:20.419Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-11T09:12:20.419Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-11T09:12:20.419Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-11T09:12:20.419Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-11T09:12:20.692Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-11T09:12:20.692Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-11T09:12:20.692Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-11T09:12:38.950Z] Removing intermediate container 1cf3a7b7d7be [2020-03-11T09:12:38.950Z] ---> 382b15f4d24c [2020-03-11T09:12:38.950Z] Successfully built 382b15f4d24c [2020-03-11T09:12:38.950Z] 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-11T09:12:39.690Z] + docker inspect -f . ci-base-image-arm64 [2020-03-11T09:12:39.957Z] . [Pipeline] withDockerContainer [2020-03-11T09:12:40.305Z] prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2020-03-11T09:12:40.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-11T09:12:41.943Z] $ docker top baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-11T09:12:43.013Z] + go version [2020-03-11T09:12:43.013Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-11T09:12:43.697Z] + make test [2020-03-11T09:12:43.697Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-11T09:13:30.626Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-11T09:13:30.626Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-11T09:13:30.626Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-11T09:13:30.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 23.1% of statements [2020-03-11T09:13:30.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.170s coverage: 95.8% of statements [2020-03-11T09:13:30.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.186s coverage: 12.7% of statements [2020-03-11T09:13:30.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 25.6% of statements [2020-03-11T09:14:02.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.078s coverage: 30.0% of statements [2020-03-11T09:14:02.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.392s coverage: 42.3% of statements [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-11T09:14:02.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.824s coverage: 79.5% of statements [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-11T09:14:02.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.090s coverage: 52.6% of statements [2020-03-11T09:14:02.978Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 76.1% of statements [2020-03-11T09:14:02.978Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-11T09:14:03.570Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-11T09:14:11.848Z] gofmt -l . [2020-03-11T09:14:11.848Z] [ "`gofmt -l .`" = "" ] [2020-03-11T09:14:12.117Z] ./bin/test-attribution-txt.sh [2020-03-11T09:14:12.703Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-11T09:14:13.373Z] Warning: overwriting stash ‘coverage-report’ [2020-03-11T09:14:13.836Z] Stashed 1 file(s) [Pipeline] } [2020-03-11T09:14:13.844Z] $ docker stop --time=1 baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 [2020-03-11T09:14:16.074Z] $ docker rm -f baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-11T09:14:17.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-11T09:14:17.661Z] + ls -al . [2020-03-11T09:14:17.661Z] total 240 [2020-03-11T09:14:17.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 09:14 . [2020-03-11T09:14:17.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 .. [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 09:11 .dockerignore [2020-03-11T09:14:17.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:11 .git [2020-03-11T09:14:17.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:11 .github [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 09:11 .gitignore [2020-03-11T09:14:17.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:11 .semver [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 11 09:11 Dockerfile.build [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 11 09:11 Jenkinsfile [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 09:11 LICENSE [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 11 09:11 Makefile [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 11 09:11 README.md [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 09:07 VERSION [2020-03-11T09:14:17.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:11 api [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 11 09:11 async.go [2020-03-11T09:14:17.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:11 bin [2020-03-11T09:14:17.661Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 11 09:14 coverage.out [2020-03-11T09:14:17.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 example [2020-03-11T09:14:17.661Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 11 09:14 go.mod [2020-03-11T09:14:17.661Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 11 09:14 go.sum [2020-03-11T09:14:17.661Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 11 09:11 internal [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 11 09:11 manageddevices.go [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 11 09:11 managedprofiles.go [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 11 09:11 managedwatchers.go [2020-03-11T09:14:17.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 pkg [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 11 09:11 service.go [2020-03-11T09:14:17.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 snap [2020-03-11T09:14:17.661Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 09:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:14:18.000Z] + 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=855d649bafbc37363bcd18f874dc5d1b5990fa3e --label arch=arm64 --label version=0.0.0 . [2020-03-11T09:14:18.705Z] Sending build context to Docker daemon 2.803MB [2020-03-11T09:14:18.705Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-11T09:14:18.705Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-11T09:14:18.705Z] ---> 382b15f4d24c [2020-03-11T09:14:18.705Z] Step 3/20 : ARG MAKE='make build' [2020-03-11T09:14:18.705Z] ---> Running in 9412501ad522 [2020-03-11T09:14:19.432Z] Removing intermediate container 9412501ad522 [2020-03-11T09:14:19.432Z] ---> edc5bf6449e3 [2020-03-11T09:14:19.432Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-11T09:14:19.432Z] ---> Running in c2f5da3b2cbb [2020-03-11T09:14:19.731Z] Removing intermediate container c2f5da3b2cbb [2020-03-11T09:14:19.731Z] ---> 4eeee7b2bca0 [2020-03-11T09:14:19.731Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:14:20.005Z] ---> Running in 5ef3e7e8a7ca [2020-03-11T09:14:20.279Z] Removing intermediate container 5ef3e7e8a7ca [2020-03-11T09:14:20.279Z] ---> a04508acdce7 [2020-03-11T09:14:20.279Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:14:20.549Z] ---> Running in 4ca45160a4ba [2020-03-11T09:14:22.498Z] Removing intermediate container 4ca45160a4ba [2020-03-11T09:14:22.498Z] ---> bbb3f82cf305 [2020-03-11T09:14:22.498Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-11T09:14:22.498Z] ---> Running in ffd444745a68 [2020-03-11T09:14:23.461Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-11T09:14:24.041Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-11T09:14:24.621Z] OK: 125 MiB in 39 packages [2020-03-11T09:14:25.579Z] Removing intermediate container ffd444745a68 [2020-03-11T09:14:25.579Z] ---> 152b4e464288 [2020-03-11T09:14:25.579Z] Step 8/20 : COPY . . [2020-03-11T09:14:26.544Z] ---> f68919209513 [2020-03-11T09:14:26.544Z] Step 9/20 : RUN ${MAKE} [2020-03-11T09:14:26.544Z] ---> Running in b5e72952a3b0 [2020-03-11T09:14:27.518Z] 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-11T09:15:06.456Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-11T09:15:21.514Z] Removing intermediate container b5e72952a3b0 [2020-03-11T09:15:21.514Z] ---> e9cc3e912a1a [2020-03-11T09:15:21.514Z] Step 10/20 : FROM scratch [2020-03-11T09:15:21.514Z] ---> [2020-03-11T09:15:21.514Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:15:21.514Z] ---> Running in 51cd07782628 [2020-03-11T09:15:21.514Z] Removing intermediate container 51cd07782628 [2020-03-11T09:15:21.514Z] ---> 2ce7af2bf41d [2020-03-11T09:15:21.514Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-11T09:15:21.780Z] ---> Running in a7a7b60dd9ee [2020-03-11T09:15:22.049Z] Removing intermediate container a7a7b60dd9ee [2020-03-11T09:15:22.049Z] ---> f500b86fb87d [2020-03-11T09:15:22.049Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-11T09:15:22.049Z] ---> Running in 93b65aeed43a [2020-03-11T09:15:22.634Z] Removing intermediate container 93b65aeed43a [2020-03-11T09:15:22.634Z] ---> 42bb2834b300 [2020-03-11T09:15:22.634Z] Step 14/20 : WORKDIR / [2020-03-11T09:15:22.634Z] ---> Running in 070feef03c5b [2020-03-11T09:15:22.901Z] Removing intermediate container 070feef03c5b [2020-03-11T09:15:22.901Z] ---> 0e5244d91927 [2020-03-11T09:15:22.901Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-11T09:15:24.317Z] ---> ae6cd698a539 [2020-03-11T09:15:24.317Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-11T09:15:24.585Z] ---> be3b424deb15 [2020-03-11T09:15:24.585Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-11T09:15:24.852Z] ---> Running in aa9db3d08ca5 [2020-03-11T09:15:25.119Z] Removing intermediate container aa9db3d08ca5 [2020-03-11T09:15:25.119Z] ---> bdc089b591b6 [2020-03-11T09:15:25.119Z] Step 18/20 : LABEL arch=arm64 [2020-03-11T09:15:25.386Z] ---> Running in 914433cf085b [2020-03-11T09:15:25.658Z] Removing intermediate container 914433cf085b [2020-03-11T09:15:25.658Z] ---> b38a81d55d88 [2020-03-11T09:15:25.658Z] Step 19/20 : LABEL git_sha=855d649bafbc37363bcd18f874dc5d1b5990fa3e [2020-03-11T09:15:25.658Z] ---> Running in fdccecaad04e [2020-03-11T09:15:26.243Z] Removing intermediate container fdccecaad04e [2020-03-11T09:15:26.243Z] ---> a0153966f2b6 [2020-03-11T09:15:26.243Z] Step 20/20 : LABEL version=0.0.0 [2020-03-11T09:15:26.243Z] ---> Running in f7fd224487a0 [2020-03-11T09:15:26.514Z] Removing intermediate container f7fd224487a0 [2020-03-11T09:15:26.514Z] ---> 41a6cef76e4d [2020-03-11T09:15:26.514Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-11T09:15:26.514Z] Successfully built 41a6cef76e4d [2020-03-11T09:15:26.514Z] 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-11T09:15:27.508Z] provisioning config files... [2020-03-11T09:15:27.525Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config2796840213093432833tmp [Pipeline] { [Pipeline] sh [2020-03-11T09:15:27.869Z] + curl -s https://codecov.io/bash [2020-03-11T09:15:27.869Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config2796840213093432833tmp [2020-03-11T09:15:28.128Z] [2020-03-11T09:15:28.128Z] _____ _ [2020-03-11T09:15:28.128Z] / ____| | | [2020-03-11T09:15:28.128Z] | | ___ __| | ___ ___ _____ __ [2020-03-11T09:15:28.128Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-11T09:15:28.128Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-11T09:15:28.128Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-11T09:15:28.128Z] Bash-20200303-bc4d7e6 [2020-03-11T09:15:28.128Z] [2020-03-11T09:15:28.128Z] [2020-03-11T09:15:28.128Z] ==> Jenkins CI detected. [2020-03-11T09:15:28.128Z] project root: . [2020-03-11T09:15:28.128Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-11T09:15:28.128Z] ==> Running gcov in . (disable via -X gcov) [2020-03-11T09:15:28.128Z] ==> Python coveragepy not found [2020-03-11T09:15:28.128Z] ==> Searching for coverage reports in: [2020-03-11T09:15:28.128Z] + . [2020-03-11T09:15:28.128Z] -> Found 1 reports [2020-03-11T09:15:28.128Z] ==> Detecting git/mercurial file structure [2020-03-11T09:15:28.128Z] ==> Reading reports [2020-03-11T09:15:28.128Z] + ./coverage.out bytes=100201 [2020-03-11T09:15:28.128Z] ==> Appending adjustments [2020-03-11T09:15:28.128Z] http://docs.codecov.io/docs/fixing-reports [2020-03-11T09:15:28.699Z] + Found adjustments [2020-03-11T09:15:28.699Z] ==> Gzipping contents [2020-03-11T09:15:28.699Z] ==> Uploading reports [2020-03-11T09:15:28.699Z] url: https://codecov.io [2020-03-11T09:15:28.699Z] query: branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= [2020-03-11T09:15:28.699Z] -> Pinging Codecov [2020-03-11T09:15:28.699Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= [2020-03-11T09:17:50.628Z] -> Uploading [2020-03-11T09:17:50.628Z] X> Failed to upload [2020-03-11T09:17:50.628Z] -> Sleeping for 30s and trying again... [2020-03-11T09:18:08.752Z] -> Pinging Codecov [2020-03-11T09:18:08.752Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= [2020-03-11T09:18:08.752Z] -> Uploading [2020-03-11T09:18:08.752Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/855d649bafbc37363bcd18f874dc5d1b5990fa3e [Pipeline] } [2020-03-11T09:18:08.760Z] 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-11T09:18:09.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:18:10.263Z] ---> package-listing.sh [2020-03-11T09:18:10.263Z] ++ facter osfamily [2020-03-11T09:18:10.263Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-11T09:18:10.263Z] + OS_FAMILY=redhat [2020-03-11T09:18:10.263Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-461 [2020-03-11T09:18:10.263Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-11T09:18:10.263Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-11T09:18:10.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-11T09:18:10.263Z] + PACKAGES=/tmp/packages_start.txt [2020-03-11T09:18:10.263Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-461 ']' [2020-03-11T09:18:10.263Z] + PACKAGES=/tmp/packages_end.txt [2020-03-11T09:18:10.263Z] + case "${OS_FAMILY}" in [2020-03-11T09:18:10.263Z] + rpm -qa [2020-03-11T09:18:10.263Z] + sort [2020-03-11T09:18:13.558Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-11T09:18:13.558Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-11T09:18:13.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-11T09:18:13.558Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-461 ']' [2020-03-11T09:18:13.558Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-461/archives/ [2020-03-11T09:18:13.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-461/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:18:14.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-11T09:18:14.027Z] [2020-03-11T09:18:14.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:18:14.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-11T09:18:14.363Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-11T09:18:14.363Z] c9b1b535fdd9: Pulling fs layer [2020-03-11T09:18:14.363Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-11T09:18:14.363Z] 756a868c4378: Pulling fs layer [2020-03-11T09:18:14.363Z] 444b2fc9a129: Pulling fs layer [2020-03-11T09:18:14.363Z] ea15f1150254: Pulling fs layer [2020-03-11T09:18:14.363Z] 41b27a9f41bf: Pulling fs layer [2020-03-11T09:18:14.363Z] 28c525ee5125: Pulling fs layer [2020-03-11T09:18:14.363Z] 094b1ea09ed8: Pulling fs layer [2020-03-11T09:18:14.363Z] 138eaada9080: Pulling fs layer [2020-03-11T09:18:14.363Z] 0622d0fa9048: Pulling fs layer [2020-03-11T09:18:14.364Z] 444b2fc9a129: Waiting [2020-03-11T09:18:14.364Z] ea15f1150254: Waiting [2020-03-11T09:18:14.364Z] 41b27a9f41bf: Waiting [2020-03-11T09:18:14.364Z] 28c525ee5125: Waiting [2020-03-11T09:18:14.364Z] 094b1ea09ed8: Waiting [2020-03-11T09:18:14.364Z] 138eaada9080: Waiting [2020-03-11T09:18:14.364Z] 0622d0fa9048: Waiting [2020-03-11T09:18:14.364Z] 2cc5ad85d9ab: Download complete [2020-03-11T09:18:14.364Z] 444b2fc9a129: Download complete [2020-03-11T09:18:14.364Z] c9b1b535fdd9: Download complete [2020-03-11T09:18:14.364Z] ea15f1150254: Verifying Checksum [2020-03-11T09:18:14.364Z] ea15f1150254: Download complete [2020-03-11T09:18:14.629Z] 28c525ee5125: Verifying Checksum [2020-03-11T09:18:14.629Z] 28c525ee5125: Download complete [2020-03-11T09:18:14.906Z] c9b1b535fdd9: Pull complete [2020-03-11T09:18:14.906Z] 756a868c4378: Verifying Checksum [2020-03-11T09:18:14.906Z] 756a868c4378: Download complete [2020-03-11T09:18:15.168Z] 2cc5ad85d9ab: Pull complete [2020-03-11T09:18:15.168Z] 138eaada9080: Verifying Checksum [2020-03-11T09:18:15.168Z] 138eaada9080: Download complete [2020-03-11T09:18:15.168Z] 0622d0fa9048: Verifying Checksum [2020-03-11T09:18:15.168Z] 0622d0fa9048: Download complete [2020-03-11T09:18:15.168Z] 094b1ea09ed8: Verifying Checksum [2020-03-11T09:18:15.168Z] 094b1ea09ed8: Download complete [2020-03-11T09:18:15.747Z] 41b27a9f41bf: Verifying Checksum [2020-03-11T09:18:15.747Z] 41b27a9f41bf: Download complete [2020-03-11T09:18:17.139Z] 756a868c4378: Pull complete [2020-03-11T09:18:17.139Z] 444b2fc9a129: Pull complete [2020-03-11T09:18:17.709Z] ea15f1150254: Pull complete [2020-03-11T09:18:21.910Z] 41b27a9f41bf: Pull complete [2020-03-11T09:18:21.910Z] 28c525ee5125: Pull complete [2020-03-11T09:18:24.459Z] 094b1ea09ed8: Pull complete [2020-03-11T09:18:24.459Z] 138eaada9080: Pull complete [2020-03-11T09:18:24.459Z] 0622d0fa9048: Pull complete [2020-03-11T09:18:24.459Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-11T09:18:24.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-11T09:18:24.630Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2020-03-11T09:18:24.671Z] $ 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-461 -v /w/workspace/dgexfoundry_device-sdk-go_PR-461:/w/workspace/dgexfoundry_device-sdk-go_PR-461:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-11T09:18:25.874Z] $ docker top a1bfe0c0da5dbf1577f23c625a6049b5b2e23cfd2762222d0a899d55b5bfc609 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-11T09:18:26.172Z] provisioning config files... [2020-03-11T09:18:26.189Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config8706714948167096042tmp [Pipeline] { [Pipeline] echo [2020-03-11T09:18:26.238Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:18:26.540Z] ---> create-netrc.sh [Pipeline] echo [2020-03-11T09:18:26.548Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:18:26.846Z] ---> logs-deploy.sh [2020-03-11T09:18:26.846Z] + ARCHIVE_ARTIFACTS= [2020-03-11T09:18:26.846Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-11T09:18:26.846Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-11T09:18:26.846Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-11T09:18:26.846Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 [2020-03-11T09:18:26.846Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-461/3/ [2020-03-11T09:18:26.846Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 /w/workspace/dgexfoundry_device-sdk-go_PR-461 [2020-03-11T09:18:28.228Z] Archives upload complete. [2020-03-11T09:18:28.228Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-461/3/