Pull request #490 opened 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 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f+fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (d309b4cc717269dd9622cd0bf7813ad0454adc5d) Running in Durability level: MAX_SURVIVABILITY 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-490/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 > git --version # 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4404’ Running on prd-centos7-docker-4c-2g-4409 in /w/workspace/dgexfoundry_device-sdk-go_PR-490 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-490 # 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/490/head:refs/remotes/origin/PR-490 +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/490/head:refs/remotes/origin/PR-490 # 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/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f Merge succeeded, producing 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f Checking out Revision 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f (PR-490) > git config core.sparsecheckout # timeout=10 > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # 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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # timeout=10 Commit message: "Allow device service to set empty logfile path" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-17T03:25:57.096Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-17T03:25:57.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-17T03:25:57.546Z] ========================================================= [2020-04-17T03:25:57.546Z] EdgeX Global Pipelines Version Info [2020-04-17T03:25:57.546Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-17T03:25:59.036Z] ------------------- [2020-04-17T03:25:59.036Z] stable info: [2020-04-17T03:25:59.036Z] ------------------- [2020-04-17T03:25:59.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-17T03:25:59.036Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T03:25:59.036Z] Message: update stable to v1.0.73 [2020-04-17T03:25:59.606Z] ------------------- [2020-04-17T03:25:59.606Z] experimental info: [2020-04-17T03:25:59.606Z] ------------------- [2020-04-17T03:25:59.606Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-17T03:25:59.606Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T03:25:59.606Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:26:02.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T03:26:02.288Z] [2020-04-17T03:26:02.288Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:26:02.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T03:26:02.694Z] latest: Pulling from edgex-devops/git-semver [2020-04-17T03:26:02.694Z] 9123ac7c32f7: Pulling fs layer [2020-04-17T03:26:02.694Z] b8cc5d1170e3: Pulling fs layer [2020-04-17T03:26:02.694Z] 2924cbbf6a41: Pulling fs layer [2020-04-17T03:26:02.694Z] 93b08a4f1073: Pulling fs layer [2020-04-17T03:26:02.694Z] 93b08a4f1073: Waiting [2020-04-17T03:26:02.970Z] b8cc5d1170e3: Verifying Checksum [2020-04-17T03:26:02.970Z] b8cc5d1170e3: Download complete [2020-04-17T03:26:02.970Z] 9123ac7c32f7: Verifying Checksum [2020-04-17T03:26:02.970Z] 9123ac7c32f7: Download complete [2020-04-17T03:26:02.970Z] 93b08a4f1073: Verifying Checksum [2020-04-17T03:26:02.970Z] 93b08a4f1073: Download complete [2020-04-17T03:26:02.970Z] 2924cbbf6a41: Verifying Checksum [2020-04-17T03:26:02.970Z] 2924cbbf6a41: Download complete [2020-04-17T03:26:03.239Z] 9123ac7c32f7: Pull complete [2020-04-17T03:26:03.239Z] b8cc5d1170e3: Pull complete [2020-04-17T03:26:04.185Z] 2924cbbf6a41: Pull complete [2020-04-17T03:26:04.444Z] 93b08a4f1073: Pull complete [2020-04-17T03:26:04.444Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-17T03:26:04.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-17T03:26:04.883Z] prd-centos7-docker-4c-2g-4409 does not seem to be running inside a container [2020-04-17T03:26:04.929Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-490 -v /w/workspace/dgexfoundry_device-sdk-go_PR-490:/w/workspace/dgexfoundry_device-sdk-go_PR-490:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-490@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-17T03:26:05.659Z] $ docker top 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T03:26:06.023Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T03:26:06.023Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T03:26:06.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T03:26:06.287Z] $ docker exec 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc ssh-agent [2020-04-17T03:26:06.538Z] SSH_AUTH_SOCK=/tmp/ssh-FakFrIsBeJL6/agent.15 [2020-04-17T03:26:06.538Z] SSH_AGENT_PID=21 [2020-04-17T03:26:06.548Z] Running ssh-add (command line suppressed) [2020-04-17T03:26:06.701Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/private_key_1317974420388870897.key (/w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/private_key_1317974420388870897.key) [2020-04-17T03:26:06.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T03:26:07.111Z] + git describe --exact-match --tags HEAD [2020-04-17T03:26:07.111Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-17T03:26:07.186Z] $ docker exec --env ******** --env ******** 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc ssh-agent -k [2020-04-17T03:26:07.350Z] unset SSH_AUTH_SOCK; [2020-04-17T03:26:07.351Z] unset SSH_AGENT_PID; [2020-04-17T03:26:07.351Z] echo Agent pid 21 killed; [2020-04-17T03:26:07.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-17T03:26:07.523Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-17T03:26:07.523Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-17T03:26:07.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T03:26:07.652Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T03:26:07.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T03:26:07.880Z] $ docker exec 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc ssh-agent [2020-04-17T03:26:08.082Z] SSH_AUTH_SOCK=/tmp/ssh-iIzT6zaiZ7qH/agent.55 [2020-04-17T03:26:08.082Z] SSH_AGENT_PID=62 [2020-04-17T03:26:08.087Z] Running ssh-add (command line suppressed) [2020-04-17T03:26:08.236Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/private_key_1000419486837873521.key (/w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/private_key_1000419486837873521.key) [2020-04-17T03:26:08.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T03:26:08.652Z] + git semver init [2020-04-17T03:26:08.652Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T03:26:08.652Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-490/.git [2020-04-17T03:26:08.652Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-490 [2020-04-17T03:26:08.652Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T03:26:08.652Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T03:26:08.652Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T03:26:08.652Z] # $SEMVER_BRANCH = PR-490 [2020-04-17T03:26:08.652Z] # $SEMVER_TEMP = /tmp/semver-490025985 [2020-04-17T03:26:08.652Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-17T03:26:09.222Z] # '/tmp/semver-490025985' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-490/.semver' [2020-04-17T03:26:09.223Z] # -> Force: false [2020-04-17T03:26:09.223Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-490/.semver [Pipeline] } [2020-04-17T03:26:09.243Z] $ docker exec --env ******** --env ******** 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc ssh-agent -k [2020-04-17T03:26:09.399Z] unset SSH_AUTH_SOCK; [2020-04-17T03:26:09.400Z] unset SSH_AGENT_PID; [2020-04-17T03:26:09.400Z] echo Agent pid 62 killed; [2020-04-17T03:26:09.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T03:26:10.016Z] + git semver [Pipeline] } [2020-04-17T03:26:10.043Z] $ docker stop --time=1 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc [2020-04-17T03:26:11.451Z] $ docker rm -f 0001e2ce029de957a75d05395d6c6d040983fe018eaaca60ed5fcf81e2ec0bdc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-17T03:26:12.526Z] Stashed 44 file(s) [Pipeline] echo [2020-04-17T03:26:12.544Z] [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-17T03:26:28.031Z] Still waiting to schedule task [2020-04-17T03:26:28.031Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-17T03:26:28.053Z] Still waiting to schedule task [2020-04-17T03:26:28.053Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-17T03:28:20.131Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4410 in /w/workspace/dgexfoundry_device-sdk-go_PR-490 [Pipeline] { [Pipeline] ws [2020-04-17T03:28:20.235Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T03:28:26.380Z] using credential edgex-jenkins-ssh [2020-04-17T03:28:26.444Z] Cloning the remote Git repository [2020-04-17T03:28:26.445Z] Cloning with configured refspecs honoured and without tags [2020-04-17T03:28:26.518Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:26.607Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-17T03:28:27.830Z] Fetching without tags [2020-04-17T03:28:26.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:26.704Z] > git --version # timeout=10 [2020-04-17T03:28:26.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:26.809Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:27.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T03:28:27.741Z] > git config --add remote.origin.fetch +refs/pull/490/head:refs/remotes/origin/PR-490 # timeout=10 [2020-04-17T03:28:27.770Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:27.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T03:28:27.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:27.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:27.869Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:28.360Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:28:28.710Z] Merge succeeded, producing 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:28:28.710Z] Checking out Revision 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f (PR-490) [2020-04-17T03:28:28.404Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T03:28:28.446Z] > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # timeout=10 [2020-04-17T03:28:28.571Z] > git remote # timeout=10 [2020-04-17T03:28:28.625Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T03:28:28.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:28.665Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-17T03:28:28.696Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T03:28:28.720Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T03:28:28.740Z] > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # timeout=10 [2020-04-17T03:28:33.679Z] Commit message: "Allow device service to set empty logfile path" [2020-04-17T03:28:33.736Z] > git --version # timeout=10 [2020-04-17T03:28:33.758Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T03:28:35.272Z] ========================================================= [2020-04-17T03:28:35.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-17T03:28:35.272Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:28:36.384Z] + 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-17T03:28:37.362Z] Sending build context to Docker daemon 2.878MB [2020-04-17T03:28:37.362Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T03:28:37.362Z] Step 2/8 : FROM ${BASE} [2020-04-17T03:28:37.954Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-17T03:28:37.954Z] cde5963f3b93: Pulling fs layer [2020-04-17T03:28:37.954Z] 2a23fa8c16f7: Pulling fs layer [2020-04-17T03:28:37.954Z] 777b28850792: Pulling fs layer [2020-04-17T03:28:37.954Z] 8a11ddd9e578: Pulling fs layer [2020-04-17T03:28:37.954Z] 4cf88f913ddb: Pulling fs layer [2020-04-17T03:28:37.954Z] 1df406cf5192: Pulling fs layer [2020-04-17T03:28:37.954Z] cd6300453558: Pulling fs layer [2020-04-17T03:28:37.954Z] b9c365052c96: Pulling fs layer [2020-04-17T03:28:37.954Z] a2d8cc88f415: Pulling fs layer [2020-04-17T03:28:37.954Z] ea1d1ca13537: Pulling fs layer [2020-04-17T03:28:37.954Z] 3750a50a1c5e: Pulling fs layer [2020-04-17T03:28:37.954Z] cd6300453558: Waiting [2020-04-17T03:28:37.954Z] 1df406cf5192: Waiting [2020-04-17T03:28:37.954Z] a2d8cc88f415: Waiting [2020-04-17T03:28:37.954Z] ea1d1ca13537: Waiting [2020-04-17T03:28:37.954Z] 3750a50a1c5e: Waiting [2020-04-17T03:28:37.954Z] b9c365052c96: Waiting [2020-04-17T03:28:37.954Z] 8a11ddd9e578: Waiting [2020-04-17T03:28:37.954Z] 4cf88f913ddb: Waiting [2020-04-17T03:28:37.954Z] 777b28850792: Verifying Checksum [2020-04-17T03:28:37.954Z] 777b28850792: Download complete [2020-04-17T03:28:37.954Z] 2a23fa8c16f7: Download complete [2020-04-17T03:28:37.954Z] 4cf88f913ddb: Verifying Checksum [2020-04-17T03:28:37.954Z] 4cf88f913ddb: Download complete [2020-04-17T03:28:38.229Z] 1df406cf5192: Verifying Checksum [2020-04-17T03:28:38.229Z] 1df406cf5192: Download complete [2020-04-17T03:28:38.229Z] cde5963f3b93: Download complete [2020-04-17T03:28:39.224Z] cde5963f3b93: Pull complete [2020-04-17T03:28:39.818Z] 2a23fa8c16f7: Pull complete [2020-04-17T03:28:40.792Z] 777b28850792: Pull complete [2020-04-17T03:28:42.218Z] cd6300453558: Verifying Checksum [2020-04-17T03:28:42.218Z] cd6300453558: Download complete [2020-04-17T03:28:42.218Z] a2d8cc88f415: Verifying Checksum [2020-04-17T03:28:42.218Z] a2d8cc88f415: Download complete [2020-04-17T03:28:44.834Z] ea1d1ca13537: Verifying Checksum [2020-04-17T03:28:44.834Z] ea1d1ca13537: Download complete [2020-04-17T03:28:45.107Z] 3750a50a1c5e: Verifying Checksum [2020-04-17T03:28:45.107Z] 3750a50a1c5e: Download complete [2020-04-17T03:28:47.714Z] b9c365052c96: Verifying Checksum [2020-04-17T03:28:47.714Z] b9c365052c96: Download complete [2020-04-17T03:28:49.129Z] 8a11ddd9e578: Verifying Checksum [2020-04-17T03:28:49.129Z] 8a11ddd9e578: Download complete [2020-04-17T03:28:54.662Z] Running on prd-centos7-docker-4c-2g-4411 in /w/workspace/dgexfoundry_device-sdk-go_PR-490 [Pipeline] { [Pipeline] ws [2020-04-17T03:28:54.783Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T03:28:56.896Z] using credential edgex-jenkins-ssh [2020-04-17T03:28:56.954Z] Cloning the remote Git repository [2020-04-17T03:28:56.954Z] Cloning with configured refspecs honoured and without tags [2020-04-17T03:28:56.977Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:57.013Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-17T03:28:57.051Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:57.051Z] > git --version # timeout=10 [2020-04-17T03:28:57.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:57.084Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:57.641Z] Fetching without tags [2020-04-17T03:28:58.043Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:28:58.138Z] Merge succeeded, producing 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:28:58.138Z] Checking out Revision 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f (PR-490) [2020-04-17T03:28:57.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T03:28:57.613Z] > git config --add remote.origin.fetch +refs/pull/490/head:refs/remotes/origin/PR-490 # timeout=10 [2020-04-17T03:28:57.620Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:57.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T03:28:57.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T03:28:57.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:57.649Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T03:28:58.052Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T03:28:58.057Z] > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # timeout=10 [2020-04-17T03:28:58.105Z] > git remote # timeout=10 [2020-04-17T03:28:58.109Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T03:28:58.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T03:28:58.117Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-17T03:28:58.126Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T03:28:58.141Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T03:28:58.146Z] > git checkout -f 8fe0f242cdac0ba83404bcbf9b836593c0b3d97f # timeout=10 [2020-04-17T03:29:01.495Z] 8a11ddd9e578: Pull complete [2020-04-17T03:29:01.495Z] 4cf88f913ddb: Pull complete [2020-04-17T03:29:01.495Z] 1df406cf5192: Pull complete [2020-04-17T03:29:02.697Z] Commit message: "Allow device service to set empty logfile path" [2020-04-17T03:29:02.719Z] > git --version # timeout=10 [2020-04-17T03:29:02.730Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T03:29:03.713Z] ========================================================= [2020-04-17T03:29:03.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-17T03:29:03.713Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:29:04.419Z] + 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-17T03:29:04.419Z] Sending build context to Docker daemon 2.878MB [2020-04-17T03:29:04.419Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T03:29:04.419Z] Step 2/8 : FROM ${BASE} [2020-04-17T03:29:04.680Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-17T03:29:04.680Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T03:29:04.680Z] 2848faf0eed1: Pulling fs layer [2020-04-17T03:29:04.680Z] 0f37312ad70f: Pulling fs layer [2020-04-17T03:29:04.680Z] 5788d62ee057: Pulling fs layer [2020-04-17T03:29:04.680Z] 0e6b1d234666: Pulling fs layer [2020-04-17T03:29:04.680Z] bf5d7aec512f: Pulling fs layer [2020-04-17T03:29:04.680Z] 34c802a77dc8: Pulling fs layer [2020-04-17T03:29:04.680Z] 9eb99e56ec68: Pulling fs layer [2020-04-17T03:29:04.680Z] 27c7a5d97fbd: Pulling fs layer [2020-04-17T03:29:04.680Z] 5c102a31e300: Pulling fs layer [2020-04-17T03:29:04.680Z] dcfb455df0a1: Pulling fs layer [2020-04-17T03:29:04.680Z] 5788d62ee057: Waiting [2020-04-17T03:29:04.680Z] 0e6b1d234666: Waiting [2020-04-17T03:29:04.680Z] bf5d7aec512f: Waiting [2020-04-17T03:29:04.680Z] 34c802a77dc8: Waiting [2020-04-17T03:29:04.680Z] 9eb99e56ec68: Waiting [2020-04-17T03:29:04.680Z] 27c7a5d97fbd: Waiting [2020-04-17T03:29:04.680Z] 5c102a31e300: Waiting [2020-04-17T03:29:04.680Z] dcfb455df0a1: Waiting [2020-04-17T03:29:04.680Z] 2848faf0eed1: Verifying Checksum [2020-04-17T03:29:04.680Z] 2848faf0eed1: Download complete [2020-04-17T03:29:04.680Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T03:29:04.680Z] e6b0cf9c0882: Download complete [2020-04-17T03:29:04.680Z] 0e6b1d234666: Verifying Checksum [2020-04-17T03:29:04.680Z] 0e6b1d234666: Download complete [2020-04-17T03:29:04.680Z] bf5d7aec512f: Verifying Checksum [2020-04-17T03:29:04.680Z] bf5d7aec512f: Download complete [2020-04-17T03:29:04.853Z] cd6300453558: Pull complete [2020-04-17T03:29:04.945Z] 0f37312ad70f: Verifying Checksum [2020-04-17T03:29:04.945Z] 0f37312ad70f: Download complete [2020-04-17T03:29:04.945Z] e6b0cf9c0882: Pull complete [2020-04-17T03:29:05.209Z] 2848faf0eed1: Pull complete [2020-04-17T03:29:05.469Z] 34c802a77dc8: Verifying Checksum [2020-04-17T03:29:05.469Z] 34c802a77dc8: Download complete [2020-04-17T03:29:05.469Z] 27c7a5d97fbd: Verifying Checksum [2020-04-17T03:29:05.469Z] 27c7a5d97fbd: Download complete [2020-04-17T03:29:06.043Z] 5c102a31e300: Verifying Checksum [2020-04-17T03:29:06.043Z] 5c102a31e300: Download complete [2020-04-17T03:29:06.303Z] 5788d62ee057: Verifying Checksum [2020-04-17T03:29:06.303Z] 5788d62ee057: Download complete [2020-04-17T03:29:06.303Z] dcfb455df0a1: Verifying Checksum [2020-04-17T03:29:06.303Z] dcfb455df0a1: Download complete [2020-04-17T03:29:06.563Z] 9eb99e56ec68: Verifying Checksum [2020-04-17T03:29:06.563Z] 9eb99e56ec68: Download complete [2020-04-17T03:29:07.499Z] 0f37312ad70f: Pull complete [2020-04-17T03:29:09.116Z] b9c365052c96: Pull complete [2020-04-17T03:29:09.116Z] a2d8cc88f415: Pull complete [2020-04-17T03:29:11.085Z] ea1d1ca13537: Pull complete [2020-04-17T03:29:11.671Z] 3750a50a1c5e: Pull complete [2020-04-17T03:29:11.671Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-17T03:29:11.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-17T03:29:11.671Z] ---> 78745c68409d [2020-04-17T03:29:11.671Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:29:12.780Z] 5788d62ee057: Pull complete [2020-04-17T03:29:12.780Z] 0e6b1d234666: Pull complete [2020-04-17T03:29:13.039Z] bf5d7aec512f: Pull complete [2020-04-17T03:29:17.048Z] ---> Running in caf1f605eb04 [2020-04-17T03:29:17.048Z] Removing intermediate container caf1f605eb04 [2020-04-17T03:29:17.048Z] ---> 5e16ee07560d [2020-04-17T03:29:17.048Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T03:29:17.048Z] ---> Running in f5985c6c72f5 [2020-04-17T03:29:18.347Z] 34c802a77dc8: Pull complete [2020-04-17T03:29:19.003Z] Removing intermediate container f5985c6c72f5 [2020-04-17T03:29:19.003Z] ---> 6ef77c7dd4ed [2020-04-17T03:29:19.003Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T03:29:19.003Z] ---> Running in d8e1e78bdea6 [2020-04-17T03:29:19.964Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T03:29:20.924Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T03:29:21.191Z] OK: 125 MiB in 39 packages [2020-04-17T03:29:22.555Z] 9eb99e56ec68: Pull complete [2020-04-17T03:29:22.555Z] 27c7a5d97fbd: Pull complete [2020-04-17T03:29:22.612Z] Removing intermediate container d8e1e78bdea6 [2020-04-17T03:29:22.612Z] ---> 9e85c63cc865 [2020-04-17T03:29:22.612Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T03:29:22.612Z] ---> Running in 5715db463180 [2020-04-17T03:29:22.881Z] Removing intermediate container 5715db463180 [2020-04-17T03:29:22.881Z] ---> 10677002d761 [2020-04-17T03:29:22.881Z] Step 7/8 : COPY . . [2020-04-17T03:29:23.126Z] 5c102a31e300: Pull complete [2020-04-17T03:29:23.126Z] dcfb455df0a1: Pull complete [2020-04-17T03:29:23.126Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-17T03:29:23.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-17T03:29:23.126Z] ---> 7c70fe431013 [2020-04-17T03:29:23.126Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:29:23.385Z] ---> Running in 7aec7ea72b8a [2020-04-17T03:29:23.385Z] Removing intermediate container 7aec7ea72b8a [2020-04-17T03:29:23.385Z] ---> 259cac9f6840 [2020-04-17T03:29:23.385Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T03:29:23.385Z] ---> Running in 37a5d58a1300 [2020-04-17T03:29:24.293Z] ---> b5415ee17b34 [2020-04-17T03:29:24.293Z] Step 8/8 : RUN go mod download [2020-04-17T03:29:24.293Z] ---> Running in f95481464565 [2020-04-17T03:29:24.328Z] Removing intermediate container 37a5d58a1300 [2020-04-17T03:29:24.328Z] ---> 0a1b6122a4e4 [2020-04-17T03:29:24.328Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T03:29:24.328Z] ---> Running in 19ec5a02c145 [2020-04-17T03:29:24.895Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T03:29:25.468Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T03:29:25.728Z] OK: 143 MiB in 39 packages [2020-04-17T03:29:26.298Z] Removing intermediate container 19ec5a02c145 [2020-04-17T03:29:26.298Z] ---> ae3a25653567 [2020-04-17T03:29:26.298Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T03:29:26.298Z] ---> Running in bab79293a2fc [2020-04-17T03:29:26.298Z] Removing intermediate container bab79293a2fc [2020-04-17T03:29:26.298Z] ---> b2b7d541bd71 [2020-04-17T03:29:26.298Z] Step 7/8 : COPY . . [2020-04-17T03:29:26.868Z] ---> bd998b51101b [2020-04-17T03:29:26.868Z] Step 8/8 : RUN go mod download [2020-04-17T03:29:27.127Z] ---> Running in 5538dee74158 [2020-04-17T03:29:27.636Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T03:29:27.636Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T03:29:27.636Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T03:29:27.636Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T03:29:27.636Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T03:29:27.636Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T03:29:27.636Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T03:29:27.636Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T03:29:27.903Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T03:29:27.903Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T03:29:27.903Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T03:29:27.903Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T03:29:27.903Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T03:29:27.903Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T03:29:27.903Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T03:29:28.175Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T03:29:28.175Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T03:29:28.175Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T03:29:28.175Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T03:29:28.175Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T03:29:28.175Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T03:29:28.444Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T03:29:28.713Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T03:29:28.713Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T03:29:28.713Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T03:29:28.713Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T03:29:28.713Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T03:29:28.983Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T03:29:28.983Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T03:29:29.034Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T03:29:29.034Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T03:29:29.034Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T03:29:29.034Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T03:29:29.034Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T03:29:29.034Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T03:29:29.034Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T03:29:29.034Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T03:29:29.034Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T03:29:29.034Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T03:29:29.034Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T03:29:29.034Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T03:29:29.034Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T03:29:29.034Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T03:29:29.034Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T03:29:29.034Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T03:29:29.034Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T03:29:29.034Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T03:29:29.034Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T03:29:29.034Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T03:29:29.034Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T03:29:29.251Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T03:29:29.251Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T03:29:29.251Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T03:29:29.251Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T03:29:29.251Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T03:29:29.251Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T03:29:29.293Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T03:29:29.293Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T03:29:29.293Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T03:29:29.293Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T03:29:29.293Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T03:29:29.293Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T03:29:29.293Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T03:29:29.293Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T03:29:29.519Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T03:29:29.519Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T03:29:29.552Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T03:29:29.552Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T03:29:29.552Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T03:29:29.552Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T03:29:29.552Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T03:29:29.552Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T03:29:29.552Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T03:29:29.552Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T03:29:29.552Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T03:29:29.785Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T03:29:29.785Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T03:29:29.785Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T03:29:29.785Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T03:29:29.785Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T03:29:29.785Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T03:29:29.785Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T03:29:29.785Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T03:29:29.785Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T03:29:29.810Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T03:29:29.810Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T03:29:29.810Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T03:29:29.810Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T03:29:29.810Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T03:29:29.810Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T03:29:29.810Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T03:29:30.051Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T03:29:30.051Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T03:29:30.051Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T03:29:30.051Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T03:29:30.051Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T03:29:30.051Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T03:29:30.051Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T03:29:30.069Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T03:29:30.069Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T03:29:30.069Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T03:29:30.069Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T03:29:30.069Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T03:29:30.069Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T03:29:35.356Z] Removing intermediate container 5538dee74158 [2020-04-17T03:29:35.356Z] ---> 85dca97ab9d7 [2020-04-17T03:29:35.356Z] Successfully built 85dca97ab9d7 [2020-04-17T03:29:35.356Z] 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-17T03:29:36.226Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-17T03:29:36.226Z] . [Pipeline] withDockerContainer [2020-04-17T03:29:36.842Z] prd-centos7-docker-4c-2g-4411 does not seem to be running inside a container [2020-04-17T03:29:36.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-17T03:29:37.974Z] $ docker top df37bf6c2a7d181514af2405d467e81e07c2aa5cc73c15ff75b1037522fba908 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T03:29:38.498Z] + go version [2020-04-17T03:29:38.498Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-17T03:29:38.820Z] + make test [2020-04-17T03:29:38.820Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T03:29:39.394Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T03:29:40.145Z] Removing intermediate container f95481464565 [2020-04-17T03:29:40.145Z] ---> 1c05f720de07 [2020-04-17T03:29:40.145Z] Successfully built 1c05f720de07 [2020-04-17T03:29:40.145Z] 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-17T03:29:40.994Z] + docker inspect -f . ci-base-image-arm64 [2020-04-17T03:29:40.994Z] . [Pipeline] withDockerContainer [2020-04-17T03:29:41.637Z] prd-ubuntu18.04-docker-arm64-4c-16g-4410 does not seem to be running inside a container [2020-04-17T03:29:41.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-17T03:29:43.080Z] $ docker top ec167f0e25447f727978ac2e93c1437e5c2e44cec688862e10ac2ff1fb989846 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T03:29:44.191Z] + go version [2020-04-17T03:29:44.191Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-17T03:29:44.869Z] + make test [2020-04-17T03:29:44.869Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T03:29:45.842Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T03:29:49.414Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T03:29:49.414Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T03:29:49.414Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-04-17T03:29:54.713Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 95.8% of statements [2020-04-17T03:30:12.620Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T03:30:12.620Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T03:30:14.589Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.038s coverage: 22.1% of statements [2020-04-17T03:30:17.964Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.151s coverage: 95.8% of statements [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.195s coverage: 11.4% of statements [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.109s coverage: 38.5% of statements [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.497s coverage: 79.8% of statements [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T03:30:26.852Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 71.4% of statements [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T03:30:26.852Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T03:30:26.852Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T03:30:26.852Z] gofmt -l . [2020-04-17T03:30:26.852Z] [ "`gofmt -l .`" = "" ] [2020-04-17T03:30:26.852Z] ./bin/test-attribution-txt.sh [2020-04-17T03:30:27.419Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T03:30:27.697Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T03:30:27.712Z] $ docker stop --time=1 df37bf6c2a7d181514af2405d467e81e07c2aa5cc73c15ff75b1037522fba908 [2020-04-17T03:30:29.163Z] $ docker rm -f df37bf6c2a7d181514af2405d467e81e07c2aa5cc73c15ff75b1037522fba908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T03:30:30.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T03:30:31.025Z] + ls -al . [2020-04-17T03:30:31.025Z] total 160 [2020-04-17T03:30:31.025Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 17 03:30 . [2020-04-17T03:30:31.025Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 03:28 .. [2020-04-17T03:30:31.025Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 03:28 api [2020-04-17T03:30:31.025Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 03:28 bin [2020-04-17T03:30:31.025Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 17 03:30 coverage.out [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 17 03:28 Dockerfile.build [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 03:28 .dockerignore [2020-04-17T03:30:31.025Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 17 03:28 example [2020-04-17T03:30:31.025Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 03:29 .git [2020-04-17T03:30:31.025Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 03:28 .github [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 03:28 .gitignore [2020-04-17T03:30:31.025Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 17 03:30 go.mod [2020-04-17T03:30:31.025Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 17 03:30 go.sum [2020-04-17T03:30:31.025Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 17 03:28 internal [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 17 03:28 Jenkinsfile [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 03:28 LICENSE [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 17 03:28 Makefile [2020-04-17T03:30:31.025Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 03:28 pkg [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 17 03:28 README.md [2020-04-17T03:30:31.025Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 17 03:29 .semver [2020-04-17T03:30:31.025Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 03:28 snap [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 03:26 VERSION [2020-04-17T03:30:31.025Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 03:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:30:31.355Z] + 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=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f --label arch=amd64 --label version=0.0.0 . [2020-04-17T03:30:31.617Z] Sending build context to Docker daemon 2.996MB [2020-04-17T03:30:31.617Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T03:30:31.617Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T03:30:31.617Z] ---> 85dca97ab9d7 [2020-04-17T03:30:31.617Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T03:30:31.617Z] ---> Running in 43720cf3f7b4 [2020-04-17T03:30:31.617Z] Removing intermediate container 43720cf3f7b4 [2020-04-17T03:30:31.617Z] ---> 3057ebfae94a [2020-04-17T03:30:31.617Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T03:30:31.876Z] ---> Running in 5d7ae80354da [2020-04-17T03:30:31.876Z] Removing intermediate container 5d7ae80354da [2020-04-17T03:30:31.876Z] ---> d938e1cbefbf [2020-04-17T03:30:31.876Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:30:31.876Z] ---> Running in b41a24afd890 [2020-04-17T03:30:32.136Z] Removing intermediate container b41a24afd890 [2020-04-17T03:30:32.136Z] ---> 55d0d0eab1b2 [2020-04-17T03:30:32.136Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T03:30:32.136Z] ---> Running in d1e08fe09286 [2020-04-17T03:30:33.076Z] Removing intermediate container d1e08fe09286 [2020-04-17T03:30:33.076Z] ---> 4c4c7b311907 [2020-04-17T03:30:33.076Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T03:30:33.076Z] ---> Running in 530d0a49d5df [2020-04-17T03:30:33.335Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T03:30:33.902Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T03:30:34.162Z] OK: 143 MiB in 39 packages [2020-04-17T03:30:34.731Z] Removing intermediate container 530d0a49d5df [2020-04-17T03:30:34.731Z] ---> 6f04e69c633a [2020-04-17T03:30:34.731Z] Step 8/21 : COPY . . [2020-04-17T03:30:34.991Z] ---> f1ce7f766c24 [2020-04-17T03:30:34.991Z] Step 9/21 : RUN ${MAKE} [2020-04-17T03:30:34.991Z] ---> Running in f004226619ec [2020-04-17T03:30:35.560Z] 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-17T03:30:43.751Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T03:30:44.011Z] Removing intermediate container f004226619ec [2020-04-17T03:30:44.011Z] ---> 81c90f753cee [2020-04-17T03:30:44.011Z] Step 10/21 : FROM scratch [2020-04-17T03:30:44.011Z] ---> [2020-04-17T03:30:44.011Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:30:44.011Z] ---> Running in d17dcd9229c1 [2020-04-17T03:30:44.269Z] Removing intermediate container d17dcd9229c1 [2020-04-17T03:30:44.269Z] ---> 8f49e0bc87ed [2020-04-17T03:30:44.269Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T03:30:44.269Z] ---> Running in 9b89c1366aa5 [2020-04-17T03:30:44.531Z] Removing intermediate container 9b89c1366aa5 [2020-04-17T03:30:44.531Z] ---> b5fab0c37e47 [2020-04-17T03:30:44.531Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T03:30:44.531Z] ---> Running in 8a9f931aefdf [2020-04-17T03:30:44.531Z] Removing intermediate container 8a9f931aefdf [2020-04-17T03:30:44.531Z] ---> d98a20a8f938 [2020-04-17T03:30:44.531Z] Step 14/21 : WORKDIR / [2020-04-17T03:30:44.531Z] ---> Running in 558c3410f1da [2020-04-17T03:30:44.792Z] Removing intermediate container 558c3410f1da [2020-04-17T03:30:44.792Z] ---> 1a37f62dede2 [2020-04-17T03:30:44.792Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T03:30:45.053Z] ---> ae74de16bbb8 [2020-04-17T03:30:45.053Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T03:30:45.312Z] ---> 393aed5987c4 [2020-04-17T03:30:45.312Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T03:30:45.576Z] ---> f4a110105482 [2020-04-17T03:30:45.576Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T03:30:45.576Z] ---> Running in fb0e42075cce [2020-04-17T03:30:45.576Z] Removing intermediate container fb0e42075cce [2020-04-17T03:30:45.576Z] ---> 4260ffe35b11 [2020-04-17T03:30:45.576Z] Step 19/21 : LABEL arch=amd64 [2020-04-17T03:30:45.837Z] ---> Running in 24e6925ea197 [2020-04-17T03:30:45.837Z] Removing intermediate container 24e6925ea197 [2020-04-17T03:30:45.837Z] ---> 574d43a010ee [2020-04-17T03:30:45.837Z] Step 20/21 : LABEL git_sha=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:30:45.837Z] ---> Running in 4477b64154c6 [2020-04-17T03:30:46.096Z] Removing intermediate container 4477b64154c6 [2020-04-17T03:30:46.096Z] ---> 8a8dc1b1febb [2020-04-17T03:30:46.096Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T03:30:46.096Z] ---> Running in e593eddc12c4 [2020-04-17T03:30:46.096Z] Removing intermediate container e593eddc12c4 [2020-04-17T03:30:46.096Z] ---> bdbbb6b901e3 [2020-04-17T03:30:46.096Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T03:30:46.355Z] Successfully built bdbbb6b901e3 [2020-04-17T03:30:46.355Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.104s coverage: 11.4% of statements [2020-04-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.181s coverage: 38.5% of statements [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.661s coverage: 79.8% of statements [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T03:30:50.230Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 71.4% of statements [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T03:30:50.230Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T03:30:50.230Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T03:30:52.193Z] gofmt -l . [2020-04-17T03:30:52.779Z] [ "`gofmt -l .`" = "" ] [2020-04-17T03:30:53.047Z] ./bin/test-attribution-txt.sh [2020-04-17T03:30:53.636Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T03:30:54.257Z] Warning: overwriting stash ‘coverage-report’ [2020-04-17T03:30:54.717Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T03:30:54.740Z] $ docker stop --time=1 ec167f0e25447f727978ac2e93c1437e5c2e44cec688862e10ac2ff1fb989846 [2020-04-17T03:30:56.924Z] $ docker rm -f ec167f0e25447f727978ac2e93c1437e5c2e44cec688862e10ac2ff1fb989846 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T03:30:58.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T03:30:58.744Z] + ls -al . [2020-04-17T03:30:58.744Z] total 200 [2020-04-17T03:30:58.744Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 03:30 . [2020-04-17T03:30:58.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 03:28 .. [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 03:28 .dockerignore [2020-04-17T03:30:58.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 03:28 .git [2020-04-17T03:30:58.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 03:28 .github [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 03:28 .gitignore [2020-04-17T03:30:58.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 03:28 .semver [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 17 03:28 Dockerfile.build [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 17 03:28 Jenkinsfile [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 03:28 LICENSE [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 17 03:28 Makefile [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 17 03:28 README.md [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 03:26 VERSION [2020-04-17T03:30:58.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 03:28 api [2020-04-17T03:30:58.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 03:28 bin [2020-04-17T03:30:58.744Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 17 03:30 coverage.out [2020-04-17T03:30:58.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 03:28 example [2020-04-17T03:30:58.744Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 17 03:30 go.mod [2020-04-17T03:30:58.744Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 17 03:30 go.sum [2020-04-17T03:30:58.744Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 03:28 internal [2020-04-17T03:30:58.744Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 03:28 pkg [2020-04-17T03:30:58.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 03:28 snap [2020-04-17T03:30:58.744Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 03:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:30:59.095Z] + 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=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f --label arch=arm64 --label version=0.0.0 . [2020-04-17T03:30:59.685Z] Sending build context to Docker daemon 2.996MB [2020-04-17T03:30:59.685Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T03:30:59.685Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T03:30:59.685Z] ---> 1c05f720de07 [2020-04-17T03:30:59.685Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T03:30:59.685Z] ---> Running in 22dcc1bd87db [2020-04-17T03:31:00.270Z] Removing intermediate container 22dcc1bd87db [2020-04-17T03:31:00.270Z] ---> 9b46034e1fbd [2020-04-17T03:31:00.270Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T03:31:00.270Z] ---> Running in 8cfdca132259 [2020-04-17T03:31:00.538Z] Removing intermediate container 8cfdca132259 [2020-04-17T03:31:00.538Z] ---> c3eb4dd40cdf [2020-04-17T03:31:00.538Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:31:00.811Z] ---> Running in 4beb1eed369f [2020-04-17T03:31:01.078Z] Removing intermediate container 4beb1eed369f [2020-04-17T03:31:01.078Z] ---> 30f960799e40 [2020-04-17T03:31:01.078Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T03:31:01.345Z] ---> Running in 5b1bc894ff2e [2020-04-17T03:31:03.306Z] Removing intermediate container 5b1bc894ff2e [2020-04-17T03:31:03.306Z] ---> f8faf7e35b4f [2020-04-17T03:31:03.306Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T03:31:03.306Z] ---> Running in 60aaeeb53947 [2020-04-17T03:31:04.354Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T03:31:04.951Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T03:31:05.236Z] OK: 125 MiB in 39 packages [2020-04-17T03:31:06.653Z] Removing intermediate container 60aaeeb53947 [2020-04-17T03:31:06.653Z] ---> c501d83aa8d4 [2020-04-17T03:31:06.653Z] Step 8/21 : COPY . . [2020-04-17T03:31:07.616Z] ---> 7b4465f698b5 [2020-04-17T03:31:07.616Z] Step 9/21 : RUN ${MAKE} [2020-04-17T03:31:07.616Z] ---> Running in 2f99faf66345 [2020-04-17T03:31:08.586Z] 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-17T03:31:35.295Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T03:31:35.295Z] Removing intermediate container 2f99faf66345 [2020-04-17T03:31:35.295Z] ---> d1bd1ddf17f9 [2020-04-17T03:31:35.295Z] Step 10/21 : FROM scratch [2020-04-17T03:31:35.295Z] ---> [2020-04-17T03:31:35.295Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T03:31:35.295Z] ---> Running in 2783e54211e0 [2020-04-17T03:31:35.295Z] Removing intermediate container 2783e54211e0 [2020-04-17T03:31:35.295Z] ---> 3ccc1b60f3c6 [2020-04-17T03:31:35.295Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T03:31:35.295Z] ---> Running in d8e7e47bf94b [2020-04-17T03:31:35.295Z] Removing intermediate container d8e7e47bf94b [2020-04-17T03:31:35.295Z] ---> 76a6ff8140b7 [2020-04-17T03:31:35.295Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T03:31:35.295Z] ---> Running in b3123f36ec6a [2020-04-17T03:31:35.295Z] Removing intermediate container b3123f36ec6a [2020-04-17T03:31:35.295Z] ---> c71bee62da6b [2020-04-17T03:31:35.295Z] Step 14/21 : WORKDIR / [2020-04-17T03:31:35.295Z] ---> Running in ae7da36cd13c [2020-04-17T03:31:35.563Z] Removing intermediate container ae7da36cd13c [2020-04-17T03:31:35.563Z] ---> ba8a61469196 [2020-04-17T03:31:35.563Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T03:31:36.528Z] ---> 12af4b4afbb7 [2020-04-17T03:31:36.528Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T03:31:37.119Z] ---> 1c25a65fa41a [2020-04-17T03:31:37.119Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T03:31:37.702Z] ---> 81c304399038 [2020-04-17T03:31:37.702Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T03:31:37.702Z] ---> Running in 3b40d02e7fb5 [2020-04-17T03:31:37.969Z] Removing intermediate container 3b40d02e7fb5 [2020-04-17T03:31:37.969Z] ---> 3f66391cf4c6 [2020-04-17T03:31:37.969Z] Step 19/21 : LABEL arch=arm64 [2020-04-17T03:31:38.237Z] ---> Running in d65fba4e3abb [2020-04-17T03:31:38.507Z] Removing intermediate container d65fba4e3abb [2020-04-17T03:31:38.507Z] ---> 133a0082ce13 [2020-04-17T03:31:38.507Z] Step 20/21 : LABEL git_sha=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [2020-04-17T03:31:38.507Z] ---> Running in 58dd3877f1aa [2020-04-17T03:31:39.091Z] Removing intermediate container 58dd3877f1aa [2020-04-17T03:31:39.091Z] ---> 8bab30cc324e [2020-04-17T03:31:39.091Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T03:31:39.091Z] ---> Running in d841bcd250f1 [2020-04-17T03:31:39.357Z] Removing intermediate container d841bcd250f1 [2020-04-17T03:31:39.357Z] ---> ce608cdbcbad [2020-04-17T03:31:39.358Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T03:31:39.358Z] Successfully built ce608cdbcbad [2020-04-17T03:31:39.358Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-17T03:31:41.114Z] provisioning config files... [2020-04-17T03:31:41.130Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/config7522739679224275579tmp [Pipeline] { [Pipeline] sh [2020-04-17T03:31:41.539Z] + curl -s https://codecov.io/bash [2020-04-17T03:31:41.539Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/config7522739679224275579tmp [2020-04-17T03:31:41.801Z] [2020-04-17T03:31:41.801Z] _____ _ [2020-04-17T03:31:41.801Z] / ____| | | [2020-04-17T03:31:41.801Z] | | ___ __| | ___ ___ _____ __ [2020-04-17T03:31:41.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-17T03:31:41.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-17T03:31:41.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-17T03:31:41.801Z] Bash-tbd [2020-04-17T03:31:41.801Z] [2020-04-17T03:31:41.801Z] [2020-04-17T03:31:41.801Z] ==> Jenkins CI detected. [2020-04-17T03:31:41.801Z] project root: . [2020-04-17T03:31:41.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-17T03:31:41.801Z] ==> Running gcov in . (disable via -X gcov) [2020-04-17T03:31:41.801Z] ==> Python coveragepy not found [2020-04-17T03:31:41.801Z] ==> Searching for coverage reports in: [2020-04-17T03:31:41.801Z] + . [2020-04-17T03:31:41.801Z] -> Found 1 reports [2020-04-17T03:31:41.801Z] ==> Detecting git/mercurial file structure [2020-04-17T03:31:41.801Z] ==> Reading reports [2020-04-17T03:31:41.801Z] + ./coverage.out bytes=96404 [2020-04-17T03:31:41.801Z] ==> Appending adjustments [2020-04-17T03:31:41.801Z] http://docs.codecov.io/docs/fixing-reports [2020-04-17T03:31:42.373Z] + Found adjustments [2020-04-17T03:31:42.373Z] ==> Gzipping contents [2020-04-17T03:31:42.373Z] ==> Uploading reports [2020-04-17T03:31:42.373Z] url: https://codecov.io [2020-04-17T03:31:42.373Z] query: branch=PR-490&commit=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=490&job= [2020-04-17T03:31:42.373Z] -> Pinging Codecov [2020-04-17T03:31:42.373Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-490&commit=8fe0f242cdac0ba83404bcbf9b836593c0b3d97f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=490&job= [2020-04-17T03:31:42.944Z] -> Uploading [2020-04-17T03:31:43.514Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8fe0f242cdac0ba83404bcbf9b836593c0b3d97f [Pipeline] } [2020-04-17T03:31:43.534Z] 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-17T03:31:45.147Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T03:31:45.495Z] ---> package-listing.sh [2020-04-17T03:31:45.495Z] ++ facter osfamily [2020-04-17T03:31:45.495Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-17T03:31:45.495Z] + OS_FAMILY=redhat [2020-04-17T03:31:45.495Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-490 [2020-04-17T03:31:45.495Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-17T03:31:45.495Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-17T03:31:45.495Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-17T03:31:45.495Z] + PACKAGES=/tmp/packages_start.txt [2020-04-17T03:31:45.495Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-490 ']' [2020-04-17T03:31:45.495Z] + PACKAGES=/tmp/packages_end.txt [2020-04-17T03:31:45.495Z] + case "${OS_FAMILY}" in [2020-04-17T03:31:45.495Z] + rpm -qa [2020-04-17T03:31:45.495Z] + sort [2020-04-17T03:31:49.692Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-17T03:31:49.692Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-17T03:31:49.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-17T03:31:49.692Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-490 ']' [2020-04-17T03:31:49.692Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-490/archives/ [2020-04-17T03:31:49.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-490/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:31:50.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T03:31:50.214Z] [2020-04-17T03:31:50.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-17T03:31:50.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T03:31:50.584Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-17T03:31:50.584Z] c9b1b535fdd9: Pulling fs layer [2020-04-17T03:31:50.584Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-17T03:31:50.584Z] 756a868c4378: Pulling fs layer [2020-04-17T03:31:50.584Z] 444b2fc9a129: Pulling fs layer [2020-04-17T03:31:50.584Z] ea15f1150254: Pulling fs layer [2020-04-17T03:31:50.584Z] 41b27a9f41bf: Pulling fs layer [2020-04-17T03:31:50.584Z] 28c525ee5125: Pulling fs layer [2020-04-17T03:31:50.584Z] 094b1ea09ed8: Pulling fs layer [2020-04-17T03:31:50.584Z] 138eaada9080: Pulling fs layer [2020-04-17T03:31:50.584Z] 0622d0fa9048: Pulling fs layer [2020-04-17T03:31:50.584Z] 444b2fc9a129: Waiting [2020-04-17T03:31:50.584Z] ea15f1150254: Waiting [2020-04-17T03:31:50.584Z] 41b27a9f41bf: Waiting [2020-04-17T03:31:50.584Z] 138eaada9080: Waiting [2020-04-17T03:31:50.584Z] 28c525ee5125: Waiting [2020-04-17T03:31:50.584Z] 0622d0fa9048: Waiting [2020-04-17T03:31:50.584Z] 094b1ea09ed8: Waiting [2020-04-17T03:31:50.584Z] 2cc5ad85d9ab: Download complete [2020-04-17T03:31:50.584Z] 444b2fc9a129: Verifying Checksum [2020-04-17T03:31:50.584Z] 444b2fc9a129: Download complete [2020-04-17T03:31:50.584Z] c9b1b535fdd9: Verifying Checksum [2020-04-17T03:31:50.584Z] c9b1b535fdd9: Download complete [2020-04-17T03:31:50.851Z] ea15f1150254: Verifying Checksum [2020-04-17T03:31:50.851Z] ea15f1150254: Download complete [2020-04-17T03:31:50.851Z] 28c525ee5125: Verifying Checksum [2020-04-17T03:31:50.851Z] 28c525ee5125: Download complete [2020-04-17T03:31:51.118Z] c9b1b535fdd9: Pull complete [2020-04-17T03:31:51.118Z] 756a868c4378: Verifying Checksum [2020-04-17T03:31:51.118Z] 756a868c4378: Download complete [2020-04-17T03:31:51.405Z] 138eaada9080: Verifying Checksum [2020-04-17T03:31:51.405Z] 138eaada9080: Download complete [2020-04-17T03:31:51.405Z] 0622d0fa9048: Verifying Checksum [2020-04-17T03:31:51.405Z] 0622d0fa9048: Download complete [2020-04-17T03:31:51.677Z] 094b1ea09ed8: Verifying Checksum [2020-04-17T03:31:51.678Z] 094b1ea09ed8: Download complete [2020-04-17T03:31:51.678Z] 2cc5ad85d9ab: Pull complete [2020-04-17T03:31:51.941Z] 41b27a9f41bf: Verifying Checksum [2020-04-17T03:31:51.941Z] 41b27a9f41bf: Download complete [2020-04-17T03:31:53.858Z] 756a868c4378: Pull complete [2020-04-17T03:31:54.119Z] 444b2fc9a129: Pull complete [2020-04-17T03:31:54.380Z] ea15f1150254: Pull complete [2020-04-17T03:31:58.583Z] 41b27a9f41bf: Pull complete [2020-04-17T03:31:58.583Z] 28c525ee5125: Pull complete [2020-04-17T03:32:01.130Z] 094b1ea09ed8: Pull complete [2020-04-17T03:32:03.039Z] 138eaada9080: Pull complete [2020-04-17T03:32:03.039Z] 0622d0fa9048: Pull complete [2020-04-17T03:32:03.039Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-17T03:32:03.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-17T03:32:03.255Z] prd-centos7-docker-4c-2g-4409 does not seem to be running inside a container [2020-04-17T03:32:03.300Z] $ 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-490 -v /w/workspace/dgexfoundry_device-sdk-go_PR-490:/w/workspace/dgexfoundry_device-sdk-go_PR-490:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-490@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-17T03:32:03.964Z] $ docker top aa9653f56c93b04e20809822490ba45f5199149e65c548eb5e56ffc3a0be075d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-17T03:32:04.345Z] provisioning config files... [2020-04-17T03:32:04.363Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-490@tmp/config4381521757947591824tmp [Pipeline] { [Pipeline] echo [2020-04-17T03:32:04.455Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T03:32:04.795Z] ---> create-netrc.sh [Pipeline] echo [2020-04-17T03:32:04.837Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T03:32:05.158Z] ---> logs-deploy.sh [2020-04-17T03:32:05.159Z] + ARCHIVE_ARTIFACTS= [2020-04-17T03:32:05.159Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-17T03:32:05.159Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-17T03:32:05.159Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-17T03:32:05.159Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-490/1 [2020-04-17T03:32:05.159Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-490/1/ [2020-04-17T03:32:05.159Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-490/1 /w/workspace/dgexfoundry_device-sdk-go_PR-490 [2020-04-17T03:32:07.070Z] Archives upload complete. [2020-04-17T03:32:07.070Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-490/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-490/1/