Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of brandonforster for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 rather than 8f4f10966944f669ba42caf66f93d10b9e024c88 Obtained Jenkinsfile from 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 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-209 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [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-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # 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 Merge succeeded, producing 41d84a604b83fd20e23b3a03571ebc8ac038bd7a Checking out Revision 41d84a604b83fd20e23b3a03571ebc8ac038bd7a (PR-447) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41d84a604b83fd20e23b3a03571ebc8ac038bd7a # timeout=10 Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-12T02:45:02.045Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:04.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-12T02:45:04.174Z] [2020-03-12T02:45:04.174Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:04.539Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-12T02:45:04.808Z] latest: Pulling from edgex-devops/git-semver [2020-03-12T02:45:04.808Z] 9123ac7c32f7: Pulling fs layer [2020-03-12T02:45:04.808Z] b8cc5d1170e3: Pulling fs layer [2020-03-12T02:45:04.808Z] 2924cbbf6a41: Pulling fs layer [2020-03-12T02:45:04.808Z] 93b08a4f1073: Pulling fs layer [2020-03-12T02:45:04.808Z] 93b08a4f1073: Waiting [2020-03-12T02:45:04.808Z] b8cc5d1170e3: Verifying Checksum [2020-03-12T02:45:04.808Z] b8cc5d1170e3: Download complete [2020-03-12T02:45:04.808Z] 9123ac7c32f7: Verifying Checksum [2020-03-12T02:45:04.808Z] 9123ac7c32f7: Download complete [2020-03-12T02:45:04.808Z] 93b08a4f1073: Verifying Checksum [2020-03-12T02:45:04.808Z] 93b08a4f1073: Download complete [2020-03-12T02:45:05.073Z] 2924cbbf6a41: Verifying Checksum [2020-03-12T02:45:05.073Z] 2924cbbf6a41: Download complete [2020-03-12T02:45:05.334Z] 9123ac7c32f7: Pull complete [2020-03-12T02:45:05.334Z] b8cc5d1170e3: Pull complete [2020-03-12T02:45:06.285Z] 2924cbbf6a41: Pull complete [2020-03-12T02:45:06.550Z] 93b08a4f1073: Pull complete [2020-03-12T02:45:06.550Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-12T02:45:06.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-12T02:45:06.736Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-03-12T02:45:06.801Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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-12T02:45:07.641Z] $ docker top 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-12T02:45:07.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-12T02:45:07.959Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-12T02:45:08.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-12T02:45:08.270Z] $ docker exec 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent [2020-03-12T02:45:08.533Z] SSH_AUTH_SOCK=/tmp/ssh-OLHTAHWqx1X1/agent.14 [2020-03-12T02:45:08.533Z] SSH_AGENT_PID=20 [2020-03-12T02:45:08.549Z] Running ssh-add (command line suppressed) [2020-03-12T02:45:08.763Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6077441566321152254.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6077441566321152254.key) [2020-03-12T02:45:08.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-12T02:45:09.157Z] + git describe --exact-match --tags HEAD [2020-03-12T02:45:09.157Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-12T02:45:09.225Z] $ docker exec --env ******** --env ******** 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent -k [2020-03-12T02:45:09.438Z] unset SSH_AUTH_SOCK; [2020-03-12T02:45:09.439Z] unset SSH_AGENT_PID; [2020-03-12T02:45:09.439Z] echo Agent pid 20 killed; [2020-03-12T02:45:09.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-12T02:45:09.596Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-12T02:45:09.596Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-12T02:45:09.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-12T02:45:09.682Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-12T02:45:10.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-12T02:45:10.076Z] $ docker exec 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent [2020-03-12T02:45:10.507Z] SSH_AUTH_SOCK=/tmp/ssh-nTtGcNEUVZyO/agent.55 [2020-03-12T02:45:10.507Z] SSH_AGENT_PID=62 [2020-03-12T02:45:10.515Z] Running ssh-add (command line suppressed) [2020-03-12T02:45:10.797Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_976952541953673823.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_976952541953673823.key) [2020-03-12T02:45:10.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-12T02:45:11.315Z] + git semver init [2020-03-12T02:45:11.315Z] # -> Open(): unable to determine branch for HEAD [2020-03-12T02:45:11.315Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git [2020-03-12T02:45:11.315Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-12T02:45:11.315Z] # $SEMVER_REMOTE_NAME = origin [2020-03-12T02:45:11.315Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-12T02:45:11.315Z] # $SEMVER_USER_NAME = jenkins [2020-03-12T02:45:11.315Z] # $SEMVER_BRANCH = PR-447 [2020-03-12T02:45:11.315Z] # $SEMVER_TEMP = /tmp/semver-750939073 [2020-03-12T02:45:11.315Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-12T02:45:12.261Z] # '/tmp/semver-750939073' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' [2020-03-12T02:45:12.261Z] # -> Force: false [2020-03-12T02:45:12.261Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } [2020-03-12T02:45:12.282Z] $ docker exec --env ******** --env ******** 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent -k [2020-03-12T02:45:12.465Z] unset SSH_AUTH_SOCK; [2020-03-12T02:45:12.466Z] unset SSH_AGENT_PID; [2020-03-12T02:45:12.466Z] echo Agent pid 62 killed; [2020-03-12T02:45:12.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-12T02:45:12.968Z] + git semver [Pipeline] } [2020-03-12T02:45:12.992Z] $ docker stop --time=1 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f [2020-03-12T02:45:14.453Z] $ docker rm -f 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-12T02:45:15.405Z] Stashed 32 file(s) [Pipeline] echo [2020-03-12T02:45:15.407Z] [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-12T02:45:30.621Z] Still waiting to schedule task [2020-03-12T02:45:30.621Z] ‘prd-centos7-docker-4c-2g-212’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10364’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-199’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5709’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-12T02:45:30.623Z] Still waiting to schedule task [2020-03-12T02:45:30.623Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-12T02:45:36.915Z] Running on prd-centos7-docker-4c-2g-213 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws [2020-03-12T02:45:36.950Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-12T02:45:39.777Z] using credential edgex-jenkins-ssh [2020-03-12T02:45:39.824Z] Cloning the remote Git repository [2020-03-12T02:45:39.824Z] Cloning with configured refspecs honoured and without tags [2020-03-12T02:45:40.524Z] Fetching without tags [2020-03-12T02:45:39.858Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:39.897Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-12T02:45:39.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:39.944Z] > git --version # timeout=10 [2020-03-12T02:45:39.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:39.975Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:40.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:45:40.510Z] > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 [2020-03-12T02:45:40.515Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:40.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:45:40.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:40.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:40.544Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:40.898Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 [2020-03-12T02:45:41.010Z] Merge succeeded, producing 40353723e9b871b80bddab1ea315256e41899b5b [2020-03-12T02:45:41.010Z] Checking out Revision 40353723e9b871b80bddab1ea315256e41899b5b (PR-447) [2020-03-12T02:45:40.914Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:45:40.920Z] > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 [2020-03-12T02:45:40.966Z] > git remote # timeout=10 [2020-03-12T02:45:40.973Z] > git config --get remote.origin.url # timeout=10 [2020-03-12T02:45:40.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:40.982Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-12T02:45:41.011Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-12T02:45:41.021Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:45:41.026Z] > git checkout -f 40353723e9b871b80bddab1ea315256e41899b5b # timeout=10 [2020-03-12T02:45:44.775Z] Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" [2020-03-12T02:45:44.785Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-12T02:45:44.787Z] > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] echo [2020-03-12T02:45:45.568Z] ========================================================= [2020-03-12T02:45:45.568Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-12T02:45:45.568Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:46.236Z] + 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-12T02:45:46.500Z] Sending build context to Docker daemon 2.697MB [2020-03-12T02:45:46.500Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-12T02:45:46.500Z] Step 2/8 : FROM ${BASE} [2020-03-12T02:45:46.500Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-12T02:45:46.500Z] e6b0cf9c0882: Pulling fs layer [2020-03-12T02:45:46.500Z] 2848faf0eed1: Pulling fs layer [2020-03-12T02:45:46.500Z] 0f37312ad70f: Pulling fs layer [2020-03-12T02:45:46.500Z] 5788d62ee057: Pulling fs layer [2020-03-12T02:45:46.500Z] 0e6b1d234666: Pulling fs layer [2020-03-12T02:45:46.500Z] bf5d7aec512f: Pulling fs layer [2020-03-12T02:45:46.500Z] 34c802a77dc8: Pulling fs layer [2020-03-12T02:45:46.500Z] 9eb99e56ec68: Pulling fs layer [2020-03-12T02:45:46.500Z] 27c7a5d97fbd: Pulling fs layer [2020-03-12T02:45:46.500Z] 5c102a31e300: Pulling fs layer [2020-03-12T02:45:46.500Z] dcfb455df0a1: Pulling fs layer [2020-03-12T02:45:46.500Z] 5788d62ee057: Waiting [2020-03-12T02:45:46.500Z] 9eb99e56ec68: Waiting [2020-03-12T02:45:46.500Z] 0e6b1d234666: Waiting [2020-03-12T02:45:46.500Z] 27c7a5d97fbd: Waiting [2020-03-12T02:45:46.500Z] bf5d7aec512f: Waiting [2020-03-12T02:45:46.500Z] 34c802a77dc8: Waiting [2020-03-12T02:45:46.500Z] dcfb455df0a1: Waiting [2020-03-12T02:45:46.500Z] 0f37312ad70f: Verifying Checksum [2020-03-12T02:45:46.500Z] 0f37312ad70f: Download complete [2020-03-12T02:45:46.500Z] 2848faf0eed1: Verifying Checksum [2020-03-12T02:45:46.500Z] 2848faf0eed1: Download complete [2020-03-12T02:45:46.500Z] 0e6b1d234666: Verifying Checksum [2020-03-12T02:45:46.500Z] 0e6b1d234666: Download complete [2020-03-12T02:45:46.500Z] bf5d7aec512f: Verifying Checksum [2020-03-12T02:45:46.500Z] bf5d7aec512f: Download complete [2020-03-12T02:45:46.500Z] e6b0cf9c0882: Verifying Checksum [2020-03-12T02:45:46.788Z] e6b0cf9c0882: Pull complete [2020-03-12T02:45:47.058Z] 2848faf0eed1: Pull complete [2020-03-12T02:45:47.652Z] 34c802a77dc8: Verifying Checksum [2020-03-12T02:45:47.652Z] 34c802a77dc8: Download complete [2020-03-12T02:45:47.652Z] 27c7a5d97fbd: Verifying Checksum [2020-03-12T02:45:47.652Z] 27c7a5d97fbd: Download complete [2020-03-12T02:45:48.231Z] 5c102a31e300: Verifying Checksum [2020-03-12T02:45:48.231Z] 5c102a31e300: Download complete [2020-03-12T02:45:48.231Z] 9eb99e56ec68: Download complete [2020-03-12T02:45:48.231Z] 5788d62ee057: Verifying Checksum [2020-03-12T02:45:48.231Z] 5788d62ee057: Download complete [2020-03-12T02:45:48.231Z] dcfb455df0a1: Verifying Checksum [2020-03-12T02:45:48.231Z] dcfb455df0a1: Download complete [2020-03-12T02:45:49.166Z] 0f37312ad70f: Pull complete [2020-03-12T02:45:54.447Z] 5788d62ee057: Pull complete [2020-03-12T02:45:54.447Z] 0e6b1d234666: Pull complete [2020-03-12T02:45:54.714Z] bf5d7aec512f: Pull complete [2020-03-12T02:45:58.920Z] 34c802a77dc8: Pull complete [2020-03-12T02:46:02.247Z] 9eb99e56ec68: Pull complete [2020-03-12T02:46:02.247Z] 27c7a5d97fbd: Pull complete [2020-03-12T02:46:02.822Z] 5c102a31e300: Pull complete [2020-03-12T02:46:03.084Z] dcfb455df0a1: Pull complete [2020-03-12T02:46:03.084Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-12T02:46:03.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-12T02:46:03.084Z] ---> 7c70fe431013 [2020-03-12T02:46:03.084Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:46:03.084Z] ---> Running in d0455f4534af [2020-03-12T02:46:03.345Z] Removing intermediate container d0455f4534af [2020-03-12T02:46:03.345Z] ---> e039287c2c98 [2020-03-12T02:46:03.345Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:46:03.345Z] ---> Running in 4172bebf6bf2 [2020-03-12T02:46:04.291Z] Removing intermediate container 4172bebf6bf2 [2020-03-12T02:46:04.291Z] ---> 488a6e02d34a [2020-03-12T02:46:04.291Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-12T02:46:04.291Z] ---> Running in 0f70816203cf [2020-03-12T02:46:05.229Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-12T02:46:05.799Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-12T02:46:06.369Z] OK: 143 MiB in 39 packages [2020-03-12T02:46:06.628Z] Removing intermediate container 0f70816203cf [2020-03-12T02:46:06.628Z] ---> bdff5ad4b907 [2020-03-12T02:46:06.628Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-12T02:46:06.889Z] ---> Running in 9f056c62fb75 [2020-03-12T02:46:06.889Z] Removing intermediate container 9f056c62fb75 [2020-03-12T02:46:06.889Z] ---> 0695869b17de [2020-03-12T02:46:06.889Z] Step 7/8 : COPY . . [2020-03-12T02:46:07.465Z] ---> 55dd4222f811 [2020-03-12T02:46:07.465Z] Step 8/8 : RUN go mod download [2020-03-12T02:46:07.465Z] ---> Running in b358ece57647 [2020-03-12T02:46:08.849Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-12T02:46:08.849Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-12T02:46:08.849Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-12T02:46:09.108Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-12T02:46:09.108Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-12T02:46:09.108Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-12T02:46:09.108Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-12T02:46:09.108Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-12T02:46:09.108Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 [2020-03-12T02:46:09.108Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-12T02:46:09.108Z] go: finding github.com/fatih/color v1.7.0 [2020-03-12T02:46:09.108Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-12T02:46:09.108Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-12T02:46:09.108Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-12T02:46:09.108Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-12T02:46:09.108Z] go: finding github.com/google/uuid v1.1.0 [2020-03-12T02:46:09.108Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-12T02:46:09.108Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-12T02:46:09.108Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-12T02:46:09.368Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-12T02:46:09.368Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-12T02:46:09.368Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-12T02:46:09.368Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-12T02:46:09.368Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-12T02:46:09.368Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-12T02:46:09.368Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-12T02:46:09.368Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-12T02:46:09.368Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-12T02:46:09.368Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-12T02:46:09.368Z] go: finding github.com/posener/complete v1.1.1 [2020-03-12T02:46:09.368Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-12T02:46:09.368Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-12T02:46:09.368Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-12T02:46:09.368Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-12T02:46:09.368Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-12T02:46:09.368Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-12T02:46:09.368Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-12T02:46:09.630Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-12T02:46:09.630Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-12T02:46:09.630Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-12T02:46:09.630Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-12T02:46:17.788Z] Removing intermediate container b358ece57647 [2020-03-12T02:46:17.788Z] ---> 18eed4080f6d [2020-03-12T02:46:17.788Z] Successfully built 18eed4080f6d [2020-03-12T02:46:17.788Z] 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-12T02:46:18.357Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-12T02:46:18.357Z] . [Pipeline] withDockerContainer [2020-03-12T02:46:18.507Z] prd-centos7-docker-4c-2g-213 does not seem to be running inside a container [2020-03-12T02:46:18.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-12T02:46:19.217Z] $ docker top 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-12T02:46:19.728Z] + go version [2020-03-12T02:46:19.728Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-12T02:46:20.039Z] + make test [2020-03-12T02:46:20.039Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-12T02:46:34.996Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-12T02:46:34.996Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-12T02:46:34.996Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-12T02:46:34.996Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements [2020-03-12T02:46:34.996Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements [2020-03-12T02:46:38.317Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.047s coverage: 15.9% of statements [2020-03-12T02:46:38.317Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-12T02:47:10.431Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements [2020-03-12T02:47:10.431Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.274s coverage: 42.3% of statements [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-12T02:47:10.431Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 79.5% of statements [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-12T02:47:10.431Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-03-12T02:47:10.431Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements [2020-03-12T02:47:10.431Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-12T02:47:10.431Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-12T02:47:10.431Z] gofmt -l . [2020-03-12T02:47:10.431Z] [ "`gofmt -l .`" = "" ] [2020-03-12T02:47:10.431Z] ./bin/test-attribution-txt.sh [2020-03-12T02:47:10.431Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-12T02:47:11.075Z] Stashed 1 file(s) [Pipeline] } [2020-03-12T02:47:11.088Z] $ docker stop --time=1 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a [2020-03-12T02:47:12.563Z] $ docker rm -f 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-12T02:47:13.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-12T02:47:13.819Z] + ls -al . [2020-03-12T02:47:13.819Z] total 200 [2020-03-12T02:47:13.819Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 12 02:47 . [2020-03-12T02:47:13.819Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 02:45 .. [2020-03-12T02:47:13.819Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 12 02:45 api [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 12 02:45 async.go [2020-03-12T02:47:13.819Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 02:45 bin [2020-03-12T02:47:13.819Z] -rw-r--r--. 1 jenkins jenkins 100203 Mar 12 02:47 coverage.out [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 12 02:45 Dockerfile.build [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 02:45 .dockerignore [2020-03-12T02:47:13.819Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 12 02:45 example [2020-03-12T02:47:13.819Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 02:45 .git [2020-03-12T02:47:13.819Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 12 02:45 .github [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 02:45 .gitignore [2020-03-12T02:47:13.819Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 12 02:47 go.mod [2020-03-12T02:47:13.819Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 12 02:47 go.sum [2020-03-12T02:47:13.819Z] drwxrwxr-x. 14 jenkins jenkins 193 Mar 12 02:45 internal [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 12 02:45 Jenkinsfile [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 02:45 LICENSE [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 12 02:45 Makefile [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 12 02:45 manageddevices.go [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 5472 Mar 12 02:45 managedprofiles.go [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 12 02:45 managedwatchers.go [2020-03-12T02:47:13.819Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 12 02:45 pkg [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 12 02:45 README.md [2020-03-12T02:47:13.819Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 12 02:45 .semver [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 9828 Mar 12 02:45 service.go [2020-03-12T02:47:13.819Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 02:45 snap [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 02:45 VERSION [2020-03-12T02:47:13.819Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:47:14.111Z] + 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=41d84a604b83fd20e23b3a03571ebc8ac038bd7a --label arch=amd64 --label version=0.0.0 . [2020-03-12T02:47:14.111Z] Sending build context to Docker daemon 2.823MB [2020-03-12T02:47:14.371Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-12T02:47:14.371Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-12T02:47:14.371Z] ---> 18eed4080f6d [2020-03-12T02:47:14.371Z] Step 3/20 : ARG MAKE='make build' [2020-03-12T02:47:14.371Z] ---> Running in 23e737414551 [2020-03-12T02:47:14.371Z] Removing intermediate container 23e737414551 [2020-03-12T02:47:14.371Z] ---> eee4b2f7f4ca [2020-03-12T02:47:14.371Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-12T02:47:14.371Z] ---> Running in 3cb234637547 [2020-03-12T02:47:14.630Z] Removing intermediate container 3cb234637547 [2020-03-12T02:47:14.630Z] ---> 62a122bbde26 [2020-03-12T02:47:14.630Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:47:14.630Z] ---> Running in 236b7dae4392 [2020-03-12T02:47:14.889Z] Removing intermediate container 236b7dae4392 [2020-03-12T02:47:14.889Z] ---> 57e8a7852e16 [2020-03-12T02:47:14.889Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:47:14.889Z] ---> Running in b86f882b78cb [2020-03-12T02:47:15.456Z] Removing intermediate container b86f882b78cb [2020-03-12T02:47:15.456Z] ---> cde92cccdd72 [2020-03-12T02:47:15.456Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-12T02:47:15.715Z] ---> Running in cbaf6a6778c3 [2020-03-12T02:47:15.974Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-12T02:47:16.540Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-12T02:47:16.799Z] OK: 143 MiB in 39 packages [2020-03-12T02:47:17.365Z] Removing intermediate container cbaf6a6778c3 [2020-03-12T02:47:17.365Z] ---> bed631b6c2e0 [2020-03-12T02:47:17.365Z] Step 8/20 : COPY . . [2020-03-12T02:47:17.624Z] ---> ce0eef387aca [2020-03-12T02:47:17.624Z] Step 9/20 : RUN ${MAKE} [2020-03-12T02:47:17.624Z] ---> Running in dd317fafc407 [2020-03-12T02:47:17.884Z] 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-12T02:47:30.152Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-12T02:47:35.529Z] Removing intermediate container dd317fafc407 [2020-03-12T02:47:35.529Z] ---> 0e4ce63a6959 [2020-03-12T02:47:35.529Z] Step 10/20 : FROM scratch [2020-03-12T02:47:35.529Z] ---> [2020-03-12T02:47:35.529Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:47:35.529Z] ---> Running in d4fa7b478d06 [2020-03-12T02:47:35.529Z] Removing intermediate container d4fa7b478d06 [2020-03-12T02:47:35.529Z] ---> 95174d1723a7 [2020-03-12T02:47:35.529Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-12T02:47:35.529Z] ---> Running in 5122c8cd331e [2020-03-12T02:47:35.529Z] Removing intermediate container 5122c8cd331e [2020-03-12T02:47:35.529Z] ---> 251c4133a702 [2020-03-12T02:47:35.529Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-12T02:47:35.529Z] ---> Running in 8dc9173a8352 [2020-03-12T02:47:35.788Z] Removing intermediate container 8dc9173a8352 [2020-03-12T02:47:35.788Z] ---> 192be0174191 [2020-03-12T02:47:35.788Z] Step 14/20 : WORKDIR / [2020-03-12T02:47:35.788Z] ---> Running in 640edf9aaec2 [2020-03-12T02:47:36.048Z] Removing intermediate container 640edf9aaec2 [2020-03-12T02:47:36.048Z] ---> 38701e647e1d [2020-03-12T02:47:36.048Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-12T02:47:36.307Z] ---> 265a23abc89e [2020-03-12T02:47:36.307Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-12T02:47:36.566Z] ---> 3bd93454e113 [2020-03-12T02:47:36.566Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-12T02:47:36.566Z] ---> Running in b92ee57d2026 [2020-03-12T02:47:36.824Z] Removing intermediate container b92ee57d2026 [2020-03-12T02:47:36.824Z] ---> 20acc1c774f0 [2020-03-12T02:47:36.824Z] Step 18/20 : LABEL arch=amd64 [2020-03-12T02:47:36.824Z] ---> Running in 08610c04a71b [2020-03-12T02:47:36.824Z] Removing intermediate container 08610c04a71b [2020-03-12T02:47:36.824Z] ---> 9f57d706ae92 [2020-03-12T02:47:36.824Z] Step 19/20 : LABEL git_sha=41d84a604b83fd20e23b3a03571ebc8ac038bd7a [2020-03-12T02:47:37.082Z] ---> Running in 3a17cef2c7b1 [2020-03-12T02:47:37.082Z] Removing intermediate container 3a17cef2c7b1 [2020-03-12T02:47:37.082Z] ---> a6b8ce11f7a7 [2020-03-12T02:47:37.082Z] Step 20/20 : LABEL version=0.0.0 [2020-03-12T02:47:37.082Z] ---> Running in ace670b6da3f [2020-03-12T02:47:37.341Z] Removing intermediate container ace670b6da3f [2020-03-12T02:47:37.341Z] ---> 9ab78c4a8ff0 [2020-03-12T02:47:37.341Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-12T02:47:37.341Z] Successfully built 9ab78c4a8ff0 [2020-03-12T02:47:37.341Z] 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-12T02:47:57.598Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-214 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws [2020-03-12T02:47:57.635Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-12T02:48:03.172Z] using credential edgex-jenkins-ssh [2020-03-12T02:48:03.385Z] Cloning the remote Git repository [2020-03-12T02:48:03.385Z] Cloning with configured refspecs honoured and without tags [2020-03-12T02:48:03.476Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:48:03.563Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-12T02:48:03.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:48:03.681Z] > git --version # timeout=10 [2020-03-12T02:48:03.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:48:03.778Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:48:04.799Z] Fetching without tags [2020-03-12T02:48:05.310Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 [2020-03-12T02:48:04.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:48:04.709Z] > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 [2020-03-12T02:48:04.728Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:48:04.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:48:04.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:48:04.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:48:04.848Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:48:05.354Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:48:05.389Z] > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 [2020-03-12T02:48:05.643Z] Merge succeeded, producing 7fd7c9620191d534ee14304c12a132d383427bf2 [2020-03-12T02:48:05.643Z] Checking out Revision 7fd7c9620191d534ee14304c12a132d383427bf2 (PR-447) [2020-03-12T02:48:05.500Z] > git remote # timeout=10 [2020-03-12T02:48:05.527Z] > git config --get remote.origin.url # timeout=10 [2020-03-12T02:48:05.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:48:05.570Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-12T02:48:05.650Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-12T02:48:05.671Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:48:05.688Z] > git checkout -f 7fd7c9620191d534ee14304c12a132d383427bf2 # timeout=10 [2020-03-12T02:48:10.160Z] Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" [2020-03-12T02:48:10.188Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-12T02:48:10.182Z] > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] echo [2020-03-12T02:48:11.513Z] ========================================================= [2020-03-12T02:48:11.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-12T02:48:11.513Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:48:12.533Z] + 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-12T02:48:13.500Z] Sending build context to Docker daemon 2.699MB [2020-03-12T02:48:13.500Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-12T02:48:13.500Z] Step 2/8 : FROM ${BASE} [2020-03-12T02:48:13.769Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-12T02:48:13.769Z] cde5963f3b93: Pulling fs layer [2020-03-12T02:48:13.769Z] 2a23fa8c16f7: Pulling fs layer [2020-03-12T02:48:13.769Z] 777b28850792: Pulling fs layer [2020-03-12T02:48:13.769Z] 8a11ddd9e578: Pulling fs layer [2020-03-12T02:48:13.769Z] 4cf88f913ddb: Pulling fs layer [2020-03-12T02:48:13.769Z] 1df406cf5192: Pulling fs layer [2020-03-12T02:48:13.769Z] cd6300453558: Pulling fs layer [2020-03-12T02:48:13.769Z] b9c365052c96: Pulling fs layer [2020-03-12T02:48:13.769Z] a2d8cc88f415: Pulling fs layer [2020-03-12T02:48:13.769Z] ea1d1ca13537: Pulling fs layer [2020-03-12T02:48:13.769Z] 3750a50a1c5e: Pulling fs layer [2020-03-12T02:48:13.769Z] 4cf88f913ddb: Waiting [2020-03-12T02:48:13.769Z] b9c365052c96: Waiting [2020-03-12T02:48:13.769Z] 8a11ddd9e578: Waiting [2020-03-12T02:48:13.769Z] 1df406cf5192: Waiting [2020-03-12T02:48:13.769Z] a2d8cc88f415: Waiting [2020-03-12T02:48:13.769Z] ea1d1ca13537: Waiting [2020-03-12T02:48:13.769Z] 3750a50a1c5e: Waiting [2020-03-12T02:48:13.769Z] 777b28850792: Verifying Checksum [2020-03-12T02:48:13.769Z] 777b28850792: Download complete [2020-03-12T02:48:13.769Z] 2a23fa8c16f7: Download complete [2020-03-12T02:48:13.769Z] 4cf88f913ddb: Verifying Checksum [2020-03-12T02:48:13.769Z] 4cf88f913ddb: Download complete [2020-03-12T02:48:13.769Z] 1df406cf5192: Download complete [2020-03-12T02:48:14.038Z] cde5963f3b93: Verifying Checksum [2020-03-12T02:48:14.038Z] cde5963f3b93: Download complete [2020-03-12T02:48:15.012Z] cde5963f3b93: Pull complete [2020-03-12T02:48:15.607Z] 2a23fa8c16f7: Pull complete [2020-03-12T02:48:15.879Z] 777b28850792: Pull complete [2020-03-12T02:48:18.562Z] cd6300453558: Verifying Checksum [2020-03-12T02:48:18.562Z] cd6300453558: Download complete [2020-03-12T02:48:18.562Z] a2d8cc88f415: Verifying Checksum [2020-03-12T02:48:18.562Z] a2d8cc88f415: Download complete [2020-03-12T02:48:21.157Z] ea1d1ca13537: Download complete [2020-03-12T02:48:21.157Z] 3750a50a1c5e: Verifying Checksum [2020-03-12T02:48:21.157Z] 3750a50a1c5e: Download complete [2020-03-12T02:48:23.750Z] b9c365052c96: Download complete [2020-03-12T02:48:24.713Z] 8a11ddd9e578: Download complete [2020-03-12T02:48:37.048Z] 8a11ddd9e578: Pull complete [2020-03-12T02:48:37.048Z] 4cf88f913ddb: Pull complete [2020-03-12T02:48:37.048Z] 1df406cf5192: Pull complete [2020-03-12T02:48:40.405Z] cd6300453558: Pull complete [2020-03-12T02:48:44.674Z] b9c365052c96: Pull complete [2020-03-12T02:48:44.945Z] a2d8cc88f415: Pull complete [2020-03-12T02:48:46.896Z] ea1d1ca13537: Pull complete [2020-03-12T02:48:47.173Z] 3750a50a1c5e: Pull complete [2020-03-12T02:48:47.173Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-12T02:48:47.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-12T02:48:47.173Z] ---> 78745c68409d [2020-03-12T02:48:47.173Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:48:52.553Z] ---> Running in 247ba1b63717 [2020-03-12T02:48:52.553Z] Removing intermediate container 247ba1b63717 [2020-03-12T02:48:52.553Z] ---> d6381598cf71 [2020-03-12T02:48:52.553Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:48:52.553Z] ---> Running in 8c09659d4d74 [2020-03-12T02:48:54.511Z] Removing intermediate container 8c09659d4d74 [2020-03-12T02:48:54.511Z] ---> a3bc29a612f1 [2020-03-12T02:48:54.511Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-12T02:48:54.511Z] ---> Running in d20b08233cbc [2020-03-12T02:48:55.479Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-12T02:48:56.062Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-12T02:48:56.648Z] OK: 125 MiB in 39 packages [2020-03-12T02:48:58.071Z] Removing intermediate container d20b08233cbc [2020-03-12T02:48:58.071Z] ---> 499846ecd133 [2020-03-12T02:48:58.071Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-12T02:48:58.071Z] ---> Running in dc59e5683244 [2020-03-12T02:48:58.341Z] Removing intermediate container dc59e5683244 [2020-03-12T02:48:58.341Z] ---> a7ae6bb86c7b [2020-03-12T02:48:58.341Z] Step 7/8 : COPY . . [2020-03-12T02:48:59.759Z] ---> cea75425e3e0 [2020-03-12T02:48:59.759Z] Step 8/8 : RUN go mod download [2020-03-12T02:48:59.759Z] ---> Running in 8039900ed55b [2020-03-12T02:49:07.090Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-12T02:49:07.090Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-12T02:49:07.090Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-12T02:49:07.090Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-12T02:49:07.090Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-12T02:49:07.090Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-12T02:49:07.090Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-12T02:49:07.090Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-12T02:49:07.090Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 [2020-03-12T02:49:07.090Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-12T02:49:07.090Z] go: finding github.com/fatih/color v1.7.0 [2020-03-12T02:49:07.090Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-12T02:49:07.090Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-12T02:49:07.090Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-12T02:49:07.090Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-12T02:49:07.090Z] go: finding github.com/google/uuid v1.1.0 [2020-03-12T02:49:07.090Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-12T02:49:07.090Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-12T02:49:07.090Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-12T02:49:07.090Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-12T02:49:07.090Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-12T02:49:07.090Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-12T02:49:07.090Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-12T02:49:07.090Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-12T02:49:07.090Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-12T02:49:07.090Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-12T02:49:07.090Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-12T02:49:07.090Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-12T02:49:07.090Z] go: finding github.com/posener/complete v1.1.1 [2020-03-12T02:49:07.090Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-12T02:49:07.090Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-12T02:49:07.090Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-12T02:49:07.090Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-12T02:49:07.090Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-12T02:49:07.090Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-12T02:49:07.090Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-12T02:49:07.090Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-12T02:49:07.090Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-12T02:49:07.090Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-12T02:49:07.090Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-12T02:49:22.121Z] Removing intermediate container 8039900ed55b [2020-03-12T02:49:22.121Z] ---> 35f063ba364d [2020-03-12T02:49:22.121Z] Successfully built 35f063ba364d [2020-03-12T02:49:22.121Z] 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-12T02:49:22.780Z] + docker inspect -f . ci-base-image-arm64 [2020-03-12T02:49:23.048Z] . [Pipeline] withDockerContainer [2020-03-12T02:49:23.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2020-03-12T02:49:23.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-12T02:49:24.962Z] $ docker top d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-12T02:49:26.023Z] + go version [2020-03-12T02:49:26.024Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-12T02:49:26.682Z] + make test [2020-03-12T02:49:26.682Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-12T02:50:13.599Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-12T02:50:13.600Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-12T02:50:13.600Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-12T02:50:13.600Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 23.1% of statements [2020-03-12T02:50:13.600Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.261s coverage: 95.8% of statements [2020-03-12T02:50:13.600Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.087s coverage: 15.9% of statements [2020-03-12T02:50:13.600Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.070s coverage: 25.6% of statements [2020-03-12T02:50:45.892Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.056s coverage: 30.0% of statements [2020-03-12T02:50:45.892Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.400s coverage: 42.3% of statements [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-12T02:50:45.892Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.013s coverage: 79.5% of statements [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-12T02:50:45.892Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.140s coverage: 52.6% of statements [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-03-12T02:50:45.892Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.340s coverage: 76.1% of statements [2020-03-12T02:50:45.892Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-12T02:50:45.892Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-12T02:50:51.311Z] gofmt -l . [2020-03-12T02:50:51.311Z] [ "`gofmt -l .`" = "" ] [2020-03-12T02:50:51.896Z] ./bin/test-attribution-txt.sh [2020-03-12T02:50:52.483Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-12T02:50:52.796Z] Warning: overwriting stash ‘coverage-report’ [2020-03-12T02:50:53.271Z] Stashed 1 file(s) [Pipeline] } [2020-03-12T02:50:53.280Z] $ docker stop --time=1 d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 [2020-03-12T02:50:55.501Z] $ docker rm -f d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-12T02:50:56.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-12T02:50:57.256Z] + ls -al . [2020-03-12T02:50:57.256Z] total 240 [2020-03-12T02:50:57.256Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 02:50 . [2020-03-12T02:50:57.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 .. [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 02:48 .dockerignore [2020-03-12T02:50:57.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 02:48 .git [2020-03-12T02:50:57.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:48 .github [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 02:48 .gitignore [2020-03-12T02:50:57.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:48 .semver [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 12 02:48 Dockerfile.build [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 12 02:48 Jenkinsfile [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 02:48 LICENSE [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 12 02:48 Makefile [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 12 02:48 README.md [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 02:45 VERSION [2020-03-12T02:50:57.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:48 api [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 12 02:48 async.go [2020-03-12T02:50:57.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:48 bin [2020-03-12T02:50:57.256Z] -rw-r--r-- 1 jenkins jenkins 100203 Mar 12 02:50 coverage.out [2020-03-12T02:50:57.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 example [2020-03-12T02:50:57.256Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 12 02:50 go.mod [2020-03-12T02:50:57.256Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 12 02:50 go.sum [2020-03-12T02:50:57.256Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 12 02:48 internal [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 12 02:48 manageddevices.go [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 5472 Mar 12 02:48 managedprofiles.go [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 12 02:48 managedwatchers.go [2020-03-12T02:50:57.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 pkg [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 9828 Mar 12 02:48 service.go [2020-03-12T02:50:57.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 snap [2020-03-12T02:50:57.256Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:50:57.591Z] + 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=41d84a604b83fd20e23b3a03571ebc8ac038bd7a --label arch=arm64 --label version=0.0.0 . [2020-03-12T02:50:58.186Z] Sending build context to Docker daemon 2.825MB [2020-03-12T02:50:58.186Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-12T02:50:58.186Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-12T02:50:58.186Z] ---> 35f063ba364d [2020-03-12T02:50:58.186Z] Step 3/20 : ARG MAKE='make build' [2020-03-12T02:50:58.186Z] ---> Running in bf402b5b696d [2020-03-12T02:50:58.776Z] Removing intermediate container bf402b5b696d [2020-03-12T02:50:58.777Z] ---> be5edac0bebf [2020-03-12T02:50:58.777Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-12T02:50:58.777Z] ---> Running in 26c48cb3c5f8 [2020-03-12T02:50:59.044Z] Removing intermediate container 26c48cb3c5f8 [2020-03-12T02:50:59.044Z] ---> 298dfd31c8df [2020-03-12T02:50:59.044Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:50:59.312Z] ---> Running in 95a6d1cc74ba [2020-03-12T02:50:59.579Z] Removing intermediate container 95a6d1cc74ba [2020-03-12T02:50:59.579Z] ---> 5eaa5257a27d [2020-03-12T02:50:59.579Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:50:59.848Z] ---> Running in 658b350a39d5 [2020-03-12T02:51:01.806Z] Removing intermediate container 658b350a39d5 [2020-03-12T02:51:01.806Z] ---> 53c60d065aca [2020-03-12T02:51:01.806Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-12T02:51:01.806Z] ---> Running in 497ec94361fc [2020-03-12T02:51:02.389Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-12T02:51:03.352Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-12T02:51:03.619Z] OK: 125 MiB in 39 packages [2020-03-12T02:51:04.586Z] Removing intermediate container 497ec94361fc [2020-03-12T02:51:04.586Z] ---> b2fc3802df9a [2020-03-12T02:51:04.586Z] Step 8/20 : COPY . . [2020-03-12T02:51:06.002Z] ---> 867823d36612 [2020-03-12T02:51:06.002Z] Step 9/20 : RUN ${MAKE} [2020-03-12T02:51:06.002Z] ---> Running in c52e21a636ec [2020-03-12T02:51:06.594Z] 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-12T02:51:45.685Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-12T02:52:00.693Z] Removing intermediate container c52e21a636ec [2020-03-12T02:52:00.693Z] ---> 2c3087a76a7f [2020-03-12T02:52:00.693Z] Step 10/20 : FROM scratch [2020-03-12T02:52:00.693Z] ---> [2020-03-12T02:52:00.693Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:52:00.693Z] ---> Running in 15677bcf001b [2020-03-12T02:52:00.693Z] Removing intermediate container 15677bcf001b [2020-03-12T02:52:00.693Z] ---> 9eed62f5b4e9 [2020-03-12T02:52:00.693Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-12T02:52:00.693Z] ---> Running in c741e00e09fc [2020-03-12T02:52:00.693Z] Removing intermediate container c741e00e09fc [2020-03-12T02:52:00.693Z] ---> 80bf3ca5e474 [2020-03-12T02:52:00.693Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-12T02:52:00.693Z] ---> Running in b2e95a260da8 [2020-03-12T02:52:00.693Z] Removing intermediate container b2e95a260da8 [2020-03-12T02:52:00.693Z] ---> daf328599a33 [2020-03-12T02:52:00.693Z] Step 14/20 : WORKDIR / [2020-03-12T02:52:00.693Z] ---> Running in 719d0382360b [2020-03-12T02:52:00.693Z] Removing intermediate container 719d0382360b [2020-03-12T02:52:00.693Z] ---> 39af4392db9b [2020-03-12T02:52:00.693Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-12T02:52:01.654Z] ---> 33e9de04a5ea [2020-03-12T02:52:01.654Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-12T02:52:01.922Z] ---> cb1c6d5103f8 [2020-03-12T02:52:01.922Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-12T02:52:02.187Z] ---> Running in 39ae0a461ba3 [2020-03-12T02:52:02.455Z] Removing intermediate container 39ae0a461ba3 [2020-03-12T02:52:02.456Z] ---> 1687eb319c4e [2020-03-12T02:52:02.456Z] Step 18/20 : LABEL arch=arm64 [2020-03-12T02:52:02.456Z] ---> Running in 1774d84a3c11 [2020-03-12T02:52:03.046Z] Removing intermediate container 1774d84a3c11 [2020-03-12T02:52:03.046Z] ---> ef2208aafd39 [2020-03-12T02:52:03.046Z] Step 19/20 : LABEL git_sha=41d84a604b83fd20e23b3a03571ebc8ac038bd7a [2020-03-12T02:52:03.046Z] ---> Running in f603892c4c95 [2020-03-12T02:52:03.315Z] Removing intermediate container f603892c4c95 [2020-03-12T02:52:03.315Z] ---> 6404eae48b4f [2020-03-12T02:52:03.315Z] Step 20/20 : LABEL version=0.0.0 [2020-03-12T02:52:03.583Z] ---> Running in e744028da25e [2020-03-12T02:52:03.850Z] Removing intermediate container e744028da25e [2020-03-12T02:52:03.850Z] ---> c82a55968fe5 [2020-03-12T02:52:03.850Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-12T02:52:03.850Z] Successfully built c82a55968fe5 [2020-03-12T02:52:03.850Z] 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-12T02:52:04.886Z] provisioning config files... [2020-03-12T02:52:04.899Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config811756111775992997tmp [Pipeline] { [Pipeline] sh [2020-03-12T02:52:05.276Z] + curl -s https://codecov.io/bash [2020-03-12T02:52:05.276Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config811756111775992997tmp [2020-03-12T02:52:05.538Z] [2020-03-12T02:52:05.538Z] _____ _ [2020-03-12T02:52:05.538Z] / ____| | | [2020-03-12T02:52:05.538Z] | | ___ __| | ___ ___ _____ __ [2020-03-12T02:52:05.538Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-12T02:52:05.538Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-12T02:52:05.538Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-12T02:52:05.538Z] Bash-20200303-bc4d7e6 [2020-03-12T02:52:05.538Z] [2020-03-12T02:52:05.538Z] [2020-03-12T02:52:05.538Z] ==> Jenkins CI detected. [2020-03-12T02:52:05.538Z] project root: . [2020-03-12T02:52:05.538Z] Fixing merge commit SHA [2020-03-12T02:52:05.538Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-12T02:52:05.538Z] ==> Running gcov in . (disable via -X gcov) [2020-03-12T02:52:05.538Z] ==> Python coveragepy not found [2020-03-12T02:52:05.538Z] ==> Searching for coverage reports in: [2020-03-12T02:52:05.538Z] + . [2020-03-12T02:52:05.538Z] -> Found 1 reports [2020-03-12T02:52:05.538Z] ==> Detecting git/mercurial file structure [2020-03-12T02:52:05.538Z] ==> Reading reports [2020-03-12T02:52:05.538Z] + ./coverage.out bytes=100203 [2020-03-12T02:52:05.538Z] ==> Appending adjustments [2020-03-12T02:52:05.538Z] http://docs.codecov.io/docs/fixing-reports [2020-03-12T02:52:06.110Z] + Found adjustments [2020-03-12T02:52:06.110Z] ==> Gzipping contents [2020-03-12T02:52:06.110Z] ==> Uploading reports [2020-03-12T02:52:06.110Z] url: https://codecov.io [2020-03-12T02:52:06.110Z] query: branch=PR-447&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= [2020-03-12T02:52:06.110Z] -> Pinging Codecov [2020-03-12T02:52:06.110Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-447&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= [2020-03-12T02:52:06.372Z] -> Uploading [2020-03-12T02:52:06.941Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 [Pipeline] } [2020-03-12T02:52:06.948Z] 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-12T02:52:08.088Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:52:08.399Z] ---> package-listing.sh [2020-03-12T02:52:08.399Z] ++ facter osfamily [2020-03-12T02:52:08.399Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-12T02:52:08.399Z] + OS_FAMILY=redhat [2020-03-12T02:52:08.399Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-12T02:52:08.399Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-12T02:52:08.399Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-12T02:52:08.399Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-12T02:52:08.399Z] + PACKAGES=/tmp/packages_start.txt [2020-03-12T02:52:08.399Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' [2020-03-12T02:52:08.399Z] + PACKAGES=/tmp/packages_end.txt [2020-03-12T02:52:08.399Z] + case "${OS_FAMILY}" in [2020-03-12T02:52:08.399Z] + rpm -qa [2020-03-12T02:52:08.399Z] + sort [2020-03-12T02:52:12.621Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-12T02:52:12.621Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-12T02:52:12.621Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-12T02:52:12.621Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' [2020-03-12T02:52:12.621Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ [2020-03-12T02:52:12.621Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:52:12.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-12T02:52:12.975Z] [2020-03-12T02:52:12.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:52:13.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-12T02:52:13.434Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-12T02:52:13.434Z] c9b1b535fdd9: Pulling fs layer [2020-03-12T02:52:13.434Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-12T02:52:13.434Z] 756a868c4378: Pulling fs layer [2020-03-12T02:52:13.434Z] 444b2fc9a129: Pulling fs layer [2020-03-12T02:52:13.434Z] ea15f1150254: Pulling fs layer [2020-03-12T02:52:13.434Z] 41b27a9f41bf: Pulling fs layer [2020-03-12T02:52:13.434Z] 28c525ee5125: Pulling fs layer [2020-03-12T02:52:13.434Z] 094b1ea09ed8: Pulling fs layer [2020-03-12T02:52:13.434Z] 138eaada9080: Pulling fs layer [2020-03-12T02:52:13.434Z] 0622d0fa9048: Pulling fs layer [2020-03-12T02:52:13.434Z] 41b27a9f41bf: Waiting [2020-03-12T02:52:13.434Z] 28c525ee5125: Waiting [2020-03-12T02:52:13.434Z] 094b1ea09ed8: Waiting [2020-03-12T02:52:13.434Z] 138eaada9080: Waiting [2020-03-12T02:52:13.434Z] 444b2fc9a129: Waiting [2020-03-12T02:52:13.434Z] 0622d0fa9048: Waiting [2020-03-12T02:52:13.434Z] ea15f1150254: Waiting [2020-03-12T02:52:13.434Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-12T02:52:13.434Z] 2cc5ad85d9ab: Download complete [2020-03-12T02:52:13.434Z] 444b2fc9a129: Verifying Checksum [2020-03-12T02:52:13.434Z] 444b2fc9a129: Download complete [2020-03-12T02:52:13.706Z] c9b1b535fdd9: Verifying Checksum [2020-03-12T02:52:13.706Z] c9b1b535fdd9: Download complete [2020-03-12T02:52:13.706Z] ea15f1150254: Download complete [2020-03-12T02:52:13.706Z] 28c525ee5125: Verifying Checksum [2020-03-12T02:52:13.706Z] 28c525ee5125: Download complete [2020-03-12T02:52:13.982Z] c9b1b535fdd9: Pull complete [2020-03-12T02:52:14.267Z] 756a868c4378: Verifying Checksum [2020-03-12T02:52:14.267Z] 756a868c4378: Download complete [2020-03-12T02:52:14.267Z] 138eaada9080: Verifying Checksum [2020-03-12T02:52:14.268Z] 138eaada9080: Download complete [2020-03-12T02:52:14.268Z] 0622d0fa9048: Verifying Checksum [2020-03-12T02:52:14.268Z] 0622d0fa9048: Download complete [2020-03-12T02:52:14.268Z] 2cc5ad85d9ab: Pull complete [2020-03-12T02:52:14.555Z] 094b1ea09ed8: Verifying Checksum [2020-03-12T02:52:14.555Z] 094b1ea09ed8: Download complete [2020-03-12T02:52:15.138Z] 41b27a9f41bf: Verifying Checksum [2020-03-12T02:52:15.139Z] 41b27a9f41bf: Download complete [2020-03-12T02:52:16.086Z] 756a868c4378: Pull complete [2020-03-12T02:52:16.086Z] 444b2fc9a129: Pull complete [2020-03-12T02:52:16.663Z] ea15f1150254: Pull complete [2020-03-12T02:52:20.005Z] 41b27a9f41bf: Pull complete [2020-03-12T02:52:20.005Z] 28c525ee5125: Pull complete [2020-03-12T02:52:23.315Z] 094b1ea09ed8: Pull complete [2020-03-12T02:52:23.315Z] 138eaada9080: Pull complete [2020-03-12T02:52:23.578Z] 0622d0fa9048: Pull complete [2020-03-12T02:52:23.578Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-12T02:52:23.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-12T02:52:23.818Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-03-12T02:52:23.881Z] $ 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-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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-12T02:52:25.024Z] $ docker top 4827e1a207a8b4801edc53ce59503c4cf1c90eca0fa39ddc1e4df54db264135d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-12T02:52:25.280Z] provisioning config files... [2020-03-12T02:52:25.295Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config9108167390774487275tmp [Pipeline] { [Pipeline] echo [2020-03-12T02:52:25.345Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:52:25.654Z] ---> create-netrc.sh [Pipeline] echo [2020-03-12T02:52:25.662Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:52:25.958Z] ---> logs-deploy.sh [2020-03-12T02:52:25.958Z] + ARCHIVE_ARTIFACTS= [2020-03-12T02:52:25.958Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-12T02:52:25.958Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-12T02:52:25.958Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-12T02:52:25.958Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 [2020-03-12T02:52:25.958Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/8/ [2020-03-12T02:52:25.958Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 /w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-12T02:52:27.341Z] Archives upload complete. [2020-03-12T02:52:27.600Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/8/