Pull request #464 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a3da746885b618801d51f6bc1cee5348ded01924+b92b1a498a210f23e11ab247bf48f6be566a37ca (f6ba8637e4cc2a5904de540ed78c2934c78465b0) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2892 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T16:41:46.560Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 8501529d56152bfbb8a5eb942bc5d469c19f880c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:41:48.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T16:41:48.262Z] [2020-04-08T16:41:48.262Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:41:48.651Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T16:41:48.651Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T16:41:48.651Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T16:41:48.651Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T16:41:48.651Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T16:41:48.651Z] 93b08a4f1073: Pulling fs layer [2020-04-08T16:41:48.651Z] 93b08a4f1073: Waiting [2020-04-08T16:41:48.651Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T16:41:48.651Z] b8cc5d1170e3: Download complete [2020-04-08T16:41:48.915Z] 9123ac7c32f7: Download complete [2020-04-08T16:41:48.915Z] 93b08a4f1073: Verifying Checksum [2020-04-08T16:41:48.915Z] 93b08a4f1073: Download complete [2020-04-08T16:41:48.915Z] 2924cbbf6a41: Download complete [2020-04-08T16:41:49.176Z] 9123ac7c32f7: Pull complete [2020-04-08T16:41:49.176Z] b8cc5d1170e3: Pull complete [2020-04-08T16:41:50.118Z] 2924cbbf6a41: Pull complete [2020-04-08T16:41:50.118Z] 93b08a4f1073: Pull complete [2020-04-08T16:41:50.118Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T16:41:50.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T16:41:50.258Z] prd-centos7-docker-4c-2g-2892 does not seem to be running inside a container [2020-04-08T16:41:50.301Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-08T16:41:50.992Z] $ docker top 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T16:41:51.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T16:41:51.236Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T16:41:51.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T16:41:51.452Z] $ docker exec 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent [2020-04-08T16:41:51.637Z] SSH_AUTH_SOCK=/tmp/ssh-epfep2vf6rvO/agent.15 [2020-04-08T16:41:51.637Z] SSH_AGENT_PID=21 [2020-04-08T16:41:51.646Z] Running ssh-add (command line suppressed) [2020-04-08T16:41:51.795Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3291907150661225673.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3291907150661225673.key) [2020-04-08T16:41:51.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T16:41:52.186Z] + git describe --exact-match --tags HEAD [2020-04-08T16:41:52.186Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T16:41:52.237Z] $ docker exec --env ******** --env ******** 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent -k [2020-04-08T16:41:52.376Z] unset SSH_AUTH_SOCK; [2020-04-08T16:41:52.377Z] unset SSH_AGENT_PID; [2020-04-08T16:41:52.377Z] echo Agent pid 21 killed; [2020-04-08T16:41:52.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T16:41:52.487Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T16:41:52.487Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T16:41:52.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T16:41:52.561Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T16:41:52.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T16:41:52.745Z] $ docker exec 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent [2020-04-08T16:41:52.924Z] SSH_AUTH_SOCK=/tmp/ssh-3iUkBELricly/agent.56 [2020-04-08T16:41:52.924Z] SSH_AGENT_PID=62 [2020-04-08T16:41:52.949Z] Running ssh-add (command line suppressed) [2020-04-08T16:41:53.106Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6789105670714528036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6789105670714528036.key) [2020-04-08T16:41:53.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T16:41:53.487Z] + git semver init [2020-04-08T16:41:53.487Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T16:41:53.487Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-04-08T16:41:53.487Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-08T16:41:53.487Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T16:41:53.487Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T16:41:53.487Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T16:41:53.488Z] # $SEMVER_BRANCH = PR-464 [2020-04-08T16:41:53.488Z] # $SEMVER_TEMP = /tmp/semver-333920069 [2020-04-08T16:41:53.488Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-08T16:41:54.068Z] # '/tmp/semver-333920069' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-04-08T16:41:54.068Z] # -> Force: false [2020-04-08T16:41:54.068Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-04-08T16:41:54.076Z] $ docker exec --env ******** --env ******** 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent -k [2020-04-08T16:41:54.229Z] unset SSH_AUTH_SOCK; [2020-04-08T16:41:54.229Z] unset SSH_AGENT_PID; [2020-04-08T16:41:54.229Z] echo Agent pid 62 killed; [2020-04-08T16:41:54.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T16:41:54.729Z] + git semver [Pipeline] } [2020-04-08T16:41:54.743Z] $ docker stop --time=1 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a [2020-04-08T16:41:56.084Z] $ docker rm -f 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T16:41:56.872Z] Stashed 38 file(s) [Pipeline] echo [2020-04-08T16:41:56.874Z] [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-08T16:42:12.085Z] Still waiting to schedule task [2020-04-08T16:42:12.085Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-08T16:42:12.086Z] Still waiting to schedule task [2020-04-08T16:42:12.086Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-08T16:43:38.222Z] Running on prd-centos7-docker-4c-2g-2893 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-08T16:43:38.261Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-04-08T16:43:40.671Z] using credential edgex-jenkins-ssh [2020-04-08T16:43:40.713Z] Cloning the remote Git repository [2020-04-08T16:43:40.713Z] Cloning with configured refspecs honoured and without tags [2020-04-08T16:43:41.478Z] Fetching without tags [2020-04-08T16:43:40.283Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:43:40.325Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-04-08T16:43:40.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:43:40.369Z] > git --version # timeout=10 [2020-04-08T16:43:40.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:43:40.402Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:43:41.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T16:43:41.063Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-08T16:43:41.068Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:43:41.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T16:43:41.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:43:41.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:43:41.095Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:43:41.878Z] Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:43:41.962Z] Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:43:41.963Z] Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) [2020-04-08T16:43:41.526Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T16:43:41.531Z] > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 [2020-04-08T16:43:41.578Z] > git remote # timeout=10 [2020-04-08T16:43:41.584Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T16:43:41.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:43:41.593Z] > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T16:43:41.602Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T16:43:41.614Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T16:43:41.618Z] > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 [2020-04-08T16:43:45.597Z] Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T16:43:46.613Z] ========================================================= [2020-04-08T16:43:46.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-08T16:43:46.613Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:43:47.285Z] + 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-08T16:43:47.549Z] Sending build context to Docker daemon 2.853MB [2020-04-08T16:43:47.549Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T16:43:47.549Z] Step 2/8 : FROM ${BASE} [2020-04-08T16:43:47.811Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-08T16:43:47.811Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T16:43:47.811Z] 2848faf0eed1: Pulling fs layer [2020-04-08T16:43:47.811Z] 0f37312ad70f: Pulling fs layer [2020-04-08T16:43:47.811Z] 5788d62ee057: Pulling fs layer [2020-04-08T16:43:47.811Z] 0e6b1d234666: Pulling fs layer [2020-04-08T16:43:47.811Z] bf5d7aec512f: Pulling fs layer [2020-04-08T16:43:47.811Z] 34c802a77dc8: Pulling fs layer [2020-04-08T16:43:47.811Z] 9eb99e56ec68: Pulling fs layer [2020-04-08T16:43:47.811Z] 27c7a5d97fbd: Pulling fs layer [2020-04-08T16:43:47.811Z] 5c102a31e300: Pulling fs layer [2020-04-08T16:43:47.811Z] dcfb455df0a1: Pulling fs layer [2020-04-08T16:43:47.811Z] bf5d7aec512f: Waiting [2020-04-08T16:43:47.811Z] 34c802a77dc8: Waiting [2020-04-08T16:43:47.811Z] 9eb99e56ec68: Waiting [2020-04-08T16:43:47.811Z] 27c7a5d97fbd: Waiting [2020-04-08T16:43:47.811Z] 5c102a31e300: Waiting [2020-04-08T16:43:47.811Z] dcfb455df0a1: Waiting [2020-04-08T16:43:47.811Z] 5788d62ee057: Waiting [2020-04-08T16:43:47.811Z] 0e6b1d234666: Waiting [2020-04-08T16:43:47.811Z] 0f37312ad70f: Download complete [2020-04-08T16:43:47.811Z] 2848faf0eed1: Download complete [2020-04-08T16:43:47.811Z] 0e6b1d234666: Download complete [2020-04-08T16:43:47.811Z] bf5d7aec512f: Verifying Checksum [2020-04-08T16:43:47.811Z] bf5d7aec512f: Download complete [2020-04-08T16:43:47.811Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T16:43:47.811Z] e6b0cf9c0882: Download complete [2020-04-08T16:43:48.075Z] e6b0cf9c0882: Pull complete [2020-04-08T16:43:48.335Z] 2848faf0eed1: Pull complete [2020-04-08T16:43:48.600Z] 34c802a77dc8: Verifying Checksum [2020-04-08T16:43:48.600Z] 34c802a77dc8: Download complete [2020-04-08T16:43:48.864Z] 27c7a5d97fbd: Verifying Checksum [2020-04-08T16:43:48.864Z] 27c7a5d97fbd: Download complete [2020-04-08T16:43:49.454Z] 5c102a31e300: Verifying Checksum [2020-04-08T16:43:49.454Z] 5c102a31e300: Download complete [2020-04-08T16:43:49.454Z] dcfb455df0a1: Verifying Checksum [2020-04-08T16:43:49.454Z] dcfb455df0a1: Download complete [2020-04-08T16:43:49.454Z] 9eb99e56ec68: Verifying Checksum [2020-04-08T16:43:49.454Z] 9eb99e56ec68: Download complete [2020-04-08T16:43:49.716Z] 5788d62ee057: Verifying Checksum [2020-04-08T16:43:49.716Z] 5788d62ee057: Download complete [2020-04-08T16:43:50.285Z] 0f37312ad70f: Pull complete [2020-04-08T16:43:55.576Z] 5788d62ee057: Pull complete [2020-04-08T16:43:55.577Z] 0e6b1d234666: Pull complete [2020-04-08T16:43:55.577Z] bf5d7aec512f: Pull complete [2020-04-08T16:44:05.644Z] 34c802a77dc8: Pull complete [2020-04-08T16:44:07.564Z] 9eb99e56ec68: Pull complete [2020-04-08T16:44:07.824Z] 27c7a5d97fbd: Pull complete [2020-04-08T16:44:08.765Z] 5c102a31e300: Pull complete [2020-04-08T16:44:08.765Z] dcfb455df0a1: Pull complete [2020-04-08T16:44:08.765Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-08T16:44:08.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-08T16:44:08.765Z] ---> 7c70fe431013 [2020-04-08T16:44:08.765Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:44:08.765Z] ---> Running in 7d32e177e6e9 [2020-04-08T16:44:09.025Z] Removing intermediate container 7d32e177e6e9 [2020-04-08T16:44:09.025Z] ---> a93e3a26f326 [2020-04-08T16:44:09.025Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T16:44:09.025Z] ---> Running in 1033b4e84e70 [2020-04-08T16:44:09.967Z] Removing intermediate container 1033b4e84e70 [2020-04-08T16:44:09.967Z] ---> 4f0fb314f45a [2020-04-08T16:44:09.967Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T16:44:09.967Z] ---> Running in aca948c949e6 [2020-04-08T16:44:10.905Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T16:44:11.476Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T16:44:12.049Z] OK: 143 MiB in 39 packages [2020-04-08T16:44:12.314Z] Removing intermediate container aca948c949e6 [2020-04-08T16:44:12.314Z] ---> 88d5636ed93f [2020-04-08T16:44:12.314Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T16:44:12.314Z] ---> Running in cd052172198e [2020-04-08T16:44:12.314Z] Removing intermediate container cd052172198e [2020-04-08T16:44:12.314Z] ---> 853cea0381f6 [2020-04-08T16:44:12.314Z] Step 7/8 : COPY . . [2020-04-08T16:44:12.886Z] ---> 6493f26a974d [2020-04-08T16:44:12.886Z] Step 8/8 : RUN go mod download [2020-04-08T16:44:13.147Z] ---> Running in 770aa7e4bcc5 [2020-04-08T16:44:14.527Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T16:44:14.527Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T16:44:14.527Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T16:44:14.527Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T16:44:14.527Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T16:44:14.527Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T16:44:14.527Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T16:44:14.527Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T16:44:14.527Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T16:44:14.527Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T16:44:14.527Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T16:44:14.527Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T16:44:14.527Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T16:44:14.527Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T16:44:14.527Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T16:44:14.788Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T16:44:14.788Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T16:44:14.788Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T16:44:14.788Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T16:44:14.788Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T16:44:14.788Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T16:44:14.788Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T16:44:14.788Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T16:44:14.788Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T16:44:14.788Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T16:44:14.788Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T16:44:14.788Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T16:44:15.051Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T16:44:15.051Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T16:44:15.051Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T16:44:15.051Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T16:44:15.051Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T16:44:15.051Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T16:44:15.051Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T16:44:15.051Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T16:44:15.051Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T16:44:15.051Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T16:44:15.051Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T16:44:15.051Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T16:44:15.051Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T16:44:15.051Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T16:44:15.051Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T16:44:15.051Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T16:44:15.051Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T16:44:15.051Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T16:44:19.266Z] Removing intermediate container 770aa7e4bcc5 [2020-04-08T16:44:19.266Z] ---> 5acd6b7f0974 [2020-04-08T16:44:19.528Z] Successfully built 5acd6b7f0974 [2020-04-08T16:44:19.528Z] 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-08T16:44:20.120Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T16:44:20.120Z] . [Pipeline] withDockerContainer [2020-04-08T16:44:20.247Z] prd-centos7-docker-4c-2g-2893 does not seem to be running inside a container [2020-04-08T16:44:20.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-08T16:44:20.862Z] $ docker top 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T16:44:21.341Z] + go version [2020-04-08T16:44:21.342Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-08T16:44:21.641Z] + make test [2020-04-08T16:44:21.641Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T16:44:22.211Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T16:44:40.367Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T16:44:40.367Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T16:44:40.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 22.6% of statements [2020-04-08T16:44:40.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.028s coverage: 11.4% of statements [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 22.7% of statements [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 38.5% of statements [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.485s coverage: 78.4% of statements [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T16:45:12.486Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 76.1% of statements [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T16:45:12.486Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T16:45:12.486Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T16:45:13.055Z] gofmt -l . [2020-04-08T16:45:13.055Z] [ "`gofmt -l .`" = "" ] [2020-04-08T16:45:13.055Z] ./bin/test-attribution-txt.sh [2020-04-08T16:45:13.992Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T16:45:14.408Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T16:45:14.414Z] $ docker stop --time=1 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 [2020-04-08T16:45:15.902Z] $ docker rm -f 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T16:45:17.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T16:45:17.578Z] + ls -al . [2020-04-08T16:45:17.578Z] total 160 [2020-04-08T16:45:17.578Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 16:45 . [2020-04-08T16:45:17.578Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 8 16:43 .. [2020-04-08T16:45:17.578Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 16:43 api [2020-04-08T16:45:17.578Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 16:43 bin [2020-04-08T16:45:17.578Z] -rw-r--r--. 1 jenkins jenkins 95252 Apr 8 16:45 coverage.out [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 16:43 Dockerfile.build [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 16:43 .dockerignore [2020-04-08T16:45:17.579Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 16:43 example [2020-04-08T16:45:17.579Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 16:43 .git [2020-04-08T16:45:17.579Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 16:43 .github [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 16:43 .gitignore [2020-04-08T16:45:17.579Z] -rw-r--r--. 1 jenkins jenkins 475 Apr 8 16:45 go.mod [2020-04-08T16:45:17.579Z] -rw-r--r--. 1 jenkins jenkins 12152 Apr 8 16:45 go.sum [2020-04-08T16:45:17.579Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 16:43 internal [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 16:43 Jenkinsfile [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 16:43 LICENSE [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 16:43 Makefile [2020-04-08T16:45:17.579Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 16:43 pkg [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 16:43 README.md [2020-04-08T16:45:17.579Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 16:43 .semver [2020-04-08T16:45:17.579Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 16:43 snap [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 16:41 VERSION [2020-04-08T16:45:17.579Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 16:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:45:17.875Z] + 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=a3da746885b618801d51f6bc1cee5348ded01924 --label arch=amd64 --label version=0.0.0 . [2020-04-08T16:45:17.875Z] Sending build context to Docker daemon 2.969MB [2020-04-08T16:45:17.875Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T16:45:17.875Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T16:45:17.875Z] ---> 5acd6b7f0974 [2020-04-08T16:45:17.875Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T16:45:18.136Z] ---> Running in 56b6afde9e88 [2020-04-08T16:45:18.136Z] Removing intermediate container 56b6afde9e88 [2020-04-08T16:45:18.136Z] ---> d38270493357 [2020-04-08T16:45:18.136Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T16:45:18.136Z] ---> Running in 1b0267d43a9d [2020-04-08T16:45:18.396Z] Removing intermediate container 1b0267d43a9d [2020-04-08T16:45:18.396Z] ---> ac9efa971e0c [2020-04-08T16:45:18.396Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:45:18.396Z] ---> Running in d6f5ae82fadb [2020-04-08T16:45:18.657Z] Removing intermediate container d6f5ae82fadb [2020-04-08T16:45:18.657Z] ---> d9a38db7bd70 [2020-04-08T16:45:18.657Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T16:45:18.657Z] ---> Running in 00598140d494 [2020-04-08T16:45:19.602Z] Removing intermediate container 00598140d494 [2020-04-08T16:45:19.602Z] ---> 17986718de9b [2020-04-08T16:45:19.602Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T16:45:19.602Z] ---> Running in 1f1ca4e60140 [2020-04-08T16:45:19.861Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T16:45:20.428Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T16:45:20.999Z] OK: 143 MiB in 39 packages [2020-04-08T16:45:21.259Z] Removing intermediate container 1f1ca4e60140 [2020-04-08T16:45:21.259Z] ---> 982692920870 [2020-04-08T16:45:21.259Z] Step 8/20 : COPY . . [2020-04-08T16:45:21.835Z] ---> 5e4f0bc738fc [2020-04-08T16:45:21.835Z] Step 9/20 : RUN ${MAKE} [2020-04-08T16:45:21.835Z] ---> Running in ebe58c4ed663 [2020-04-08T16:45:22.097Z] 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-08T16:45:34.372Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T16:45:35.753Z] Removing intermediate container ebe58c4ed663 [2020-04-08T16:45:35.753Z] ---> 2e49f957a487 [2020-04-08T16:45:35.753Z] Step 10/20 : FROM scratch [2020-04-08T16:45:35.753Z] ---> [2020-04-08T16:45:35.753Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:45:35.753Z] ---> Running in af474687d772 [2020-04-08T16:45:35.753Z] Removing intermediate container af474687d772 [2020-04-08T16:45:35.753Z] ---> ebf96d7d884c [2020-04-08T16:45:35.753Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T16:45:36.013Z] ---> Running in 325b92a2575e [2020-04-08T16:45:36.013Z] Removing intermediate container 325b92a2575e [2020-04-08T16:45:36.013Z] ---> 57930b9ab0a4 [2020-04-08T16:45:36.013Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T16:45:36.013Z] ---> Running in 410ec0e194ba [2020-04-08T16:45:36.287Z] Removing intermediate container 410ec0e194ba [2020-04-08T16:45:36.287Z] ---> ed52163ad5ef [2020-04-08T16:45:36.287Z] Step 14/20 : WORKDIR / [2020-04-08T16:45:36.287Z] ---> Running in 5a2cd0c4d4e2 [2020-04-08T16:45:36.287Z] Removing intermediate container 5a2cd0c4d4e2 [2020-04-08T16:45:36.287Z] ---> 7a1270c6e01b [2020-04-08T16:45:36.287Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T16:45:36.854Z] ---> c5af25af5e52 [2020-04-08T16:45:36.854Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T16:45:36.854Z] ---> e902ceb1d488 [2020-04-08T16:45:36.854Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T16:45:37.113Z] ---> Running in 0c5c61d58b21 [2020-04-08T16:45:37.113Z] Removing intermediate container 0c5c61d58b21 [2020-04-08T16:45:37.113Z] ---> 923cb8fb2924 [2020-04-08T16:45:37.113Z] Step 18/20 : LABEL arch=amd64 [2020-04-08T16:45:37.113Z] ---> Running in 4794694f147e [2020-04-08T16:45:37.374Z] Removing intermediate container 4794694f147e [2020-04-08T16:45:37.374Z] ---> 41be22900480 [2020-04-08T16:45:37.374Z] Step 19/20 : LABEL git_sha=a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:45:37.374Z] ---> Running in e1beba3be946 [2020-04-08T16:45:37.374Z] Removing intermediate container e1beba3be946 [2020-04-08T16:45:37.374Z] ---> 593700ac4ed9 [2020-04-08T16:45:37.374Z] Step 20/20 : LABEL version=0.0.0 [2020-04-08T16:45:37.635Z] ---> Running in 43856cff0fd4 [2020-04-08T16:45:37.635Z] Removing intermediate container 43856cff0fd4 [2020-04-08T16:45:37.635Z] ---> f61293af68fd [2020-04-08T16:45:37.635Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T16:45:37.635Z] Successfully built f61293af68fd [2020-04-08T16:45:37.635Z] 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-08T16:45:58.850Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2894 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-08T16:45:58.895Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-04-08T16:46:04.648Z] using credential edgex-jenkins-ssh [2020-04-08T16:46:04.726Z] Cloning the remote Git repository [2020-04-08T16:46:04.726Z] Cloning with configured refspecs honoured and without tags [2020-04-08T16:46:04.782Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:46:04.860Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-04-08T16:46:04.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:46:04.963Z] > git --version # timeout=10 [2020-04-08T16:46:04.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:46:05.068Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:46:06.280Z] Fetching without tags [2020-04-08T16:46:06.809Z] Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:46:06.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T16:46:06.168Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-08T16:46:06.191Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:46:06.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T16:46:06.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T16:46:06.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:46:06.322Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T16:46:06.823Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T16:46:06.871Z] > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 [2020-04-08T16:46:06.979Z] > git remote # timeout=10 [2020-04-08T16:46:07.004Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T16:46:07.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T16:46:07.102Z] Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:46:07.103Z] Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) [2020-04-08T16:46:07.046Z] > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T16:46:07.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T16:46:07.108Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T16:46:07.164Z] > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 [2020-04-08T16:46:11.907Z] Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T16:46:13.373Z] ========================================================= [2020-04-08T16:46:13.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-08T16:46:13.373Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:46:15.026Z] + 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-08T16:46:15.998Z] Sending build context to Docker daemon 2.849MB [2020-04-08T16:46:15.998Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T16:46:15.998Z] Step 2/8 : FROM ${BASE} [2020-04-08T16:46:16.584Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-08T16:46:16.584Z] cde5963f3b93: Pulling fs layer [2020-04-08T16:46:16.584Z] 2a23fa8c16f7: Pulling fs layer [2020-04-08T16:46:16.584Z] 777b28850792: Pulling fs layer [2020-04-08T16:46:16.584Z] 8a11ddd9e578: Pulling fs layer [2020-04-08T16:46:16.584Z] 4cf88f913ddb: Pulling fs layer [2020-04-08T16:46:16.584Z] 1df406cf5192: Pulling fs layer [2020-04-08T16:46:16.584Z] cd6300453558: Pulling fs layer [2020-04-08T16:46:16.584Z] b9c365052c96: Pulling fs layer [2020-04-08T16:46:16.584Z] a2d8cc88f415: Pulling fs layer [2020-04-08T16:46:16.584Z] ea1d1ca13537: Pulling fs layer [2020-04-08T16:46:16.584Z] 3750a50a1c5e: Pulling fs layer [2020-04-08T16:46:16.584Z] cd6300453558: Waiting [2020-04-08T16:46:16.584Z] b9c365052c96: Waiting [2020-04-08T16:46:16.584Z] a2d8cc88f415: Waiting [2020-04-08T16:46:16.584Z] ea1d1ca13537: Waiting [2020-04-08T16:46:16.584Z] 3750a50a1c5e: Waiting [2020-04-08T16:46:16.584Z] 8a11ddd9e578: Waiting [2020-04-08T16:46:16.584Z] 4cf88f913ddb: Waiting [2020-04-08T16:46:16.584Z] 1df406cf5192: Waiting [2020-04-08T16:46:16.584Z] 777b28850792: Verifying Checksum [2020-04-08T16:46:16.584Z] 777b28850792: Download complete [2020-04-08T16:46:16.584Z] 2a23fa8c16f7: Verifying Checksum [2020-04-08T16:46:16.584Z] 2a23fa8c16f7: Download complete [2020-04-08T16:46:16.584Z] 4cf88f913ddb: Download complete [2020-04-08T16:46:16.584Z] 1df406cf5192: Verifying Checksum [2020-04-08T16:46:16.584Z] 1df406cf5192: Download complete [2020-04-08T16:46:16.854Z] cde5963f3b93: Verifying Checksum [2020-04-08T16:46:16.854Z] cde5963f3b93: Download complete [2020-04-08T16:46:17.824Z] cde5963f3b93: Pull complete [2020-04-08T16:46:18.414Z] 2a23fa8c16f7: Pull complete [2020-04-08T16:46:18.683Z] 777b28850792: Pull complete [2020-04-08T16:46:21.279Z] cd6300453558: Verifying Checksum [2020-04-08T16:46:21.279Z] cd6300453558: Download complete [2020-04-08T16:46:21.279Z] a2d8cc88f415: Verifying Checksum [2020-04-08T16:46:21.279Z] a2d8cc88f415: Download complete [2020-04-08T16:46:23.869Z] ea1d1ca13537: Verifying Checksum [2020-04-08T16:46:23.869Z] ea1d1ca13537: Download complete [2020-04-08T16:46:23.869Z] 3750a50a1c5e: Verifying Checksum [2020-04-08T16:46:26.457Z] b9c365052c96: Verifying Checksum [2020-04-08T16:46:26.457Z] b9c365052c96: Download complete [2020-04-08T16:46:27.863Z] 8a11ddd9e578: Verifying Checksum [2020-04-08T16:46:27.863Z] 8a11ddd9e578: Download complete [2020-04-08T16:46:40.182Z] 8a11ddd9e578: Pull complete [2020-04-08T16:46:40.182Z] 4cf88f913ddb: Pull complete [2020-04-08T16:46:40.182Z] 1df406cf5192: Pull complete [2020-04-08T16:46:43.531Z] cd6300453558: Pull complete [2020-04-08T16:46:48.885Z] b9c365052c96: Pull complete [2020-04-08T16:46:48.885Z] a2d8cc88f415: Pull complete [2020-04-08T16:46:50.840Z] ea1d1ca13537: Pull complete [2020-04-08T16:46:51.107Z] 3750a50a1c5e: Pull complete [2020-04-08T16:46:51.107Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-08T16:46:51.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-08T16:46:51.107Z] ---> 78745c68409d [2020-04-08T16:46:51.107Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:46:56.483Z] ---> Running in 29d7902e9532 [2020-04-08T16:46:56.483Z] Removing intermediate container 29d7902e9532 [2020-04-08T16:46:56.483Z] ---> 5d44fe933343 [2020-04-08T16:46:56.483Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T16:46:56.483Z] ---> Running in 830e540ad81c [2020-04-08T16:46:58.427Z] Removing intermediate container 830e540ad81c [2020-04-08T16:46:58.427Z] ---> d07baeca11d4 [2020-04-08T16:46:58.427Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T16:46:58.427Z] ---> Running in 83f9478adb7c [2020-04-08T16:46:59.013Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T16:46:59.969Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T16:47:00.234Z] OK: 125 MiB in 39 packages [2020-04-08T16:47:01.645Z] Removing intermediate container 83f9478adb7c [2020-04-08T16:47:01.645Z] ---> 1b49497506b3 [2020-04-08T16:47:01.645Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T16:47:01.645Z] ---> Running in c5c1d107926f [2020-04-08T16:47:02.228Z] Removing intermediate container c5c1d107926f [2020-04-08T16:47:02.228Z] ---> 52e6ea9cb951 [2020-04-08T16:47:02.228Z] Step 7/8 : COPY . . [2020-04-08T16:47:03.192Z] ---> 915187f37f0a [2020-04-08T16:47:03.192Z] Step 8/8 : RUN go mod download [2020-04-08T16:47:03.192Z] ---> Running in ce318e62eb85 [2020-04-08T16:47:05.138Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T16:47:05.138Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T16:47:05.138Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T16:47:05.138Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T16:47:05.138Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T16:47:05.138Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T16:47:05.138Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T16:47:05.138Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T16:47:05.138Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T16:47:05.138Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T16:47:05.138Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T16:47:05.138Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T16:47:05.138Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T16:47:05.404Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T16:47:05.404Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T16:47:05.404Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T16:47:05.404Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T16:47:05.404Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T16:47:05.404Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T16:47:05.404Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T16:47:05.404Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T16:47:05.404Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T16:47:05.670Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T16:47:05.670Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T16:47:05.670Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T16:47:05.670Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T16:47:05.670Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T16:47:05.670Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T16:47:05.670Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T16:47:05.670Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T16:47:05.670Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T16:47:05.670Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T16:47:05.670Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T16:47:05.670Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T16:47:05.670Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T16:47:05.936Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T16:47:05.936Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T16:47:05.936Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T16:47:05.936Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T16:47:05.936Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T16:47:05.936Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T16:47:05.936Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T16:47:05.936Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T16:47:05.936Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T16:47:16.030Z] Removing intermediate container ce318e62eb85 [2020-04-08T16:47:16.030Z] ---> 6aae043d6680 [2020-04-08T16:47:16.030Z] Successfully built 6aae043d6680 [2020-04-08T16:47:16.030Z] 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-08T16:47:16.726Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T16:47:16.726Z] . [Pipeline] withDockerContainer [2020-04-08T16:47:17.060Z] prd-ubuntu18.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container [2020-04-08T16:47:17.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-08T16:47:18.490Z] $ docker top 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T16:47:19.586Z] + go version [2020-04-08T16:47:19.586Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-08T16:47:20.249Z] + make test [2020-04-08T16:47:20.249Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T16:47:21.675Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T16:48:18.207Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T16:48:18.207Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T16:48:18.207Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.6% of statements [2020-04-08T16:48:18.207Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.241s coverage: 95.8% of statements [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 11.4% of statements [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 22.7% of statements [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.137s coverage: 38.5% of statements [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.524s coverage: 78.4% of statements [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T16:48:28.422Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.372s coverage: 76.1% of statements [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T16:48:28.422Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T16:48:28.422Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T16:48:35.118Z] gofmt -l . [2020-04-08T16:48:35.700Z] [ "`gofmt -l .`" = "" ] [2020-04-08T16:48:35.970Z] ./bin/test-attribution-txt.sh [2020-04-08T16:48:36.557Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T16:48:37.157Z] Warning: overwriting stash ‘coverage-report’ [2020-04-08T16:48:37.637Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T16:48:37.638Z] $ docker stop --time=1 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 [2020-04-08T16:48:40.304Z] $ docker rm -f 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T16:48:41.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T16:48:42.046Z] + ls -al . [2020-04-08T16:48:42.046Z] total 200 [2020-04-08T16:48:42.046Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 16:48 . [2020-04-08T16:48:42.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 .. [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 16:46 .dockerignore [2020-04-08T16:48:42.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 16:46 .git [2020-04-08T16:48:42.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 16:46 .github [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 16:46 .gitignore [2020-04-08T16:48:42.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 16:46 .semver [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 16:46 Dockerfile.build [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 16:46 Jenkinsfile [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 16:46 LICENSE [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 16:46 Makefile [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 16:46 README.md [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 16:41 VERSION [2020-04-08T16:48:42.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 16:46 api [2020-04-08T16:48:42.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 16:46 bin [2020-04-08T16:48:42.046Z] -rw-r--r-- 1 jenkins jenkins 95252 Apr 8 16:48 coverage.out [2020-04-08T16:48:42.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 example [2020-04-08T16:48:42.046Z] -rw-r--r-- 1 jenkins jenkins 475 Apr 8 16:48 go.mod [2020-04-08T16:48:42.046Z] -rw-r--r-- 1 jenkins jenkins 12152 Apr 8 16:48 go.sum [2020-04-08T16:48:42.046Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 16:46 internal [2020-04-08T16:48:42.046Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 16:46 pkg [2020-04-08T16:48:42.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 snap [2020-04-08T16:48:42.046Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 16:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:48:42.390Z] + 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=a3da746885b618801d51f6bc1cee5348ded01924 --label arch=arm64 --label version=0.0.0 . [2020-04-08T16:48:42.977Z] Sending build context to Docker daemon 2.964MB [2020-04-08T16:48:42.977Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T16:48:42.977Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T16:48:42.977Z] ---> 6aae043d6680 [2020-04-08T16:48:42.977Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T16:48:43.562Z] ---> Running in 289dbe90372c [2020-04-08T16:48:44.145Z] Removing intermediate container 289dbe90372c [2020-04-08T16:48:44.145Z] ---> 6b999941d9d6 [2020-04-08T16:48:44.145Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T16:48:44.145Z] ---> Running in 9f32f8060e92 [2020-04-08T16:48:44.732Z] Removing intermediate container 9f32f8060e92 [2020-04-08T16:48:44.732Z] ---> b33dfa79378f [2020-04-08T16:48:44.732Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:48:44.732Z] ---> Running in 0ba2a59c64eb [2020-04-08T16:48:45.317Z] Removing intermediate container 0ba2a59c64eb [2020-04-08T16:48:45.317Z] ---> 264b72eff8d6 [2020-04-08T16:48:45.317Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T16:48:45.591Z] ---> Running in 09d0b4de5d66 [2020-04-08T16:48:48.190Z] Removing intermediate container 09d0b4de5d66 [2020-04-08T16:48:48.190Z] ---> 06f076373034 [2020-04-08T16:48:48.190Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T16:48:48.190Z] ---> Running in 6c0132b03b21 [2020-04-08T16:48:49.155Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T16:48:50.121Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T16:48:50.393Z] OK: 125 MiB in 39 packages [2020-04-08T16:48:52.400Z] Removing intermediate container 6c0132b03b21 [2020-04-08T16:48:52.400Z] ---> 4b86b0c5e06f [2020-04-08T16:48:52.400Z] Step 8/20 : COPY . . [2020-04-08T16:48:53.408Z] ---> 7fc37c253729 [2020-04-08T16:48:53.408Z] Step 9/20 : RUN ${MAKE} [2020-04-08T16:48:53.408Z] ---> Running in 04d69a6a08dd [2020-04-08T16:48:54.440Z] 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-08T16:49:33.412Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T16:49:34.941Z] Removing intermediate container 04d69a6a08dd [2020-04-08T16:49:34.941Z] ---> 7dfc98d90d29 [2020-04-08T16:49:34.941Z] Step 10/20 : FROM scratch [2020-04-08T16:49:34.941Z] ---> [2020-04-08T16:49:34.941Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T16:49:34.941Z] ---> Running in 9057a711e0e2 [2020-04-08T16:49:35.212Z] Removing intermediate container 9057a711e0e2 [2020-04-08T16:49:35.212Z] ---> 1ca896843832 [2020-04-08T16:49:35.212Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T16:49:35.212Z] ---> Running in 4c786887fd22 [2020-04-08T16:49:35.482Z] Removing intermediate container 4c786887fd22 [2020-04-08T16:49:35.482Z] ---> bcba9a4933aa [2020-04-08T16:49:35.482Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T16:49:35.750Z] ---> Running in baf9d330a7f8 [2020-04-08T16:49:36.022Z] Removing intermediate container baf9d330a7f8 [2020-04-08T16:49:36.022Z] ---> 86400c5b0b56 [2020-04-08T16:49:36.022Z] Step 14/20 : WORKDIR / [2020-04-08T16:49:36.022Z] ---> Running in 901cce53594f [2020-04-08T16:49:36.615Z] Removing intermediate container 901cce53594f [2020-04-08T16:49:36.615Z] ---> 558a98d59b6e [2020-04-08T16:49:36.615Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T16:49:38.036Z] ---> 356369c6e4ca [2020-04-08T16:49:38.036Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T16:49:38.305Z] ---> 3c95379f6229 [2020-04-08T16:49:38.305Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T16:49:38.305Z] ---> Running in 83385442b66a [2020-04-08T16:49:38.576Z] Removing intermediate container 83385442b66a [2020-04-08T16:49:38.576Z] ---> a79601a0a988 [2020-04-08T16:49:38.576Z] Step 18/20 : LABEL arch=arm64 [2020-04-08T16:49:38.843Z] ---> Running in 62666accd2eb [2020-04-08T16:49:39.111Z] Removing intermediate container 62666accd2eb [2020-04-08T16:49:39.111Z] ---> 942b73ab85a7 [2020-04-08T16:49:39.111Z] Step 19/20 : LABEL git_sha=a3da746885b618801d51f6bc1cee5348ded01924 [2020-04-08T16:49:39.378Z] ---> Running in 67124e86ab02 [2020-04-08T16:49:39.646Z] Removing intermediate container 67124e86ab02 [2020-04-08T16:49:39.647Z] ---> 418a1449b84d [2020-04-08T16:49:39.647Z] Step 20/20 : LABEL version=0.0.0 [2020-04-08T16:49:39.647Z] ---> Running in 1080e036e084 [2020-04-08T16:49:40.236Z] Removing intermediate container 1080e036e084 [2020-04-08T16:49:40.236Z] ---> 5bd73c1db9d7 [2020-04-08T16:49:40.236Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T16:49:40.236Z] Successfully built 5bd73c1db9d7 [2020-04-08T16:49:40.236Z] 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-08T16:49:41.257Z] provisioning config files... [2020-04-08T16:49:41.271Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7008390805166445008tmp [Pipeline] { [Pipeline] sh [2020-04-08T16:49:41.615Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7008390805166445008tmp [2020-04-08T16:49:41.615Z] + curl -s https://codecov.io/bash [2020-04-08T16:49:41.875Z] [2020-04-08T16:49:41.875Z] _____ _ [2020-04-08T16:49:41.875Z] / ____| | | [2020-04-08T16:49:41.875Z] | | ___ __| | ___ ___ _____ __ [2020-04-08T16:49:41.875Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-08T16:49:41.875Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-08T16:49:41.875Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-08T16:49:41.875Z] Bash-tbd [2020-04-08T16:49:41.875Z] [2020-04-08T16:49:41.875Z] [2020-04-08T16:49:41.875Z] ==> Jenkins CI detected. [2020-04-08T16:49:41.875Z] project root: . [2020-04-08T16:49:41.875Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-08T16:49:41.875Z] ==> Running gcov in . (disable via -X gcov) [2020-04-08T16:49:41.875Z] ==> Python coveragepy not found [2020-04-08T16:49:41.875Z] ==> Searching for coverage reports in: [2020-04-08T16:49:41.875Z] + . [2020-04-08T16:49:41.875Z] -> Found 1 reports [2020-04-08T16:49:41.875Z] ==> Detecting git/mercurial file structure [2020-04-08T16:49:41.875Z] ==> Reading reports [2020-04-08T16:49:41.875Z] + ./coverage.out bytes=95252 [2020-04-08T16:49:41.875Z] ==> Appending adjustments [2020-04-08T16:49:41.875Z] http://docs.codecov.io/docs/fixing-reports [2020-04-08T16:49:42.135Z] + Found adjustments [2020-04-08T16:49:42.135Z] ==> Gzipping contents [2020-04-08T16:49:42.135Z] ==> Uploading reports [2020-04-08T16:49:42.135Z] url: https://codecov.io [2020-04-08T16:49:42.135Z] query: branch=PR-464&commit=a3da746885b618801d51f6bc1cee5348ded01924&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-08T16:49:42.135Z] -> Pinging Codecov [2020-04-08T16:49:42.135Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-464&commit=a3da746885b618801d51f6bc1cee5348ded01924&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-08T16:49:42.718Z] -> Uploading [2020-04-08T16:49:42.977Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a3da746885b618801d51f6bc1cee5348ded01924 [Pipeline] } [2020-04-08T16:49:42.984Z] 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-08T16:49:44.105Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T16:49:44.415Z] ---> package-listing.sh [2020-04-08T16:49:44.415Z] ++ facter osfamily [2020-04-08T16:49:44.415Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T16:49:44.415Z] + OS_FAMILY=redhat [2020-04-08T16:49:44.415Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-08T16:49:44.415Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T16:49:44.415Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T16:49:44.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T16:49:44.415Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T16:49:44.415Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-08T16:49:44.415Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T16:49:44.415Z] + case "${OS_FAMILY}" in [2020-04-08T16:49:44.415Z] + rpm -qa [2020-04-08T16:49:44.415Z] + sort [2020-04-08T16:49:48.613Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T16:49:48.613Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T16:49:48.613Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T16:49:48.613Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-08T16:49:48.613Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-04-08T16:49:48.613Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:49:49.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T16:49:49.105Z] [2020-04-08T16:49:49.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T16:49:49.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T16:49:49.436Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T16:49:49.436Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T16:49:49.436Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T16:49:49.436Z] 756a868c4378: Pulling fs layer [2020-04-08T16:49:49.436Z] 444b2fc9a129: Pulling fs layer [2020-04-08T16:49:49.436Z] ea15f1150254: Pulling fs layer [2020-04-08T16:49:49.436Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T16:49:49.436Z] 28c525ee5125: Pulling fs layer [2020-04-08T16:49:49.436Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T16:49:49.436Z] 138eaada9080: Pulling fs layer [2020-04-08T16:49:49.436Z] 0622d0fa9048: Pulling fs layer [2020-04-08T16:49:49.436Z] 444b2fc9a129: Waiting [2020-04-08T16:49:49.436Z] ea15f1150254: Waiting [2020-04-08T16:49:49.436Z] 41b27a9f41bf: Waiting [2020-04-08T16:49:49.436Z] 28c525ee5125: Waiting [2020-04-08T16:49:49.436Z] 094b1ea09ed8: Waiting [2020-04-08T16:49:49.436Z] 138eaada9080: Waiting [2020-04-08T16:49:49.436Z] 0622d0fa9048: Waiting [2020-04-08T16:49:49.436Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-08T16:49:49.436Z] 2cc5ad85d9ab: Download complete [2020-04-08T16:49:49.436Z] 444b2fc9a129: Verifying Checksum [2020-04-08T16:49:49.436Z] 444b2fc9a129: Download complete [2020-04-08T16:49:49.706Z] c9b1b535fdd9: Verifying Checksum [2020-04-08T16:49:49.706Z] c9b1b535fdd9: Download complete [2020-04-08T16:49:49.706Z] ea15f1150254: Verifying Checksum [2020-04-08T16:49:49.706Z] ea15f1150254: Download complete [2020-04-08T16:49:49.706Z] 28c525ee5125: Verifying Checksum [2020-04-08T16:49:49.706Z] 28c525ee5125: Download complete [2020-04-08T16:49:49.975Z] 756a868c4378: Verifying Checksum [2020-04-08T16:49:49.975Z] 756a868c4378: Download complete [2020-04-08T16:49:49.975Z] c9b1b535fdd9: Pull complete [2020-04-08T16:49:50.240Z] 138eaada9080: Verifying Checksum [2020-04-08T16:49:50.240Z] 138eaada9080: Download complete [2020-04-08T16:49:50.240Z] 0622d0fa9048: Verifying Checksum [2020-04-08T16:49:50.240Z] 0622d0fa9048: Download complete [2020-04-08T16:49:50.240Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T16:49:50.240Z] 094b1ea09ed8: Download complete [2020-04-08T16:49:50.240Z] 2cc5ad85d9ab: Pull complete [2020-04-08T16:49:50.814Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T16:49:50.814Z] 41b27a9f41bf: Download complete [2020-04-08T16:49:51.755Z] 756a868c4378: Pull complete [2020-04-08T16:49:52.014Z] 444b2fc9a129: Pull complete [2020-04-08T16:49:52.276Z] ea15f1150254: Pull complete [2020-04-08T16:49:55.591Z] 41b27a9f41bf: Pull complete [2020-04-08T16:49:55.591Z] 28c525ee5125: Pull complete [2020-04-08T16:49:57.510Z] 094b1ea09ed8: Pull complete [2020-04-08T16:49:57.772Z] 138eaada9080: Pull complete [2020-04-08T16:49:58.031Z] 0622d0fa9048: Pull complete [2020-04-08T16:49:58.031Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T16:49:58.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T16:49:58.196Z] prd-centos7-docker-4c-2g-2892 does not seem to be running inside a container [2020-04-08T16:49:58.238Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-08T16:49:59.293Z] $ docker top a9462fb050b4f639930ed8e8a0564ae3ba1c69dfe5aa876789461cc38b46c0a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T16:49:59.518Z] provisioning config files... [2020-04-08T16:49:59.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config6541825536331575089tmp [Pipeline] { [Pipeline] echo [2020-04-08T16:49:59.632Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T16:49:59.943Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T16:49:59.951Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T16:50:00.241Z] ---> logs-deploy.sh [2020-04-08T16:50:00.241Z] + ARCHIVE_ARTIFACTS= [2020-04-08T16:50:00.241Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T16:50:00.241Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T16:50:00.241Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T16:50:00.241Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 [2020-04-08T16:50:00.241Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/12/ [2020-04-08T16:50:00.241Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-08T16:50:01.179Z] Archives upload complete. [2020-04-08T16:50:01.439Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/12/