Pull request #474 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 6d36f33b612300ee79929b7f99b8ffab79cfcdbd rather than 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Obtained Jenkinsfile from 6d36f33b612300ee79929b7f99b8ffab79cfcdbd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2998 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [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-474 # timeout=10 Fetching without tags 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # 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 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 Commit message: "Add new fields on Reading" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-09T04:44:33.799Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 956ed765273cd5075a382331aab66b197054fb8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:44:35.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-09T04:44:35.976Z] [2020-04-09T04:44:35.976Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:44:36.337Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-09T04:44:36.337Z] latest: Pulling from edgex-devops/git-semver [2020-04-09T04:44:36.337Z] 9123ac7c32f7: Pulling fs layer [2020-04-09T04:44:36.337Z] b8cc5d1170e3: Pulling fs layer [2020-04-09T04:44:36.337Z] 2924cbbf6a41: Pulling fs layer [2020-04-09T04:44:36.337Z] 93b08a4f1073: Pulling fs layer [2020-04-09T04:44:36.337Z] 93b08a4f1073: Waiting [2020-04-09T04:44:36.337Z] b8cc5d1170e3: Verifying Checksum [2020-04-09T04:44:36.337Z] b8cc5d1170e3: Download complete [2020-04-09T04:44:36.603Z] 9123ac7c32f7: Verifying Checksum [2020-04-09T04:44:36.603Z] 9123ac7c32f7: Download complete [2020-04-09T04:44:36.603Z] 93b08a4f1073: Verifying Checksum [2020-04-09T04:44:36.603Z] 93b08a4f1073: Download complete [2020-04-09T04:44:36.603Z] 2924cbbf6a41: Verifying Checksum [2020-04-09T04:44:36.603Z] 2924cbbf6a41: Download complete [2020-04-09T04:44:36.862Z] 9123ac7c32f7: Pull complete [2020-04-09T04:44:36.862Z] b8cc5d1170e3: Pull complete [2020-04-09T04:44:37.798Z] 2924cbbf6a41: Pull complete [2020-04-09T04:44:37.798Z] 93b08a4f1073: Pull complete [2020-04-09T04:44:37.798Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-09T04:44:37.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-09T04:44:37.924Z] prd-centos7-docker-4c-2g-2998 does not seem to be running inside a container [2020-04-09T04:44:37.975Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-09T04:44:38.580Z] $ docker top 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-09T04:44:38.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-09T04:44:38.827Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-09T04:44:39.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-09T04:44:39.039Z] $ docker exec 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent [2020-04-09T04:44:39.211Z] SSH_AUTH_SOCK=/tmp/ssh-53ZnN8N8Yi4l/agent.15 [2020-04-09T04:44:39.212Z] SSH_AGENT_PID=21 [2020-04-09T04:44:39.222Z] Running ssh-add (command line suppressed) [2020-04-09T04:44:39.364Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5000406883305222533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5000406883305222533.key) [2020-04-09T04:44:39.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-09T04:44:39.728Z] + git describe --exact-match --tags HEAD [2020-04-09T04:44:39.729Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-09T04:44:39.800Z] $ docker exec --env ******** --env ******** 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent -k [2020-04-09T04:44:39.954Z] unset SSH_AUTH_SOCK; [2020-04-09T04:44:39.954Z] unset SSH_AGENT_PID; [2020-04-09T04:44:39.954Z] echo Agent pid 21 killed; [2020-04-09T04:44:39.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-09T04:44:40.045Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-09T04:44:40.045Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-09T04:44:40.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-09T04:44:40.115Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-09T04:44:40.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-09T04:44:40.314Z] $ docker exec 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent [2020-04-09T04:44:40.495Z] SSH_AUTH_SOCK=/tmp/ssh-DI9A9ArZKhr3/agent.56 [2020-04-09T04:44:40.495Z] SSH_AGENT_PID=63 [2020-04-09T04:44:40.501Z] Running ssh-add (command line suppressed) [2020-04-09T04:44:40.651Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2978507188472986634.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2978507188472986634.key) [2020-04-09T04:44:40.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-09T04:44:41.016Z] + git semver init [2020-04-09T04:44:41.016Z] # -> Open(): unable to determine branch for HEAD [2020-04-09T04:44:41.016Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git [2020-04-09T04:44:41.016Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-09T04:44:41.016Z] # $SEMVER_REMOTE_NAME = origin [2020-04-09T04:44:41.016Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-09T04:44:41.016Z] # $SEMVER_USER_NAME = jenkins [2020-04-09T04:44:41.016Z] # $SEMVER_BRANCH = PR-474 [2020-04-09T04:44:41.016Z] # $SEMVER_TEMP = /tmp/semver-204799706 [2020-04-09T04:44:41.016Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-09T04:44:41.588Z] # '/tmp/semver-204799706' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' [2020-04-09T04:44:41.588Z] # -> Force: false [2020-04-09T04:44:41.588Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } [2020-04-09T04:44:41.599Z] $ docker exec --env ******** --env ******** 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent -k [2020-04-09T04:44:41.733Z] unset SSH_AUTH_SOCK; [2020-04-09T04:44:41.733Z] unset SSH_AGENT_PID; [2020-04-09T04:44:41.733Z] echo Agent pid 63 killed; [2020-04-09T04:44:41.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-09T04:44:42.203Z] + git semver [Pipeline] } [2020-04-09T04:44:42.218Z] $ docker stop --time=1 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a [2020-04-09T04:44:43.564Z] $ docker rm -f 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-09T04:44:44.267Z] Stashed 39 file(s) [Pipeline] echo [2020-04-09T04:44:44.268Z] [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-04-09T04:44:59.521Z] Still waiting to schedule task [2020-04-09T04:44:59.521Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2998’ [2020-04-09T04:44:59.522Z] Still waiting to schedule task [2020-04-09T04:44:59.523Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-09T04:47:26.828Z] Running on prd-centos7-docker-4c-2g-3001 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-09T04:47:26.871Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-09T04:47:28.990Z] using credential edgex-jenkins-ssh [2020-04-09T04:47:29.038Z] Cloning the remote Git repository [2020-04-09T04:47:29.038Z] Cloning with configured refspecs honoured and without tags [2020-04-09T04:47:29.076Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:47:29.114Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-09T04:47:29.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:47:29.154Z] > git --version # timeout=10 [2020-04-09T04:47:29.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:47:29.187Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:47:29.777Z] Fetching without tags [2020-04-09T04:47:30.215Z] Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:47:30.316Z] Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:47:30.317Z] Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) [2020-04-09T04:47:29.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T04:47:29.750Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-09T04:47:29.757Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:47:29.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T04:47:29.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:47:29.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:47:29.787Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:47:30.226Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T04:47:30.233Z] > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [2020-04-09T04:47:30.279Z] > git remote # timeout=10 [2020-04-09T04:47:30.286Z] > git config --get remote.origin.url # timeout=10 [2020-04-09T04:47:30.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:47:30.298Z] > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 [2020-04-09T04:47:30.308Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-09T04:47:30.319Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T04:47:30.326Z] > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [2020-04-09T04:47:34.157Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-09T04:47:34.956Z] ========================================================= [2020-04-09T04:47:34.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-09T04:47:34.957Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:47:35.589Z] + 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-04-09T04:47:35.849Z] Sending build context to Docker daemon 2.858MB [2020-04-09T04:47:35.849Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-09T04:47:35.849Z] Step 2/8 : FROM ${BASE} [2020-04-09T04:47:36.111Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-09T04:47:36.111Z] e6b0cf9c0882: Pulling fs layer [2020-04-09T04:47:36.111Z] 2848faf0eed1: Pulling fs layer [2020-04-09T04:47:36.111Z] 0f37312ad70f: Pulling fs layer [2020-04-09T04:47:36.111Z] 5788d62ee057: Pulling fs layer [2020-04-09T04:47:36.111Z] 0e6b1d234666: Pulling fs layer [2020-04-09T04:47:36.111Z] bf5d7aec512f: Pulling fs layer [2020-04-09T04:47:36.111Z] 34c802a77dc8: Pulling fs layer [2020-04-09T04:47:36.111Z] 9eb99e56ec68: Pulling fs layer [2020-04-09T04:47:36.111Z] 27c7a5d97fbd: Pulling fs layer [2020-04-09T04:47:36.111Z] 5c102a31e300: Pulling fs layer [2020-04-09T04:47:36.111Z] dcfb455df0a1: Pulling fs layer [2020-04-09T04:47:36.111Z] 5788d62ee057: Waiting [2020-04-09T04:47:36.111Z] 0e6b1d234666: Waiting [2020-04-09T04:47:36.111Z] 5c102a31e300: Waiting [2020-04-09T04:47:36.111Z] 34c802a77dc8: Waiting [2020-04-09T04:47:36.111Z] dcfb455df0a1: Waiting [2020-04-09T04:47:36.111Z] 9eb99e56ec68: Waiting [2020-04-09T04:47:36.111Z] 27c7a5d97fbd: Waiting [2020-04-09T04:47:36.111Z] 0f37312ad70f: Verifying Checksum [2020-04-09T04:47:36.111Z] 0f37312ad70f: Download complete [2020-04-09T04:47:36.111Z] 2848faf0eed1: Download complete [2020-04-09T04:47:36.111Z] 0e6b1d234666: Download complete [2020-04-09T04:47:36.111Z] bf5d7aec512f: Verifying Checksum [2020-04-09T04:47:36.111Z] bf5d7aec512f: Download complete [2020-04-09T04:47:36.111Z] e6b0cf9c0882: Verifying Checksum [2020-04-09T04:47:36.706Z] e6b0cf9c0882: Pull complete [2020-04-09T04:47:37.313Z] 34c802a77dc8: Verifying Checksum [2020-04-09T04:47:37.313Z] 34c802a77dc8: Download complete [2020-04-09T04:47:37.313Z] 27c7a5d97fbd: Verifying Checksum [2020-04-09T04:47:37.313Z] 27c7a5d97fbd: Download complete [2020-04-09T04:47:37.912Z] 5c102a31e300: Verifying Checksum [2020-04-09T04:47:37.912Z] 5c102a31e300: Download complete [2020-04-09T04:47:37.912Z] dcfb455df0a1: Verifying Checksum [2020-04-09T04:47:37.912Z] dcfb455df0a1: Download complete [2020-04-09T04:47:37.912Z] 9eb99e56ec68: Verifying Checksum [2020-04-09T04:47:37.912Z] 9eb99e56ec68: Download complete [2020-04-09T04:47:38.172Z] 5788d62ee057: Verifying Checksum [2020-04-09T04:47:38.172Z] 5788d62ee057: Download complete [2020-04-09T04:47:38.740Z] 2848faf0eed1: Pull complete [2020-04-09T04:47:38.740Z] 0f37312ad70f: Pull complete [2020-04-09T04:47:44.030Z] 5788d62ee057: Pull complete [2020-04-09T04:47:44.289Z] 0e6b1d234666: Pull complete [2020-04-09T04:47:44.289Z] bf5d7aec512f: Pull complete [2020-04-09T04:47:49.639Z] 34c802a77dc8: Pull complete [2020-04-09T04:47:52.946Z] 9eb99e56ec68: Pull complete [2020-04-09T04:47:52.946Z] 27c7a5d97fbd: Pull complete [2020-04-09T04:47:53.888Z] 5c102a31e300: Pull complete [2020-04-09T04:47:53.888Z] dcfb455df0a1: Pull complete [2020-04-09T04:47:53.888Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-09T04:47:53.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-09T04:47:53.888Z] ---> 7c70fe431013 [2020-04-09T04:47:53.888Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:47:53.888Z] ---> Running in 6f93d5692351 [2020-04-09T04:47:54.148Z] Removing intermediate container 6f93d5692351 [2020-04-09T04:47:54.148Z] ---> b869ddca9b06 [2020-04-09T04:47:54.148Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T04:47:54.148Z] ---> Running in eb10ab3df07f [2020-04-09T04:47:55.089Z] Removing intermediate container eb10ab3df07f [2020-04-09T04:47:55.089Z] ---> 8f1f0a639a76 [2020-04-09T04:47:55.089Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-09T04:47:55.089Z] ---> Running in 04bce3595fcc [2020-04-09T04:47:55.658Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-09T04:47:56.227Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-09T04:47:56.797Z] OK: 143 MiB in 39 packages [2020-04-09T04:47:57.058Z] Removing intermediate container 04bce3595fcc [2020-04-09T04:47:57.058Z] ---> 97e2595a2af3 [2020-04-09T04:47:57.058Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-09T04:47:57.058Z] ---> Running in 28139f49ad34 [2020-04-09T04:47:57.058Z] Removing intermediate container 28139f49ad34 [2020-04-09T04:47:57.058Z] ---> 0f4e689a6b42 [2020-04-09T04:47:57.058Z] Step 7/8 : COPY . . [2020-04-09T04:47:57.633Z] ---> 013cd049fa6c [2020-04-09T04:47:57.633Z] Step 8/8 : RUN go mod download [2020-04-09T04:47:57.633Z] ---> Running in f1ec107ce751 [2020-04-09T04:47:59.544Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-09T04:47:59.544Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-09T04:47:59.802Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-09T04:47:59.802Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-09T04:47:59.802Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-09T04:47:59.802Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-09T04:47:59.802Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-09T04:47:59.802Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-09T04:47:59.802Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-09T04:47:59.802Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-09T04:47:59.802Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-09T04:47:59.802Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-09T04:47:59.802Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-09T04:47:59.802Z] go: finding github.com/fatih/color v1.7.0 [2020-04-09T04:47:59.802Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-09T04:47:59.802Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-09T04:47:59.802Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-09T04:47:59.802Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-09T04:47:59.802Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-09T04:47:59.802Z] go: finding github.com/google/uuid v1.1.0 [2020-04-09T04:47:59.802Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-09T04:48:00.067Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-09T04:48:00.067Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-09T04:48:00.067Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-09T04:48:00.067Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-09T04:48:00.067Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-09T04:48:00.067Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-09T04:48:00.067Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-09T04:48:00.067Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-09T04:48:00.067Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-09T04:48:00.067Z] go: finding github.com/posener/complete v1.1.1 [2020-04-09T04:48:00.067Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-09T04:48:00.331Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-09T04:48:00.331Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-09T04:48:00.331Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-09T04:48:00.331Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-09T04:48:00.331Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-09T04:48:00.331Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-09T04:48:00.331Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-09T04:48:00.331Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-09T04:48:00.331Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-09T04:48:00.593Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-09T04:48:00.593Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-09T04:48:04.803Z] Removing intermediate container f1ec107ce751 [2020-04-09T04:48:04.803Z] ---> a46612097342 [2020-04-09T04:48:04.803Z] Successfully built a46612097342 [2020-04-09T04:48:05.063Z] 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-04-09T04:48:05.363Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3000 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-09T04:48:05.428Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-09T04:48:05.612Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-09T04:48:05.612Z] . [Pipeline] withDockerContainer [2020-04-09T04:48:05.734Z] prd-centos7-docker-4c-2g-3001 does not seem to be running inside a container [2020-04-09T04:48:05.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-09T04:48:06.369Z] $ docker top 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-09T04:48:06.853Z] + go version [2020-04-09T04:48:06.853Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-09T04:48:07.162Z] + make test [2020-04-09T04:48:07.162Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-09T04:48:09.071Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-09T04:48:11.683Z] using credential edgex-jenkins-ssh [2020-04-09T04:48:11.736Z] Cloning the remote Git repository [2020-04-09T04:48:11.736Z] Cloning with configured refspecs honoured and without tags [2020-04-09T04:48:11.807Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:48:11.927Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-09T04:48:12.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:48:12.090Z] > git --version # timeout=10 [2020-04-09T04:48:12.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:48:12.225Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:48:13.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T04:48:13.265Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-09T04:48:13.293Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:48:13.389Z] Fetching without tags [2020-04-09T04:48:13.946Z] Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:48:14.323Z] Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:48:14.323Z] Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) [2020-04-09T04:48:13.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T04:48:13.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T04:48:13.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:48:13.436Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T04:48:13.971Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T04:48:14.017Z] > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [2020-04-09T04:48:14.168Z] > git remote # timeout=10 [2020-04-09T04:48:14.214Z] > git config --get remote.origin.url # timeout=10 [2020-04-09T04:48:14.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T04:48:14.265Z] > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 [2020-04-09T04:48:14.302Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-09T04:48:14.335Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T04:48:14.368Z] > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [2020-04-09T04:48:19.126Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-09T04:48:19.126Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-09T04:48:19.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements [2020-04-09T04:48:19.334Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-09T04:48:20.690Z] ========================================================= [2020-04-09T04:48:20.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-09T04:48:20.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:48:21.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements [2020-04-09T04:48:21.983Z] + 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-04-09T04:48:22.970Z] Sending build context to Docker daemon 2.86MB [2020-04-09T04:48:22.970Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-09T04:48:22.970Z] Step 2/8 : FROM ${BASE} [2020-04-09T04:48:23.572Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-09T04:48:23.572Z] cde5963f3b93: Pulling fs layer [2020-04-09T04:48:23.572Z] 2a23fa8c16f7: Pulling fs layer [2020-04-09T04:48:23.572Z] 777b28850792: Pulling fs layer [2020-04-09T04:48:23.572Z] 8a11ddd9e578: Pulling fs layer [2020-04-09T04:48:23.572Z] 8a11ddd9e578: Waiting [2020-04-09T04:48:23.572Z] 4cf88f913ddb: Pulling fs layer [2020-04-09T04:48:23.572Z] 1df406cf5192: Pulling fs layer [2020-04-09T04:48:23.572Z] cd6300453558: Pulling fs layer [2020-04-09T04:48:23.572Z] b9c365052c96: Pulling fs layer [2020-04-09T04:48:23.572Z] a2d8cc88f415: Pulling fs layer [2020-04-09T04:48:23.572Z] ea1d1ca13537: Pulling fs layer [2020-04-09T04:48:23.572Z] 3750a50a1c5e: Pulling fs layer [2020-04-09T04:48:23.572Z] 4cf88f913ddb: Waiting [2020-04-09T04:48:23.572Z] 1df406cf5192: Waiting [2020-04-09T04:48:23.572Z] cd6300453558: Waiting [2020-04-09T04:48:23.572Z] b9c365052c96: Waiting [2020-04-09T04:48:23.572Z] a2d8cc88f415: Waiting [2020-04-09T04:48:23.572Z] ea1d1ca13537: Waiting [2020-04-09T04:48:23.572Z] 3750a50a1c5e: Waiting [2020-04-09T04:48:23.572Z] 777b28850792: Verifying Checksum [2020-04-09T04:48:23.572Z] 777b28850792: Download complete [2020-04-09T04:48:23.572Z] 2a23fa8c16f7: Download complete [2020-04-09T04:48:23.572Z] 4cf88f913ddb: Verifying Checksum [2020-04-09T04:48:23.572Z] 4cf88f913ddb: Download complete [2020-04-09T04:48:23.572Z] 1df406cf5192: Download complete [2020-04-09T04:48:23.845Z] cde5963f3b93: Verifying Checksum [2020-04-09T04:48:23.845Z] cde5963f3b93: Download complete [2020-04-09T04:48:24.826Z] cde5963f3b93: Pull complete [2020-04-09T04:48:25.427Z] 2a23fa8c16f7: Pull complete [2020-04-09T04:48:26.861Z] 777b28850792: Pull complete [2020-04-09T04:48:28.295Z] cd6300453558: Verifying Checksum [2020-04-09T04:48:28.295Z] cd6300453558: Download complete [2020-04-09T04:48:28.295Z] a2d8cc88f415: Verifying Checksum [2020-04-09T04:48:28.295Z] a2d8cc88f415: Download complete [2020-04-09T04:48:31.670Z] ea1d1ca13537: Verifying Checksum [2020-04-09T04:48:31.670Z] ea1d1ca13537: Download complete [2020-04-09T04:48:31.670Z] 3750a50a1c5e: Verifying Checksum [2020-04-09T04:48:31.670Z] 3750a50a1c5e: Download complete [2020-04-09T04:48:34.297Z] b9c365052c96: Verifying Checksum [2020-04-09T04:48:34.297Z] b9c365052c96: Download complete [2020-04-09T04:48:36.269Z] 8a11ddd9e578: Verifying Checksum [2020-04-09T04:48:36.269Z] 8a11ddd9e578: Download complete [2020-04-09T04:48:48.618Z] 8a11ddd9e578: Pull complete [2020-04-09T04:48:48.618Z] 4cf88f913ddb: Pull complete [2020-04-09T04:48:48.618Z] 1df406cf5192: Pull complete [2020-04-09T04:48:51.965Z] cd6300453558: Pull complete [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 11.4% of statements [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 22.1% of statements [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.084s coverage: 38.5% of statements [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.507s coverage: 79.8% of statements [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-09T04:48:53.145Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 71.4% of statements [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-09T04:48:53.145Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-09T04:48:53.145Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-09T04:48:53.404Z] gofmt -l . [2020-04-09T04:48:53.663Z] [ "`gofmt -l .`" = "" ] [2020-04-09T04:48:53.663Z] ./bin/test-attribution-txt.sh [2020-04-09T04:48:54.233Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-09T04:48:54.925Z] Stashed 1 file(s) [Pipeline] } [2020-04-09T04:48:54.929Z] $ docker stop --time=1 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a [2020-04-09T04:48:56.221Z] b9c365052c96: Pull complete [2020-04-09T04:48:56.222Z] a2d8cc88f415: Pull complete [2020-04-09T04:48:56.399Z] $ docker rm -f 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-09T04:48:57.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-09T04:48:57.996Z] + ls -al . [2020-04-09T04:48:57.996Z] total 160 [2020-04-09T04:48:57.996Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 9 04:48 . [2020-04-09T04:48:57.996Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 9 04:47 .. [2020-04-09T04:48:57.996Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 9 04:47 api [2020-04-09T04:48:57.996Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 04:47 bin [2020-04-09T04:48:57.996Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 9 04:48 coverage.out [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 9 04:47 Dockerfile.build [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 9 04:47 .dockerignore [2020-04-09T04:48:57.996Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 9 04:47 example [2020-04-09T04:48:57.996Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 9 04:47 .git [2020-04-09T04:48:57.996Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 9 04:47 .github [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 9 04:47 .gitignore [2020-04-09T04:48:57.996Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 9 04:48 go.mod [2020-04-09T04:48:57.996Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 9 04:48 go.sum [2020-04-09T04:48:57.996Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 9 04:47 internal [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 9 04:47 Jenkinsfile [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 9 04:47 LICENSE [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 9 04:47 Makefile [2020-04-09T04:48:57.996Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 9 04:47 pkg [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 9 04:47 README.md [2020-04-09T04:48:57.996Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 9 04:47 .semver [2020-04-09T04:48:57.996Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 9 04:47 snap [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 9 04:44 VERSION [2020-04-09T04:48:57.996Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 9 04:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:48:58.202Z] ea1d1ca13537: Pull complete [2020-04-09T04:48:58.295Z] + 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=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 --label arch=amd64 --label version=0.0.0 . [2020-04-09T04:48:58.295Z] Sending build context to Docker daemon 2.976MB [2020-04-09T04:48:58.295Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-09T04:48:58.295Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-09T04:48:58.295Z] ---> a46612097342 [2020-04-09T04:48:58.295Z] Step 3/20 : ARG MAKE='make build' [2020-04-09T04:48:58.470Z] 3750a50a1c5e: Pull complete [2020-04-09T04:48:58.470Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-09T04:48:58.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-09T04:48:58.470Z] ---> 78745c68409d [2020-04-09T04:48:58.470Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:48:58.558Z] ---> Running in 26694e330055 [2020-04-09T04:48:58.558Z] Removing intermediate container 26694e330055 [2020-04-09T04:48:58.558Z] ---> 98b3ce57db3e [2020-04-09T04:48:58.558Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-09T04:48:58.558Z] ---> Running in 9030fbd30b1f [2020-04-09T04:48:58.819Z] Removing intermediate container 9030fbd30b1f [2020-04-09T04:48:58.819Z] ---> cc608e80254f [2020-04-09T04:48:58.819Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:48:58.819Z] ---> Running in c6c27f61ed58 [2020-04-09T04:48:59.079Z] Removing intermediate container c6c27f61ed58 [2020-04-09T04:48:59.079Z] ---> f273d519cc9b [2020-04-09T04:48:59.079Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T04:48:59.079Z] ---> Running in 40796f8515f7 [2020-04-09T04:48:59.649Z] Removing intermediate container 40796f8515f7 [2020-04-09T04:48:59.649Z] ---> 35d6c88820ad [2020-04-09T04:48:59.649Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-09T04:48:59.649Z] ---> Running in c10e04a9497f [2020-04-09T04:49:00.218Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-09T04:49:00.788Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-09T04:49:01.414Z] OK: 143 MiB in 39 packages [2020-04-09T04:49:01.673Z] Removing intermediate container c10e04a9497f [2020-04-09T04:49:01.673Z] ---> b3b32a2d835f [2020-04-09T04:49:01.673Z] Step 8/20 : COPY . . [2020-04-09T04:49:01.934Z] ---> be120faadc25 [2020-04-09T04:49:01.934Z] Step 9/20 : RUN ${MAKE} [2020-04-09T04:49:01.934Z] ---> Running in 7ce354d6c7df [2020-04-09T04:49:02.198Z] 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-04-09T04:49:03.105Z] ---> Running in 2a53ac53de1e [2020-04-09T04:49:03.696Z] Removing intermediate container 2a53ac53de1e [2020-04-09T04:49:03.696Z] ---> 1708008ff4ac [2020-04-09T04:49:03.696Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T04:49:03.980Z] ---> Running in 70973dc8a3f8 [2020-04-09T04:49:05.935Z] Removing intermediate container 70973dc8a3f8 [2020-04-09T04:49:05.935Z] ---> 4d45a7d03448 [2020-04-09T04:49:05.935Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-09T04:49:06.203Z] ---> Running in 35e02e6420ea [2020-04-09T04:49:07.167Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-09T04:49:07.750Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-09T04:49:08.332Z] OK: 125 MiB in 39 packages [2020-04-09T04:49:09.747Z] Removing intermediate container 35e02e6420ea [2020-04-09T04:49:09.747Z] ---> cda21d77ec24 [2020-04-09T04:49:09.747Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-09T04:49:09.747Z] ---> Running in 12000045fe80 [2020-04-09T04:49:10.014Z] Removing intermediate container 12000045fe80 [2020-04-09T04:49:10.014Z] ---> b19758e3c246 [2020-04-09T04:49:10.014Z] Step 7/8 : COPY . . [2020-04-09T04:49:10.399Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-09T04:49:10.665Z] Removing intermediate container 7ce354d6c7df [2020-04-09T04:49:10.665Z] ---> 5747f089eadc [2020-04-09T04:49:10.665Z] Step 10/20 : FROM scratch [2020-04-09T04:49:10.665Z] ---> [2020-04-09T04:49:10.665Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:49:10.665Z] ---> Running in 51e0bc971688 [2020-04-09T04:49:10.924Z] Removing intermediate container 51e0bc971688 [2020-04-09T04:49:10.924Z] ---> d0811b247d2d [2020-04-09T04:49:10.924Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-09T04:49:10.924Z] ---> Running in bc793da9f8dd [2020-04-09T04:49:10.924Z] Removing intermediate container bc793da9f8dd [2020-04-09T04:49:10.924Z] ---> 4f3dc2d8270b [2020-04-09T04:49:10.924Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-09T04:49:10.973Z] ---> d99361979851 [2020-04-09T04:49:10.973Z] Step 8/8 : RUN go mod download [2020-04-09T04:49:11.182Z] ---> Running in 9568abb77e8f [2020-04-09T04:49:11.182Z] Removing intermediate container 9568abb77e8f [2020-04-09T04:49:11.182Z] ---> 40ff0c86aaef [2020-04-09T04:49:11.182Z] Step 14/20 : WORKDIR / [2020-04-09T04:49:11.182Z] ---> Running in 5c6e7b01e235 [2020-04-09T04:49:11.240Z] ---> Running in 87475c652492 [2020-04-09T04:49:11.456Z] Removing intermediate container 5c6e7b01e235 [2020-04-09T04:49:11.456Z] ---> f735f88bd4ea [2020-04-09T04:49:11.456Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-09T04:49:11.721Z] ---> 028c94d83f77 [2020-04-09T04:49:11.721Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-09T04:49:11.980Z] ---> c7336504e9f7 [2020-04-09T04:49:11.980Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-09T04:49:11.980Z] ---> Running in 9cf41879b3cc [2020-04-09T04:49:11.980Z] Removing intermediate container 9cf41879b3cc [2020-04-09T04:49:11.980Z] ---> 0a15aabdb2fb [2020-04-09T04:49:11.980Z] Step 18/20 : LABEL arch=amd64 [2020-04-09T04:49:11.980Z] ---> Running in 32a08182fde5 [2020-04-09T04:49:12.241Z] Removing intermediate container 32a08182fde5 [2020-04-09T04:49:12.241Z] ---> cf7dfc93e419 [2020-04-09T04:49:12.241Z] Step 19/20 : LABEL git_sha=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:49:12.241Z] ---> Running in 6f658a74d198 [2020-04-09T04:49:12.501Z] Removing intermediate container 6f658a74d198 [2020-04-09T04:49:12.501Z] ---> 2bdfa60d05e6 [2020-04-09T04:49:12.501Z] Step 20/20 : LABEL version=0.0.0 [2020-04-09T04:49:12.501Z] ---> Running in 4c301444d167 [2020-04-09T04:49:12.501Z] Removing intermediate container 4c301444d167 [2020-04-09T04:49:12.501Z] ---> a15e9d5eb67d [2020-04-09T04:49:12.501Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-09T04:49:12.501Z] Successfully built a15e9d5eb67d [2020-04-09T04:49:12.501Z] 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-04-09T04:49:13.834Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-09T04:49:13.834Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-09T04:49:13.834Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-09T04:49:13.834Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-09T04:49:13.834Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-09T04:49:13.834Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-09T04:49:13.834Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-09T04:49:13.834Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-09T04:49:13.834Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-09T04:49:13.834Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-09T04:49:13.834Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-09T04:49:13.834Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-09T04:49:13.834Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-09T04:49:13.834Z] go: finding github.com/fatih/color v1.7.0 [2020-04-09T04:49:13.834Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-09T04:49:13.834Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-09T04:49:13.834Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-09T04:49:13.834Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-09T04:49:13.834Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-09T04:49:13.834Z] go: finding github.com/google/uuid v1.1.0 [2020-04-09T04:49:13.834Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-09T04:49:13.834Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-09T04:49:13.835Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-09T04:49:13.835Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-09T04:49:13.835Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-09T04:49:14.104Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-09T04:49:14.104Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-09T04:49:14.104Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-09T04:49:14.104Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-09T04:49:14.104Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-09T04:49:14.104Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-09T04:49:14.373Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-09T04:49:14.373Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-09T04:49:14.373Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-09T04:49:14.373Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-09T04:49:14.373Z] go: finding github.com/posener/complete v1.1.1 [2020-04-09T04:49:14.373Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-09T04:49:14.373Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-09T04:49:14.373Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-09T04:49:14.373Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-09T04:49:14.373Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-09T04:49:14.373Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-09T04:49:14.373Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-09T04:49:14.645Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-09T04:49:14.645Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-09T04:49:14.645Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-09T04:49:14.645Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-09T04:49:14.645Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-09T04:49:24.766Z] Removing intermediate container 87475c652492 [2020-04-09T04:49:24.766Z] ---> c82fff16acb7 [2020-04-09T04:49:24.766Z] Successfully built c82fff16acb7 [2020-04-09T04:49:24.766Z] 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-04-09T04:49:25.396Z] + docker inspect -f . ci-base-image-arm64 [2020-04-09T04:49:25.665Z] . [Pipeline] withDockerContainer [2020-04-09T04:49:26.057Z] prd-ubuntu18.04-docker-arm64-4c-16g-3000 does not seem to be running inside a container [2020-04-09T04:49:26.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-09T04:49:27.830Z] $ docker top 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-09T04:49:28.994Z] + go version [2020-04-09T04:49:28.994Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-09T04:49:29.902Z] + make test [2020-04-09T04:49:29.902Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-09T04:49:31.347Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-09T04:50:03.704Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-09T04:50:03.704Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-09T04:50:03.704Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.036s coverage: 22.1% of statements [2020-04-09T04:50:06.331Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.187s coverage: 95.8% of statements [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 11.4% of statements [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 22.1% of statements [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.465s coverage: 38.5% of statements [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.618s coverage: 79.8% of statements [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 52.6% of statements [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-09T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.371s coverage: 71.4% of statements [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-09T04:50:38.652Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-09T04:50:38.652Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-09T04:50:44.033Z] gofmt -l . [2020-04-09T04:50:44.033Z] [ "`gofmt -l .`" = "" ] [2020-04-09T04:50:44.302Z] ./bin/test-attribution-txt.sh [2020-04-09T04:50:45.271Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-09T04:50:45.553Z] Warning: overwriting stash ‘coverage-report’ [2020-04-09T04:50:46.100Z] Stashed 1 file(s) [Pipeline] } [2020-04-09T04:50:46.107Z] $ docker stop --time=1 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 [2020-04-09T04:50:48.364Z] $ docker rm -f 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-09T04:50:49.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-09T04:50:50.145Z] + ls -al . [2020-04-09T04:50:50.145Z] total 200 [2020-04-09T04:50:50.145Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 9 04:50 . [2020-04-09T04:50:50.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 .. [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 9 04:48 .dockerignore [2020-04-09T04:50:50.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 04:48 .git [2020-04-09T04:50:50.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 04:48 .github [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 9 04:48 .gitignore [2020-04-09T04:50:50.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 04:48 .semver [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 9 04:48 Dockerfile.build [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 9 04:48 Jenkinsfile [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 9 04:48 LICENSE [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 9 04:48 Makefile [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 9 04:48 README.md [2020-04-09T04:50:50.145Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 9 04:44 VERSION [2020-04-09T04:50:50.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 04:48 api [2020-04-09T04:50:50.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 04:48 bin [2020-04-09T04:50:50.145Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 9 04:50 coverage.out [2020-04-09T04:50:50.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 example [2020-04-09T04:50:50.146Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 9 04:50 go.mod [2020-04-09T04:50:50.146Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 9 04:50 go.sum [2020-04-09T04:50:50.146Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 9 04:48 internal [2020-04-09T04:50:50.146Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 04:48 pkg [2020-04-09T04:50:50.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 snap [2020-04-09T04:50:50.146Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 9 04:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:50:50.474Z] + 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=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 --label arch=arm64 --label version=0.0.0 . [2020-04-09T04:50:51.057Z] Sending build context to Docker daemon 2.978MB [2020-04-09T04:50:51.057Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-09T04:50:51.057Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-09T04:50:51.057Z] ---> c82fff16acb7 [2020-04-09T04:50:51.057Z] Step 3/20 : ARG MAKE='make build' [2020-04-09T04:50:51.326Z] ---> Running in aa9a00d978ac [2020-04-09T04:50:51.595Z] Removing intermediate container aa9a00d978ac [2020-04-09T04:50:51.595Z] ---> 8ab57b990899 [2020-04-09T04:50:51.595Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-09T04:50:51.865Z] ---> Running in a9ccb34fbef7 [2020-04-09T04:50:52.137Z] Removing intermediate container a9ccb34fbef7 [2020-04-09T04:50:52.137Z] ---> 97017a186963 [2020-04-09T04:50:52.137Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:50:52.406Z] ---> Running in 1f6a0c549d35 [2020-04-09T04:50:52.675Z] Removing intermediate container 1f6a0c549d35 [2020-04-09T04:50:52.675Z] ---> ca32be5e0995 [2020-04-09T04:50:52.675Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T04:50:52.945Z] ---> Running in 5160ce7117ec [2020-04-09T04:50:54.897Z] Removing intermediate container 5160ce7117ec [2020-04-09T04:50:54.897Z] ---> 0edf3ebcd86e [2020-04-09T04:50:54.897Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-09T04:50:54.897Z] ---> Running in 4f799991d8e1 [2020-04-09T04:50:55.487Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-09T04:50:56.451Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-09T04:50:57.032Z] OK: 125 MiB in 39 packages [2020-04-09T04:50:58.006Z] Removing intermediate container 4f799991d8e1 [2020-04-09T04:50:58.006Z] ---> 133769892164 [2020-04-09T04:50:58.006Z] Step 8/20 : COPY . . [2020-04-09T04:50:58.971Z] ---> 44575950533b [2020-04-09T04:50:58.971Z] Step 9/20 : RUN ${MAKE} [2020-04-09T04:50:59.246Z] ---> Running in 9895f36f785a [2020-04-09T04:51:00.217Z] 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-04-09T04:51:27.029Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-09T04:51:28.989Z] Removing intermediate container 9895f36f785a [2020-04-09T04:51:28.989Z] ---> b95a3fe0b52a [2020-04-09T04:51:28.989Z] Step 10/20 : FROM scratch [2020-04-09T04:51:28.989Z] ---> [2020-04-09T04:51:28.989Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T04:51:28.989Z] ---> Running in 908c554db17c [2020-04-09T04:51:29.259Z] Removing intermediate container 908c554db17c [2020-04-09T04:51:29.259Z] ---> 04e82aa85915 [2020-04-09T04:51:29.259Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-09T04:51:29.530Z] ---> Running in 45a38f1d085a [2020-04-09T04:51:29.804Z] Removing intermediate container 45a38f1d085a [2020-04-09T04:51:29.804Z] ---> 6d6616efd7f6 [2020-04-09T04:51:29.804Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-09T04:51:30.073Z] ---> Running in 48d44a66894c [2020-04-09T04:51:30.657Z] Removing intermediate container 48d44a66894c [2020-04-09T04:51:30.657Z] ---> f20a3c8721e6 [2020-04-09T04:51:30.657Z] Step 14/20 : WORKDIR / [2020-04-09T04:51:30.657Z] ---> Running in 647f3d27427b [2020-04-09T04:51:30.922Z] Removing intermediate container 647f3d27427b [2020-04-09T04:51:30.922Z] ---> beed6f1dea89 [2020-04-09T04:51:30.922Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-09T04:51:31.888Z] ---> edcd6283f8b5 [2020-04-09T04:51:31.888Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-09T04:51:32.473Z] ---> 5a2a1abe6a81 [2020-04-09T04:51:32.473Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-09T04:51:32.473Z] ---> Running in 10a8ad61a856 [2020-04-09T04:51:33.065Z] Removing intermediate container 10a8ad61a856 [2020-04-09T04:51:33.065Z] ---> ef38fc423017 [2020-04-09T04:51:33.065Z] Step 18/20 : LABEL arch=arm64 [2020-04-09T04:51:33.065Z] ---> Running in 4d172a26a7a4 [2020-04-09T04:51:33.334Z] Removing intermediate container 4d172a26a7a4 [2020-04-09T04:51:33.334Z] ---> e09f030859e5 [2020-04-09T04:51:33.334Z] Step 19/20 : LABEL git_sha=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [2020-04-09T04:51:33.603Z] ---> Running in 82c8cfbba110 [2020-04-09T04:51:33.875Z] Removing intermediate container 82c8cfbba110 [2020-04-09T04:51:33.875Z] ---> 03776e1b2ea8 [2020-04-09T04:51:33.875Z] Step 20/20 : LABEL version=0.0.0 [2020-04-09T04:51:34.142Z] ---> Running in a23880f4f793 [2020-04-09T04:51:34.410Z] Removing intermediate container a23880f4f793 [2020-04-09T04:51:34.410Z] ---> 9adc78f75e15 [2020-04-09T04:51:34.410Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-09T04:51:34.410Z] Successfully built 9adc78f75e15 [2020-04-09T04:51:34.410Z] 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-04-09T04:51:35.465Z] provisioning config files... [2020-04-09T04:51:35.480Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config4235943496696588882tmp [Pipeline] { [Pipeline] sh [2020-04-09T04:51:35.824Z] + curl -s https://codecov.io/bash [2020-04-09T04:51:35.824Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config4235943496696588882tmp [2020-04-09T04:51:36.083Z] [2020-04-09T04:51:36.083Z] _____ _ [2020-04-09T04:51:36.083Z] / ____| | | [2020-04-09T04:51:36.083Z] | | ___ __| | ___ ___ _____ __ [2020-04-09T04:51:36.083Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-09T04:51:36.083Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-09T04:51:36.083Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-09T04:51:36.083Z] Bash-tbd [2020-04-09T04:51:36.083Z] [2020-04-09T04:51:36.083Z] [2020-04-09T04:51:36.083Z] ==> Jenkins CI detected. [2020-04-09T04:51:36.083Z] project root: . [2020-04-09T04:51:36.083Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-09T04:51:36.083Z] ==> Running gcov in . (disable via -X gcov) [2020-04-09T04:51:36.083Z] ==> Python coveragepy not found [2020-04-09T04:51:36.083Z] ==> Searching for coverage reports in: [2020-04-09T04:51:36.083Z] + . [2020-04-09T04:51:36.083Z] -> Found 1 reports [2020-04-09T04:51:36.083Z] ==> Detecting git/mercurial file structure [2020-04-09T04:51:36.083Z] ==> Reading reports [2020-04-09T04:51:36.083Z] + ./coverage.out bytes=96404 [2020-04-09T04:51:36.083Z] ==> Appending adjustments [2020-04-09T04:51:36.083Z] http://docs.codecov.io/docs/fixing-reports [2020-04-09T04:51:36.652Z] + Found adjustments [2020-04-09T04:51:36.652Z] ==> Gzipping contents [2020-04-09T04:51:36.652Z] ==> Uploading reports [2020-04-09T04:51:36.652Z] url: https://codecov.io [2020-04-09T04:51:36.652Z] query: branch=PR-474&commit=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-09T04:51:36.652Z] -> Pinging Codecov [2020-04-09T04:51:36.652Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-474&commit=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-09T04:51:36.911Z] -> Uploading [2020-04-09T04:51:37.478Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [Pipeline] } [2020-04-09T04:51:37.486Z] 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-04-09T04:51:38.622Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T04:51:38.922Z] ---> package-listing.sh [2020-04-09T04:51:38.922Z] ++ facter osfamily [2020-04-09T04:51:38.922Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-09T04:51:38.922Z] + OS_FAMILY=redhat [2020-04-09T04:51:38.922Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-09T04:51:38.922Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-09T04:51:38.922Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-09T04:51:38.922Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-09T04:51:38.922Z] + PACKAGES=/tmp/packages_start.txt [2020-04-09T04:51:38.922Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-09T04:51:38.922Z] + PACKAGES=/tmp/packages_end.txt [2020-04-09T04:51:38.922Z] + case "${OS_FAMILY}" in [2020-04-09T04:51:38.922Z] + rpm -qa [2020-04-09T04:51:38.922Z] + sort [2020-04-09T04:51:43.118Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-09T04:51:43.118Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-09T04:51:43.118Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-09T04:51:43.118Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-09T04:51:43.118Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [2020-04-09T04:51:43.118Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:51:43.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-09T04:51:43.619Z] [2020-04-09T04:51:43.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-09T04:51:43.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-09T04:51:43.957Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-09T04:51:43.957Z] c9b1b535fdd9: Pulling fs layer [2020-04-09T04:51:43.957Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-09T04:51:43.957Z] 756a868c4378: Pulling fs layer [2020-04-09T04:51:43.957Z] 444b2fc9a129: Pulling fs layer [2020-04-09T04:51:43.957Z] ea15f1150254: Pulling fs layer [2020-04-09T04:51:43.957Z] 41b27a9f41bf: Pulling fs layer [2020-04-09T04:51:43.957Z] 28c525ee5125: Pulling fs layer [2020-04-09T04:51:43.957Z] 094b1ea09ed8: Pulling fs layer [2020-04-09T04:51:43.957Z] 138eaada9080: Pulling fs layer [2020-04-09T04:51:43.957Z] 0622d0fa9048: Pulling fs layer [2020-04-09T04:51:43.957Z] 28c525ee5125: Waiting [2020-04-09T04:51:43.957Z] 094b1ea09ed8: Waiting [2020-04-09T04:51:43.957Z] 138eaada9080: Waiting [2020-04-09T04:51:43.957Z] 0622d0fa9048: Waiting [2020-04-09T04:51:43.957Z] ea15f1150254: Waiting [2020-04-09T04:51:43.957Z] 444b2fc9a129: Waiting [2020-04-09T04:51:43.957Z] 41b27a9f41bf: Waiting [2020-04-09T04:51:43.957Z] 2cc5ad85d9ab: Download complete [2020-04-09T04:51:43.957Z] 444b2fc9a129: Verifying Checksum [2020-04-09T04:51:43.957Z] 444b2fc9a129: Download complete [2020-04-09T04:51:43.957Z] c9b1b535fdd9: Verifying Checksum [2020-04-09T04:51:43.957Z] c9b1b535fdd9: Download complete [2020-04-09T04:51:43.957Z] ea15f1150254: Verifying Checksum [2020-04-09T04:51:43.957Z] ea15f1150254: Download complete [2020-04-09T04:51:44.230Z] 28c525ee5125: Verifying Checksum [2020-04-09T04:51:44.230Z] 28c525ee5125: Download complete [2020-04-09T04:51:44.511Z] c9b1b535fdd9: Pull complete [2020-04-09T04:51:44.511Z] 756a868c4378: Verifying Checksum [2020-04-09T04:51:44.511Z] 756a868c4378: Download complete [2020-04-09T04:51:44.511Z] 094b1ea09ed8: Verifying Checksum [2020-04-09T04:51:44.511Z] 094b1ea09ed8: Download complete [2020-04-09T04:51:44.775Z] 138eaada9080: Verifying Checksum [2020-04-09T04:51:44.775Z] 138eaada9080: Download complete [2020-04-09T04:51:44.775Z] 0622d0fa9048: Verifying Checksum [2020-04-09T04:51:44.775Z] 0622d0fa9048: Download complete [2020-04-09T04:51:44.775Z] 2cc5ad85d9ab: Pull complete [2020-04-09T04:51:45.042Z] 41b27a9f41bf: Verifying Checksum [2020-04-09T04:51:45.042Z] 41b27a9f41bf: Download complete [2020-04-09T04:51:45.979Z] 756a868c4378: Pull complete [2020-04-09T04:51:46.239Z] 444b2fc9a129: Pull complete [2020-04-09T04:51:46.808Z] ea15f1150254: Pull complete [2020-04-09T04:51:50.099Z] 41b27a9f41bf: Pull complete [2020-04-09T04:51:50.359Z] 28c525ee5125: Pull complete [2020-04-09T04:51:52.897Z] 094b1ea09ed8: Pull complete [2020-04-09T04:51:52.897Z] 138eaada9080: Pull complete [2020-04-09T04:51:52.897Z] 0622d0fa9048: Pull complete [2020-04-09T04:51:52.897Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-09T04:51:52.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-09T04:51:53.069Z] prd-centos7-docker-4c-2g-2998 does not seem to be running inside a container [2020-04-09T04:51:53.118Z] $ 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-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-09T04:51:54.161Z] $ docker top 18a99415bca578735664f6def1ed09c3b405207007aa38d8e0b2df9b2e89be62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-09T04:51:54.391Z] provisioning config files... [2020-04-09T04:51:54.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config6801980679602407973tmp [Pipeline] { [Pipeline] echo [2020-04-09T04:51:54.460Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T04:51:54.755Z] ---> create-netrc.sh [Pipeline] echo [2020-04-09T04:51:54.762Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T04:51:55.054Z] ---> logs-deploy.sh [2020-04-09T04:51:55.054Z] + ARCHIVE_ARTIFACTS= [2020-04-09T04:51:55.054Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-09T04:51:55.054Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-09T04:51:55.054Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-09T04:51:55.054Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 [2020-04-09T04:51:55.054Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/4/ [2020-04-09T04:51:55.054Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-09T04:51:56.432Z] Archives upload complete. [2020-04-09T04:51:56.432Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/4/