Pull request #464 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (35864d00d7bb854b2309560fb90b808e21af9a55) 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 ‘prd-centos7-docker-4c-2g-931’ Running on prd-centos7-docker-4c-2g-934 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. > git rev-list --no-walk 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-17T18:49:21.752Z] 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-17T18:49:24.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-17T18:49:24.167Z] [2020-03-17T18:49:24.167Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:49:24.552Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-17T18:49:24.552Z] latest: Pulling from edgex-devops/git-semver [2020-03-17T18:49:24.552Z] 9123ac7c32f7: Pulling fs layer [2020-03-17T18:49:24.552Z] b8cc5d1170e3: Pulling fs layer [2020-03-17T18:49:24.552Z] 2924cbbf6a41: Pulling fs layer [2020-03-17T18:49:24.552Z] 93b08a4f1073: Pulling fs layer [2020-03-17T18:49:24.552Z] 93b08a4f1073: Waiting [2020-03-17T18:49:24.552Z] b8cc5d1170e3: Verifying Checksum [2020-03-17T18:49:24.552Z] b8cc5d1170e3: Download complete [2020-03-17T18:49:24.816Z] 9123ac7c32f7: Download complete [2020-03-17T18:49:24.816Z] 93b08a4f1073: Verifying Checksum [2020-03-17T18:49:24.816Z] 93b08a4f1073: Download complete [2020-03-17T18:49:24.816Z] 2924cbbf6a41: Verifying Checksum [2020-03-17T18:49:24.816Z] 2924cbbf6a41: Download complete [2020-03-17T18:49:25.084Z] 9123ac7c32f7: Pull complete [2020-03-17T18:49:25.084Z] b8cc5d1170e3: Pull complete [2020-03-17T18:49:26.036Z] 2924cbbf6a41: Pull complete [2020-03-17T18:49:26.036Z] 93b08a4f1073: Pull complete [2020-03-17T18:49:26.036Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-17T18:49:26.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-17T18:49:26.173Z] prd-centos7-docker-4c-2g-934 does not seem to be running inside a container [2020-03-17T18:49:26.241Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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:10004/edgex-devops/git-semver:latest cat [2020-03-17T18:49:27.051Z] $ docker top 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-17T18:49:27.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-17T18:49:27.353Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-17T18:49:27.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-17T18:49:27.606Z] $ docker exec 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent [2020-03-17T18:49:27.830Z] SSH_AUTH_SOCK=/tmp/ssh-bEVz2ZRfhOmb/agent.15 [2020-03-17T18:49:27.830Z] SSH_AGENT_PID=22 [2020-03-17T18:49:27.842Z] Running ssh-add (command line suppressed) [2020-03-17T18:49:27.999Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8848018292694173246.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8848018292694173246.key) [2020-03-17T18:49:28.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-17T18:49:28.390Z] + git describe --exact-match --tags HEAD [2020-03-17T18:49:28.390Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-17T18:49:28.450Z] $ docker exec --env ******** --env ******** 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent -k [2020-03-17T18:49:28.599Z] unset SSH_AUTH_SOCK; [2020-03-17T18:49:28.600Z] unset SSH_AGENT_PID; [2020-03-17T18:49:28.600Z] echo Agent pid 22 killed; [2020-03-17T18:49:28.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-17T18:49:28.725Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-17T18:49:28.725Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-17T18:49:28.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-17T18:49:28.810Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-17T18:49:29.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-17T18:49:29.015Z] $ docker exec 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent [2020-03-17T18:49:29.234Z] SSH_AUTH_SOCK=/tmp/ssh-vo1CpUU9abJK/agent.57 [2020-03-17T18:49:29.234Z] SSH_AGENT_PID=64 [2020-03-17T18:49:29.241Z] Running ssh-add (command line suppressed) [2020-03-17T18:49:29.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3514526736555828572.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3514526736555828572.key) [2020-03-17T18:49:29.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-17T18:49:29.785Z] + git semver init [2020-03-17T18:49:29.785Z] # -> Open(): unable to determine branch for HEAD [2020-03-17T18:49:29.785Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-03-17T18:49:29.785Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-03-17T18:49:29.785Z] # $SEMVER_REMOTE_NAME = origin [2020-03-17T18:49:29.785Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-17T18:49:29.785Z] # $SEMVER_USER_NAME = jenkins [2020-03-17T18:49:29.785Z] # $SEMVER_BRANCH = PR-464 [2020-03-17T18:49:29.785Z] # $SEMVER_TEMP = /tmp/semver-265595835 [2020-03-17T18:49:29.785Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-17T18:49:30.355Z] # '/tmp/semver-265595835' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-03-17T18:49:30.355Z] # -> Force: false [2020-03-17T18:49:30.355Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-03-17T18:49:30.363Z] $ docker exec --env ******** --env ******** 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent -k [2020-03-17T18:49:30.508Z] unset SSH_AUTH_SOCK; [2020-03-17T18:49:30.509Z] unset SSH_AGENT_PID; [2020-03-17T18:49:30.509Z] echo Agent pid 64 killed; [2020-03-17T18:49:30.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-17T18:49:31.016Z] + git semver [Pipeline] } [2020-03-17T18:49:31.030Z] $ docker stop --time=1 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 [2020-03-17T18:49:32.401Z] $ docker rm -f 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-17T18:49:33.425Z] Stashed 32 file(s) [Pipeline] echo [2020-03-17T18:49:33.426Z] [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-17T18:49:48.665Z] Still waiting to schedule task [2020-03-17T18:49:48.665Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-17T18:49:48.666Z] Still waiting to schedule task [2020-03-17T18:49:48.666Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-932’ [2020-03-17T18:51:40.781Z] Running on prd-centos7-docker-4c-2g-935 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-03-17T18:51:40.849Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-17T18:51:43.478Z] using credential edgex-jenkins-ssh [2020-03-17T18:51:43.540Z] Cloning the remote Git repository [2020-03-17T18:51:43.540Z] Cloning with configured refspecs honoured and without tags [2020-03-17T18:51:44.287Z] Fetching without tags [2020-03-17T18:51:43.245Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:51:43.297Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-17T18:51:43.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:51:43.344Z] > git --version # timeout=10 [2020-03-17T18:51:43.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:51:43.392Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:51:43.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-17T18:51:43.975Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-03-17T18:51:43.982Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:51:43.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-17T18:51:44.015Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:51:44.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:51:44.021Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:51:44.665Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:51:44.792Z] Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:51:44.792Z] Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) [2020-03-17T18:51:44.428Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T18:51:44.438Z] > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 [2020-03-17T18:51:44.494Z] > git remote # timeout=10 [2020-03-17T18:51:44.507Z] > git config --get remote.origin.url # timeout=10 [2020-03-17T18:51:44.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:51:44.521Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-17T18:51:44.541Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-17T18:51:44.561Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T18:51:44.573Z] > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 [2020-03-17T18:51:48.518Z] Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-17T18:51:49.527Z] ========================================================= [2020-03-17T18:51:49.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-17T18:51:49.527Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:51:50.212Z] + 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-17T18:51:50.478Z] Sending build context to Docker daemon 2.702MB [2020-03-17T18:51:50.478Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-17T18:51:50.478Z] Step 2/8 : FROM ${BASE} [2020-03-17T18:51:50.479Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-17T18:51:50.479Z] e6b0cf9c0882: Pulling fs layer [2020-03-17T18:51:50.479Z] 2848faf0eed1: Pulling fs layer [2020-03-17T18:51:50.479Z] 0f37312ad70f: Pulling fs layer [2020-03-17T18:51:50.479Z] 5788d62ee057: Pulling fs layer [2020-03-17T18:51:50.479Z] 0e6b1d234666: Pulling fs layer [2020-03-17T18:51:50.479Z] bf5d7aec512f: Pulling fs layer [2020-03-17T18:51:50.479Z] 34c802a77dc8: Pulling fs layer [2020-03-17T18:51:50.479Z] 9eb99e56ec68: Pulling fs layer [2020-03-17T18:51:50.479Z] 27c7a5d97fbd: Pulling fs layer [2020-03-17T18:51:50.479Z] 5c102a31e300: Pulling fs layer [2020-03-17T18:51:50.479Z] dcfb455df0a1: Pulling fs layer [2020-03-17T18:51:50.479Z] 34c802a77dc8: Waiting [2020-03-17T18:51:50.479Z] 9eb99e56ec68: Waiting [2020-03-17T18:51:50.479Z] 27c7a5d97fbd: Waiting [2020-03-17T18:51:50.479Z] 5c102a31e300: Waiting [2020-03-17T18:51:50.479Z] dcfb455df0a1: Waiting [2020-03-17T18:51:50.479Z] 5788d62ee057: Waiting [2020-03-17T18:51:50.479Z] 0e6b1d234666: Waiting [2020-03-17T18:51:50.479Z] bf5d7aec512f: Waiting [2020-03-17T18:51:50.479Z] 0f37312ad70f: Verifying Checksum [2020-03-17T18:51:50.479Z] 0f37312ad70f: Download complete [2020-03-17T18:51:50.479Z] 2848faf0eed1: Verifying Checksum [2020-03-17T18:51:50.479Z] 2848faf0eed1: Download complete [2020-03-17T18:51:50.479Z] 0e6b1d234666: Verifying Checksum [2020-03-17T18:51:50.479Z] 0e6b1d234666: Download complete [2020-03-17T18:51:50.745Z] bf5d7aec512f: Verifying Checksum [2020-03-17T18:51:50.745Z] bf5d7aec512f: Download complete [2020-03-17T18:51:50.745Z] e6b0cf9c0882: Verifying Checksum [2020-03-17T18:51:50.745Z] e6b0cf9c0882: Download complete [2020-03-17T18:51:51.012Z] e6b0cf9c0882: Pull complete [2020-03-17T18:51:51.280Z] 2848faf0eed1: Pull complete [2020-03-17T18:51:51.280Z] 0f37312ad70f: Pull complete [2020-03-17T18:51:51.876Z] 34c802a77dc8: Verifying Checksum [2020-03-17T18:51:51.877Z] 34c802a77dc8: Download complete [2020-03-17T18:51:51.877Z] 27c7a5d97fbd: Verifying Checksum [2020-03-17T18:51:51.877Z] 27c7a5d97fbd: Download complete [2020-03-17T18:51:52.473Z] 5c102a31e300: Verifying Checksum [2020-03-17T18:51:52.473Z] 5c102a31e300: Download complete [2020-03-17T18:51:52.750Z] dcfb455df0a1: Verifying Checksum [2020-03-17T18:51:52.750Z] dcfb455df0a1: Download complete [2020-03-17T18:51:52.750Z] 5788d62ee057: Verifying Checksum [2020-03-17T18:51:52.750Z] 5788d62ee057: Download complete [2020-03-17T18:51:52.750Z] 9eb99e56ec68: Verifying Checksum [2020-03-17T18:51:52.750Z] 9eb99e56ec68: Download complete [2020-03-17T18:51:59.361Z] 5788d62ee057: Pull complete [2020-03-17T18:51:59.361Z] 0e6b1d234666: Pull complete [2020-03-17T18:51:59.361Z] bf5d7aec512f: Pull complete [2020-03-17T18:52:04.664Z] 34c802a77dc8: Pull complete [2020-03-17T18:52:08.890Z] 9eb99e56ec68: Pull complete [2020-03-17T18:52:08.890Z] 27c7a5d97fbd: Pull complete [2020-03-17T18:52:09.157Z] 5c102a31e300: Pull complete [2020-03-17T18:52:09.418Z] dcfb455df0a1: Pull complete [2020-03-17T18:52:09.418Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-17T18:52:09.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-17T18:52:09.418Z] ---> 7c70fe431013 [2020-03-17T18:52:09.418Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:52:09.686Z] ---> Running in cb0fc88222b5 [2020-03-17T18:52:09.686Z] Removing intermediate container cb0fc88222b5 [2020-03-17T18:52:09.686Z] ---> f70017a637e1 [2020-03-17T18:52:09.686Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-17T18:52:09.686Z] ---> Running in 817afb15cfa4 [2020-03-17T18:52:10.633Z] Removing intermediate container 817afb15cfa4 [2020-03-17T18:52:10.633Z] ---> f86d1f7d58c6 [2020-03-17T18:52:10.633Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-17T18:52:10.894Z] ---> Running in 94d75847ae16 [2020-03-17T18:52:11.156Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-17T18:52:12.100Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-17T18:52:13.042Z] OK: 143 MiB in 39 packages [2020-03-17T18:52:13.303Z] Removing intermediate container 94d75847ae16 [2020-03-17T18:52:13.303Z] ---> 90c01969884b [2020-03-17T18:52:13.303Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-17T18:52:13.303Z] ---> Running in 8c615dc4d23f [2020-03-17T18:52:13.564Z] Removing intermediate container 8c615dc4d23f [2020-03-17T18:52:13.564Z] ---> 1766ff730865 [2020-03-17T18:52:13.564Z] Step 7/8 : COPY . . [2020-03-17T18:52:14.135Z] ---> 8658267f4521 [2020-03-17T18:52:14.135Z] Step 8/8 : RUN go mod download [2020-03-17T18:52:14.135Z] ---> Running in e67efc2348cf [2020-03-17T18:52:16.677Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-17T18:52:16.677Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-17T18:52:16.677Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-17T18:52:16.677Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-17T18:52:16.677Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-17T18:52:16.677Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-17T18:52:16.677Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-17T18:52:16.677Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-17T18:52:16.677Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-17T18:52:16.677Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-17T18:52:16.677Z] go: finding github.com/fatih/color v1.7.0 [2020-03-17T18:52:16.677Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-17T18:52:16.677Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-17T18:52:16.677Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-17T18:52:16.677Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-17T18:52:16.677Z] go: finding github.com/google/uuid v1.1.0 [2020-03-17T18:52:16.677Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-17T18:52:16.677Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-17T18:52:16.677Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-17T18:52:16.677Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-17T18:52:16.677Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-17T18:52:16.677Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-17T18:52:16.677Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-17T18:52:16.938Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-17T18:52:16.938Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-17T18:52:16.938Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-17T18:52:16.938Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-17T18:52:16.938Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-17T18:52:16.938Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-17T18:52:16.938Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-17T18:52:16.938Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-17T18:52:16.938Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-17T18:52:16.939Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-17T18:52:16.939Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-17T18:52:16.939Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-17T18:52:16.939Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-17T18:52:16.939Z] go: finding github.com/posener/complete v1.1.1 [2020-03-17T18:52:16.939Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-17T18:52:16.939Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-17T18:52:16.939Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-17T18:52:16.939Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-17T18:52:16.939Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-17T18:52:17.209Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-17T18:52:17.209Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-17T18:52:17.209Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-17T18:52:17.209Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-17T18:52:17.209Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-17T18:52:17.209Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-17T18:52:25.377Z] Removing intermediate container e67efc2348cf [2020-03-17T18:52:25.377Z] ---> 2a258bf46dd8 [2020-03-17T18:52:25.377Z] Successfully built 2a258bf46dd8 [2020-03-17T18:52:25.377Z] 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-17T18:52:26.026Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-17T18:52:26.026Z] . [Pipeline] withDockerContainer [2020-03-17T18:52:26.169Z] prd-centos7-docker-4c-2g-935 does not seem to be running inside a container [2020-03-17T18:52:26.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-17T18:52:26.974Z] $ docker top 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-17T18:52:27.545Z] + go version [2020-03-17T18:52:27.545Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-17T18:52:27.868Z] + make test [2020-03-17T18:52:27.868Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-17T18:52:46.186Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-17T18:52:46.186Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-17T18:52:46.186Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-17T18:52:50.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 23.1% of statements [2020-03-17T18:52:50.660Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.062s coverage: 95.8% of statements [2020-03-17T18:52:54.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.048s coverage: 12.7% of statements [2020-03-17T18:52:54.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 20.5% of statements [2020-03-17T18:53:16.037Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-936 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-03-17T18:53:16.111Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-17T18:53:22.369Z] using credential edgex-jenkins-ssh [2020-03-17T18:53:22.431Z] Cloning the remote Git repository [2020-03-17T18:53:22.431Z] Cloning with configured refspecs honoured and without tags [2020-03-17T18:53:22.541Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:53:23.768Z] Fetching without tags [2020-03-17T18:53:22.642Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-17T18:53:22.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:53:22.752Z] > git --version # timeout=10 [2020-03-17T18:53:22.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:53:22.842Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:53:23.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-17T18:53:23.725Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-03-17T18:53:23.745Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:53:23.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-17T18:53:23.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-17T18:53:23.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:53:23.828Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T18:53:24.298Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:53:24.610Z] Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:53:24.610Z] Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) [2020-03-17T18:53:24.332Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T18:53:24.361Z] > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 [2020-03-17T18:53:24.462Z] > git remote # timeout=10 [2020-03-17T18:53:24.492Z] > git config --get remote.origin.url # timeout=10 [2020-03-17T18:53:24.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T18:53:24.521Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-17T18:53:24.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-17T18:53:24.634Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T18:53:24.679Z] > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 [2020-03-17T18:53:26.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.020s coverage: 30.0% of statements [2020-03-17T18:53:26.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.430s coverage: 42.3% of statements [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-17T18:53:26.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.717s coverage: 77.7% of statements [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-17T18:53:26.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements [2020-03-17T18:53:26.126Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 76.1% of statements [2020-03-17T18:53:26.126Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-17T18:53:26.126Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-17T18:53:26.701Z] gofmt -l . [2020-03-17T18:53:26.701Z] [ "`gofmt -l .`" = "" ] [2020-03-17T18:53:26.701Z] ./bin/test-attribution-txt.sh [2020-03-17T18:53:27.645Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-17T18:53:28.133Z] Stashed 1 file(s) [Pipeline] } [2020-03-17T18:53:28.142Z] $ docker stop --time=1 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b [2020-03-17T18:53:29.425Z] Commit message: "Fix the Content Header-related issue with CBOR." [2020-03-17T18:53:29.672Z] $ docker rm -f 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-17T18:53:31.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-17T18:53:31.506Z] + ls -al . [2020-03-17T18:53:31.506Z] total 200 [2020-03-17T18:53:31.506Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 17 18:53 . [2020-03-17T18:53:31.506Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 18:51 .. [2020-03-17T18:53:31.506Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 17 18:51 api [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 17 18:51 async.go [2020-03-17T18:53:31.506Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 18:51 bin [2020-03-17T18:53:31.506Z] -rw-r--r--. 1 jenkins jenkins 102163 Mar 17 18:53 coverage.out [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 17 18:51 Dockerfile.build [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 18:51 .dockerignore [2020-03-17T18:53:31.506Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 17 18:51 example [2020-03-17T18:53:31.506Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 18:51 .git [2020-03-17T18:53:31.506Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 17 18:51 .github [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 18:51 .gitignore [2020-03-17T18:53:31.506Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 17 18:53 go.mod [2020-03-17T18:53:31.506Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 17 18:53 go.sum [2020-03-17T18:53:31.506Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 17 18:51 internal [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 17 18:51 Jenkinsfile [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 18:51 LICENSE [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 17 18:51 Makefile [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 17 18:51 manageddevices.go [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 17 18:51 managedprofiles.go [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 17 18:51 managedwatchers.go [2020-03-17T18:53:31.506Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 17 18:51 pkg [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 17 18:51 README.md [2020-03-17T18:53:31.506Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 17 18:51 .semver [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 17 18:51 service.go [2020-03-17T18:53:31.506Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 18:51 snap [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 18:49 VERSION [2020-03-17T18:53:31.506Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 18:51 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-03-17T18:53:31.599Z] ========================================================= [2020-03-17T18:53:31.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-17T18:53:31.599Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:53:31.828Z] + 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=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce --label arch=amd64 --label version=0.0.0 . [2020-03-17T18:53:32.092Z] Sending build context to Docker daemon 2.829MB [2020-03-17T18:53:32.092Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-17T18:53:32.092Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-17T18:53:32.092Z] ---> 2a258bf46dd8 [2020-03-17T18:53:32.092Z] Step 3/20 : ARG MAKE='make build' [2020-03-17T18:53:32.092Z] ---> Running in 9001abc51437 [2020-03-17T18:53:32.092Z] Removing intermediate container 9001abc51437 [2020-03-17T18:53:32.092Z] ---> 766fd19bda22 [2020-03-17T18:53:32.092Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-17T18:53:32.092Z] ---> Running in fd312fceb9bb [2020-03-17T18:53:32.354Z] Removing intermediate container fd312fceb9bb [2020-03-17T18:53:32.354Z] ---> 357009647405 [2020-03-17T18:53:32.354Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:53:32.354Z] ---> Running in 815be120e525 [2020-03-17T18:53:32.615Z] Removing intermediate container 815be120e525 [2020-03-17T18:53:32.615Z] ---> bf2294e1a240 [2020-03-17T18:53:32.615Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-17T18:53:32.615Z] ---> Running in a5608129c3aa [2020-03-17T18:53:32.627Z] + 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-17T18:53:33.186Z] Removing intermediate container a5608129c3aa [2020-03-17T18:53:33.186Z] ---> 73b8c42ce377 [2020-03-17T18:53:33.186Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-17T18:53:33.446Z] ---> Running in cefcefc5f0e1 [2020-03-17T18:53:33.602Z] Sending build context to Docker daemon 2.702MB [2020-03-17T18:53:33.602Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-17T18:53:33.602Z] Step 2/8 : FROM ${BASE} [2020-03-17T18:53:33.708Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-17T18:53:33.872Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-17T18:53:33.872Z] cde5963f3b93: Pulling fs layer [2020-03-17T18:53:33.872Z] 2a23fa8c16f7: Pulling fs layer [2020-03-17T18:53:33.872Z] 777b28850792: Pulling fs layer [2020-03-17T18:53:33.872Z] 8a11ddd9e578: Pulling fs layer [2020-03-17T18:53:33.872Z] 4cf88f913ddb: Pulling fs layer [2020-03-17T18:53:33.872Z] 1df406cf5192: Pulling fs layer [2020-03-17T18:53:33.872Z] cd6300453558: Pulling fs layer [2020-03-17T18:53:33.872Z] b9c365052c96: Pulling fs layer [2020-03-17T18:53:33.872Z] a2d8cc88f415: Pulling fs layer [2020-03-17T18:53:33.872Z] ea1d1ca13537: Pulling fs layer [2020-03-17T18:53:33.872Z] 3750a50a1c5e: Pulling fs layer [2020-03-17T18:53:33.872Z] cd6300453558: Waiting [2020-03-17T18:53:33.872Z] b9c365052c96: Waiting [2020-03-17T18:53:33.872Z] a2d8cc88f415: Waiting [2020-03-17T18:53:33.872Z] ea1d1ca13537: Waiting [2020-03-17T18:53:33.872Z] 3750a50a1c5e: Waiting [2020-03-17T18:53:33.872Z] 8a11ddd9e578: Waiting [2020-03-17T18:53:33.872Z] 4cf88f913ddb: Waiting [2020-03-17T18:53:33.872Z] 1df406cf5192: Waiting [2020-03-17T18:53:33.872Z] 777b28850792: Verifying Checksum [2020-03-17T18:53:33.872Z] 777b28850792: Download complete [2020-03-17T18:53:33.872Z] 2a23fa8c16f7: Download complete [2020-03-17T18:53:33.872Z] 4cf88f913ddb: Verifying Checksum [2020-03-17T18:53:33.872Z] 4cf88f913ddb: Download complete [2020-03-17T18:53:34.146Z] 1df406cf5192: Verifying Checksum [2020-03-17T18:53:34.146Z] 1df406cf5192: Download complete [2020-03-17T18:53:34.146Z] cde5963f3b93: Download complete [2020-03-17T18:53:34.647Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-17T18:53:35.126Z] cde5963f3b93: Pull complete [2020-03-17T18:53:35.719Z] 2a23fa8c16f7: Pull complete [2020-03-17T18:53:35.993Z] 777b28850792: Pull complete [2020-03-17T18:53:36.030Z] OK: 143 MiB in 39 packages [2020-03-17T18:53:36.030Z] Removing intermediate container cefcefc5f0e1 [2020-03-17T18:53:36.030Z] ---> 52f498458f6f [2020-03-17T18:53:36.030Z] Step 8/20 : COPY . . [2020-03-17T18:53:36.598Z] ---> 6744306a6e27 [2020-03-17T18:53:36.598Z] Step 9/20 : RUN ${MAKE} [2020-03-17T18:53:36.598Z] ---> Running in a9f380fdd8af [2020-03-17T18:53:36.859Z] 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-17T18:53:38.593Z] cd6300453558: Verifying Checksum [2020-03-17T18:53:38.593Z] cd6300453558: Download complete [2020-03-17T18:53:38.593Z] a2d8cc88f415: Verifying Checksum [2020-03-17T18:53:38.593Z] a2d8cc88f415: Download complete [2020-03-17T18:53:41.192Z] ea1d1ca13537: Verifying Checksum [2020-03-17T18:53:41.192Z] ea1d1ca13537: Download complete [2020-03-17T18:53:41.192Z] 3750a50a1c5e: Verifying Checksum [2020-03-17T18:53:41.192Z] 3750a50a1c5e: Download complete [2020-03-17T18:53:43.790Z] b9c365052c96: Verifying Checksum [2020-03-17T18:53:43.790Z] b9c365052c96: Download complete [2020-03-17T18:53:45.746Z] 8a11ddd9e578: Verifying Checksum [2020-03-17T18:53:45.746Z] 8a11ddd9e578: Download complete [2020-03-17T18:53:51.854Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-17T18:53:56.073Z] Removing intermediate container a9f380fdd8af [2020-03-17T18:53:56.073Z] ---> bb30d637c0c4 [2020-03-17T18:53:56.073Z] Step 10/20 : FROM scratch [2020-03-17T18:53:56.073Z] ---> [2020-03-17T18:53:56.073Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:53:56.333Z] ---> Running in 6dec751848c9 [2020-03-17T18:53:56.333Z] Removing intermediate container 6dec751848c9 [2020-03-17T18:53:56.333Z] ---> 7a199cd2cac5 [2020-03-17T18:53:56.333Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-17T18:53:56.333Z] ---> Running in 539be93b07d7 [2020-03-17T18:53:56.593Z] Removing intermediate container 539be93b07d7 [2020-03-17T18:53:56.593Z] ---> e1a149d74153 [2020-03-17T18:53:56.593Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-17T18:53:56.593Z] ---> Running in 797957bfcda3 [2020-03-17T18:53:56.593Z] Removing intermediate container 797957bfcda3 [2020-03-17T18:53:56.593Z] ---> abf60583d414 [2020-03-17T18:53:56.593Z] Step 14/20 : WORKDIR / [2020-03-17T18:53:56.593Z] ---> Running in 423bcbda1d7d [2020-03-17T18:53:56.852Z] Removing intermediate container 423bcbda1d7d [2020-03-17T18:53:56.852Z] ---> d342eb8d5f5c [2020-03-17T18:53:56.852Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-17T18:53:57.430Z] ---> 1ae1f9885d73 [2020-03-17T18:53:57.430Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-17T18:53:57.430Z] ---> afc0119ff8a3 [2020-03-17T18:53:57.430Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-17T18:53:57.690Z] ---> Running in dbd157b0c87c [2020-03-17T18:53:57.690Z] Removing intermediate container dbd157b0c87c [2020-03-17T18:53:57.690Z] ---> d326c84bddda [2020-03-17T18:53:57.690Z] Step 18/20 : LABEL arch=amd64 [2020-03-17T18:53:57.690Z] ---> Running in d8ca09f67d93 [2020-03-17T18:53:57.951Z] Removing intermediate container d8ca09f67d93 [2020-03-17T18:53:57.951Z] ---> 4cbcfabc4b7f [2020-03-17T18:53:57.951Z] Step 19/20 : LABEL git_sha=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:53:57.951Z] ---> Running in 83b13b41bc08 [2020-03-17T18:53:58.112Z] 8a11ddd9e578: Pull complete [2020-03-17T18:53:58.112Z] 4cf88f913ddb: Pull complete [2020-03-17T18:53:58.112Z] 1df406cf5192: Pull complete [2020-03-17T18:53:58.211Z] Removing intermediate container 83b13b41bc08 [2020-03-17T18:53:58.211Z] ---> de383b4eb6a5 [2020-03-17T18:53:58.211Z] Step 20/20 : LABEL version=0.0.0 [2020-03-17T18:53:58.211Z] ---> Running in 5d915b188842 [2020-03-17T18:53:58.211Z] Removing intermediate container 5d915b188842 [2020-03-17T18:53:58.211Z] ---> e7e29b8fd6c0 [2020-03-17T18:53:58.211Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-17T18:53:58.211Z] Successfully built e7e29b8fd6c0 [2020-03-17T18:53:58.211Z] 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-17T18:54:02.396Z] cd6300453558: Pull complete [2020-03-17T18:54:07.755Z] b9c365052c96: Pull complete [2020-03-17T18:54:07.755Z] a2d8cc88f415: Pull complete [2020-03-17T18:54:09.207Z] ea1d1ca13537: Pull complete [2020-03-17T18:54:09.476Z] 3750a50a1c5e: Pull complete [2020-03-17T18:54:09.476Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-17T18:54:09.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-17T18:54:09.476Z] ---> 78745c68409d [2020-03-17T18:54:09.476Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:54:13.762Z] ---> Running in b675b376cf2e [2020-03-17T18:54:14.351Z] Removing intermediate container b675b376cf2e [2020-03-17T18:54:14.351Z] ---> 834461939367 [2020-03-17T18:54:14.351Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-17T18:54:14.351Z] ---> Running in 83f777782e11 [2020-03-17T18:54:16.956Z] Removing intermediate container 83f777782e11 [2020-03-17T18:54:16.956Z] ---> b86faa83982b [2020-03-17T18:54:16.956Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-17T18:54:16.956Z] ---> Running in 0199d240bfa7 [2020-03-17T18:54:17.546Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-17T18:54:18.507Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-17T18:54:19.468Z] OK: 125 MiB in 39 packages [2020-03-17T18:54:20.884Z] Removing intermediate container 0199d240bfa7 [2020-03-17T18:54:20.884Z] ---> 7b87470f41c8 [2020-03-17T18:54:20.884Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-17T18:54:21.152Z] ---> Running in 8da455ad0354 [2020-03-17T18:54:21.743Z] Removing intermediate container 8da455ad0354 [2020-03-17T18:54:21.743Z] ---> 5f90f3bbcc5f [2020-03-17T18:54:21.743Z] Step 7/8 : COPY . . [2020-03-17T18:54:23.162Z] ---> b8731f6774bd [2020-03-17T18:54:23.162Z] Step 8/8 : RUN go mod download [2020-03-17T18:54:23.162Z] ---> Running in 1f7d88ac1c86 [2020-03-17T18:54:26.538Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-17T18:54:26.538Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-17T18:54:26.538Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-17T18:54:26.538Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-17T18:54:26.538Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-17T18:54:26.538Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-17T18:54:26.538Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-17T18:54:26.538Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-17T18:54:26.538Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-17T18:54:26.538Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-17T18:54:26.538Z] go: finding github.com/fatih/color v1.7.0 [2020-03-17T18:54:26.538Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-17T18:54:26.538Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-17T18:54:26.538Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-17T18:54:26.538Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-17T18:54:26.538Z] go: finding github.com/google/uuid v1.1.0 [2020-03-17T18:54:26.538Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-17T18:54:26.538Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-17T18:54:26.538Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-17T18:54:26.805Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-17T18:54:26.805Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-17T18:54:26.805Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-17T18:54:26.805Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-17T18:54:26.805Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-17T18:54:26.806Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-17T18:54:26.806Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-17T18:54:26.806Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-17T18:54:26.806Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-17T18:54:26.806Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-17T18:54:26.806Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-17T18:54:27.074Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-17T18:54:27.074Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-17T18:54:27.074Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-17T18:54:27.074Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-17T18:54:27.074Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-17T18:54:27.345Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-17T18:54:27.345Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-17T18:54:27.345Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-17T18:54:27.345Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-17T18:54:27.345Z] go: finding github.com/posener/complete v1.1.1 [2020-03-17T18:54:27.345Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-17T18:54:27.345Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-17T18:54:27.345Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-17T18:54:27.345Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-17T18:54:27.345Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-17T18:54:27.345Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-17T18:54:27.345Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-17T18:54:27.345Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-17T18:54:27.345Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-17T18:54:27.345Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-17T18:54:27.345Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-17T18:54:45.593Z] Removing intermediate container 1f7d88ac1c86 [2020-03-17T18:54:45.593Z] ---> c9031c91b7a1 [2020-03-17T18:54:45.593Z] Successfully built c9031c91b7a1 [2020-03-17T18:54:45.593Z] 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-17T18:54:46.313Z] + docker inspect -f . ci-base-image-arm64 [2020-03-17T18:54:46.581Z] . [Pipeline] withDockerContainer [2020-03-17T18:54:46.951Z] prd-ubuntu18.04-docker-arm64-4c-16g-936 does not seem to be running inside a container [2020-03-17T18:54:47.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-17T18:54:48.519Z] $ docker top 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-17T18:54:49.591Z] + go version [2020-03-17T18:54:49.591Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-17T18:54:50.260Z] + make test [2020-03-17T18:54:50.260Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-17T18:55:37.184Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-17T18:55:37.184Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-17T18:55:37.184Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-17T18:55:37.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 23.1% of statements [2020-03-17T18:55:37.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.164s coverage: 95.8% of statements [2020-03-17T18:55:37.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.054s coverage: 12.7% of statements [2020-03-17T18:55:37.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 20.5% of statements [2020-03-17T18:56:09.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.038s coverage: 30.0% of statements [2020-03-17T18:56:09.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.472s coverage: 42.3% of statements [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-17T18:56:09.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.689s coverage: 77.7% of statements [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-17T18:56:09.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.113s coverage: 52.6% of statements [2020-03-17T18:56:09.486Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.357s coverage: 76.1% of statements [2020-03-17T18:56:09.486Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-17T18:56:09.486Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-17T18:56:17.729Z] gofmt -l . [2020-03-17T18:56:18.000Z] [ "`gofmt -l .`" = "" ] [2020-03-17T18:56:18.267Z] ./bin/test-attribution-txt.sh [2020-03-17T18:56:19.232Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-17T18:56:19.518Z] Warning: overwriting stash ‘coverage-report’ [2020-03-17T18:56:20.000Z] Stashed 1 file(s) [Pipeline] } [2020-03-17T18:56:20.009Z] $ docker stop --time=1 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe [2020-03-17T18:56:22.215Z] $ docker rm -f 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-17T18:56:23.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-17T18:56:23.798Z] + ls -al . [2020-03-17T18:56:23.798Z] total 240 [2020-03-17T18:56:23.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 18:56 . [2020-03-17T18:56:23.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 .. [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 18:53 .dockerignore [2020-03-17T18:56:23.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 18:53 .git [2020-03-17T18:56:23.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:53 .github [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 18:53 .gitignore [2020-03-17T18:56:23.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:53 .semver [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 17 18:53 Dockerfile.build [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 17 18:53 Jenkinsfile [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 18:53 LICENSE [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 17 18:53 Makefile [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 17 18:53 README.md [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 18:49 VERSION [2020-03-17T18:56:23.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:53 api [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 17 18:53 async.go [2020-03-17T18:56:23.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:53 bin [2020-03-17T18:56:23.798Z] -rw-r--r-- 1 jenkins jenkins 102163 Mar 17 18:56 coverage.out [2020-03-17T18:56:23.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 example [2020-03-17T18:56:23.798Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 17 18:56 go.mod [2020-03-17T18:56:23.798Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 17 18:56 go.sum [2020-03-17T18:56:23.798Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 18:53 internal [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 17 18:53 manageddevices.go [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 17 18:53 managedprofiles.go [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 17 18:53 managedwatchers.go [2020-03-17T18:56:23.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 pkg [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 17 18:53 service.go [2020-03-17T18:56:23.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 snap [2020-03-17T18:56:23.798Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 18:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:56:24.132Z] + 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=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce --label arch=arm64 --label version=0.0.0 . [2020-03-17T18:56:24.720Z] Sending build context to Docker daemon 2.829MB [2020-03-17T18:56:24.720Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-17T18:56:24.720Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-17T18:56:24.720Z] ---> c9031c91b7a1 [2020-03-17T18:56:24.720Z] Step 3/20 : ARG MAKE='make build' [2020-03-17T18:56:24.720Z] ---> Running in 96c1dc54e718 [2020-03-17T18:56:25.309Z] Removing intermediate container 96c1dc54e718 [2020-03-17T18:56:25.309Z] ---> 495d27a7495f [2020-03-17T18:56:25.309Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-17T18:56:25.309Z] ---> Running in a34b3967e8ac [2020-03-17T18:56:25.579Z] Removing intermediate container a34b3967e8ac [2020-03-17T18:56:25.579Z] ---> 1396abf5be0d [2020-03-17T18:56:25.579Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:56:25.848Z] ---> Running in 09aefb53d2b0 [2020-03-17T18:56:26.120Z] Removing intermediate container 09aefb53d2b0 [2020-03-17T18:56:26.120Z] ---> dd93862ae859 [2020-03-17T18:56:26.120Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-17T18:56:26.120Z] ---> Running in 0309dff66641 [2020-03-17T18:56:28.073Z] Removing intermediate container 0309dff66641 [2020-03-17T18:56:28.074Z] ---> 0ad58e4d36a9 [2020-03-17T18:56:28.074Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-17T18:56:28.074Z] ---> Running in 42be0090f9e2 [2020-03-17T18:56:29.039Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-17T18:56:29.999Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-17T18:56:30.583Z] OK: 125 MiB in 39 packages [2020-03-17T18:56:31.544Z] Removing intermediate container 42be0090f9e2 [2020-03-17T18:56:31.544Z] ---> 9a5cfa61cccd [2020-03-17T18:56:31.544Z] Step 8/20 : COPY . . [2020-03-17T18:56:32.962Z] ---> b0f6d2b37881 [2020-03-17T18:56:32.962Z] Step 9/20 : RUN ${MAKE} [2020-03-17T18:56:32.962Z] ---> Running in 94ed825d7611 [2020-03-17T18:56:33.553Z] 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-17T18:57:12.489Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-17T18:57:24.842Z] Removing intermediate container 94ed825d7611 [2020-03-17T18:57:24.842Z] ---> c2ad059a387b [2020-03-17T18:57:24.842Z] Step 10/20 : FROM scratch [2020-03-17T18:57:24.842Z] ---> [2020-03-17T18:57:24.842Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-17T18:57:24.842Z] ---> Running in 75d543406986 [2020-03-17T18:57:24.842Z] Removing intermediate container 75d543406986 [2020-03-17T18:57:24.842Z] ---> 8169d9a452b8 [2020-03-17T18:57:24.842Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-17T18:57:24.842Z] ---> Running in 6d823ab9de69 [2020-03-17T18:57:24.842Z] Removing intermediate container 6d823ab9de69 [2020-03-17T18:57:24.842Z] ---> 9c47a8982654 [2020-03-17T18:57:24.842Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-17T18:57:24.842Z] ---> Running in d77a2904eb20 [2020-03-17T18:57:24.842Z] Removing intermediate container d77a2904eb20 [2020-03-17T18:57:24.842Z] ---> 3acdcede978d [2020-03-17T18:57:24.842Z] Step 14/20 : WORKDIR / [2020-03-17T18:57:24.842Z] ---> Running in eeabae2e1dfe [2020-03-17T18:57:24.842Z] Removing intermediate container eeabae2e1dfe [2020-03-17T18:57:24.842Z] ---> 0c79d8512b7e [2020-03-17T18:57:24.842Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-17T18:57:25.430Z] ---> 8c56d04d3fc6 [2020-03-17T18:57:25.430Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-17T18:57:26.019Z] ---> abac9d972858 [2020-03-17T18:57:26.019Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-17T18:57:26.019Z] ---> Running in 8eabb18c74b8 [2020-03-17T18:57:26.295Z] Removing intermediate container 8eabb18c74b8 [2020-03-17T18:57:26.295Z] ---> 13ca844a7709 [2020-03-17T18:57:26.295Z] Step 18/20 : LABEL arch=arm64 [2020-03-17T18:57:26.564Z] ---> Running in 9a18ecfd7e83 [2020-03-17T18:57:26.835Z] Removing intermediate container 9a18ecfd7e83 [2020-03-17T18:57:26.835Z] ---> f8f546c609d4 [2020-03-17T18:57:26.835Z] Step 19/20 : LABEL git_sha=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [2020-03-17T18:57:26.835Z] ---> Running in ba1d4ff481a2 [2020-03-17T18:57:27.434Z] Removing intermediate container ba1d4ff481a2 [2020-03-17T18:57:27.434Z] ---> bae656462a61 [2020-03-17T18:57:27.434Z] Step 20/20 : LABEL version=0.0.0 [2020-03-17T18:57:27.434Z] ---> Running in a2b0887a19d1 [2020-03-17T18:57:27.703Z] Removing intermediate container a2b0887a19d1 [2020-03-17T18:57:27.703Z] ---> 4c9cfea797c5 [2020-03-17T18:57:27.703Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-17T18:57:27.703Z] Successfully built 4c9cfea797c5 [2020-03-17T18:57:27.703Z] 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-17T18:57:28.955Z] provisioning config files... [2020-03-17T18:57:28.967Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2106337116867289917tmp [Pipeline] { [Pipeline] sh [2020-03-17T18:57:29.366Z] + curl -s https://codecov.io/bash [2020-03-17T18:57:29.367Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2106337116867289917tmp [2020-03-17T18:57:29.627Z] [2020-03-17T18:57:29.627Z] _____ _ [2020-03-17T18:57:29.627Z] / ____| | | [2020-03-17T18:57:29.627Z] | | ___ __| | ___ ___ _____ __ [2020-03-17T18:57:29.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-17T18:57:29.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-17T18:57:29.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-17T18:57:29.627Z] Bash-20200316-40b1c41 [2020-03-17T18:57:29.627Z] [2020-03-17T18:57:29.627Z] [2020-03-17T18:57:29.627Z] ==> Jenkins CI detected. [2020-03-17T18:57:29.627Z] project root: . [2020-03-17T18:57:29.627Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-17T18:57:29.627Z] ==> Running gcov in . (disable via -X gcov) [2020-03-17T18:57:29.627Z] ==> Python coveragepy not found [2020-03-17T18:57:29.627Z] ==> Searching for coverage reports in: [2020-03-17T18:57:29.627Z] + . [2020-03-17T18:57:29.627Z] -> Found 1 reports [2020-03-17T18:57:29.627Z] ==> Detecting git/mercurial file structure [2020-03-17T18:57:29.627Z] ==> Reading reports [2020-03-17T18:57:29.627Z] + ./coverage.out bytes=102163 [2020-03-17T18:57:29.627Z] ==> Appending adjustments [2020-03-17T18:57:29.627Z] http://docs.codecov.io/docs/fixing-reports [2020-03-17T18:57:29.890Z] + Found adjustments [2020-03-17T18:57:29.890Z] ==> Gzipping contents [2020-03-17T18:57:29.890Z] ==> Uploading reports [2020-03-17T18:57:29.890Z] url: https://codecov.io [2020-03-17T18:57:29.890Z] query: branch=PR-464&commit=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-03-17T18:57:29.890Z] -> Pinging Codecov [2020-03-17T18:57:29.890Z] https://codecov.io/upload/v4?package=bash-20200316-40b1c41&token=secret&branch=PR-464&commit=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-03-17T18:57:30.464Z] -> Uploading [2020-03-17T18:57:30.727Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [Pipeline] } [2020-03-17T18:57:30.734Z] 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-17T18:57:32.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T18:57:32.313Z] ---> package-listing.sh [2020-03-17T18:57:32.313Z] ++ facter osfamily [2020-03-17T18:57:32.313Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-17T18:57:32.313Z] + OS_FAMILY=redhat [2020-03-17T18:57:32.313Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-03-17T18:57:32.313Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-17T18:57:32.313Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-17T18:57:32.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-17T18:57:32.313Z] + PACKAGES=/tmp/packages_start.txt [2020-03-17T18:57:32.313Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-03-17T18:57:32.313Z] + PACKAGES=/tmp/packages_end.txt [2020-03-17T18:57:32.313Z] + case "${OS_FAMILY}" in [2020-03-17T18:57:32.313Z] + rpm -qa [2020-03-17T18:57:32.313Z] + sort [2020-03-17T18:57:36.527Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-17T18:57:36.527Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-17T18:57:36.527Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-17T18:57:36.527Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-03-17T18:57:36.527Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-03-17T18:57:36.527Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:57:37.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-17T18:57:37.023Z] [2020-03-17T18:57:37.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-17T18:57:37.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-17T18:57:37.378Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-17T18:57:37.378Z] c9b1b535fdd9: Pulling fs layer [2020-03-17T18:57:37.378Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-17T18:57:37.378Z] 756a868c4378: Pulling fs layer [2020-03-17T18:57:37.378Z] 444b2fc9a129: Pulling fs layer [2020-03-17T18:57:37.378Z] ea15f1150254: Pulling fs layer [2020-03-17T18:57:37.378Z] 41b27a9f41bf: Pulling fs layer [2020-03-17T18:57:37.378Z] 28c525ee5125: Pulling fs layer [2020-03-17T18:57:37.378Z] 094b1ea09ed8: Pulling fs layer [2020-03-17T18:57:37.378Z] 138eaada9080: Pulling fs layer [2020-03-17T18:57:37.378Z] 0622d0fa9048: Pulling fs layer [2020-03-17T18:57:37.378Z] 444b2fc9a129: Waiting [2020-03-17T18:57:37.378Z] 41b27a9f41bf: Waiting [2020-03-17T18:57:37.378Z] 094b1ea09ed8: Waiting [2020-03-17T18:57:37.378Z] 138eaada9080: Waiting [2020-03-17T18:57:37.378Z] 0622d0fa9048: Waiting [2020-03-17T18:57:37.378Z] 28c525ee5125: Waiting [2020-03-17T18:57:37.378Z] ea15f1150254: Waiting [2020-03-17T18:57:37.378Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-17T18:57:37.378Z] 2cc5ad85d9ab: Download complete [2020-03-17T18:57:37.378Z] 444b2fc9a129: Verifying Checksum [2020-03-17T18:57:37.378Z] 444b2fc9a129: Download complete [2020-03-17T18:57:37.378Z] c9b1b535fdd9: Verifying Checksum [2020-03-17T18:57:37.378Z] c9b1b535fdd9: Download complete [2020-03-17T18:57:37.378Z] ea15f1150254: Download complete [2020-03-17T18:57:37.654Z] 28c525ee5125: Verifying Checksum [2020-03-17T18:57:37.654Z] 28c525ee5125: Download complete [2020-03-17T18:57:37.923Z] 756a868c4378: Download complete [2020-03-17T18:57:37.923Z] c9b1b535fdd9: Pull complete [2020-03-17T18:57:37.923Z] 138eaada9080: Verifying Checksum [2020-03-17T18:57:37.923Z] 138eaada9080: Download complete [2020-03-17T18:57:37.923Z] 0622d0fa9048: Verifying Checksum [2020-03-17T18:57:37.923Z] 0622d0fa9048: Download complete [2020-03-17T18:57:37.923Z] 094b1ea09ed8: Verifying Checksum [2020-03-17T18:57:37.923Z] 094b1ea09ed8: Download complete [2020-03-17T18:57:38.187Z] 2cc5ad85d9ab: Pull complete [2020-03-17T18:57:38.447Z] 41b27a9f41bf: Verifying Checksum [2020-03-17T18:57:38.447Z] 41b27a9f41bf: Download complete [2020-03-17T18:57:39.390Z] 756a868c4378: Pull complete [2020-03-17T18:57:39.390Z] 444b2fc9a129: Pull complete [2020-03-17T18:57:39.964Z] ea15f1150254: Pull complete [2020-03-17T18:57:43.266Z] 41b27a9f41bf: Pull complete [2020-03-17T18:57:43.266Z] 28c525ee5125: Pull complete [2020-03-17T18:57:45.183Z] 094b1ea09ed8: Pull complete [2020-03-17T18:57:45.445Z] 138eaada9080: Pull complete [2020-03-17T18:57:45.708Z] 0622d0fa9048: Pull complete [2020-03-17T18:57:45.708Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-17T18:57:45.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-17T18:57:45.866Z] prd-centos7-docker-4c-2g-934 does not seem to be running inside a container [2020-03-17T18:57:45.916Z] $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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:10003/edgex-lftools-log-publisher:alpine cat [2020-03-17T18:57:46.981Z] $ docker top 12dc47de4cb78eea3dd692567e2fe262fd48085ff5dd9ccd62a52d11013efa27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-17T18:57:47.292Z] provisioning config files... [2020-03-17T18:57:47.306Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config289604215123546085tmp [Pipeline] { [Pipeline] echo [2020-03-17T18:57:47.365Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T18:57:47.663Z] ---> create-netrc.sh [Pipeline] echo [2020-03-17T18:57:47.671Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T18:57:47.977Z] ---> logs-deploy.sh [2020-03-17T18:57:47.978Z] + ARCHIVE_ARTIFACTS= [2020-03-17T18:57:47.978Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-17T18:57:47.978Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-17T18:57:47.978Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-17T18:57:47.978Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 [2020-03-17T18:57:47.978Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/9/ [2020-03-17T18:57:47.978Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-03-17T18:57:49.379Z] Archives upload complete. [2020-03-17T18:57:49.379Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/9/