Pull request #467 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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 00653bff75031769b17374a6b15ddb1c4ef00afb+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (f3850d9295676dbe01d9f124e719920f695fd51f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1291 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [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-467 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 Commit message: "Add v2 REST API specification" First time build. Skipping changelog. > git rev-list --no-walk e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-29T22:51:45.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:51:47.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-29T22:51:48.083Z] [2020-03-29T22:51:48.083Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:51:48.443Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-29T22:51:48.443Z] latest: Pulling from edgex-devops/git-semver [2020-03-29T22:51:48.443Z] 9123ac7c32f7: Pulling fs layer [2020-03-29T22:51:48.443Z] b8cc5d1170e3: Pulling fs layer [2020-03-29T22:51:48.443Z] 2924cbbf6a41: Pulling fs layer [2020-03-29T22:51:48.443Z] 93b08a4f1073: Pulling fs layer [2020-03-29T22:51:48.443Z] 93b08a4f1073: Waiting [2020-03-29T22:51:48.443Z] b8cc5d1170e3: Verifying Checksum [2020-03-29T22:51:48.443Z] b8cc5d1170e3: Download complete [2020-03-29T22:51:48.704Z] 9123ac7c32f7: Verifying Checksum [2020-03-29T22:51:48.704Z] 9123ac7c32f7: Download complete [2020-03-29T22:51:48.704Z] 93b08a4f1073: Verifying Checksum [2020-03-29T22:51:48.704Z] 93b08a4f1073: Download complete [2020-03-29T22:51:48.704Z] 2924cbbf6a41: Verifying Checksum [2020-03-29T22:51:48.704Z] 2924cbbf6a41: Download complete [2020-03-29T22:51:48.967Z] 9123ac7c32f7: Pull complete [2020-03-29T22:51:48.967Z] b8cc5d1170e3: Pull complete [2020-03-29T22:51:49.909Z] 2924cbbf6a41: Pull complete [2020-03-29T22:51:49.909Z] 93b08a4f1073: Pull complete [2020-03-29T22:51:49.909Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-29T22:51:49.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-29T22:51:50.046Z] prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container [2020-03-29T22:51:50.092Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-29T22:51:50.765Z] $ docker top 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-29T22:51:51.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-29T22:51:51.052Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-29T22:51:51.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-29T22:51:51.302Z] $ docker exec 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent [2020-03-29T22:51:51.483Z] SSH_AUTH_SOCK=/tmp/ssh-4jCdQLQ7cc8C/agent.14 [2020-03-29T22:51:51.483Z] SSH_AGENT_PID=21 [2020-03-29T22:51:51.495Z] Running ssh-add (command line suppressed) [2020-03-29T22:51:51.631Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5303227797128715678.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5303227797128715678.key) [2020-03-29T22:51:51.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-29T22:51:52.020Z] + git describe --exact-match --tags HEAD [2020-03-29T22:51:52.020Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-29T22:51:52.084Z] $ docker exec --env ******** --env ******** 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent -k [2020-03-29T22:51:52.227Z] unset SSH_AUTH_SOCK; [2020-03-29T22:51:52.228Z] unset SSH_AGENT_PID; [2020-03-29T22:51:52.228Z] echo Agent pid 21 killed; [2020-03-29T22:51:52.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-29T22:51:52.370Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-29T22:51:52.370Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-29T22:51:52.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-29T22:51:52.501Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-29T22:51:52.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-29T22:51:52.672Z] $ docker exec 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent [2020-03-29T22:51:52.878Z] SSH_AUTH_SOCK=/tmp/ssh-njOjoxCkNl5I/agent.54 [2020-03-29T22:51:52.878Z] SSH_AGENT_PID=61 [2020-03-29T22:51:52.887Z] Running ssh-add (command line suppressed) [2020-03-29T22:51:53.028Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_3610378480186970401.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_3610378480186970401.key) [2020-03-29T22:51:53.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-29T22:51:53.399Z] + git semver init [2020-03-29T22:51:53.399Z] # -> Open(): unable to determine branch for HEAD [2020-03-29T22:51:53.399Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git [2020-03-29T22:51:53.399Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-29T22:51:53.399Z] # $SEMVER_REMOTE_NAME = origin [2020-03-29T22:51:53.399Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-29T22:51:53.399Z] # $SEMVER_USER_NAME = jenkins [2020-03-29T22:51:53.399Z] # $SEMVER_BRANCH = PR-467 [2020-03-29T22:51:53.399Z] # $SEMVER_TEMP = /tmp/semver-561553663 [2020-03-29T22:51:53.399Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-29T22:51:53.967Z] # '/tmp/semver-561553663' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' [2020-03-29T22:51:53.967Z] # -> Force: false [2020-03-29T22:51:53.967Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } [2020-03-29T22:51:53.972Z] $ docker exec --env ******** --env ******** 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent -k [2020-03-29T22:51:54.105Z] unset SSH_AUTH_SOCK; [2020-03-29T22:51:54.105Z] unset SSH_AGENT_PID; [2020-03-29T22:51:54.106Z] echo Agent pid 61 killed; [2020-03-29T22:51:54.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-29T22:51:54.586Z] + git semver [Pipeline] } [2020-03-29T22:51:54.595Z] $ docker stop --time=1 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 [2020-03-29T22:51:55.923Z] $ docker rm -f 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-29T22:51:56.729Z] Stashed 32 file(s) [Pipeline] echo [2020-03-29T22:51:56.731Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-29T22:52:11.931Z] Still waiting to schedule task [2020-03-29T22:52:11.931Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1291’ [2020-03-29T22:52:11.933Z] Still waiting to schedule task [2020-03-29T22:52:11.933Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-29T22:53:37.110Z] Running on prd-centos7-docker-4c-2g-1293 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-29T22:53:37.148Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-03-29T22:53:39.308Z] using credential edgex-jenkins-ssh [2020-03-29T22:53:39.353Z] Cloning the remote Git repository [2020-03-29T22:53:39.353Z] Cloning with configured refspecs honoured and without tags [2020-03-29T22:53:39.082Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:53:39.129Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-03-29T22:53:40.162Z] Fetching without tags [2020-03-29T22:53:39.185Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:53:39.186Z] > git --version # timeout=10 [2020-03-29T22:53:39.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:53:39.224Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:53:39.904Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-29T22:53:39.910Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-29T22:53:39.915Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:53:39.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-29T22:53:39.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:53:39.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:53:39.945Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:53:40.530Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:53:40.637Z] Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:53:40.638Z] Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) [2020-03-29T22:53:40.342Z] > git config core.sparsecheckout # timeout=10 [2020-03-29T22:53:40.348Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-29T22:53:40.398Z] > git remote # timeout=10 [2020-03-29T22:53:40.411Z] > git config --get remote.origin.url # timeout=10 [2020-03-29T22:53:40.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:53:40.425Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-29T22:53:40.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-29T22:53:40.451Z] > git config core.sparsecheckout # timeout=10 [2020-03-29T22:53:40.457Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-29T22:53:44.247Z] Commit message: "Add v2 REST API specification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-29T22:53:45.183Z] ========================================================= [2020-03-29T22:53:45.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-29T22:53:45.183Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:53:45.942Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-29T22:53:46.202Z] Sending build context to Docker daemon 2.74MB [2020-03-29T22:53:46.202Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-29T22:53:46.202Z] Step 2/8 : FROM ${BASE} [2020-03-29T22:53:46.202Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-29T22:53:46.202Z] e6b0cf9c0882: Pulling fs layer [2020-03-29T22:53:46.202Z] 2848faf0eed1: Pulling fs layer [2020-03-29T22:53:46.202Z] 0f37312ad70f: Pulling fs layer [2020-03-29T22:53:46.202Z] 5788d62ee057: Pulling fs layer [2020-03-29T22:53:46.202Z] 0e6b1d234666: Pulling fs layer [2020-03-29T22:53:46.202Z] bf5d7aec512f: Pulling fs layer [2020-03-29T22:53:46.202Z] 34c802a77dc8: Pulling fs layer [2020-03-29T22:53:46.202Z] 9eb99e56ec68: Pulling fs layer [2020-03-29T22:53:46.202Z] 27c7a5d97fbd: Pulling fs layer [2020-03-29T22:53:46.202Z] 5c102a31e300: Pulling fs layer [2020-03-29T22:53:46.202Z] dcfb455df0a1: Pulling fs layer [2020-03-29T22:53:46.202Z] 5788d62ee057: Waiting [2020-03-29T22:53:46.202Z] 0e6b1d234666: Waiting [2020-03-29T22:53:46.202Z] bf5d7aec512f: Waiting [2020-03-29T22:53:46.202Z] 34c802a77dc8: Waiting [2020-03-29T22:53:46.202Z] 9eb99e56ec68: Waiting [2020-03-29T22:53:46.202Z] 5c102a31e300: Waiting [2020-03-29T22:53:46.202Z] dcfb455df0a1: Waiting [2020-03-29T22:53:46.202Z] 27c7a5d97fbd: Waiting [2020-03-29T22:53:46.202Z] 0f37312ad70f: Download complete [2020-03-29T22:53:46.202Z] 2848faf0eed1: Verifying Checksum [2020-03-29T22:53:46.202Z] 2848faf0eed1: Download complete [2020-03-29T22:53:46.202Z] 0e6b1d234666: Verifying Checksum [2020-03-29T22:53:46.202Z] 0e6b1d234666: Download complete [2020-03-29T22:53:46.202Z] bf5d7aec512f: Verifying Checksum [2020-03-29T22:53:46.202Z] bf5d7aec512f: Download complete [2020-03-29T22:53:46.202Z] e6b0cf9c0882: Verifying Checksum [2020-03-29T22:53:46.202Z] e6b0cf9c0882: Download complete [2020-03-29T22:53:46.785Z] e6b0cf9c0882: Pull complete [2020-03-29T22:53:47.050Z] 34c802a77dc8: Verifying Checksum [2020-03-29T22:53:47.050Z] 34c802a77dc8: Download complete [2020-03-29T22:53:47.050Z] 27c7a5d97fbd: Verifying Checksum [2020-03-29T22:53:47.050Z] 27c7a5d97fbd: Download complete [2020-03-29T22:53:47.624Z] 5c102a31e300: Verifying Checksum [2020-03-29T22:53:47.624Z] 5c102a31e300: Download complete [2020-03-29T22:53:47.884Z] 5788d62ee057: Verifying Checksum [2020-03-29T22:53:47.884Z] 5788d62ee057: Download complete [2020-03-29T22:53:47.884Z] dcfb455df0a1: Verifying Checksum [2020-03-29T22:53:47.884Z] dcfb455df0a1: Download complete [2020-03-29T22:53:47.884Z] 9eb99e56ec68: Verifying Checksum [2020-03-29T22:53:47.884Z] 9eb99e56ec68: Download complete [2020-03-29T22:53:48.829Z] 2848faf0eed1: Pull complete [2020-03-29T22:53:48.829Z] 0f37312ad70f: Pull complete [2020-03-29T22:53:54.120Z] 5788d62ee057: Pull complete [2020-03-29T22:53:54.381Z] 0e6b1d234666: Pull complete [2020-03-29T22:53:54.381Z] bf5d7aec512f: Pull complete [2020-03-29T22:54:01.237Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1292 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-29T22:54:01.312Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-03-29T22:54:04.397Z] 34c802a77dc8: Pull complete [2020-03-29T22:54:06.961Z] 9eb99e56ec68: Pull complete [2020-03-29T22:54:06.961Z] 27c7a5d97fbd: Pull complete [2020-03-29T22:54:07.254Z] using credential edgex-jenkins-ssh [2020-03-29T22:54:07.309Z] Cloning the remote Git repository [2020-03-29T22:54:07.309Z] Cloning with configured refspecs honoured and without tags [2020-03-29T22:54:07.529Z] 5c102a31e300: Pull complete [2020-03-29T22:54:07.529Z] dcfb455df0a1: Pull complete [2020-03-29T22:54:07.529Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-29T22:54:07.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-29T22:54:07.529Z] ---> 7c70fe431013 [2020-03-29T22:54:07.529Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:54:07.529Z] ---> Running in 75b7aa3ac2a6 [2020-03-29T22:54:07.789Z] Removing intermediate container 75b7aa3ac2a6 [2020-03-29T22:54:07.789Z] ---> 6dc929d29d6c [2020-03-29T22:54:07.789Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-29T22:54:07.789Z] ---> Running in 50177fefb029 [2020-03-29T22:54:07.386Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:54:07.483Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-03-29T22:54:07.554Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:54:07.555Z] > git --version # timeout=10 [2020-03-29T22:54:07.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:54:07.646Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:54:08.726Z] Fetching without tags [2020-03-29T22:54:08.747Z] Removing intermediate container 50177fefb029 [2020-03-29T22:54:08.747Z] ---> 885d53fd49f5 [2020-03-29T22:54:08.747Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-29T22:54:08.747Z] ---> Running in 08fa56cc3f07 [2020-03-29T22:54:08.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-29T22:54:08.650Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-29T22:54:08.682Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:54:08.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-29T22:54:08.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-29T22:54:08.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:54:08.822Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-29T22:54:09.267Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:54:09.320Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-29T22:54:09.523Z] Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:54:09.523Z] Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) [2020-03-29T22:54:10.262Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-29T22:54:09.293Z] > git config core.sparsecheckout # timeout=10 [2020-03-29T22:54:09.330Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-29T22:54:09.432Z] > git remote # timeout=10 [2020-03-29T22:54:09.458Z] > git config --get remote.origin.url # timeout=10 [2020-03-29T22:54:09.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-29T22:54:09.492Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-29T22:54:09.517Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-29T22:54:09.537Z] > git config core.sparsecheckout # timeout=10 [2020-03-29T22:54:09.563Z] > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 [2020-03-29T22:54:10.830Z] OK: 143 MiB in 39 packages [2020-03-29T22:54:11.400Z] Removing intermediate container 08fa56cc3f07 [2020-03-29T22:54:11.400Z] ---> 54b80177cfbd [2020-03-29T22:54:11.400Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-29T22:54:11.400Z] ---> Running in 482487c23dd4 [2020-03-29T22:54:11.400Z] Removing intermediate container 482487c23dd4 [2020-03-29T22:54:11.400Z] ---> afd73a9cbc38 [2020-03-29T22:54:11.400Z] Step 7/8 : COPY . . [2020-03-29T22:54:11.971Z] ---> 06038dcae4ff [2020-03-29T22:54:11.971Z] Step 8/8 : RUN go mod download [2020-03-29T22:54:11.971Z] ---> Running in d2997a6115f2 [2020-03-29T22:54:13.879Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-29T22:54:13.879Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-29T22:54:13.879Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-29T22:54:13.879Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-29T22:54:13.879Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-29T22:54:13.879Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-29T22:54:13.879Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-29T22:54:13.925Z] Commit message: "Add v2 REST API specification" [2020-03-29T22:54:14.139Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-29T22:54:14.139Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-29T22:54:14.139Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-29T22:54:14.139Z] go: finding github.com/fatih/color v1.7.0 [2020-03-29T22:54:14.139Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-29T22:54:14.139Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-29T22:54:14.139Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-29T22:54:14.139Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-29T22:54:14.139Z] go: finding github.com/google/uuid v1.1.0 [2020-03-29T22:54:14.139Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-03-29T22:54:14.398Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-29T22:54:14.398Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-29T22:54:14.398Z] go: finding github.com/jessevdk/go-flags v1.4.0 [Pipeline] unstash [2020-03-29T22:54:14.659Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-29T22:54:14.659Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-29T22:54:14.659Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-29T22:54:14.659Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-29T22:54:14.659Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-29T22:54:14.659Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-29T22:54:14.659Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-29T22:54:14.659Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-29T22:54:14.659Z] go: finding github.com/posener/complete v1.1.1 [2020-03-29T22:54:14.659Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-29T22:54:14.659Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-29T22:54:14.659Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-29T22:54:14.659Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-29T22:54:14.659Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-29T22:54:14.659Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-29T22:54:14.922Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-29T22:54:14.922Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-29T22:54:14.922Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-29T22:54:14.922Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-29T22:54:14.922Z] go: finding gopkg.in/yaml.v2 v2.2.2 [Pipeline] echo [2020-03-29T22:54:15.041Z] ========================================================= [2020-03-29T22:54:15.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-29T22:54:15.041Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:54:16.200Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-03-29T22:54:17.178Z] Sending build context to Docker daemon 2.74MB [2020-03-29T22:54:17.178Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-29T22:54:17.178Z] Step 2/8 : FROM ${BASE} [2020-03-29T22:54:17.776Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-29T22:54:17.776Z] cde5963f3b93: Pulling fs layer [2020-03-29T22:54:17.776Z] 2a23fa8c16f7: Pulling fs layer [2020-03-29T22:54:17.776Z] 777b28850792: Pulling fs layer [2020-03-29T22:54:17.776Z] 8a11ddd9e578: Pulling fs layer [2020-03-29T22:54:17.776Z] 4cf88f913ddb: Pulling fs layer [2020-03-29T22:54:17.776Z] 1df406cf5192: Pulling fs layer [2020-03-29T22:54:17.776Z] cd6300453558: Pulling fs layer [2020-03-29T22:54:17.776Z] b9c365052c96: Pulling fs layer [2020-03-29T22:54:17.776Z] a2d8cc88f415: Pulling fs layer [2020-03-29T22:54:17.776Z] ea1d1ca13537: Pulling fs layer [2020-03-29T22:54:17.776Z] 3750a50a1c5e: Pulling fs layer [2020-03-29T22:54:17.776Z] 1df406cf5192: Waiting [2020-03-29T22:54:17.776Z] cd6300453558: Waiting [2020-03-29T22:54:17.776Z] b9c365052c96: Waiting [2020-03-29T22:54:17.776Z] a2d8cc88f415: Waiting [2020-03-29T22:54:17.776Z] ea1d1ca13537: Waiting [2020-03-29T22:54:17.776Z] 3750a50a1c5e: Waiting [2020-03-29T22:54:17.776Z] 8a11ddd9e578: Waiting [2020-03-29T22:54:17.776Z] 4cf88f913ddb: Waiting [2020-03-29T22:54:17.776Z] 777b28850792: Verifying Checksum [2020-03-29T22:54:17.776Z] 777b28850792: Download complete [2020-03-29T22:54:17.776Z] 2a23fa8c16f7: Verifying Checksum [2020-03-29T22:54:17.776Z] 2a23fa8c16f7: Download complete [2020-03-29T22:54:17.776Z] 4cf88f913ddb: Download complete [2020-03-29T22:54:17.776Z] 1df406cf5192: Download complete [2020-03-29T22:54:18.057Z] cde5963f3b93: Verifying Checksum [2020-03-29T22:54:19.028Z] cde5963f3b93: Pull complete [2020-03-29T22:54:19.620Z] 2a23fa8c16f7: Pull complete [2020-03-29T22:54:19.890Z] 777b28850792: Pull complete [2020-03-29T22:54:22.497Z] cd6300453558: Verifying Checksum [2020-03-29T22:54:22.497Z] cd6300453558: Download complete [2020-03-29T22:54:22.497Z] a2d8cc88f415: Download complete [2020-03-29T22:54:24.919Z] Removing intermediate container d2997a6115f2 [2020-03-29T22:54:24.919Z] ---> 42b280fb0353 [2020-03-29T22:54:24.919Z] Successfully built 42b280fb0353 [2020-03-29T22:54:24.919Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-03-29T22:54:25.110Z] ea1d1ca13537: Verifying Checksum [2020-03-29T22:54:25.110Z] ea1d1ca13537: Download complete [2020-03-29T22:54:25.110Z] 3750a50a1c5e: Verifying Checksum [2020-03-29T22:54:25.110Z] 3750a50a1c5e: Download complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:54:25.470Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-29T22:54:25.470Z] . [Pipeline] withDockerContainer [2020-03-29T22:54:25.606Z] prd-centos7-docker-4c-2g-1293 does not seem to be running inside a container [2020-03-29T22:54:25.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-29T22:54:26.316Z] $ docker top a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-29T22:54:26.806Z] + go version [2020-03-29T22:54:26.807Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-29T22:54:27.106Z] + make test [2020-03-29T22:54:27.106Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-29T22:54:27.700Z] b9c365052c96: Verifying Checksum [2020-03-29T22:54:27.700Z] b9c365052c96: Download complete [2020-03-29T22:54:29.119Z] 8a11ddd9e578: Download complete [2020-03-29T22:54:41.491Z] 8a11ddd9e578: Pull complete [2020-03-29T22:54:41.491Z] 4cf88f913ddb: Pull complete [2020-03-29T22:54:41.491Z] 1df406cf5192: Pull complete [2020-03-29T22:54:42.083Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-29T22:54:42.083Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-29T22:54:42.083Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-29T22:54:42.083Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 23.1% of statements [2020-03-29T22:54:43.997Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.8% of statements [2020-03-29T22:54:46.853Z] cd6300453558: Pull complete [2020-03-29T22:54:47.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.063s coverage: 12.7% of statements [2020-03-29T22:54:47.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 25.6% of statements [2020-03-29T22:54:51.137Z] b9c365052c96: Pull complete [2020-03-29T22:54:51.137Z] a2d8cc88f415: Pull complete [2020-03-29T22:54:53.749Z] ea1d1ca13537: Pull complete [2020-03-29T22:54:53.749Z] 3750a50a1c5e: Pull complete [2020-03-29T22:54:53.749Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-29T22:54:53.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-29T22:54:53.749Z] ---> 78745c68409d [2020-03-29T22:54:53.749Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:54:57.097Z] ---> Running in 0dce9d368f0f [2020-03-29T22:54:57.363Z] Removing intermediate container 0dce9d368f0f [2020-03-29T22:54:57.363Z] ---> b2befa248fd4 [2020-03-29T22:54:57.363Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-29T22:54:57.363Z] ---> Running in 38f6cdb966eb [2020-03-29T22:54:59.311Z] Removing intermediate container 38f6cdb966eb [2020-03-29T22:54:59.311Z] ---> c3c6de9ad0fa [2020-03-29T22:54:59.311Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-29T22:54:59.582Z] ---> Running in d2e3d5b4bea9 [2020-03-29T22:55:00.181Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-29T22:55:01.590Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-29T22:55:02.177Z] OK: 125 MiB in 39 packages [2020-03-29T22:55:03.159Z] Removing intermediate container d2e3d5b4bea9 [2020-03-29T22:55:03.159Z] ---> 687cca2b019f [2020-03-29T22:55:03.159Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-29T22:55:03.428Z] ---> Running in ec7a06c455c1 [2020-03-29T22:55:03.697Z] Removing intermediate container ec7a06c455c1 [2020-03-29T22:55:03.697Z] ---> 1ef6ef095830 [2020-03-29T22:55:03.697Z] Step 7/8 : COPY . . [2020-03-29T22:55:04.664Z] ---> 377b2e5cd2e5 [2020-03-29T22:55:04.664Z] Step 8/8 : RUN go mod download [2020-03-29T22:55:04.932Z] ---> Running in 1700aca1b670 [2020-03-29T22:55:06.888Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-29T22:55:06.888Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-29T22:55:06.888Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-29T22:55:06.888Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-29T22:55:06.888Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-29T22:55:07.158Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-29T22:55:07.158Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-29T22:55:07.158Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-29T22:55:07.158Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-29T22:55:07.158Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-29T22:55:07.158Z] go: finding github.com/fatih/color v1.7.0 [2020-03-29T22:55:07.158Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-29T22:55:07.158Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-29T22:55:07.425Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-29T22:55:07.425Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-29T22:55:07.425Z] go: finding github.com/google/uuid v1.1.0 [2020-03-29T22:55:07.425Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-29T22:55:07.425Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-29T22:55:07.425Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-29T22:55:07.425Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-29T22:55:07.425Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-29T22:55:07.694Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-29T22:55:07.962Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-29T22:55:08.229Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-29T22:55:08.229Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-29T22:55:08.229Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-29T22:55:08.229Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-29T22:55:08.229Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-29T22:55:08.229Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-29T22:55:08.229Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-29T22:55:08.229Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-29T22:55:08.229Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-29T22:55:08.229Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-29T22:55:08.229Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-29T22:55:08.496Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-29T22:55:08.496Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-29T22:55:08.496Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-29T22:55:08.496Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-29T22:55:08.496Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-29T22:55:08.496Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-29T22:55:08.496Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-29T22:55:08.496Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-29T22:55:08.496Z] go: finding github.com/posener/complete v1.1.1 [2020-03-29T22:55:08.761Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-29T22:55:08.761Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-29T22:55:08.761Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-29T22:55:08.761Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-29T22:55:08.761Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-29T22:55:08.761Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-29T22:55:08.761Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-29T22:55:08.761Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-29T22:55:09.041Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-29T22:55:09.041Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-29T22:55:09.041Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-29T22:55:19.405Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.019s coverage: 30.0% of statements [2020-03-29T22:55:19.405Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.408s coverage: 42.3% of statements [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-29T22:55:19.405Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.5% of statements [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-29T22:55:19.405Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-03-29T22:55:19.405Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 76.1% of statements [2020-03-29T22:55:19.405Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-29T22:55:19.405Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-29T22:55:19.405Z] gofmt -l . [2020-03-29T22:55:19.405Z] [ "`gofmt -l .`" = "" ] [2020-03-29T22:55:19.405Z] ./bin/test-attribution-txt.sh [2020-03-29T22:55:19.405Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-29T22:55:20.023Z] Stashed 1 file(s) [Pipeline] } [2020-03-29T22:55:20.033Z] $ docker stop --time=1 a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 [2020-03-29T22:55:21.499Z] $ docker rm -f a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-29T22:55:22.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-29T22:55:23.089Z] + ls -al . [2020-03-29T22:55:23.089Z] total 200 [2020-03-29T22:55:23.089Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 29 22:55 . [2020-03-29T22:55:23.089Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 22:53 .. [2020-03-29T22:55:23.089Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 29 22:53 api [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 29 22:53 async.go [2020-03-29T22:55:23.089Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 22:53 bin [2020-03-29T22:55:23.089Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 29 22:55 coverage.out [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 29 22:53 Dockerfile.build [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 29 22:53 .dockerignore [2020-03-29T22:55:23.089Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 29 22:53 example [2020-03-29T22:55:23.089Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 22:53 .git [2020-03-29T22:55:23.089Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 29 22:53 .github [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 29 22:53 .gitignore [2020-03-29T22:55:23.089Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 29 22:55 go.mod [2020-03-29T22:55:23.089Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 29 22:55 go.sum [2020-03-29T22:55:23.089Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 29 22:53 internal [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 29 22:53 Jenkinsfile [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 29 22:53 LICENSE [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 29 22:53 Makefile [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 29 22:53 manageddevices.go [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 29 22:53 managedprofiles.go [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 29 22:53 managedwatchers.go [2020-03-29T22:55:23.089Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 29 22:53 pkg [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 29 22:53 README.md [2020-03-29T22:55:23.089Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 29 22:53 .semver [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 29 22:53 service.go [2020-03-29T22:55:23.089Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 29 22:53 snap [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 22:51 VERSION [2020-03-29T22:55:23.089Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 29 22:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:55:23.390Z] + 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=00653bff75031769b17374a6b15ddb1c4ef00afb --label arch=amd64 --label version=0.0.0 . [2020-03-29T22:55:23.390Z] Sending build context to Docker daemon 2.866MB [2020-03-29T22:55:23.650Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-29T22:55:23.650Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-29T22:55:23.650Z] ---> 42b280fb0353 [2020-03-29T22:55:23.650Z] Step 3/20 : ARG MAKE='make build' [2020-03-29T22:55:23.650Z] ---> Running in 04c8504eef35 [2020-03-29T22:55:23.650Z] Removing intermediate container 04c8504eef35 [2020-03-29T22:55:23.650Z] ---> aa2f64c6ad69 [2020-03-29T22:55:23.650Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-29T22:55:23.650Z] ---> Running in 4a36fed0c153 [2020-03-29T22:55:23.911Z] Removing intermediate container 4a36fed0c153 [2020-03-29T22:55:23.911Z] ---> 88d815626d8b [2020-03-29T22:55:23.911Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:55:23.911Z] ---> Running in dc9e789efd75 [2020-03-29T22:55:24.172Z] Removing intermediate container dc9e789efd75 [2020-03-29T22:55:24.172Z] ---> 3fda40725a25 [2020-03-29T22:55:24.172Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-29T22:55:24.172Z] ---> Running in 34867dfc35d3 [2020-03-29T22:55:25.116Z] Removing intermediate container 34867dfc35d3 [2020-03-29T22:55:25.116Z] ---> 6d1128452eac [2020-03-29T22:55:25.116Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-29T22:55:25.116Z] ---> Running in bac46e5ce462 [2020-03-29T22:55:25.375Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-29T22:55:25.945Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-29T22:55:26.515Z] OK: 143 MiB in 39 packages [2020-03-29T22:55:27.083Z] Removing intermediate container bac46e5ce462 [2020-03-29T22:55:27.083Z] ---> eb9f992ab865 [2020-03-29T22:55:27.083Z] Step 8/20 : COPY . . [2020-03-29T22:55:27.269Z] Removing intermediate container 1700aca1b670 [2020-03-29T22:55:27.269Z] ---> 15a70da5babd [2020-03-29T22:55:27.269Z] Successfully built 15a70da5babd [2020-03-29T22:55:27.269Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [2020-03-29T22:55:27.343Z] ---> 2c0a209c0446 [2020-03-29T22:55:27.343Z] Step 9/20 : RUN ${MAKE} [2020-03-29T22:55:27.343Z] ---> Running in 0c1f858f656f [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:55:27.608Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-29T22:55:27.920Z] + docker inspect -f . ci-base-image-arm64 [2020-03-29T22:55:28.195Z] . [Pipeline] withDockerContainer [2020-03-29T22:55:28.563Z] prd-ubuntu18.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container [2020-03-29T22:55:28.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-29T22:55:30.157Z] $ docker top 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-29T22:55:31.289Z] + go version [2020-03-29T22:55:31.289Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-29T22:55:31.951Z] + make test [2020-03-29T22:55:31.951Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-29T22:55:39.907Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-29T22:55:45.212Z] Removing intermediate container 0c1f858f656f [2020-03-29T22:55:45.212Z] ---> 1ac723c05b5f [2020-03-29T22:55:45.212Z] Step 10/20 : FROM scratch [2020-03-29T22:55:45.212Z] ---> [2020-03-29T22:55:45.212Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:55:45.212Z] ---> Running in 20ae1caa90dc [2020-03-29T22:55:45.212Z] Removing intermediate container 20ae1caa90dc [2020-03-29T22:55:45.212Z] ---> 6b3bc35e45e8 [2020-03-29T22:55:45.212Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-29T22:55:45.212Z] ---> Running in e1a29d54ed87 [2020-03-29T22:55:45.212Z] Removing intermediate container e1a29d54ed87 [2020-03-29T22:55:45.212Z] ---> 82c86e325e1b [2020-03-29T22:55:45.212Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-29T22:55:45.212Z] ---> Running in f28972029ecd [2020-03-29T22:55:45.212Z] Removing intermediate container f28972029ecd [2020-03-29T22:55:45.212Z] ---> 153e39dd603f [2020-03-29T22:55:45.212Z] Step 14/20 : WORKDIR / [2020-03-29T22:55:45.212Z] ---> Running in de4ead16bc81 [2020-03-29T22:55:45.212Z] Removing intermediate container de4ead16bc81 [2020-03-29T22:55:45.212Z] ---> 914b1344f770 [2020-03-29T22:55:45.212Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-29T22:55:45.781Z] ---> 577ff6d3f89d [2020-03-29T22:55:45.781Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-29T22:55:45.781Z] ---> 8a0bbe608ab0 [2020-03-29T22:55:45.781Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-29T22:55:45.781Z] ---> Running in 20deef82a901 [2020-03-29T22:55:46.040Z] Removing intermediate container 20deef82a901 [2020-03-29T22:55:46.040Z] ---> 551f8c79cad3 [2020-03-29T22:55:46.040Z] Step 18/20 : LABEL arch=amd64 [2020-03-29T22:55:46.040Z] ---> Running in 44133b2bed00 [2020-03-29T22:55:46.040Z] Removing intermediate container 44133b2bed00 [2020-03-29T22:55:46.040Z] ---> 204e59da000a [2020-03-29T22:55:46.040Z] Step 19/20 : LABEL git_sha=00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:55:46.298Z] ---> Running in 8c2724a2e788 [2020-03-29T22:55:46.298Z] Removing intermediate container 8c2724a2e788 [2020-03-29T22:55:46.298Z] ---> 19dc863d2757 [2020-03-29T22:55:46.298Z] Step 20/20 : LABEL version=0.0.0 [2020-03-29T22:55:46.298Z] ---> Running in 61a5fe611a9e [2020-03-29T22:55:46.559Z] Removing intermediate container 61a5fe611a9e [2020-03-29T22:55:46.559Z] ---> 57ebcde7d16a [2020-03-29T22:55:46.559Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-29T22:55:46.559Z] Successfully built 57ebcde7d16a [2020-03-29T22:55:46.559Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-29T22:56:18.888Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-29T22:56:18.888Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-29T22:56:18.888Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-29T22:56:18.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 23.1% of statements [2020-03-29T22:56:18.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.188s coverage: 95.8% of statements [2020-03-29T22:56:18.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.089s coverage: 12.7% of statements [2020-03-29T22:56:18.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.068s coverage: 25.6% of statements [2020-03-29T22:56:51.171Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.052s coverage: 30.0% of statements [2020-03-29T22:56:51.171Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.293s coverage: 42.3% of statements [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-29T22:56:51.171Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.617s coverage: 79.5% of statements [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-29T22:56:51.171Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements [2020-03-29T22:56:51.171Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 76.1% of statements [2020-03-29T22:56:51.171Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-29T22:56:51.171Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-29T22:56:57.849Z] gofmt -l . [2020-03-29T22:56:57.849Z] [ "`gofmt -l .`" = "" ] [2020-03-29T22:56:57.849Z] ./bin/test-attribution-txt.sh [2020-03-29T22:56:58.119Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-29T22:56:58.716Z] Warning: overwriting stash ‘coverage-report’ [2020-03-29T22:56:59.166Z] Stashed 1 file(s) [Pipeline] } [2020-03-29T22:56:59.174Z] $ docker stop --time=1 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 [2020-03-29T22:57:01.326Z] $ docker rm -f 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-29T22:57:02.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-29T22:57:03.052Z] + ls -al . [2020-03-29T22:57:03.052Z] total 240 [2020-03-29T22:57:03.052Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 22:56 . [2020-03-29T22:57:03.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 .. [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 22:54 .dockerignore [2020-03-29T22:57:03.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:54 .git [2020-03-29T22:57:03.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:54 .github [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 29 22:54 .gitignore [2020-03-29T22:57:03.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:54 .semver [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 29 22:54 Dockerfile.build [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 29 22:54 Jenkinsfile [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 22:54 LICENSE [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 29 22:54 Makefile [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 29 22:54 README.md [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 22:51 VERSION [2020-03-29T22:57:03.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:54 api [2020-03-29T22:57:03.052Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 29 22:54 async.go [2020-03-29T22:57:03.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:54 bin [2020-03-29T22:57:03.052Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 29 22:56 coverage.out [2020-03-29T22:57:03.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 example [2020-03-29T22:57:03.052Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 29 22:56 go.mod [2020-03-29T22:57:03.053Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 29 22:56 go.sum [2020-03-29T22:57:03.053Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 29 22:54 internal [2020-03-29T22:57:03.053Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 29 22:54 manageddevices.go [2020-03-29T22:57:03.053Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 29 22:54 managedprofiles.go [2020-03-29T22:57:03.053Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 29 22:54 managedwatchers.go [2020-03-29T22:57:03.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 pkg [2020-03-29T22:57:03.053Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 29 22:54 service.go [2020-03-29T22:57:03.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 snap [2020-03-29T22:57:03.053Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 22:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:57:03.391Z] + 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=00653bff75031769b17374a6b15ddb1c4ef00afb --label arch=arm64 --label version=0.0.0 . [2020-03-29T22:57:04.010Z] Sending build context to Docker daemon 2.866MB [2020-03-29T22:57:04.010Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-29T22:57:04.010Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-29T22:57:04.010Z] ---> 15a70da5babd [2020-03-29T22:57:04.010Z] Step 3/20 : ARG MAKE='make build' [2020-03-29T22:57:04.278Z] ---> Running in e282f7a8d2d3 [2020-03-29T22:57:04.548Z] Removing intermediate container e282f7a8d2d3 [2020-03-29T22:57:04.548Z] ---> b5115fd1a2be [2020-03-29T22:57:04.548Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-29T22:57:04.548Z] ---> Running in 84d41a2713ed [2020-03-29T22:57:05.135Z] Removing intermediate container 84d41a2713ed [2020-03-29T22:57:05.135Z] ---> c81e0ce2a232 [2020-03-29T22:57:05.135Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:57:05.135Z] ---> Running in da7e090cffe3 [2020-03-29T22:57:05.402Z] Removing intermediate container da7e090cffe3 [2020-03-29T22:57:05.402Z] ---> ff16dd89bbd9 [2020-03-29T22:57:05.402Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-29T22:57:05.675Z] ---> Running in ec7ceabf35fa [2020-03-29T22:57:07.623Z] Removing intermediate container ec7ceabf35fa [2020-03-29T22:57:07.623Z] ---> d46c36c81db2 [2020-03-29T22:57:07.623Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-29T22:57:07.623Z] ---> Running in 52938d5effe4 [2020-03-29T22:57:08.208Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-29T22:57:09.165Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-29T22:57:09.749Z] OK: 125 MiB in 39 packages [2020-03-29T22:57:10.711Z] Removing intermediate container 52938d5effe4 [2020-03-29T22:57:10.711Z] ---> 20530979ed6f [2020-03-29T22:57:10.711Z] Step 8/20 : COPY . . [2020-03-29T22:57:12.124Z] ---> fd6cf3ad5b55 [2020-03-29T22:57:12.124Z] Step 9/20 : RUN ${MAKE} [2020-03-29T22:57:12.124Z] ---> Running in f342768ebb53 [2020-03-29T22:57:12.717Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-29T22:57:51.648Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-29T22:58:01.745Z] Removing intermediate container f342768ebb53 [2020-03-29T22:58:01.745Z] ---> cc501f140f3b [2020-03-29T22:58:01.745Z] Step 10/20 : FROM scratch [2020-03-29T22:58:01.745Z] ---> [2020-03-29T22:58:01.745Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-29T22:58:01.745Z] ---> Running in 0444c45e662e [2020-03-29T22:58:01.745Z] Removing intermediate container 0444c45e662e [2020-03-29T22:58:01.745Z] ---> fada770235b1 [2020-03-29T22:58:01.745Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-29T22:58:01.745Z] ---> Running in 77b2041da457 [2020-03-29T22:58:01.745Z] Removing intermediate container 77b2041da457 [2020-03-29T22:58:01.745Z] ---> 9ddcec5b3378 [2020-03-29T22:58:01.745Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-29T22:58:01.745Z] ---> Running in f31819df0c0a [2020-03-29T22:58:01.745Z] Removing intermediate container f31819df0c0a [2020-03-29T22:58:01.745Z] ---> cb75064631ca [2020-03-29T22:58:01.745Z] Step 14/20 : WORKDIR / [2020-03-29T22:58:01.745Z] ---> Running in 4b7e5fd9807e [2020-03-29T22:58:01.745Z] Removing intermediate container 4b7e5fd9807e [2020-03-29T22:58:01.745Z] ---> e3a7338fdbe9 [2020-03-29T22:58:01.745Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-29T22:58:03.160Z] ---> 086fd81e7e27 [2020-03-29T22:58:03.160Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-29T22:58:03.428Z] ---> 7f653fa22290 [2020-03-29T22:58:03.428Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-29T22:58:03.695Z] ---> Running in e0fe4751bc46 [2020-03-29T22:58:03.963Z] Removing intermediate container e0fe4751bc46 [2020-03-29T22:58:03.963Z] ---> 911ae3cb3ce5 [2020-03-29T22:58:03.963Z] Step 18/20 : LABEL arch=arm64 [2020-03-29T22:58:04.231Z] ---> Running in 5f9c6c41cce6 [2020-03-29T22:58:04.500Z] Removing intermediate container 5f9c6c41cce6 [2020-03-29T22:58:04.500Z] ---> 80d11002b796 [2020-03-29T22:58:04.500Z] Step 19/20 : LABEL git_sha=00653bff75031769b17374a6b15ddb1c4ef00afb [2020-03-29T22:58:04.500Z] ---> Running in cc8e24aa859e [2020-03-29T22:58:04.772Z] Removing intermediate container cc8e24aa859e [2020-03-29T22:58:04.772Z] ---> b115e1246899 [2020-03-29T22:58:04.772Z] Step 20/20 : LABEL version=0.0.0 [2020-03-29T22:58:05.039Z] ---> Running in 31664a573627 [2020-03-29T22:58:05.307Z] Removing intermediate container 31664a573627 [2020-03-29T22:58:05.307Z] ---> 1447fbec5955 [2020-03-29T22:58:05.307Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-29T22:58:05.307Z] Successfully built 1447fbec5955 [2020-03-29T22:58:05.307Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-29T22:58:06.285Z] provisioning config files... [2020-03-29T22:58:06.297Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config4508614384170748168tmp [Pipeline] { [Pipeline] sh [2020-03-29T22:58:06.640Z] + curl -s https://codecov.io/bash [2020-03-29T22:58:06.640Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config4508614384170748168tmp [2020-03-29T22:58:06.900Z] [2020-03-29T22:58:06.900Z] _____ _ [2020-03-29T22:58:06.900Z] / ____| | | [2020-03-29T22:58:06.900Z] | | ___ __| | ___ ___ _____ __ [2020-03-29T22:58:06.900Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-29T22:58:06.900Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-29T22:58:06.900Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-29T22:58:06.900Z] Bash-tbd [2020-03-29T22:58:06.900Z] [2020-03-29T22:58:06.900Z] [2020-03-29T22:58:06.900Z] ==> Jenkins CI detected. [2020-03-29T22:58:06.900Z] project root: . [2020-03-29T22:58:06.900Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-29T22:58:06.900Z] ==> Running gcov in . (disable via -X gcov) [2020-03-29T22:58:06.900Z] ==> Python coveragepy not found [2020-03-29T22:58:06.900Z] ==> Searching for coverage reports in: [2020-03-29T22:58:06.900Z] + . [2020-03-29T22:58:06.900Z] -> Found 1 reports [2020-03-29T22:58:06.900Z] ==> Detecting git/mercurial file structure [2020-03-29T22:58:06.900Z] ==> Reading reports [2020-03-29T22:58:06.900Z] + ./coverage.out bytes=100201 [2020-03-29T22:58:06.900Z] ==> Appending adjustments [2020-03-29T22:58:06.900Z] http://docs.codecov.io/docs/fixing-reports [2020-03-29T22:58:07.159Z] + Found adjustments [2020-03-29T22:58:07.419Z] ==> Gzipping contents [2020-03-29T22:58:07.419Z] ==> Uploading reports [2020-03-29T22:58:07.419Z] url: https://codecov.io [2020-03-29T22:58:07.419Z] query: branch=PR-467&commit=00653bff75031769b17374a6b15ddb1c4ef00afb&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-29T22:58:07.419Z] -> Pinging Codecov [2020-03-29T22:58:07.419Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=00653bff75031769b17374a6b15ddb1c4ef00afb&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-29T22:58:07.679Z] -> Uploading [2020-03-29T22:58:08.248Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00653bff75031769b17374a6b15ddb1c4ef00afb [Pipeline] } [2020-03-29T22:58:08.255Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-29T22:58:09.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-29T22:58:09.699Z] ---> package-listing.sh [2020-03-29T22:58:09.699Z] ++ facter osfamily [2020-03-29T22:58:09.699Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-29T22:58:09.699Z] + OS_FAMILY=redhat [2020-03-29T22:58:09.699Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-29T22:58:09.699Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-29T22:58:09.699Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-29T22:58:09.699Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-29T22:58:09.699Z] + PACKAGES=/tmp/packages_start.txt [2020-03-29T22:58:09.699Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-29T22:58:09.699Z] + PACKAGES=/tmp/packages_end.txt [2020-03-29T22:58:09.699Z] + case "${OS_FAMILY}" in [2020-03-29T22:58:09.699Z] + rpm -qa [2020-03-29T22:58:09.699Z] + sort [2020-03-29T22:58:13.919Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-29T22:58:13.919Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-29T22:58:13.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-29T22:58:13.919Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-29T22:58:13.919Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [2020-03-29T22:58:13.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:58:14.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-29T22:58:14.399Z] [2020-03-29T22:58:14.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-29T22:58:14.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-29T22:58:14.729Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-29T22:58:14.729Z] c9b1b535fdd9: Pulling fs layer [2020-03-29T22:58:14.729Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-29T22:58:14.729Z] 756a868c4378: Pulling fs layer [2020-03-29T22:58:14.729Z] 444b2fc9a129: Pulling fs layer [2020-03-29T22:58:14.729Z] ea15f1150254: Pulling fs layer [2020-03-29T22:58:14.729Z] 41b27a9f41bf: Pulling fs layer [2020-03-29T22:58:14.729Z] 28c525ee5125: Pulling fs layer [2020-03-29T22:58:14.729Z] 094b1ea09ed8: Pulling fs layer [2020-03-29T22:58:14.729Z] 138eaada9080: Pulling fs layer [2020-03-29T22:58:14.729Z] 0622d0fa9048: Pulling fs layer [2020-03-29T22:58:14.729Z] ea15f1150254: Waiting [2020-03-29T22:58:14.729Z] 41b27a9f41bf: Waiting [2020-03-29T22:58:14.729Z] 28c525ee5125: Waiting [2020-03-29T22:58:14.729Z] 094b1ea09ed8: Waiting [2020-03-29T22:58:14.729Z] 138eaada9080: Waiting [2020-03-29T22:58:14.729Z] 0622d0fa9048: Waiting [2020-03-29T22:58:14.729Z] 444b2fc9a129: Waiting [2020-03-29T22:58:14.729Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-29T22:58:14.729Z] 2cc5ad85d9ab: Download complete [2020-03-29T22:58:14.729Z] 444b2fc9a129: Verifying Checksum [2020-03-29T22:58:14.729Z] 444b2fc9a129: Download complete [2020-03-29T22:58:14.729Z] c9b1b535fdd9: Verifying Checksum [2020-03-29T22:58:14.729Z] c9b1b535fdd9: Download complete [2020-03-29T22:58:14.729Z] ea15f1150254: Verifying Checksum [2020-03-29T22:58:14.729Z] ea15f1150254: Download complete [2020-03-29T22:58:14.996Z] 28c525ee5125: Verifying Checksum [2020-03-29T22:58:14.996Z] 28c525ee5125: Download complete [2020-03-29T22:58:15.279Z] 756a868c4378: Verifying Checksum [2020-03-29T22:58:15.279Z] 756a868c4378: Download complete [2020-03-29T22:58:15.279Z] c9b1b535fdd9: Pull complete [2020-03-29T22:58:15.279Z] 094b1ea09ed8: Verifying Checksum [2020-03-29T22:58:15.279Z] 094b1ea09ed8: Download complete [2020-03-29T22:58:15.279Z] 0622d0fa9048: Verifying Checksum [2020-03-29T22:58:15.279Z] 0622d0fa9048: Download complete [2020-03-29T22:58:15.279Z] 138eaada9080: Verifying Checksum [2020-03-29T22:58:15.279Z] 138eaada9080: Download complete [2020-03-29T22:58:15.542Z] 2cc5ad85d9ab: Pull complete [2020-03-29T22:58:15.803Z] 41b27a9f41bf: Verifying Checksum [2020-03-29T22:58:15.803Z] 41b27a9f41bf: Download complete [2020-03-29T22:58:17.182Z] 756a868c4378: Pull complete [2020-03-29T22:58:17.441Z] 444b2fc9a129: Pull complete [2020-03-29T22:58:17.699Z] ea15f1150254: Pull complete [2020-03-29T22:58:20.993Z] 41b27a9f41bf: Pull complete [2020-03-29T22:58:20.993Z] 28c525ee5125: Pull complete [2020-03-29T22:58:22.911Z] 094b1ea09ed8: Pull complete [2020-03-29T22:58:22.911Z] 138eaada9080: Pull complete [2020-03-29T22:58:23.172Z] 0622d0fa9048: Pull complete [2020-03-29T22:58:23.172Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-29T22:58:23.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-29T22:58:23.378Z] prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container [2020-03-29T22:58:23.427Z] $ 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-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-29T22:58:24.537Z] $ docker top 4fcfd3ee7e951e61635099f7018caf70ffc1b62ba94beec07e6612d6d9180288 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-29T22:58:24.786Z] provisioning config files... [2020-03-29T22:58:24.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config6459419204799729151tmp [Pipeline] { [Pipeline] echo [2020-03-29T22:58:24.856Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-29T22:58:25.154Z] ---> create-netrc.sh [Pipeline] echo [2020-03-29T22:58:25.160Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-29T22:58:25.450Z] ---> logs-deploy.sh [2020-03-29T22:58:25.450Z] + ARCHIVE_ARTIFACTS= [2020-03-29T22:58:25.450Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-29T22:58:25.450Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-29T22:58:25.450Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-29T22:58:25.450Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 [2020-03-29T22:58:25.450Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/7/ [2020-03-29T22:58:25.450Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-29T22:58:26.827Z] Archives upload complete. [2020-03-29T22:58:26.827Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/7/ [2020-03-29T22:58:27.396Z] ---> uname -a: [2020-03-29T22:58:27.396Z] Linux 4fcfd3ee7e95 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-29T22:58:27.396Z] [2020-03-29T22:58:27.396Z] [2020-03-29T22:58:27.396Z] ---> lscpu: [2020-03-29T22:58:27.396Z] Architecture: x86_64 [2020-03-29T22:58:27.396Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-29T22:58:27.396Z] Byte Order: Little Endian [2020-03-29T22:58:27.397Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-29T22:58:27.397Z] CPU(s): 4 [2020-03-29T22:58:27.397Z] On-line CPU(s) list: 0-3 [2020-03-29T22:58:27.397Z] Thread(s) per core: 1 [2020-03-29T22:58:27.397Z] Core(s) per socket: 1 [2020-03-29T22:58:27.397Z] Socket(s): 4 [2020-03-29T22:58:27.397Z] NUMA node(s): 1 [2020-03-29T22:58:27.397Z] Vendor ID: GenuineIntel [2020-03-29T22:58:27.397Z] CPU family: 6 [2020-03-29T22:58:27.397Z] Model: 44 [2020-03-29T22:58:27.397Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-29T22:58:27.397Z] Stepping: 1 [2020-03-29T22:58:27.397Z] CPU MHz: 2933.442 [2020-03-29T22:58:27.397Z] BogoMIPS: 5866.88 [2020-03-29T22:58:27.397Z] Virtualization: VT-x [2020-03-29T22:58:27.397Z] Hypervisor vendor: KVM [2020-03-29T22:58:27.397Z] Virtualization type: full [2020-03-29T22:58:27.397Z] L1d cache: 128 KiB [2020-03-29T22:58:27.397Z] L1i cache: 128 KiB [2020-03-29T22:58:27.397Z] L2 cache: 16 MiB [2020-03-29T22:58:27.397Z] L3 cache: 64 MiB [2020-03-29T22:58:27.397Z] NUMA node0 CPU(s): 0-3 [2020-03-29T22:58:27.397Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-29T22:58:27.397Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-29T22:58:27.397Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-29T22:58:27.397Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-29T22:58:27.397Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-29T22:58:27.397Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] ---> nproc: [2020-03-29T22:58:27.397Z] 4 [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] ---> df -h: [2020-03-29T22:58:27.397Z] Filesystem Size Used Available Use% Mounted on [2020-03-29T22:58:27.397Z] overlay 50.0G 6.4G 43.6G 13% / [2020-03-29T22:58:27.397Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-03-29T22:58:27.397Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-03-29T22:58:27.397Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp [2020-03-29T22:58:27.397Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] ---> free -m: [2020-03-29T22:58:27.397Z] total used free shared buff/cache available [2020-03-29T22:58:27.397Z] Mem: 1838 599 75 0 1163 1134 [2020-03-29T22:58:27.397Z] Swap: 1023 0 1023 [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z] ---> ip addr: [2020-03-29T22:58:27.397Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-03-29T22:58:27.397Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-03-29T22:58:27.397Z] inet 127.0.0.1/8 scope host lo [2020-03-29T22:58:27.397Z] valid_lft forever preferred_lft forever [2020-03-29T22:58:27.397Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-03-29T22:58:27.397Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-03-29T22:58:27.397Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-03-29T22:58:27.397Z] valid_lft forever preferred_lft forever [2020-03-29T22:58:27.397Z] [2020-03-29T22:58:27.397Z]