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 Obtained Jenkinsfile from e768911035c6895058285a4b9c17fd49693d2e7d+2059383c0ce7ecc5e89f6707ab815f97db38a92e (5399b3efef1dd6d0d1e4484e48780536d33e508b) 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 ‘prd-centos7-docker-4c-2g-3292’ Running on prd-centos7-docker-4c-2g-3302 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 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 Fetching without tags Merging remotes/origin/master commit 2059383c0ce7ecc5e89f6707ab815f97db38a92e into PR head commit e768911035c6895058285a4b9c17fd49693d2e7d Merge succeeded, producing e768911035c6895058285a4b9c17fd49693d2e7d Checking out Revision e768911035c6895058285a4b9c17fd49693d2e7d (PR-474) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # 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 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # timeout=10 Commit message: "Merge branch 'master' into issue-465" > git rev-list --no-walk ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T16:34:24.049Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:34:25.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:34:25.838Z] [2020-04-10T16:34:25.838Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:34:26.201Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:34:26.201Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T16:34:26.201Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T16:34:26.201Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T16:34:26.201Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T16:34:26.201Z] 93b08a4f1073: Pulling fs layer [2020-04-10T16:34:26.201Z] 93b08a4f1073: Waiting [2020-04-10T16:34:26.201Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T16:34:26.201Z] b8cc5d1170e3: Download complete [2020-04-10T16:34:26.201Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T16:34:26.201Z] 9123ac7c32f7: Download complete [2020-04-10T16:34:26.464Z] 93b08a4f1073: Verifying Checksum [2020-04-10T16:34:26.464Z] 93b08a4f1073: Download complete [2020-04-10T16:34:26.464Z] 2924cbbf6a41: Verifying Checksum [2020-04-10T16:34:26.464Z] 2924cbbf6a41: Download complete [2020-04-10T16:34:26.464Z] 9123ac7c32f7: Pull complete [2020-04-10T16:34:26.732Z] b8cc5d1170e3: Pull complete [2020-04-10T16:34:27.301Z] 2924cbbf6a41: Pull complete [2020-04-10T16:34:27.560Z] 93b08a4f1073: Pull complete [2020-04-10T16:34:27.560Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T16:34:27.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T16:34:27.688Z] prd-centos7-docker-4c-2g-3302 does not seem to be running inside a container [2020-04-10T16:34:27.733Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:34:28.337Z] $ docker top 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:34:28.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:34:28.619Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:34:28.854Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:34:28.856Z] $ docker exec 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 ssh-agent [2020-04-10T16:34:29.069Z] SSH_AUTH_SOCK=/tmp/ssh-wmIfzuYMRi8l/agent.14 [2020-04-10T16:34:29.069Z] SSH_AGENT_PID=20 [2020-04-10T16:34:29.082Z] Running ssh-add (command line suppressed) [2020-04-10T16:34:29.255Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5103227012745926756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5103227012745926756.key) [2020-04-10T16:34:29.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:34:29.691Z] + git describe --exact-match --tags HEAD [2020-04-10T16:34:29.691Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T16:34:29.749Z] $ docker exec --env ******** --env ******** 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 ssh-agent -k [2020-04-10T16:34:29.923Z] unset SSH_AUTH_SOCK; [2020-04-10T16:34:29.923Z] unset SSH_AGENT_PID; [2020-04-10T16:34:29.923Z] echo Agent pid 20 killed; [2020-04-10T16:34:29.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T16:34:30.046Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T16:34:30.046Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T16:34:30.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:34:30.132Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:34:30.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:34:30.356Z] $ docker exec 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 ssh-agent [2020-04-10T16:34:30.548Z] SSH_AUTH_SOCK=/tmp/ssh-r6q7BF297AmL/agent.54 [2020-04-10T16:34:30.548Z] SSH_AGENT_PID=61 [2020-04-10T16:34:30.555Z] Running ssh-add (command line suppressed) [2020-04-10T16:34:30.715Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_7441141557073207139.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_7441141557073207139.key) [2020-04-10T16:34:30.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:34:31.090Z] + git semver init [2020-04-10T16:34:31.090Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:34:31.090Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git [2020-04-10T16:34:31.090Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:34:31.090Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:34:31.090Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:34:31.090Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:34:31.090Z] # $SEMVER_BRANCH = PR-474 [2020-04-10T16:34:31.090Z] # $SEMVER_TEMP = /tmp/semver-938018904 [2020-04-10T16:34:31.090Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T16:34:31.658Z] # '/tmp/semver-938018904' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' [2020-04-10T16:34:31.658Z] # -> Force: false [2020-04-10T16:34:31.658Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } [2020-04-10T16:34:31.665Z] $ docker exec --env ******** --env ******** 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 ssh-agent -k [2020-04-10T16:34:31.820Z] unset SSH_AUTH_SOCK; [2020-04-10T16:34:31.821Z] unset SSH_AGENT_PID; [2020-04-10T16:34:31.821Z] echo Agent pid 61 killed; [2020-04-10T16:34:31.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:34:32.276Z] + git semver [Pipeline] } [2020-04-10T16:34:32.288Z] $ docker stop --time=1 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 [2020-04-10T16:34:33.657Z] $ docker rm -f 9b8d4fe13da9b3bd2ce4030ce8697a257660461b2a8e4740eb3e3ae6165104a7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T16:34:34.452Z] Stashed 40 file(s) [Pipeline] echo [2020-04-10T16:34:34.454Z] [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-10T16:34:49.698Z] Still waiting to schedule task [2020-04-10T16:34:49.698Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-10T16:34:49.698Z] Still waiting to schedule task [2020-04-10T16:34:49.698Z] ‘prd-centos7-blackbox-4c-2g-3303’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3301’ is offline [2020-04-10T16:36:13.909Z] Running on prd-centos7-docker-4c-2g-3309 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-10T16:36:13.949Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-04-10T16:36:17.121Z] using credential edgex-jenkins-ssh [2020-04-10T16:36:17.168Z] Cloning the remote Git repository [2020-04-10T16:36:17.168Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:36:16.966Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:36:17.009Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-04-10T16:36:17.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:36:17.081Z] > git --version # timeout=10 [2020-04-10T16:36:17.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:36:17.124Z] > 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-10T16:36:17.998Z] Fetching without tags [2020-04-10T16:36:18.377Z] Merging remotes/origin/master commit 2059383c0ce7ecc5e89f6707ab815f97db38a92e into PR head commit e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:36:18.484Z] Merge succeeded, producing e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:36:18.484Z] Checking out Revision e768911035c6895058285a4b9c17fd49693d2e7d (PR-474) [2020-04-10T16:36:17.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:36:17.805Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-10T16:36:17.810Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:36:17.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:36:17.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:36:17.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:36:17.844Z] > 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-10T16:36:18.255Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:36:18.263Z] > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # timeout=10 [2020-04-10T16:36:18.326Z] > git remote # timeout=10 [2020-04-10T16:36:18.332Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:36:18.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:36:18.345Z] > git merge 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [2020-04-10T16:36:18.355Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:36:18.369Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:36:18.376Z] > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # timeout=10 [2020-04-10T16:36:22.161Z] Commit message: "Merge branch 'master' into issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:36:23.065Z] ========================================================= [2020-04-10T16:36:23.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T16:36:23.065Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:36:23.736Z] + 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-10T16:36:23.997Z] Sending build context to Docker daemon 2.87MB [2020-04-10T16:36:23.997Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:36:23.997Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:36:24.258Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T16:36:24.258Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T16:36:24.258Z] 2848faf0eed1: Pulling fs layer [2020-04-10T16:36:24.258Z] 0f37312ad70f: Pulling fs layer [2020-04-10T16:36:24.258Z] 5788d62ee057: Pulling fs layer [2020-04-10T16:36:24.258Z] 0e6b1d234666: Pulling fs layer [2020-04-10T16:36:24.258Z] bf5d7aec512f: Pulling fs layer [2020-04-10T16:36:24.258Z] 34c802a77dc8: Pulling fs layer [2020-04-10T16:36:24.258Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T16:36:24.258Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T16:36:24.258Z] 5c102a31e300: Pulling fs layer [2020-04-10T16:36:24.258Z] dcfb455df0a1: Pulling fs layer [2020-04-10T16:36:24.258Z] 34c802a77dc8: Waiting [2020-04-10T16:36:24.258Z] 9eb99e56ec68: Waiting [2020-04-10T16:36:24.258Z] 27c7a5d97fbd: Waiting [2020-04-10T16:36:24.258Z] 5788d62ee057: Waiting [2020-04-10T16:36:24.258Z] 5c102a31e300: Waiting [2020-04-10T16:36:24.258Z] 0e6b1d234666: Waiting [2020-04-10T16:36:24.258Z] dcfb455df0a1: Waiting [2020-04-10T16:36:24.258Z] bf5d7aec512f: Waiting [2020-04-10T16:36:24.258Z] 0f37312ad70f: Download complete [2020-04-10T16:36:24.258Z] 2848faf0eed1: Verifying Checksum [2020-04-10T16:36:24.258Z] 2848faf0eed1: Download complete [2020-04-10T16:36:24.258Z] 0e6b1d234666: Verifying Checksum [2020-04-10T16:36:24.258Z] 0e6b1d234666: Download complete [2020-04-10T16:36:24.258Z] bf5d7aec512f: Verifying Checksum [2020-04-10T16:36:24.258Z] bf5d7aec512f: Download complete [2020-04-10T16:36:24.258Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T16:36:24.519Z] e6b0cf9c0882: Pull complete [2020-04-10T16:36:24.784Z] 2848faf0eed1: Pull complete [2020-04-10T16:36:25.373Z] 34c802a77dc8: Verifying Checksum [2020-04-10T16:36:25.373Z] 34c802a77dc8: Download complete [2020-04-10T16:36:25.373Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T16:36:25.373Z] 27c7a5d97fbd: Download complete [2020-04-10T16:36:25.638Z] 5c102a31e300: Verifying Checksum [2020-04-10T16:36:25.638Z] 5c102a31e300: Download complete [2020-04-10T16:36:25.900Z] dcfb455df0a1: Verifying Checksum [2020-04-10T16:36:25.900Z] dcfb455df0a1: Download complete [2020-04-10T16:36:26.159Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T16:36:26.159Z] 9eb99e56ec68: Download complete [2020-04-10T16:36:26.159Z] 5788d62ee057: Verifying Checksum [2020-04-10T16:36:26.159Z] 5788d62ee057: Download complete [2020-04-10T16:36:27.094Z] 0f37312ad70f: Pull complete [2020-04-10T16:36:33.687Z] 5788d62ee057: Pull complete [2020-04-10T16:36:33.687Z] 0e6b1d234666: Pull complete [2020-04-10T16:36:33.687Z] bf5d7aec512f: Pull complete [2020-04-10T16:36:38.963Z] 34c802a77dc8: Pull complete [2020-04-10T16:36:41.518Z] 9eb99e56ec68: Pull complete [2020-04-10T16:36:41.518Z] 27c7a5d97fbd: Pull complete [2020-04-10T16:36:42.459Z] 5c102a31e300: Pull complete [2020-04-10T16:36:42.718Z] dcfb455df0a1: Pull complete [2020-04-10T16:36:42.718Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T16:36:42.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T16:36:42.718Z] ---> 7c70fe431013 [2020-04-10T16:36:42.718Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:36:42.718Z] ---> Running in 2db490d3c9bb [2020-04-10T16:36:42.976Z] Removing intermediate container 2db490d3c9bb [2020-04-10T16:36:42.976Z] ---> fa85b709893e [2020-04-10T16:36:42.976Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:36:42.976Z] ---> Running in bce92985aa3e [2020-04-10T16:36:43.912Z] Removing intermediate container bce92985aa3e [2020-04-10T16:36:43.912Z] ---> b001f948e096 [2020-04-10T16:36:43.912Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:36:43.912Z] ---> Running in adc4859f728d [2020-04-10T16:36:44.171Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:36:45.108Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:36:45.368Z] OK: 143 MiB in 39 packages [2020-04-10T16:36:45.626Z] Removing intermediate container adc4859f728d [2020-04-10T16:36:45.626Z] ---> 0d3bdd9e6747 [2020-04-10T16:36:45.626Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:36:45.884Z] ---> Running in d2541ef25e03 [2020-04-10T16:36:45.884Z] Removing intermediate container d2541ef25e03 [2020-04-10T16:36:45.884Z] ---> 8c762b8eb6ba [2020-04-10T16:36:45.884Z] Step 7/8 : COPY . . [2020-04-10T16:36:46.455Z] ---> 667a9c73f9fc [2020-04-10T16:36:46.455Z] Step 8/8 : RUN go mod download [2020-04-10T16:36:46.455Z] ---> Running in 2c7f04f5da30 [2020-04-10T16:36:48.366Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:36:48.366Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:36:48.366Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:36:48.366Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:36:48.366Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:36:48.366Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:36:48.366Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:36:48.366Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:36:48.366Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:36:48.366Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:36:48.366Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:36:48.366Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:36:48.366Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:36:48.366Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:36:48.366Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:36:48.366Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:36:48.366Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:36:48.366Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:36:48.366Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:36:48.366Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:36:48.366Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:36:48.366Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:36:48.366Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:36:48.366Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:36:48.366Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:36:48.366Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:36:48.366Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:36:48.366Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:36:48.366Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:36:48.366Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:36:48.366Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:36:48.366Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:36:48.366Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:36:48.366Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:36:48.366Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:36:48.366Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:36:48.366Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:36:48.366Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:36:48.366Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:36:48.366Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:36:48.366Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:36:48.366Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:36:48.366Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:36:53.651Z] Removing intermediate container 2c7f04f5da30 [2020-04-10T16:36:53.651Z] ---> 5f81926af616 [2020-04-10T16:36:53.651Z] Successfully built 5f81926af616 [2020-04-10T16:36:53.651Z] 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-10T16:36:54.200Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T16:36:54.200Z] . [Pipeline] withDockerContainer [2020-04-10T16:36:54.318Z] prd-centos7-docker-4c-2g-3309 does not seem to be running inside a container [2020-04-10T16:36:54.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-10T16:36:54.952Z] $ docker top 2c2e6a8216269b47ffecfff0a13957e4df5ef6fd9696b631a6321abeb8b2947f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:36:55.427Z] + go version [2020-04-10T16:36:55.427Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T16:36:55.724Z] + make test [2020-04-10T16:36:55.724Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:36:56.294Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:37:08.586Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:37:08.586Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:37:08.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements [2020-04-10T16:37:12.811Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.850s coverage: 11.4% of statements [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.067s coverage: 38.5% of statements [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.263s coverage: 79.8% of statements [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:37:44.903Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 71.4% of statements [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:37:44.903Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:37:44.903Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:37:44.903Z] gofmt -l . [2020-04-10T16:37:44.903Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:37:44.903Z] ./bin/test-attribution-txt.sh [2020-04-10T16:37:44.903Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:37:45.349Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:37:45.352Z] $ docker stop --time=1 2c2e6a8216269b47ffecfff0a13957e4df5ef6fd9696b631a6321abeb8b2947f [2020-04-10T16:37:46.800Z] $ docker rm -f 2c2e6a8216269b47ffecfff0a13957e4df5ef6fd9696b631a6321abeb8b2947f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:37:47.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:37:48.034Z] + ls -al . [2020-04-10T16:37:48.034Z] total 160 [2020-04-10T16:37:48.034Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 16:37 . [2020-04-10T16:37:48.034Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 16:36 .. [2020-04-10T16:37:48.034Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 16:36 api [2020-04-10T16:37:48.034Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 16:36 bin [2020-04-10T16:37:48.034Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 10 16:37 coverage.out [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 16:36 Dockerfile.build [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 16:36 .dockerignore [2020-04-10T16:37:48.034Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 16:36 example [2020-04-10T16:37:48.034Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 16:36 .git [2020-04-10T16:37:48.034Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 16:36 .github [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 16:36 .gitignore [2020-04-10T16:37:48.034Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 10 16:37 go.mod [2020-04-10T16:37:48.034Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 16:37 go.sum [2020-04-10T16:37:48.034Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 16:36 internal [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 16:36 Jenkinsfile [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 16:36 LICENSE [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 16:36 Makefile [2020-04-10T16:37:48.034Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 16:36 pkg [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 16:36 README.md [2020-04-10T16:37:48.034Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 16:36 .semver [2020-04-10T16:37:48.034Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 16:36 snap [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 16:34 VERSION [2020-04-10T16:37:48.034Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 16:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:37:48.332Z] + 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=e768911035c6895058285a4b9c17fd49693d2e7d --label arch=amd64 --label version=0.0.0 . [2020-04-10T16:37:48.332Z] Sending build context to Docker daemon 2.988MB [2020-04-10T16:37:48.595Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:37:48.595Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:37:48.595Z] ---> 5f81926af616 [2020-04-10T16:37:48.595Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:37:48.595Z] ---> Running in 82a8d1b7680e [2020-04-10T16:37:48.595Z] Removing intermediate container 82a8d1b7680e [2020-04-10T16:37:48.595Z] ---> 191060c71009 [2020-04-10T16:37:48.595Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:37:48.595Z] ---> Running in 221a1af1934d [2020-04-10T16:37:48.854Z] Removing intermediate container 221a1af1934d [2020-04-10T16:37:48.854Z] ---> 11a0e214d948 [2020-04-10T16:37:48.854Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:37:48.854Z] ---> Running in f74d516350ad [2020-04-10T16:37:49.114Z] Removing intermediate container f74d516350ad [2020-04-10T16:37:49.114Z] ---> f426cc3e6fa8 [2020-04-10T16:37:49.114Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:37:49.114Z] ---> Running in ad55bab80403 [2020-04-10T16:37:50.058Z] Removing intermediate container ad55bab80403 [2020-04-10T16:37:50.058Z] ---> 2979e752a353 [2020-04-10T16:37:50.058Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:37:50.058Z] ---> Running in 6598f89413f3 [2020-04-10T16:37:50.317Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:37:50.883Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:37:51.450Z] OK: 143 MiB in 39 packages [2020-04-10T16:37:52.018Z] Removing intermediate container 6598f89413f3 [2020-04-10T16:37:52.018Z] ---> b01f697362bc [2020-04-10T16:37:52.018Z] Step 8/21 : COPY . . [2020-04-10T16:37:52.278Z] ---> fe40b21c6c94 [2020-04-10T16:37:52.278Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:37:52.278Z] ---> Running in 2fa89af1db1e [2020-04-10T16:37:52.540Z] 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-10T16:38:02.617Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:38:02.617Z] Removing intermediate container 2fa89af1db1e [2020-04-10T16:38:02.617Z] ---> 6110690a9f2b [2020-04-10T16:38:02.617Z] Step 10/21 : FROM scratch [2020-04-10T16:38:02.617Z] ---> [2020-04-10T16:38:02.617Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:38:02.617Z] ---> Running in 0f605ba6f8fe [2020-04-10T16:38:02.617Z] Removing intermediate container 0f605ba6f8fe [2020-04-10T16:38:02.617Z] ---> 784adaec1f20 [2020-04-10T16:38:02.617Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:38:02.617Z] ---> Running in 79ea8ae292bc [2020-04-10T16:38:02.617Z] Removing intermediate container 79ea8ae292bc [2020-04-10T16:38:02.617Z] ---> 3eda5b57c4a9 [2020-04-10T16:38:02.617Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:38:02.617Z] ---> Running in d9932d77df02 [2020-04-10T16:38:02.876Z] Removing intermediate container d9932d77df02 [2020-04-10T16:38:02.877Z] ---> 155dc31ff741 [2020-04-10T16:38:02.877Z] Step 14/21 : WORKDIR / [2020-04-10T16:38:02.877Z] ---> Running in 0295c1fc0d60 [2020-04-10T16:38:03.136Z] Removing intermediate container 0295c1fc0d60 [2020-04-10T16:38:03.136Z] ---> 5241997b3f8a [2020-04-10T16:38:03.136Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:38:03.398Z] ---> 78d4c45878d1 [2020-04-10T16:38:03.398Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:38:03.657Z] ---> 24c42314af7c [2020-04-10T16:38:03.657Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:38:03.657Z] ---> ac8a74a722ea [2020-04-10T16:38:03.657Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:38:03.916Z] ---> Running in 564c96811bc8 [2020-04-10T16:38:03.916Z] Removing intermediate container 564c96811bc8 [2020-04-10T16:38:03.916Z] ---> 349e4a2f5764 [2020-04-10T16:38:03.916Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T16:38:03.916Z] ---> Running in bd6287857f69 [2020-04-10T16:38:04.174Z] Removing intermediate container bd6287857f69 [2020-04-10T16:38:04.174Z] ---> 10254da1ed6d [2020-04-10T16:38:04.174Z] Step 20/21 : LABEL git_sha=e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:38:04.174Z] ---> Running in 510d21bbca97 [2020-04-10T16:38:04.174Z] Removing intermediate container 510d21bbca97 [2020-04-10T16:38:04.174Z] ---> ff16546d550f [2020-04-10T16:38:04.174Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:38:04.434Z] ---> Running in 6f9e1d288334 [2020-04-10T16:38:04.434Z] Removing intermediate container 6f9e1d288334 [2020-04-10T16:38:04.434Z] ---> 823a7d97ee11 [2020-04-10T16:38:04.434Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:38:04.434Z] Successfully built 823a7d97ee11 [2020-04-10T16:38:04.434Z] 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-10T16:40:22.846Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3310 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-10T16:40:22.917Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-04-10T16:40:30.351Z] using credential edgex-jenkins-ssh [2020-04-10T16:40:30.410Z] Cloning the remote Git repository [2020-04-10T16:40:30.410Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:40:30.493Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:40:30.596Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-04-10T16:40:30.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:40:30.701Z] > git --version # timeout=10 [2020-04-10T16:40:30.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:40:30.886Z] > 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-10T16:40:32.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:40:32.113Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-10T16:40:32.145Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:40:32.224Z] Fetching without tags [2020-04-10T16:40:32.734Z] Merging remotes/origin/master commit 2059383c0ce7ecc5e89f6707ab815f97db38a92e into PR head commit e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:40:33.004Z] Merge succeeded, producing e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:40:33.005Z] Checking out Revision e768911035c6895058285a4b9c17fd49693d2e7d (PR-474) [2020-04-10T16:40:32.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:40:32.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:40:32.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:40:32.260Z] > 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-10T16:40:32.756Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:40:32.785Z] > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # timeout=10 [2020-04-10T16:40:32.905Z] > git remote # timeout=10 [2020-04-10T16:40:32.922Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:40:32.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:40:32.961Z] > git merge 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [2020-04-10T16:40:32.984Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:40:33.012Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:40:33.043Z] > git checkout -f e768911035c6895058285a4b9c17fd49693d2e7d # timeout=10 [2020-04-10T16:40:37.723Z] Commit message: "Merge branch 'master' into issue-465" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:40:39.136Z] ========================================================= [2020-04-10T16:40:39.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T16:40:39.136Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:40:40.271Z] + 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-10T16:40:41.258Z] Sending build context to Docker daemon 2.868MB [2020-04-10T16:40:41.258Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:40:41.258Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:40:41.853Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T16:40:41.853Z] cde5963f3b93: Pulling fs layer [2020-04-10T16:40:41.853Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T16:40:41.853Z] 777b28850792: Pulling fs layer [2020-04-10T16:40:41.853Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T16:40:41.853Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T16:40:41.853Z] 1df406cf5192: Pulling fs layer [2020-04-10T16:40:41.853Z] cd6300453558: Pulling fs layer [2020-04-10T16:40:41.853Z] b9c365052c96: Pulling fs layer [2020-04-10T16:40:41.853Z] a2d8cc88f415: Pulling fs layer [2020-04-10T16:40:41.853Z] ea1d1ca13537: Pulling fs layer [2020-04-10T16:40:41.853Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T16:40:41.853Z] 1df406cf5192: Waiting [2020-04-10T16:40:41.853Z] cd6300453558: Waiting [2020-04-10T16:40:41.853Z] 8a11ddd9e578: Waiting [2020-04-10T16:40:41.853Z] b9c365052c96: Waiting [2020-04-10T16:40:41.853Z] a2d8cc88f415: Waiting [2020-04-10T16:40:41.853Z] ea1d1ca13537: Waiting [2020-04-10T16:40:41.853Z] 3750a50a1c5e: Waiting [2020-04-10T16:40:41.853Z] 4cf88f913ddb: Waiting [2020-04-10T16:40:41.853Z] 777b28850792: Verifying Checksum [2020-04-10T16:40:41.853Z] 777b28850792: Download complete [2020-04-10T16:40:41.853Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T16:40:41.853Z] 2a23fa8c16f7: Download complete [2020-04-10T16:40:41.853Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T16:40:41.853Z] 4cf88f913ddb: Download complete [2020-04-10T16:40:41.853Z] 1df406cf5192: Verifying Checksum [2020-04-10T16:40:41.853Z] 1df406cf5192: Download complete [2020-04-10T16:40:42.126Z] cde5963f3b93: Verifying Checksum [2020-04-10T16:40:42.126Z] cde5963f3b93: Download complete [2020-04-10T16:40:43.579Z] cde5963f3b93: Pull complete [2020-04-10T16:40:44.177Z] 2a23fa8c16f7: Pull complete [2020-04-10T16:40:44.771Z] 777b28850792: Pull complete [2020-04-10T16:40:46.745Z] cd6300453558: Verifying Checksum [2020-04-10T16:40:46.745Z] cd6300453558: Download complete [2020-04-10T16:40:46.745Z] a2d8cc88f415: Verifying Checksum [2020-04-10T16:40:46.745Z] a2d8cc88f415: Download complete [2020-04-10T16:40:49.346Z] ea1d1ca13537: Verifying Checksum [2020-04-10T16:40:49.346Z] ea1d1ca13537: Download complete [2020-04-10T16:40:49.346Z] 3750a50a1c5e: Verifying Checksum [2020-04-10T16:40:49.346Z] 3750a50a1c5e: Download complete [2020-04-10T16:40:51.954Z] b9c365052c96: Verifying Checksum [2020-04-10T16:40:51.954Z] b9c365052c96: Download complete [2020-04-10T16:40:53.898Z] 8a11ddd9e578: Download complete [2020-04-10T16:41:06.257Z] 8a11ddd9e578: Pull complete [2020-04-10T16:41:06.257Z] 4cf88f913ddb: Pull complete [2020-04-10T16:41:06.257Z] 1df406cf5192: Pull complete [2020-04-10T16:41:09.623Z] cd6300453558: Pull complete [2020-04-10T16:41:14.987Z] b9c365052c96: Pull complete [2020-04-10T16:41:14.987Z] a2d8cc88f415: Pull complete [2020-04-10T16:41:16.960Z] ea1d1ca13537: Pull complete [2020-04-10T16:41:17.547Z] 3750a50a1c5e: Pull complete [2020-04-10T16:41:17.547Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T16:41:17.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T16:41:17.547Z] ---> 78745c68409d [2020-04-10T16:41:17.547Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:41:22.957Z] ---> Running in 43b4c3068d4a [2020-04-10T16:41:22.957Z] Removing intermediate container 43b4c3068d4a [2020-04-10T16:41:22.957Z] ---> 7f7d08bc17f6 [2020-04-10T16:41:22.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:41:22.957Z] ---> Running in 5aa85821b808 [2020-04-10T16:41:24.912Z] Removing intermediate container 5aa85821b808 [2020-04-10T16:41:24.912Z] ---> 7b5b5a2ee331 [2020-04-10T16:41:24.912Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:41:25.183Z] ---> Running in 034d5e7b6dd0 [2020-04-10T16:41:26.151Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:41:27.117Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:41:27.712Z] OK: 125 MiB in 39 packages [2020-04-10T16:41:28.684Z] Removing intermediate container 034d5e7b6dd0 [2020-04-10T16:41:28.684Z] ---> 04385a8c366d [2020-04-10T16:41:28.684Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:41:28.955Z] ---> Running in c99f3fdecf6e [2020-04-10T16:41:29.542Z] Removing intermediate container c99f3fdecf6e [2020-04-10T16:41:29.542Z] ---> be1f327ea7b4 [2020-04-10T16:41:29.542Z] Step 7/8 : COPY . . [2020-04-10T16:41:30.964Z] ---> b0b0bb992c9b [2020-04-10T16:41:30.964Z] Step 8/8 : RUN go mod download [2020-04-10T16:41:30.964Z] ---> Running in 5952e5a5e214 [2020-04-10T16:41:32.939Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:41:32.939Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:41:32.939Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:41:32.939Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:41:32.939Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:41:32.939Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:41:32.939Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:41:32.939Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:41:32.939Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:41:32.939Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:41:32.939Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:41:32.939Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:41:32.939Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:41:32.939Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:41:32.939Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:41:32.939Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:41:32.939Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:41:32.939Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:41:32.939Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:41:32.939Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:41:32.939Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:41:32.939Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:41:32.939Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:41:32.939Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:41:32.939Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:41:32.939Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:41:33.209Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:41:33.209Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:41:33.209Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:41:33.209Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:41:33.209Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:41:33.209Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:41:33.209Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:41:33.209Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:41:33.209Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:41:33.475Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:41:33.475Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:41:33.475Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:41:33.475Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:41:33.475Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:41:33.475Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:41:33.475Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:41:33.475Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:41:33.475Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:41:33.475Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:41:33.475Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:41:33.475Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:41:33.476Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:41:33.476Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:41:43.562Z] Removing intermediate container 5952e5a5e214 [2020-04-10T16:41:43.562Z] ---> 86d930bd2088 [2020-04-10T16:41:43.562Z] Successfully built 86d930bd2088 [2020-04-10T16:41:43.562Z] 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-10T16:41:44.345Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T16:41:44.640Z] . [Pipeline] withDockerContainer [2020-04-10T16:41:45.134Z] prd-ubuntu18.04-docker-arm64-4c-16g-3310 does not seem to be running inside a container [2020-04-10T16:41:45.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-10T16:41:46.907Z] $ docker top d9e8fc25caf903887394d3de48ccfd9fc566e4cc313f0634833d6d6c114a2cd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:41:48.048Z] + go version [2020-04-10T16:41:48.048Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T16:41:48.723Z] + make test [2020-04-10T16:41:48.723Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:41:50.140Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:42:22.454Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:42:22.454Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:42:22.454Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 22.1% of statements [2020-04-10T16:42:23.049Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.172s coverage: 95.8% of statements [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.1% of statements [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.155s coverage: 38.5% of statements [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.841s coverage: 79.8% of statements [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:42:55.318Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:42:55.318Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:42:55.318Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:42:58.684Z] gofmt -l . [2020-04-10T16:42:58.684Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:42:58.952Z] ./bin/test-attribution-txt.sh [2020-04-10T16:42:59.917Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:43:00.201Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T16:43:00.749Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:43:00.763Z] $ docker stop --time=1 d9e8fc25caf903887394d3de48ccfd9fc566e4cc313f0634833d6d6c114a2cd0 [2020-04-10T16:43:03.186Z] $ docker rm -f d9e8fc25caf903887394d3de48ccfd9fc566e4cc313f0634833d6d6c114a2cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:43:04.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:43:04.775Z] + ls -al . [2020-04-10T16:43:04.776Z] total 200 [2020-04-10T16:43:04.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 16:43 . [2020-04-10T16:43:04.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:40 .. [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 16:40 .dockerignore [2020-04-10T16:43:04.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 16:40 .git [2020-04-10T16:43:04.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:40 .github [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 16:40 .gitignore [2020-04-10T16:43:04.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:40 .semver [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 16:40 Dockerfile.build [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 16:40 Jenkinsfile [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 16:40 LICENSE [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 16:40 Makefile [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 16:40 README.md [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 16:34 VERSION [2020-04-10T16:43:04.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:40 api [2020-04-10T16:43:04.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:40 bin [2020-04-10T16:43:04.776Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 10 16:42 coverage.out [2020-04-10T16:43:04.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:40 example [2020-04-10T16:43:04.776Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 10 16:42 go.mod [2020-04-10T16:43:04.776Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 16:42 go.sum [2020-04-10T16:43:04.776Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 16:40 internal [2020-04-10T16:43:04.776Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 16:40 pkg [2020-04-10T16:43:04.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:40 snap [2020-04-10T16:43:04.776Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 16:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:43:05.108Z] + 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=e768911035c6895058285a4b9c17fd49693d2e7d --label arch=arm64 --label version=0.0.0 . [2020-04-10T16:43:05.696Z] Sending build context to Docker daemon 2.986MB [2020-04-10T16:43:05.696Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:43:05.696Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:43:05.696Z] ---> 86d930bd2088 [2020-04-10T16:43:05.696Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:43:05.965Z] ---> Running in 5ae96923b85a [2020-04-10T16:43:06.555Z] Removing intermediate container 5ae96923b85a [2020-04-10T16:43:06.555Z] ---> bcd7de2ace8e [2020-04-10T16:43:06.555Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:43:06.555Z] ---> Running in 12fc3222e6f0 [2020-04-10T16:43:07.142Z] Removing intermediate container 12fc3222e6f0 [2020-04-10T16:43:07.142Z] ---> a26bacf860ac [2020-04-10T16:43:07.142Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:43:07.142Z] ---> Running in a69fe5251aab [2020-04-10T16:43:07.727Z] Removing intermediate container a69fe5251aab [2020-04-10T16:43:07.727Z] ---> 14d2d080966f [2020-04-10T16:43:07.727Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:43:07.727Z] ---> Running in cf0a8fec2869 [2020-04-10T16:43:09.676Z] Removing intermediate container cf0a8fec2869 [2020-04-10T16:43:09.676Z] ---> 74aa18acef7a [2020-04-10T16:43:09.676Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:43:09.946Z] ---> Running in 18d3507eadd0 [2020-04-10T16:43:10.911Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:43:11.874Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:43:12.462Z] OK: 125 MiB in 39 packages [2020-04-10T16:43:13.880Z] Removing intermediate container 18d3507eadd0 [2020-04-10T16:43:13.880Z] ---> dc1cdc43271a [2020-04-10T16:43:13.880Z] Step 8/21 : COPY . . [2020-04-10T16:43:14.855Z] ---> c75d16a32232 [2020-04-10T16:43:14.855Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:43:14.855Z] ---> Running in ed7d569a772d [2020-04-10T16:43:16.272Z] 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-10T16:43:43.016Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:43:44.966Z] Removing intermediate container ed7d569a772d [2020-04-10T16:43:44.966Z] ---> bc3a8c774aff [2020-04-10T16:43:44.966Z] Step 10/21 : FROM scratch [2020-04-10T16:43:44.966Z] ---> [2020-04-10T16:43:44.966Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:43:44.966Z] ---> Running in 75fad0e9773c [2020-04-10T16:43:45.234Z] Removing intermediate container 75fad0e9773c [2020-04-10T16:43:45.234Z] ---> 479d421d2448 [2020-04-10T16:43:45.234Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:43:45.234Z] ---> Running in 872a0f99d7a0 [2020-04-10T16:43:45.819Z] Removing intermediate container 872a0f99d7a0 [2020-04-10T16:43:45.819Z] ---> 02d88ea6e7a5 [2020-04-10T16:43:45.819Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:43:45.819Z] ---> Running in cb5cab6bb556 [2020-04-10T16:43:46.087Z] Removing intermediate container cb5cab6bb556 [2020-04-10T16:43:46.087Z] ---> 7c643eece08e [2020-04-10T16:43:46.087Z] Step 14/21 : WORKDIR / [2020-04-10T16:43:46.355Z] ---> Running in e5749f2290cb [2020-04-10T16:43:46.624Z] Removing intermediate container e5749f2290cb [2020-04-10T16:43:46.624Z] ---> cf15f295879a [2020-04-10T16:43:46.624Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:43:47.592Z] ---> 9a719f71de35 [2020-04-10T16:43:47.592Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:43:48.179Z] ---> c1aceb4fc6f6 [2020-04-10T16:43:48.179Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:43:48.765Z] ---> dc16fa4df7e6 [2020-04-10T16:43:48.765Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:43:49.035Z] ---> Running in afaac17e3c97 [2020-04-10T16:43:49.303Z] Removing intermediate container afaac17e3c97 [2020-04-10T16:43:49.303Z] ---> e765b8455b3f [2020-04-10T16:43:49.303Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T16:43:49.303Z] ---> Running in 5ab197f3becd [2020-04-10T16:43:49.884Z] Removing intermediate container 5ab197f3becd [2020-04-10T16:43:49.884Z] ---> a1af639fee9a [2020-04-10T16:43:49.884Z] Step 20/21 : LABEL git_sha=e768911035c6895058285a4b9c17fd49693d2e7d [2020-04-10T16:43:49.884Z] ---> Running in e2eba91d92ad [2020-04-10T16:43:50.150Z] Removing intermediate container e2eba91d92ad [2020-04-10T16:43:50.150Z] ---> d6e392238818 [2020-04-10T16:43:50.150Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:43:50.415Z] ---> Running in dcc15074a6c8 [2020-04-10T16:43:50.682Z] Removing intermediate container dcc15074a6c8 [2020-04-10T16:43:50.682Z] ---> 746d9b858024 [2020-04-10T16:43:50.682Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:43:50.682Z] Successfully built 746d9b858024 [2020-04-10T16:43:50.682Z] 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-10T16:43:51.709Z] provisioning config files... [2020-04-10T16:43:51.725Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config2523325542743293510tmp [Pipeline] { [Pipeline] sh [2020-04-10T16:43:52.065Z] + curl -s https://codecov.io/bash [2020-04-10T16:43:52.065Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config2523325542743293510tmp [2020-04-10T16:43:52.324Z] [2020-04-10T16:43:52.324Z] _____ _ [2020-04-10T16:43:52.324Z] / ____| | | [2020-04-10T16:43:52.324Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T16:43:52.324Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T16:43:52.324Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T16:43:52.324Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T16:43:52.324Z] Bash-20200410-0786dee [2020-04-10T16:43:52.324Z] [2020-04-10T16:43:52.324Z] [2020-04-10T16:43:52.324Z] ==> Jenkins CI detected. [2020-04-10T16:43:52.324Z] project root: . [2020-04-10T16:43:52.324Z] Fixing merge commit SHA [2020-04-10T16:43:52.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T16:43:52.324Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T16:43:52.324Z] ==> Python coveragepy not found [2020-04-10T16:43:52.324Z] ==> Searching for coverage reports in: [2020-04-10T16:43:52.324Z] + . [2020-04-10T16:43:52.324Z] -> Found 1 reports [2020-04-10T16:43:52.324Z] ==> Detecting git/mercurial file structure [2020-04-10T16:43:52.324Z] ==> Reading reports [2020-04-10T16:43:52.324Z] + ./coverage.out bytes=96404 [2020-04-10T16:43:52.324Z] ==> Appending adjustments [2020-04-10T16:43:52.324Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T16:43:52.896Z] + Found adjustments [2020-04-10T16:43:52.896Z] ==> Gzipping contents [2020-04-10T16:43:52.896Z] ==> Uploading reports [2020-04-10T16:43:52.896Z] url: https://codecov.io [2020-04-10T16:43:52.896Z] query: branch=PR-474&commit=2059383c0ce7ecc5e89f6707ab815f97db38a92e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-10T16:43:52.896Z] -> Pinging Codecov [2020-04-10T16:43:52.896Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-474&commit=2059383c0ce7ecc5e89f6707ab815f97db38a92e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-10T16:43:53.466Z] -> Uploading [2020-04-10T16:43:54.034Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2059383c0ce7ecc5e89f6707ab815f97db38a92e [Pipeline] } [2020-04-10T16:43:54.040Z] 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-10T16:43:55.306Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:43:55.610Z] ---> package-listing.sh [2020-04-10T16:43:55.610Z] ++ facter osfamily [2020-04-10T16:43:55.610Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T16:43:55.610Z] + OS_FAMILY=redhat [2020-04-10T16:43:55.610Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:43:55.610Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T16:43:55.610Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T16:43:55.610Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T16:43:55.610Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T16:43:55.610Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-10T16:43:55.610Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T16:43:55.610Z] + case "${OS_FAMILY}" in [2020-04-10T16:43:55.610Z] + rpm -qa [2020-04-10T16:43:55.610Z] + sort [2020-04-10T16:43:58.903Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T16:43:58.903Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T16:43:58.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T16:43:58.903Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-10T16:43:58.903Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [2020-04-10T16:43:58.903Z] + 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-10T16:43:59.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:43:59.254Z] [2020-04-10T16:43:59.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:43:59.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:43:59.592Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T16:43:59.592Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T16:43:59.592Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T16:43:59.592Z] 756a868c4378: Pulling fs layer [2020-04-10T16:43:59.592Z] 444b2fc9a129: Pulling fs layer [2020-04-10T16:43:59.592Z] ea15f1150254: Pulling fs layer [2020-04-10T16:43:59.592Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T16:43:59.592Z] 28c525ee5125: Pulling fs layer [2020-04-10T16:43:59.592Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T16:43:59.592Z] 138eaada9080: Pulling fs layer [2020-04-10T16:43:59.592Z] 0622d0fa9048: Pulling fs layer [2020-04-10T16:43:59.592Z] 41b27a9f41bf: Waiting [2020-04-10T16:43:59.592Z] 28c525ee5125: Waiting [2020-04-10T16:43:59.592Z] 094b1ea09ed8: Waiting [2020-04-10T16:43:59.592Z] 138eaada9080: Waiting [2020-04-10T16:43:59.592Z] 0622d0fa9048: Waiting [2020-04-10T16:43:59.592Z] 444b2fc9a129: Waiting [2020-04-10T16:43:59.592Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-10T16:43:59.592Z] 2cc5ad85d9ab: Download complete [2020-04-10T16:43:59.592Z] 444b2fc9a129: Verifying Checksum [2020-04-10T16:43:59.592Z] 444b2fc9a129: Download complete [2020-04-10T16:43:59.592Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T16:43:59.592Z] c9b1b535fdd9: Download complete [2020-04-10T16:43:59.867Z] ea15f1150254: Download complete [2020-04-10T16:43:59.867Z] 28c525ee5125: Verifying Checksum [2020-04-10T16:43:59.867Z] 28c525ee5125: Download complete [2020-04-10T16:44:00.132Z] c9b1b535fdd9: Pull complete [2020-04-10T16:44:00.418Z] 756a868c4378: Verifying Checksum [2020-04-10T16:44:00.418Z] 756a868c4378: Download complete [2020-04-10T16:44:00.418Z] 2cc5ad85d9ab: Pull complete [2020-04-10T16:44:00.418Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T16:44:00.418Z] 094b1ea09ed8: Download complete [2020-04-10T16:44:00.418Z] 138eaada9080: Verifying Checksum [2020-04-10T16:44:00.418Z] 138eaada9080: Download complete [2020-04-10T16:44:00.418Z] 0622d0fa9048: Verifying Checksum [2020-04-10T16:44:00.418Z] 0622d0fa9048: Download complete [2020-04-10T16:44:01.007Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T16:44:01.007Z] 41b27a9f41bf: Download complete [2020-04-10T16:44:02.388Z] 756a868c4378: Pull complete [2020-04-10T16:44:02.388Z] 444b2fc9a129: Pull complete [2020-04-10T16:44:02.654Z] ea15f1150254: Pull complete [2020-04-10T16:44:05.944Z] 41b27a9f41bf: Pull complete [2020-04-10T16:44:05.944Z] 28c525ee5125: Pull complete [2020-04-10T16:44:08.492Z] 094b1ea09ed8: Pull complete [2020-04-10T16:44:08.493Z] 138eaada9080: Pull complete [2020-04-10T16:44:08.493Z] 0622d0fa9048: Pull complete [2020-04-10T16:44:08.493Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T16:44:08.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T16:44:08.675Z] prd-centos7-docker-4c-2g-3302 does not seem to be running inside a container [2020-04-10T16:44:08.722Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T16:44:09.788Z] $ docker top 4765d11ef104b6bc0dd2de266f3f5684f5fad3ac667793725c67fb1a1ed27e23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T16:44:10.024Z] provisioning config files... [2020-04-10T16:44:10.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config3865400152727152130tmp [Pipeline] { [Pipeline] echo [2020-04-10T16:44:10.101Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:44:10.400Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T16:44:10.408Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:44:10.702Z] ---> logs-deploy.sh [2020-04-10T16:44:10.702Z] + ARCHIVE_ARTIFACTS= [2020-04-10T16:44:10.702Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T16:44:10.702Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T16:44:10.702Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T16:44:10.702Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/7 [2020-04-10T16:44:10.702Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/7/ [2020-04-10T16:44:10.702Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/7 /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:44:12.081Z] Archives upload complete. [2020-04-10T16:44:12.081Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/7/