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 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than 8f4f10966944f669ba42caf66f93d10b9e024c88 Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10576 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 Merge succeeded, producing da63eeb335125f015d20db755587f7b25b3e6bca Checking out Revision da63eeb335125f015d20db755587f7b25b3e6bca (PR-447) > 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fe5fd93eaad3fd70fa110ef481aae84e7be62446 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-10T18:42:26.057Z] 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-10T18:42:28.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T18:42:28.240Z] [2020-03-10T18:42:28.240Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:42:28.603Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T18:42:28.603Z] latest: Pulling from edgex-devops/git-semver [2020-03-10T18:42:28.603Z] 9123ac7c32f7: Pulling fs layer [2020-03-10T18:42:28.603Z] b8cc5d1170e3: Pulling fs layer [2020-03-10T18:42:28.603Z] 2924cbbf6a41: Pulling fs layer [2020-03-10T18:42:28.604Z] 93b08a4f1073: Pulling fs layer [2020-03-10T18:42:28.604Z] 93b08a4f1073: Waiting [2020-03-10T18:42:28.604Z] b8cc5d1170e3: Download complete [2020-03-10T18:42:28.874Z] 9123ac7c32f7: Verifying Checksum [2020-03-10T18:42:28.874Z] 9123ac7c32f7: Download complete [2020-03-10T18:42:28.874Z] 93b08a4f1073: Verifying Checksum [2020-03-10T18:42:28.874Z] 93b08a4f1073: Download complete [2020-03-10T18:42:28.874Z] 2924cbbf6a41: Verifying Checksum [2020-03-10T18:42:28.874Z] 2924cbbf6a41: Download complete [2020-03-10T18:42:29.133Z] 9123ac7c32f7: Pull complete [2020-03-10T18:42:29.133Z] b8cc5d1170e3: Pull complete [2020-03-10T18:42:30.079Z] 2924cbbf6a41: Pull complete [2020-03-10T18:42:30.080Z] 93b08a4f1073: Pull complete [2020-03-10T18:42:30.080Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-10T18:42:30.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-10T18:42:30.207Z] prd-centos7-docker-4c-2g-10576 does not seem to be running inside a container [2020-03-10T18:42:30.264Z] $ 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-10T18:42:30.948Z] $ docker top 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-10T18:42:31.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T18:42:31.720Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T18:42:31.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T18:42:31.945Z] $ docker exec 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b ssh-agent [2020-03-10T18:42:32.123Z] SSH_AUTH_SOCK=/tmp/ssh-Q6dFYG4UvlRQ/agent.15 [2020-03-10T18:42:32.123Z] SSH_AGENT_PID=22 [2020-03-10T18:42:32.134Z] Running ssh-add (command line suppressed) [2020-03-10T18:42:32.272Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_5714041762247652819.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_5714041762247652819.key) [2020-03-10T18:42:32.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T18:42:32.641Z] + git describe --exact-match --tags HEAD [2020-03-10T18:42:32.641Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-10T18:42:32.726Z] $ docker exec --env ******** --env ******** 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b ssh-agent -k [2020-03-10T18:42:32.887Z] unset SSH_AUTH_SOCK; [2020-03-10T18:42:32.887Z] unset SSH_AGENT_PID; [2020-03-10T18:42:32.887Z] echo Agent pid 22 killed; [2020-03-10T18:42:32.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-10T18:42:33.002Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-10T18:42:33.002Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-10T18:42:33.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T18:42:33.196Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T18:42:33.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T18:42:33.376Z] $ docker exec 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b ssh-agent [2020-03-10T18:42:33.557Z] SSH_AUTH_SOCK=/tmp/ssh-ijwzwxVObWgZ/agent.58 [2020-03-10T18:42:33.557Z] SSH_AGENT_PID=65 [2020-03-10T18:42:33.564Z] Running ssh-add (command line suppressed) [2020-03-10T18:42:33.704Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_4660706810841485091.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_4660706810841485091.key) [2020-03-10T18:42:33.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T18:42:34.069Z] + git semver init [2020-03-10T18:42:34.069Z] # -> Open(): unable to determine branch for HEAD [2020-03-10T18:42:34.069Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git [2020-03-10T18:42:34.069Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-10T18:42:34.069Z] # $SEMVER_REMOTE_NAME = origin [2020-03-10T18:42:34.069Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-10T18:42:34.069Z] # $SEMVER_USER_NAME = jenkins [2020-03-10T18:42:34.069Z] # $SEMVER_BRANCH = PR-447 [2020-03-10T18:42:34.069Z] # $SEMVER_TEMP = /tmp/semver-785607009 [2020-03-10T18:42:34.069Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-10T18:42:35.008Z] # '/tmp/semver-785607009' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' [2020-03-10T18:42:35.008Z] # -> Force: false [2020-03-10T18:42:35.008Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } [2020-03-10T18:42:35.019Z] $ docker exec --env ******** --env ******** 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b ssh-agent -k [2020-03-10T18:42:35.185Z] unset SSH_AUTH_SOCK; [2020-03-10T18:42:35.187Z] unset SSH_AGENT_PID; [2020-03-10T18:42:35.187Z] echo Agent pid 65 killed; [2020-03-10T18:42:35.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-10T18:42:35.647Z] + git semver [Pipeline] } [2020-03-10T18:42:35.662Z] $ docker stop --time=1 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b [2020-03-10T18:42:37.030Z] $ docker rm -f 1e4aa5107df0eb1d2953afa93ff03f310c281e15219dc9085248ff5857c5281b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-10T18:42:37.805Z] Stashed 31 file(s) [Pipeline] echo [2020-03-10T18:42:37.807Z] [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-10T18:42:53.032Z] Still waiting to schedule task [2020-03-10T18:42:53.032Z] ‘prd-centos7-docker-4c-2g-10581’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10459’ 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-10T18:42:53.033Z] Still waiting to schedule task [2020-03-10T18:42:53.033Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-10T18:44:02.521Z] Running on prd-centos7-docker-4c-2g-10594 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws [2020-03-10T18:44:02.559Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-03-10T18:44:04.930Z] using credential edgex-jenkins-ssh [2020-03-10T18:44:04.977Z] Cloning the remote Git repository [2020-03-10T18:44:04.977Z] Cloning with configured refspecs honoured and without tags [2020-03-10T18:44:04.116Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:44:04.159Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-03-10T18:44:04.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:44:04.207Z] > git --version # timeout=10 [2020-03-10T18:44:05.734Z] Fetching without tags [2020-03-10T18:44:06.140Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 [2020-03-10T18:44:04.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:44:04.245Z] > 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-10T18:44:04.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T18:44:04.818Z] > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 [2020-03-10T18:44:04.827Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T18:44:04.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T18:44:04.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:44:04.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:44:04.862Z] > 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-10T18:44:05.262Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T18:44:05.267Z] > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 [2020-03-10T18:44:05.310Z] > git remote # timeout=10 [2020-03-10T18:44:06.233Z] Merge succeeded, producing 41203a0e2b418b056ff9a5de5dda9742e3a3fe9a [2020-03-10T18:44:06.234Z] Checking out Revision 41203a0e2b418b056ff9a5de5dda9742e3a3fe9a (PR-447) [2020-03-10T18:44:05.315Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T18:44:05.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:44:05.325Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-10T18:44:05.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T18:44:05.352Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T18:44:05.358Z] > git checkout -f 41203a0e2b418b056ff9a5de5dda9742e3a3fe9a # timeout=10 [2020-03-10T18:44:09.808Z] Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" [2020-03-10T18:44:09.819Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-10T18:44:10.712Z] ========================================================= [2020-03-10T18:44:10.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-10T18:44:10.712Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:44:09.172Z] > git rev-list --no-walk fe5fd93eaad3fd70fa110ef481aae84e7be62446 # timeout=10 [2020-03-10T18:44:11.417Z] + 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-10T18:44:11.688Z] Sending build context to Docker daemon 2.692MB [2020-03-10T18:44:11.688Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T18:44:11.688Z] Step 2/8 : FROM ${BASE} [2020-03-10T18:44:11.688Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-10T18:44:11.688Z] e6b0cf9c0882: Pulling fs layer [2020-03-10T18:44:11.688Z] 2848faf0eed1: Pulling fs layer [2020-03-10T18:44:11.688Z] 0f37312ad70f: Pulling fs layer [2020-03-10T18:44:11.688Z] 5788d62ee057: Pulling fs layer [2020-03-10T18:44:11.688Z] 0e6b1d234666: Pulling fs layer [2020-03-10T18:44:11.688Z] bf5d7aec512f: Pulling fs layer [2020-03-10T18:44:11.688Z] 34c802a77dc8: Pulling fs layer [2020-03-10T18:44:11.688Z] 9eb99e56ec68: Pulling fs layer [2020-03-10T18:44:11.688Z] 27c7a5d97fbd: Pulling fs layer [2020-03-10T18:44:11.688Z] 5c102a31e300: Pulling fs layer [2020-03-10T18:44:11.688Z] dcfb455df0a1: Pulling fs layer [2020-03-10T18:44:11.688Z] 34c802a77dc8: Waiting [2020-03-10T18:44:11.688Z] 9eb99e56ec68: Waiting [2020-03-10T18:44:11.688Z] dcfb455df0a1: Waiting [2020-03-10T18:44:11.688Z] 27c7a5d97fbd: Waiting [2020-03-10T18:44:11.688Z] 5c102a31e300: Waiting [2020-03-10T18:44:11.688Z] bf5d7aec512f: Waiting [2020-03-10T18:44:11.688Z] 0e6b1d234666: Waiting [2020-03-10T18:44:11.688Z] 0f37312ad70f: Verifying Checksum [2020-03-10T18:44:11.688Z] 0f37312ad70f: Download complete [2020-03-10T18:44:11.688Z] 2848faf0eed1: Verifying Checksum [2020-03-10T18:44:11.688Z] 2848faf0eed1: Download complete [2020-03-10T18:44:11.688Z] 0e6b1d234666: Verifying Checksum [2020-03-10T18:44:11.688Z] 0e6b1d234666: Download complete [2020-03-10T18:44:11.688Z] bf5d7aec512f: Verifying Checksum [2020-03-10T18:44:11.688Z] bf5d7aec512f: Download complete [2020-03-10T18:44:11.688Z] e6b0cf9c0882: Verifying Checksum [2020-03-10T18:44:12.264Z] e6b0cf9c0882: Pull complete [2020-03-10T18:44:12.264Z] 2848faf0eed1: Pull complete [2020-03-10T18:44:12.850Z] 34c802a77dc8: Verifying Checksum [2020-03-10T18:44:12.850Z] 34c802a77dc8: Download complete [2020-03-10T18:44:12.850Z] 27c7a5d97fbd: Verifying Checksum [2020-03-10T18:44:12.850Z] 27c7a5d97fbd: Download complete [2020-03-10T18:44:13.127Z] 5c102a31e300: Verifying Checksum [2020-03-10T18:44:13.127Z] 5c102a31e300: Download complete [2020-03-10T18:44:13.390Z] dcfb455df0a1: Verifying Checksum [2020-03-10T18:44:13.390Z] dcfb455df0a1: Download complete [2020-03-10T18:44:13.652Z] 5788d62ee057: Verifying Checksum [2020-03-10T18:44:13.652Z] 5788d62ee057: Download complete [2020-03-10T18:44:13.652Z] 9eb99e56ec68: Verifying Checksum [2020-03-10T18:44:13.652Z] 9eb99e56ec68: Download complete [2020-03-10T18:44:14.221Z] 0f37312ad70f: Pull complete [2020-03-10T18:44:19.513Z] 5788d62ee057: Pull complete [2020-03-10T18:44:19.774Z] 0e6b1d234666: Pull complete [2020-03-10T18:44:19.774Z] bf5d7aec512f: Pull complete [2020-03-10T18:44:25.071Z] 34c802a77dc8: Pull complete [2020-03-10T18:44:28.363Z] 9eb99e56ec68: Pull complete [2020-03-10T18:44:28.363Z] 27c7a5d97fbd: Pull complete [2020-03-10T18:44:28.933Z] 5c102a31e300: Pull complete [2020-03-10T18:44:29.197Z] dcfb455df0a1: Pull complete [2020-03-10T18:44:29.197Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-10T18:44:29.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-10T18:44:29.197Z] ---> 7c70fe431013 [2020-03-10T18:44:29.197Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:44:29.197Z] ---> Running in 5c8e21b3400f [2020-03-10T18:44:29.457Z] Removing intermediate container 5c8e21b3400f [2020-03-10T18:44:29.457Z] ---> 01e6c567b009 [2020-03-10T18:44:29.457Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T18:44:29.457Z] ---> Running in de81a821dd8e [2020-03-10T18:44:30.837Z] Removing intermediate container de81a821dd8e [2020-03-10T18:44:30.837Z] ---> fd28e8b1dc85 [2020-03-10T18:44:30.837Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-10T18:44:30.837Z] ---> Running in 277f0f2b88ed [2020-03-10T18:44:31.410Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-10T18:44:31.983Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-10T18:44:32.557Z] OK: 143 MiB in 39 packages [2020-03-10T18:44:32.816Z] Removing intermediate container 277f0f2b88ed [2020-03-10T18:44:32.816Z] ---> a23e63b4bdc3 [2020-03-10T18:44:32.816Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-10T18:44:32.816Z] ---> Running in 1c0b56d95f08 [2020-03-10T18:44:33.075Z] Removing intermediate container 1c0b56d95f08 [2020-03-10T18:44:33.075Z] ---> f1d67392e8ac [2020-03-10T18:44:33.075Z] Step 7/8 : COPY . . [2020-03-10T18:44:33.648Z] ---> 96204389a12f [2020-03-10T18:44:33.648Z] Step 8/8 : RUN go mod download [2020-03-10T18:44:33.648Z] ---> Running in cf201b8c8816 [2020-03-10T18:44:35.550Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T18:44:35.550Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-10T18:44:35.550Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T18:44:35.550Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T18:44:35.550Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T18:44:35.550Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T18:44:35.550Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-10T18:44:35.550Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T18:44:35.550Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 [2020-03-10T18:44:35.550Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-10T18:44:35.550Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T18:44:35.550Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T18:44:35.550Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T18:44:35.550Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T18:44:35.550Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T18:44:35.550Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T18:44:35.550Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-10T18:44:35.550Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T18:44:35.550Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T18:44:35.550Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-10T18:44:35.550Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T18:44:35.550Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T18:44:35.550Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T18:44:35.550Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T18:44:35.550Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T18:44:35.550Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T18:44:35.813Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T18:44:35.813Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T18:44:35.813Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T18:44:35.813Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T18:44:35.813Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T18:44:35.813Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T18:44:35.813Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-10T18:44:35.813Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-10T18:44:35.813Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T18:44:35.813Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T18:44:35.813Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T18:44:35.813Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T18:44:35.813Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T18:44:35.813Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-10T18:44:35.813Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T18:44:43.954Z] Removing intermediate container cf201b8c8816 [2020-03-10T18:44:43.954Z] ---> 3c9910a59836 [2020-03-10T18:44:43.954Z] Successfully built 3c9910a59836 [2020-03-10T18:44:43.954Z] 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-10T18:44:44.570Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-10T18:44:44.570Z] . [Pipeline] withDockerContainer [2020-03-10T18:44:44.694Z] prd-centos7-docker-4c-2g-10594 does not seem to be running inside a container [2020-03-10T18:44:44.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-10T18:44:45.298Z] $ docker top 45707e7be66f64932553e7fc3aac6d89dfcbe4d9c4111c969cfb65a17cbbb370 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T18:44:46.268Z] + go version [2020-03-10T18:44:46.268Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-10T18:44:46.566Z] + make test [2020-03-10T18:44:46.566Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-10T18:45:01.522Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-10T18:45:01.522Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-10T18:45:01.522Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-10T18:45:02.492Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 23.1% of statements [2020-03-10T18:45:02.492Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.050s coverage: 95.8% of statements [2020-03-10T18:45:05.806Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.120s coverage: 15.9% of statements [2020-03-10T18:45:05.806Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 25.6% of statements [2020-03-10T18:45:37.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.015s coverage: 30.0% of statements [2020-03-10T18:45:37.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.444s coverage: 42.3% of statements [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-10T18:45:37.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.320s coverage: 79.5% of statements [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-10T18:45:37.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.030s coverage: 52.6% of statements [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-03-10T18:45:37.931Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.111s coverage: 76.1% of statements [2020-03-10T18:45:37.931Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-10T18:45:37.931Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-10T18:45:37.931Z] gofmt -l . [2020-03-10T18:45:37.931Z] [ "`gofmt -l .`" = "" ] [2020-03-10T18:45:37.931Z] ./bin/test-attribution-txt.sh [2020-03-10T18:45:38.502Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-10T18:45:39.081Z] Stashed 1 file(s) [Pipeline] } [2020-03-10T18:45:39.090Z] $ docker stop --time=1 45707e7be66f64932553e7fc3aac6d89dfcbe4d9c4111c969cfb65a17cbbb370 [2020-03-10T18:45:40.628Z] $ docker rm -f 45707e7be66f64932553e7fc3aac6d89dfcbe4d9c4111c969cfb65a17cbbb370 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-10T18:45:41.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-10T18:45:41.842Z] + ls -al . [2020-03-10T18:45:41.842Z] total 200 [2020-03-10T18:45:41.842Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 10 18:45 . [2020-03-10T18:45:41.842Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 10 18:44 .. [2020-03-10T18:45:41.842Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 10 18:44 api [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 10 18:44 async.go [2020-03-10T18:45:41.842Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 18:44 bin [2020-03-10T18:45:41.842Z] -rw-r--r--. 1 jenkins jenkins 100203 Mar 10 18:45 coverage.out [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 10 18:44 Dockerfile.build [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 18:44 .dockerignore [2020-03-10T18:45:41.842Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 10 18:44 example [2020-03-10T18:45:41.842Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 18:44 .git [2020-03-10T18:45:41.842Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 10 18:44 .github [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 18:44 .gitignore [2020-03-10T18:45:41.842Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 10 18:45 go.mod [2020-03-10T18:45:41.842Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 10 18:45 go.sum [2020-03-10T18:45:41.842Z] drwxrwxr-x. 14 jenkins jenkins 193 Mar 10 18:44 internal [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 10 18:44 Jenkinsfile [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 18:44 LICENSE [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 10 18:44 Makefile [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 10 18:44 manageddevices.go [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 5472 Mar 10 18:44 managedprofiles.go [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 10 18:44 managedwatchers.go [2020-03-10T18:45:41.842Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 10 18:44 pkg [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 10 18:44 README.md [2020-03-10T18:45:41.842Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 10 18:44 .semver [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 9828 Mar 10 18:44 service.go [2020-03-10T18:45:41.842Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 18:44 snap [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 18:42 VERSION [2020-03-10T18:45:41.842Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:45:42.165Z] + 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=da63eeb335125f015d20db755587f7b25b3e6bca --label arch=amd64 --label version=0.0.0 . [2020-03-10T18:45:42.165Z] Sending build context to Docker daemon 2.818MB [2020-03-10T18:45:42.427Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-10T18:45:42.427Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-10T18:45:42.427Z] ---> 3c9910a59836 [2020-03-10T18:45:42.427Z] Step 3/20 : ARG MAKE='make build' [2020-03-10T18:45:42.427Z] ---> Running in b24724d259b7 [2020-03-10T18:45:42.427Z] Removing intermediate container b24724d259b7 [2020-03-10T18:45:42.427Z] ---> 5b08947275d3 [2020-03-10T18:45:42.427Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-10T18:45:42.427Z] ---> Running in e3a16c716b99 [2020-03-10T18:45:42.686Z] Removing intermediate container e3a16c716b99 [2020-03-10T18:45:42.686Z] ---> 39ae8d06469c [2020-03-10T18:45:42.686Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:45:42.686Z] ---> Running in efd054037cc9 [2020-03-10T18:45:42.947Z] Removing intermediate container efd054037cc9 [2020-03-10T18:45:42.947Z] ---> 88f7c748d9b8 [2020-03-10T18:45:42.947Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T18:45:42.948Z] ---> Running in 37cd56090e04 [2020-03-10T18:45:43.895Z] Removing intermediate container 37cd56090e04 [2020-03-10T18:45:43.895Z] ---> b380a79f6361 [2020-03-10T18:45:43.895Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-10T18:45:43.895Z] ---> Running in 8b3c34499ac2 [2020-03-10T18:45:44.155Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-10T18:45:45.096Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-10T18:45:45.357Z] OK: 143 MiB in 39 packages [2020-03-10T18:45:45.929Z] Removing intermediate container 8b3c34499ac2 [2020-03-10T18:45:45.929Z] ---> e0252ffb9b97 [2020-03-10T18:45:45.929Z] Step 8/20 : COPY . . [2020-03-10T18:45:46.191Z] ---> e75ff27e9fde [2020-03-10T18:45:46.191Z] Step 9/20 : RUN ${MAKE} [2020-03-10T18:45:46.191Z] ---> Running in 0f61bc75a196 [2020-03-10T18:45:46.764Z] 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-10T18:45:59.083Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-10T18:46:03.332Z] Removing intermediate container 0f61bc75a196 [2020-03-10T18:46:03.332Z] ---> 91aa00199cd0 [2020-03-10T18:46:03.333Z] Step 10/20 : FROM scratch [2020-03-10T18:46:03.333Z] ---> [2020-03-10T18:46:03.333Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:46:03.333Z] ---> Running in 00f5315c25da [2020-03-10T18:46:03.596Z] Removing intermediate container 00f5315c25da [2020-03-10T18:46:03.596Z] ---> f74249fd8841 [2020-03-10T18:46:03.596Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-10T18:46:03.596Z] ---> Running in e8a6fd3638da [2020-03-10T18:46:03.596Z] Removing intermediate container e8a6fd3638da [2020-03-10T18:46:03.596Z] ---> 8f3da31b6b7e [2020-03-10T18:46:03.596Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-10T18:46:03.596Z] ---> Running in caa048d79b2c [2020-03-10T18:46:03.856Z] Removing intermediate container caa048d79b2c [2020-03-10T18:46:03.856Z] ---> ce047c8e7068 [2020-03-10T18:46:03.856Z] Step 14/20 : WORKDIR / [2020-03-10T18:46:03.856Z] ---> Running in 77d46c872e2e [2020-03-10T18:46:04.115Z] Removing intermediate container 77d46c872e2e [2020-03-10T18:46:04.115Z] ---> de3fb5612167 [2020-03-10T18:46:04.115Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-10T18:46:04.378Z] ---> 104dac812a99 [2020-03-10T18:46:04.378Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-10T18:46:04.641Z] ---> b1054272976a [2020-03-10T18:46:04.641Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-10T18:46:04.641Z] ---> Running in 6296d9e43d0a [2020-03-10T18:46:04.900Z] Removing intermediate container 6296d9e43d0a [2020-03-10T18:46:04.900Z] ---> f5553bdfa4ab [2020-03-10T18:46:04.900Z] Step 18/20 : LABEL arch=amd64 [2020-03-10T18:46:04.900Z] ---> Running in b46e7a1d8c63 [2020-03-10T18:46:04.900Z] Removing intermediate container b46e7a1d8c63 [2020-03-10T18:46:04.900Z] ---> b09439aca18a [2020-03-10T18:46:04.900Z] Step 19/20 : LABEL git_sha=da63eeb335125f015d20db755587f7b25b3e6bca [2020-03-10T18:46:05.159Z] ---> Running in 5d2f714a88b4 [2020-03-10T18:46:05.159Z] Removing intermediate container 5d2f714a88b4 [2020-03-10T18:46:05.159Z] ---> 7c9e9d0b4235 [2020-03-10T18:46:05.159Z] Step 20/20 : LABEL version=0.0.0 [2020-03-10T18:46:05.159Z] ---> Running in 49fe688dd5aa [2020-03-10T18:46:05.422Z] Removing intermediate container 49fe688dd5aa [2020-03-10T18:46:05.422Z] ---> 91f7bf996b57 [2020-03-10T18:46:05.422Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-10T18:46:05.422Z] Successfully built 91f7bf996b57 [2020-03-10T18:46:05.422Z] 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-10T19:12:17.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-11075 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws [2020-03-10T19:12:17.833Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-03-10T19:12:24.967Z] using credential edgex-jenkins-ssh [2020-03-10T19:12:25.018Z] Cloning the remote Git repository [2020-03-10T19:12:25.018Z] Cloning with configured refspecs honoured and without tags [2020-03-10T19:12:25.117Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:12:25.247Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-03-10T19:12:25.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:12:25.384Z] > git --version # timeout=10 [2020-03-10T19:12:25.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:12:25.516Z] > 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-10T19:12:26.750Z] Fetching without tags [2020-03-10T19:12:26.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T19:12:26.600Z] > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 [2020-03-10T19:12:26.628Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T19:12:26.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T19:12:26.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:12:26.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:12:26.785Z] > 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-10T19:12:27.290Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 [2020-03-10T19:12:27.676Z] Merge succeeded, producing d924d573cac05682cad7a7601b54684f4394092a [2020-03-10T19:12:27.676Z] Checking out Revision d924d573cac05682cad7a7601b54684f4394092a (PR-447) [2020-03-10T19:12:27.303Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T19:12:27.358Z] > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 [2020-03-10T19:12:27.480Z] > git remote # timeout=10 [2020-03-10T19:12:27.516Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T19:12:27.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:12:27.563Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-10T19:12:27.630Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T19:12:27.679Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T19:12:27.796Z] > git checkout -f d924d573cac05682cad7a7601b54684f4394092a # timeout=10 [2020-03-10T19:12:32.516Z] Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" [2020-03-10T19:12:32.558Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-10T19:12:32.520Z] > git rev-list --no-walk fe5fd93eaad3fd70fa110ef481aae84e7be62446 # timeout=10 [Pipeline] echo [2020-03-10T19:12:34.012Z] ========================================================= [2020-03-10T19:12:34.012Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-10T19:12:34.012Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:12:35.651Z] + 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-10T19:12:36.625Z] Sending build context to Docker daemon 2.689MB [2020-03-10T19:12:36.625Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T19:12:36.625Z] Step 2/8 : FROM ${BASE} [2020-03-10T19:12:36.900Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-10T19:12:36.900Z] cde5963f3b93: Pulling fs layer [2020-03-10T19:12:36.900Z] 2a23fa8c16f7: Pulling fs layer [2020-03-10T19:12:36.900Z] 777b28850792: Pulling fs layer [2020-03-10T19:12:36.900Z] 8a11ddd9e578: Pulling fs layer [2020-03-10T19:12:36.900Z] 4cf88f913ddb: Pulling fs layer [2020-03-10T19:12:36.900Z] 1df406cf5192: Pulling fs layer [2020-03-10T19:12:36.900Z] cd6300453558: Pulling fs layer [2020-03-10T19:12:36.900Z] b9c365052c96: Pulling fs layer [2020-03-10T19:12:36.900Z] a2d8cc88f415: Pulling fs layer [2020-03-10T19:12:36.900Z] ea1d1ca13537: Pulling fs layer [2020-03-10T19:12:36.900Z] 3750a50a1c5e: Pulling fs layer [2020-03-10T19:12:36.900Z] cd6300453558: Waiting [2020-03-10T19:12:36.900Z] b9c365052c96: Waiting [2020-03-10T19:12:36.900Z] 8a11ddd9e578: Waiting [2020-03-10T19:12:36.900Z] ea1d1ca13537: Waiting [2020-03-10T19:12:36.900Z] 1df406cf5192: Waiting [2020-03-10T19:12:36.900Z] 3750a50a1c5e: Waiting [2020-03-10T19:12:36.900Z] a2d8cc88f415: Waiting [2020-03-10T19:12:36.900Z] 777b28850792: Download complete [2020-03-10T19:12:36.900Z] 2a23fa8c16f7: Verifying Checksum [2020-03-10T19:12:36.900Z] 2a23fa8c16f7: Download complete [2020-03-10T19:12:37.170Z] 4cf88f913ddb: Verifying Checksum [2020-03-10T19:12:37.170Z] 4cf88f913ddb: Download complete [2020-03-10T19:12:37.170Z] 1df406cf5192: Verifying Checksum [2020-03-10T19:12:37.170Z] 1df406cf5192: Download complete [2020-03-10T19:12:37.170Z] cde5963f3b93: Verifying Checksum [2020-03-10T19:12:37.759Z] cde5963f3b93: Pull complete [2020-03-10T19:12:38.352Z] 2a23fa8c16f7: Pull complete [2020-03-10T19:12:38.623Z] 777b28850792: Pull complete [2020-03-10T19:12:41.221Z] cd6300453558: Verifying Checksum [2020-03-10T19:12:41.221Z] cd6300453558: Download complete [2020-03-10T19:12:41.221Z] a2d8cc88f415: Verifying Checksum [2020-03-10T19:12:41.221Z] a2d8cc88f415: Download complete [2020-03-10T19:12:43.858Z] ea1d1ca13537: Verifying Checksum [2020-03-10T19:12:43.858Z] ea1d1ca13537: Download complete [2020-03-10T19:12:44.131Z] 3750a50a1c5e: Verifying Checksum [2020-03-10T19:12:44.131Z] 3750a50a1c5e: Download complete [2020-03-10T19:12:47.515Z] b9c365052c96: Verifying Checksum [2020-03-10T19:12:47.515Z] b9c365052c96: Download complete [2020-03-10T19:12:48.929Z] 8a11ddd9e578: Verifying Checksum [2020-03-10T19:12:48.929Z] 8a11ddd9e578: Download complete [2020-03-10T19:13:01.331Z] 8a11ddd9e578: Pull complete [2020-03-10T19:13:01.331Z] 4cf88f913ddb: Pull complete [2020-03-10T19:13:01.331Z] 1df406cf5192: Pull complete [2020-03-10T19:13:05.686Z] cd6300453558: Pull complete [2020-03-10T19:13:10.047Z] b9c365052c96: Pull complete [2020-03-10T19:13:10.047Z] a2d8cc88f415: Pull complete [2020-03-10T19:13:12.024Z] ea1d1ca13537: Pull complete [2020-03-10T19:13:12.640Z] 3750a50a1c5e: Pull complete [2020-03-10T19:13:12.640Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-10T19:13:12.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-10T19:13:12.640Z] ---> 78745c68409d [2020-03-10T19:13:12.640Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:13:18.057Z] ---> Running in 5e296748410e [2020-03-10T19:13:18.057Z] Removing intermediate container 5e296748410e [2020-03-10T19:13:18.057Z] ---> 0383d142ff31 [2020-03-10T19:13:18.057Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T19:13:18.057Z] ---> Running in d351dec9ab53 [2020-03-10T19:13:19.477Z] Removing intermediate container d351dec9ab53 [2020-03-10T19:13:19.477Z] ---> 06a5cdfccc95 [2020-03-10T19:13:19.477Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-10T19:13:19.754Z] ---> Running in 1d1f7142a4b8 [2020-03-10T19:13:20.713Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-10T19:13:21.299Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-10T19:13:21.885Z] OK: 125 MiB in 39 packages [2020-03-10T19:13:23.319Z] Removing intermediate container 1d1f7142a4b8 [2020-03-10T19:13:23.319Z] ---> cf47fadb752a [2020-03-10T19:13:23.319Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-10T19:13:23.589Z] ---> Running in a5400181a4d1 [2020-03-10T19:13:23.860Z] Removing intermediate container a5400181a4d1 [2020-03-10T19:13:23.860Z] ---> 3862030cefb8 [2020-03-10T19:13:23.860Z] Step 7/8 : COPY . . [2020-03-10T19:13:25.276Z] ---> c6c9af59c6bc [2020-03-10T19:13:25.276Z] Step 8/8 : RUN go mod download [2020-03-10T19:13:25.276Z] ---> Running in 06a04f8b47c4 [2020-03-10T19:13:27.250Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T19:13:27.250Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-10T19:13:27.250Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T19:13:27.250Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T19:13:27.250Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T19:13:27.250Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T19:13:27.250Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-10T19:13:27.250Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T19:13:27.250Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 [2020-03-10T19:13:27.250Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-10T19:13:27.250Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T19:13:27.250Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T19:13:27.250Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T19:13:27.250Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T19:13:27.250Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T19:13:27.250Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T19:13:27.250Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-10T19:13:27.250Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T19:13:27.250Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T19:13:27.518Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T19:13:27.518Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-10T19:13:27.518Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T19:13:27.518Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T19:13:27.518Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T19:13:27.518Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T19:13:27.518Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T19:13:27.518Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T19:13:27.518Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T19:13:27.518Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T19:13:27.518Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T19:13:27.518Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T19:13:27.518Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T19:13:27.518Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-10T19:13:27.518Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-10T19:13:27.518Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T19:13:27.518Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T19:13:27.792Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T19:13:27.792Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T19:13:27.792Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T19:13:27.792Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-10T19:13:27.792Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T19:13:46.125Z] Removing intermediate container 06a04f8b47c4 [2020-03-10T19:13:46.125Z] ---> 6e442eadfcb3 [2020-03-10T19:13:46.125Z] Successfully built 6e442eadfcb3 [2020-03-10T19:13:46.125Z] 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-10T19:13:46.982Z] + docker inspect -f . ci-base-image-arm64 [2020-03-10T19:13:46.982Z] . [Pipeline] withDockerContainer [2020-03-10T19:13:47.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-11075 does not seem to be running inside a container [2020-03-10T19:13:47.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-10T19:13:49.175Z] $ docker top a0b160fd772088d91b557a0f706d115e6e3630bcbe32c8f10036a177eb3cc5c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T19:13:51.847Z] + go version [2020-03-10T19:13:51.847Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-10T19:13:52.607Z] + make test [2020-03-10T19:13:52.607Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-10T19:14:39.857Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-10T19:14:39.857Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-10T19:14:39.857Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-10T19:14:39.857Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 23.1% of statements [2020-03-10T19:14:39.857Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.220s coverage: 95.8% of statements [2020-03-10T19:14:39.857Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.064s coverage: 15.9% of statements [2020-03-10T19:14:40.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.024s coverage: 25.6% of statements [2020-03-10T19:15:12.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.088s coverage: 30.0% of statements [2020-03-10T19:15:12.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.397s coverage: 42.3% of statements [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-10T19:15:12.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.998s coverage: 79.5% of statements [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-10T19:15:12.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-03-10T19:15:12.551Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.334s coverage: 76.1% of statements [2020-03-10T19:15:12.551Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-10T19:15:12.551Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-10T19:15:21.032Z] gofmt -l . [2020-03-10T19:15:21.032Z] [ "`gofmt -l .`" = "" ] [2020-03-10T19:15:21.032Z] ./bin/test-attribution-txt.sh [2020-03-10T19:15:21.653Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-10T19:15:21.959Z] Warning: overwriting stash ‘coverage-report’ [2020-03-10T19:15:22.557Z] Stashed 1 file(s) [Pipeline] } [2020-03-10T19:15:22.562Z] $ docker stop --time=1 a0b160fd772088d91b557a0f706d115e6e3630bcbe32c8f10036a177eb3cc5c9 [2020-03-10T19:15:24.782Z] $ docker rm -f a0b160fd772088d91b557a0f706d115e6e3630bcbe32c8f10036a177eb3cc5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-10T19:15:26.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-10T19:15:26.444Z] + ls -al . [2020-03-10T19:15:26.444Z] total 240 [2020-03-10T19:15:26.444Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 19:15 . [2020-03-10T19:15:26.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:12 .. [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 19:12 .dockerignore [2020-03-10T19:15:26.444Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 19:12 .git [2020-03-10T19:15:26.444Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 19:12 .github [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 19:12 .gitignore [2020-03-10T19:15:26.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 19:12 .semver [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 10 19:12 Dockerfile.build [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 10 19:12 Jenkinsfile [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 19:12 LICENSE [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 10 19:12 Makefile [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 10 19:12 README.md [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:42 VERSION [2020-03-10T19:15:26.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 19:12 api [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 10 19:12 async.go [2020-03-10T19:15:26.444Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 19:12 bin [2020-03-10T19:15:26.444Z] -rw-r--r-- 1 jenkins jenkins 100203 Mar 10 19:15 coverage.out [2020-03-10T19:15:26.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:12 example [2020-03-10T19:15:26.444Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 10 19:15 go.mod [2020-03-10T19:15:26.444Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 10 19:15 go.sum [2020-03-10T19:15:26.444Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 10 19:12 internal [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 10 19:12 manageddevices.go [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 5472 Mar 10 19:12 managedprofiles.go [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 10 19:12 managedwatchers.go [2020-03-10T19:15:26.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:12 pkg [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 9828 Mar 10 19:12 service.go [2020-03-10T19:15:26.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:12 snap [2020-03-10T19:15:26.444Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 19:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:15:26.839Z] + 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=da63eeb335125f015d20db755587f7b25b3e6bca --label arch=arm64 --label version=0.0.0 . [2020-03-10T19:15:27.444Z] Sending build context to Docker daemon 2.814MB [2020-03-10T19:15:27.444Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-10T19:15:27.444Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-10T19:15:27.444Z] ---> 6e442eadfcb3 [2020-03-10T19:15:27.444Z] Step 3/20 : ARG MAKE='make build' [2020-03-10T19:15:27.723Z] ---> Running in 0bda18640598 [2020-03-10T19:15:28.008Z] Removing intermediate container 0bda18640598 [2020-03-10T19:15:28.008Z] ---> 99095f118b96 [2020-03-10T19:15:28.008Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-10T19:15:28.008Z] ---> Running in 98feec1d3999 [2020-03-10T19:15:28.604Z] Removing intermediate container 98feec1d3999 [2020-03-10T19:15:28.604Z] ---> b0a8cc4b01ef [2020-03-10T19:15:28.604Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:15:28.604Z] ---> Running in 4a5ac02befe1 [2020-03-10T19:15:28.883Z] Removing intermediate container 4a5ac02befe1 [2020-03-10T19:15:28.883Z] ---> 4eb8132316a8 [2020-03-10T19:15:28.883Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T19:15:29.159Z] ---> Running in 9f4472732075 [2020-03-10T19:15:31.157Z] Removing intermediate container 9f4472732075 [2020-03-10T19:15:31.157Z] ---> a3d9d334a32e [2020-03-10T19:15:31.157Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-10T19:15:31.157Z] ---> Running in 8a3429facbe0 [2020-03-10T19:15:31.761Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-10T19:15:32.376Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-10T19:15:32.993Z] OK: 125 MiB in 39 packages [2020-03-10T19:15:33.982Z] Removing intermediate container 8a3429facbe0 [2020-03-10T19:15:33.982Z] ---> 89283b5cc370 [2020-03-10T19:15:33.982Z] Step 8/20 : COPY . . [2020-03-10T19:15:35.017Z] ---> c788f580f4d2 [2020-03-10T19:15:35.017Z] Step 9/20 : RUN ${MAKE} [2020-03-10T19:15:35.308Z] ---> Running in 052d901ffe47 [2020-03-10T19:15:35.916Z] 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-10T19:16:15.010Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-10T19:16:33.268Z] Removing intermediate container 052d901ffe47 [2020-03-10T19:16:33.268Z] ---> 3d4c09823e50 [2020-03-10T19:16:33.268Z] Step 10/20 : FROM scratch [2020-03-10T19:16:33.268Z] ---> [2020-03-10T19:16:33.268Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:16:33.268Z] ---> Running in c3b0a8e6cb57 [2020-03-10T19:16:33.268Z] Removing intermediate container c3b0a8e6cb57 [2020-03-10T19:16:33.268Z] ---> b36dff1cad74 [2020-03-10T19:16:33.268Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-10T19:16:33.268Z] ---> Running in cab11e999954 [2020-03-10T19:16:33.268Z] Removing intermediate container cab11e999954 [2020-03-10T19:16:33.268Z] ---> 258eec2714f9 [2020-03-10T19:16:33.268Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-10T19:16:33.268Z] ---> Running in dc16c9427adc [2020-03-10T19:16:33.268Z] Removing intermediate container dc16c9427adc [2020-03-10T19:16:33.268Z] ---> 1b6dcec9bdd1 [2020-03-10T19:16:33.268Z] Step 14/20 : WORKDIR / [2020-03-10T19:16:33.268Z] ---> Running in 7fd536845d0e [2020-03-10T19:16:33.268Z] Removing intermediate container 7fd536845d0e [2020-03-10T19:16:33.268Z] ---> 67ccfdb7f84a [2020-03-10T19:16:33.268Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-10T19:16:33.268Z] ---> 721dfab53084 [2020-03-10T19:16:33.268Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-10T19:16:33.863Z] ---> d68ff3f78f93 [2020-03-10T19:16:33.863Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-10T19:16:34.132Z] ---> Running in e6fe8df23fd9 [2020-03-10T19:16:34.406Z] Removing intermediate container e6fe8df23fd9 [2020-03-10T19:16:34.406Z] ---> 5a4f86028345 [2020-03-10T19:16:34.406Z] Step 18/20 : LABEL arch=arm64 [2020-03-10T19:16:34.406Z] ---> Running in 8dc1f9c2ca9b [2020-03-10T19:16:34.679Z] Removing intermediate container 8dc1f9c2ca9b [2020-03-10T19:16:34.679Z] ---> e74fe614cbcc [2020-03-10T19:16:34.679Z] Step 19/20 : LABEL git_sha=da63eeb335125f015d20db755587f7b25b3e6bca [2020-03-10T19:16:34.949Z] ---> Running in 902a426283fb [2020-03-10T19:16:35.218Z] Removing intermediate container 902a426283fb [2020-03-10T19:16:35.218Z] ---> f5ea0d4c690b [2020-03-10T19:16:35.218Z] Step 20/20 : LABEL version=0.0.0 [2020-03-10T19:16:35.490Z] ---> Running in f248ef2cad87 [2020-03-10T19:16:35.758Z] Removing intermediate container f248ef2cad87 [2020-03-10T19:16:35.758Z] ---> 80ebc5649543 [2020-03-10T19:16:35.758Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-10T19:16:35.758Z] Successfully built 80ebc5649543 [2020-03-10T19:16:35.758Z] 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-10T19:16:36.897Z] provisioning config files... [2020-03-10T19:16:36.927Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config35236569275021245tmp [Pipeline] { [Pipeline] sh [2020-03-10T19:16:37.283Z] + curl -s https://codecov.io/bash [2020-03-10T19:16:37.283Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config35236569275021245tmp [2020-03-10T19:16:37.546Z] [2020-03-10T19:16:37.546Z] _____ _ [2020-03-10T19:16:37.546Z] / ____| | | [2020-03-10T19:16:37.546Z] | | ___ __| | ___ ___ _____ __ [2020-03-10T19:16:37.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-10T19:16:37.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-10T19:16:37.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-10T19:16:37.546Z] Bash-20200303-bc4d7e6 [2020-03-10T19:16:37.546Z] [2020-03-10T19:16:37.546Z] [2020-03-10T19:16:37.546Z] ==> Jenkins CI detected. [2020-03-10T19:16:37.546Z] project root: . [2020-03-10T19:16:37.546Z] Fixing merge commit SHA [2020-03-10T19:16:37.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-10T19:16:37.546Z] ==> Running gcov in . (disable via -X gcov) [2020-03-10T19:16:37.546Z] ==> Python coveragepy not found [2020-03-10T19:16:37.546Z] ==> Searching for coverage reports in: [2020-03-10T19:16:37.546Z] + . [2020-03-10T19:16:37.546Z] -> Found 1 reports [2020-03-10T19:16:37.546Z] ==> Detecting git/mercurial file structure [2020-03-10T19:16:37.546Z] ==> Reading reports [2020-03-10T19:16:37.546Z] + ./coverage.out bytes=100203 [2020-03-10T19:16:37.546Z] ==> Appending adjustments [2020-03-10T19:16:37.546Z] http://docs.codecov.io/docs/fixing-reports [2020-03-10T19:16:37.815Z] + Found adjustments [2020-03-10T19:16:37.815Z] ==> Gzipping contents [2020-03-10T19:16:37.815Z] ==> Uploading reports [2020-03-10T19:16:37.815Z] url: https://codecov.io [2020-03-10T19:16:37.815Z] query: branch=PR-447&commit=1a07617a55e4200b889676e00db141fb8b6dd4d0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= [2020-03-10T19:16:37.815Z] -> Pinging Codecov [2020-03-10T19:16:37.815Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-447&commit=1a07617a55e4200b889676e00db141fb8b6dd4d0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= [2020-03-10T19:16:38.394Z] -> Uploading [2020-03-10T19:16:38.966Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1a07617a55e4200b889676e00db141fb8b6dd4d0 [Pipeline] } [2020-03-10T19:16:38.973Z] 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-10T19:16:40.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:16:40.507Z] ---> package-listing.sh [2020-03-10T19:16:40.507Z] ++ facter osfamily [2020-03-10T19:16:40.507Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-10T19:16:40.507Z] + OS_FAMILY=redhat [2020-03-10T19:16:40.507Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-10T19:16:40.507Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-10T19:16:40.507Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-10T19:16:40.507Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-10T19:16:40.507Z] + PACKAGES=/tmp/packages_start.txt [2020-03-10T19:16:40.507Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' [2020-03-10T19:16:40.507Z] + PACKAGES=/tmp/packages_end.txt [2020-03-10T19:16:40.507Z] + case "${OS_FAMILY}" in [2020-03-10T19:16:40.507Z] + rpm -qa [2020-03-10T19:16:40.507Z] + sort [2020-03-10T19:16:45.809Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-10T19:16:45.809Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-10T19:16:45.809Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-10T19:16:45.809Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' [2020-03-10T19:16:45.809Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ [2020-03-10T19:16:45.809Z] + 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-10T19:16:46.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T19:16:46.329Z] [2020-03-10T19:16:46.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:16:46.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T19:16:46.707Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-10T19:16:46.707Z] c9b1b535fdd9: Pulling fs layer [2020-03-10T19:16:46.707Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-10T19:16:46.707Z] 756a868c4378: Pulling fs layer [2020-03-10T19:16:46.707Z] 444b2fc9a129: Pulling fs layer [2020-03-10T19:16:46.707Z] ea15f1150254: Pulling fs layer [2020-03-10T19:16:46.707Z] 41b27a9f41bf: Pulling fs layer [2020-03-10T19:16:46.707Z] 28c525ee5125: Pulling fs layer [2020-03-10T19:16:46.707Z] 094b1ea09ed8: Pulling fs layer [2020-03-10T19:16:46.707Z] 138eaada9080: Pulling fs layer [2020-03-10T19:16:46.707Z] 0622d0fa9048: Pulling fs layer [2020-03-10T19:16:46.707Z] 28c525ee5125: Waiting [2020-03-10T19:16:46.707Z] 094b1ea09ed8: Waiting [2020-03-10T19:16:46.707Z] 138eaada9080: Waiting [2020-03-10T19:16:46.707Z] 444b2fc9a129: Waiting [2020-03-10T19:16:46.707Z] ea15f1150254: Waiting [2020-03-10T19:16:46.707Z] 41b27a9f41bf: Waiting [2020-03-10T19:16:46.707Z] 0622d0fa9048: Waiting [2020-03-10T19:16:46.707Z] 2cc5ad85d9ab: Download complete [2020-03-10T19:16:46.707Z] 444b2fc9a129: Verifying Checksum [2020-03-10T19:16:46.707Z] 444b2fc9a129: Download complete [2020-03-10T19:16:46.982Z] ea15f1150254: Verifying Checksum [2020-03-10T19:16:46.982Z] ea15f1150254: Download complete [2020-03-10T19:16:46.982Z] c9b1b535fdd9: Verifying Checksum [2020-03-10T19:16:46.982Z] c9b1b535fdd9: Download complete [2020-03-10T19:16:46.982Z] 28c525ee5125: Verifying Checksum [2020-03-10T19:16:46.982Z] 28c525ee5125: Download complete [2020-03-10T19:16:47.258Z] c9b1b535fdd9: Pull complete [2020-03-10T19:16:47.526Z] 2cc5ad85d9ab: Pull complete [2020-03-10T19:16:47.526Z] 756a868c4378: Verifying Checksum [2020-03-10T19:16:47.526Z] 756a868c4378: Download complete [2020-03-10T19:16:47.526Z] 138eaada9080: Verifying Checksum [2020-03-10T19:16:47.526Z] 138eaada9080: Download complete [2020-03-10T19:16:47.526Z] 094b1ea09ed8: Verifying Checksum [2020-03-10T19:16:47.526Z] 094b1ea09ed8: Download complete [2020-03-10T19:16:47.526Z] 0622d0fa9048: Verifying Checksum [2020-03-10T19:16:47.526Z] 0622d0fa9048: Download complete [2020-03-10T19:16:48.480Z] 41b27a9f41bf: Verifying Checksum [2020-03-10T19:16:49.055Z] 756a868c4378: Pull complete [2020-03-10T19:16:49.055Z] 444b2fc9a129: Pull complete [2020-03-10T19:16:49.622Z] ea15f1150254: Pull complete [2020-03-10T19:16:52.925Z] 41b27a9f41bf: Pull complete [2020-03-10T19:16:52.925Z] 28c525ee5125: Pull complete [2020-03-10T19:16:54.837Z] 094b1ea09ed8: Pull complete [2020-03-10T19:16:55.095Z] 138eaada9080: Pull complete [2020-03-10T19:16:55.095Z] 0622d0fa9048: Pull complete [2020-03-10T19:16:55.095Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-10T19:16:55.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-10T19:16:55.269Z] prd-centos7-docker-4c-2g-10576 does not seem to be running inside a container [2020-03-10T19:16:55.320Z] $ 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-10T19:16:56.329Z] $ docker top 7756cd198c932032da987311b2c891c7a44a05e3c2f543d7df244decf442f5f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-10T19:16:57.028Z] provisioning config files... [2020-03-10T19:16:57.041Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config8559115366222288487tmp [Pipeline] { [Pipeline] echo [2020-03-10T19:16:57.105Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:16:57.396Z] ---> create-netrc.sh [Pipeline] echo [2020-03-10T19:16:57.405Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:16:57.696Z] ---> logs-deploy.sh [2020-03-10T19:16:57.696Z] + ARCHIVE_ARTIFACTS= [2020-03-10T19:16:57.696Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-10T19:16:57.696Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-10T19:16:57.696Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-10T19:16:57.697Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/7 [2020-03-10T19:16:57.697Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/7/ [2020-03-10T19:16:57.697Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/7 /w/workspace/dgexfoundry_device-sdk-go_PR-447 [2020-03-10T19:16:59.077Z] Archives upload complete. [2020-03-10T19:16:59.077Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/7/