Pull request #506 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 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520+dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 (b19d3f9bc253e1204e4a281e9c0460ffdf236260) 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 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-506/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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5492 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # 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 dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 Commit message: "Add initialized filed in service struct" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-22T02:48:13.149Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-22T02:48:13.422Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-22T02:48:13.572Z] ========================================================= [2020-04-22T02:48:13.572Z] EdgeX Global Pipelines Version Info [2020-04-22T02:48:13.572Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-22T02:48:15.097Z] ------------------- [2020-04-22T02:48:15.097Z] stable info: [2020-04-22T02:48:15.097Z] ------------------- [2020-04-22T02:48:15.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-22T02:48:15.097Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-22T02:48:15.097Z] Message: update stable to v1.0.73 [2020-04-22T02:48:15.666Z] ------------------- [2020-04-22T02:48:15.666Z] experimental info: [2020-04-22T02:48:15.666Z] ------------------- [2020-04-22T02:48:15.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-22T02:48:15.666Z] Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 [2020-04-22T02:48:15.666Z] Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:48:18.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-22T02:48:18.253Z] [2020-04-22T02:48:18.253Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:48:18.620Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-22T02:48:18.620Z] latest: Pulling from edgex-devops/git-semver [2020-04-22T02:48:18.620Z] 9123ac7c32f7: Pulling fs layer [2020-04-22T02:48:18.620Z] b8cc5d1170e3: Pulling fs layer [2020-04-22T02:48:18.620Z] 2924cbbf6a41: Pulling fs layer [2020-04-22T02:48:18.620Z] 93b08a4f1073: Pulling fs layer [2020-04-22T02:48:18.620Z] 93b08a4f1073: Waiting [2020-04-22T02:48:18.620Z] b8cc5d1170e3: Verifying Checksum [2020-04-22T02:48:18.620Z] b8cc5d1170e3: Download complete [2020-04-22T02:48:18.620Z] 9123ac7c32f7: Verifying Checksum [2020-04-22T02:48:18.620Z] 9123ac7c32f7: Download complete [2020-04-22T02:48:18.891Z] 93b08a4f1073: Verifying Checksum [2020-04-22T02:48:18.891Z] 93b08a4f1073: Download complete [2020-04-22T02:48:18.891Z] 2924cbbf6a41: Verifying Checksum [2020-04-22T02:48:18.891Z] 2924cbbf6a41: Download complete [2020-04-22T02:48:18.891Z] 9123ac7c32f7: Pull complete [2020-04-22T02:48:19.158Z] b8cc5d1170e3: Pull complete [2020-04-22T02:48:19.731Z] 2924cbbf6a41: Pull complete [2020-04-22T02:48:19.990Z] 93b08a4f1073: Pull complete [2020-04-22T02:48:19.990Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-22T02:48:19.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-22T02:48:20.137Z] prd-centos7-docker-4c-2g-5492 does not seem to be running inside a container [2020-04-22T02:48:20.192Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@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-22T02:48:20.893Z] $ docker top 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-22T02:48:21.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-22T02:48:21.280Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-22T02:48:21.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-22T02:48:21.534Z] $ docker exec 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent [2020-04-22T02:48:21.710Z] SSH_AUTH_SOCK=/tmp/ssh-zWcRz2jNr05E/agent.15 [2020-04-22T02:48:21.710Z] SSH_AGENT_PID=22 [2020-04-22T02:48:21.722Z] Running ssh-add (command line suppressed) [2020-04-22T02:48:21.864Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_1321887773482371091.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_1321887773482371091.key) [2020-04-22T02:48:21.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-22T02:48:22.377Z] + git describe --exact-match --tags HEAD [2020-04-22T02:48:22.377Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-22T02:48:22.460Z] $ docker exec --env ******** --env ******** 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent -k [2020-04-22T02:48:22.602Z] unset SSH_AUTH_SOCK; [2020-04-22T02:48:22.603Z] unset SSH_AGENT_PID; [2020-04-22T02:48:22.603Z] echo Agent pid 22 killed; [2020-04-22T02:48:22.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-22T02:48:22.780Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-22T02:48:22.780Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-22T02:48:22.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-22T02:48:22.890Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-22T02:48:23.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-22T02:48:23.097Z] $ docker exec 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent [2020-04-22T02:48:23.282Z] SSH_AUTH_SOCK=/tmp/ssh-c0b4z0Rjls36/agent.57 [2020-04-22T02:48:23.282Z] SSH_AGENT_PID=64 [2020-04-22T02:48:23.290Z] Running ssh-add (command line suppressed) [2020-04-22T02:48:23.437Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7489369108865452295.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7489369108865452295.key) [2020-04-22T02:48:23.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-22T02:48:23.853Z] + git semver init [2020-04-22T02:48:23.853Z] # -> Open(): unable to determine branch for HEAD [2020-04-22T02:48:23.853Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.git [2020-04-22T02:48:23.853Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-506 [2020-04-22T02:48:23.853Z] # $SEMVER_REMOTE_NAME = origin [2020-04-22T02:48:23.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-22T02:48:23.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-22T02:48:23.853Z] # $SEMVER_BRANCH = PR-506 [2020-04-22T02:48:23.853Z] # $SEMVER_TEMP = /tmp/semver-838642846 [2020-04-22T02:48:23.853Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-22T02:48:24.792Z] # '/tmp/semver-838642846' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver' [2020-04-22T02:48:24.792Z] # -> Force: false [2020-04-22T02:48:24.792Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver [Pipeline] } [2020-04-22T02:48:24.819Z] $ docker exec --env ******** --env ******** 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent -k [2020-04-22T02:48:24.960Z] unset SSH_AUTH_SOCK; [2020-04-22T02:48:24.960Z] unset SSH_AGENT_PID; [2020-04-22T02:48:24.960Z] echo Agent pid 64 killed; [2020-04-22T02:48:25.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-22T02:48:25.535Z] + git semver [Pipeline] } [2020-04-22T02:48:25.567Z] $ docker stop --time=1 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c [2020-04-22T02:48:26.917Z] $ docker rm -f 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-22T02:48:28.666Z] Stashed 53 file(s) [Pipeline] echo [2020-04-22T02:48:28.682Z] [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-22T02:48:44.176Z] Still waiting to schedule task [2020-04-22T02:48:44.176Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-22T02:48:44.196Z] Still waiting to schedule task [2020-04-22T02:48:44.196Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-22T02:50:37.094Z] Running on prd-centos7-docker-4c-2g-5494 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws [2020-04-22T02:50:37.189Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-22T02:50:40.619Z] using credential edgex-jenkins-ssh [2020-04-22T02:50:40.665Z] Cloning the remote Git repository [2020-04-22T02:50:40.665Z] Cloning with configured refspecs honoured and without tags [2020-04-22T02:50:40.600Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:41.663Z] Fetching without tags [2020-04-22T02:50:40.659Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-22T02:50:40.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:40.810Z] > git --version # timeout=10 [2020-04-22T02:50:40.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:40.943Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:41.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T02:50:41.608Z] > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 [2020-04-22T02:50:41.621Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:41.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T02:50:41.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:41.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:41.662Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:42.053Z] Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:50:42.178Z] Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:50:42.178Z] Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) [2020-04-22T02:50:42.064Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T02:50:42.073Z] > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 [2020-04-22T02:50:42.134Z] > git remote # timeout=10 [2020-04-22T02:50:42.140Z] > git config --get remote.origin.url # timeout=10 [2020-04-22T02:50:42.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:42.149Z] > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 [2020-04-22T02:50:42.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-22T02:50:42.182Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T02:50:42.189Z] > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 [2020-04-22T02:50:46.131Z] Commit message: "Add initialized filed in service struct" [2020-04-22T02:50:46.156Z] > git --version # timeout=10 [2020-04-22T02:50:46.177Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-22T02:50:47.318Z] ========================================================= [2020-04-22T02:50:47.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-22T02:50:47.318Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:50:47.934Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5493 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws [2020-04-22T02:50:48.006Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2020-04-22T02:50:48.058Z] + 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 . [Pipeline] checkout [2020-04-22T02:50:48.341Z] Sending build context to Docker daemon 3.013MB [2020-04-22T02:50:48.341Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-22T02:50:48.341Z] Step 2/8 : FROM ${BASE} [2020-04-22T02:50:48.341Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-22T02:50:48.341Z] e6b0cf9c0882: Pulling fs layer [2020-04-22T02:50:48.341Z] 2848faf0eed1: Pulling fs layer [2020-04-22T02:50:48.341Z] 0f37312ad70f: Pulling fs layer [2020-04-22T02:50:48.341Z] 5788d62ee057: Pulling fs layer [2020-04-22T02:50:48.341Z] 0e6b1d234666: Pulling fs layer [2020-04-22T02:50:48.341Z] bf5d7aec512f: Pulling fs layer [2020-04-22T02:50:48.341Z] 34c802a77dc8: Pulling fs layer [2020-04-22T02:50:48.341Z] 9eb99e56ec68: Pulling fs layer [2020-04-22T02:50:48.341Z] 27c7a5d97fbd: Pulling fs layer [2020-04-22T02:50:48.341Z] 5c102a31e300: Pulling fs layer [2020-04-22T02:50:48.341Z] dcfb455df0a1: Pulling fs layer [2020-04-22T02:50:48.341Z] 34c802a77dc8: Waiting [2020-04-22T02:50:48.341Z] 9eb99e56ec68: Waiting [2020-04-22T02:50:48.341Z] 5c102a31e300: Waiting [2020-04-22T02:50:48.341Z] 5788d62ee057: Waiting [2020-04-22T02:50:48.341Z] 0e6b1d234666: Waiting [2020-04-22T02:50:48.341Z] bf5d7aec512f: Waiting [2020-04-22T02:50:48.341Z] 0f37312ad70f: Verifying Checksum [2020-04-22T02:50:48.341Z] 2848faf0eed1: Verifying Checksum [2020-04-22T02:50:48.341Z] 2848faf0eed1: Download complete [2020-04-22T02:50:48.341Z] 0f37312ad70f: Download complete [2020-04-22T02:50:48.607Z] 0e6b1d234666: Verifying Checksum [2020-04-22T02:50:48.607Z] 0e6b1d234666: Download complete [2020-04-22T02:50:48.607Z] bf5d7aec512f: Download complete [2020-04-22T02:50:48.607Z] e6b0cf9c0882: Verifying Checksum [2020-04-22T02:50:48.607Z] e6b0cf9c0882: Download complete [2020-04-22T02:50:48.874Z] e6b0cf9c0882: Pull complete [2020-04-22T02:50:49.152Z] 2848faf0eed1: Pull complete [2020-04-22T02:50:49.152Z] 0f37312ad70f: Pull complete [2020-04-22T02:50:49.425Z] 34c802a77dc8: Verifying Checksum [2020-04-22T02:50:49.425Z] 34c802a77dc8: Download complete [2020-04-22T02:50:49.425Z] 27c7a5d97fbd: Verifying Checksum [2020-04-22T02:50:49.425Z] 27c7a5d97fbd: Download complete [2020-04-22T02:50:50.408Z] 5c102a31e300: Verifying Checksum [2020-04-22T02:50:50.408Z] 5c102a31e300: Download complete [2020-04-22T02:50:50.408Z] dcfb455df0a1: Verifying Checksum [2020-04-22T02:50:50.408Z] dcfb455df0a1: Download complete [2020-04-22T02:50:50.670Z] 5788d62ee057: Verifying Checksum [2020-04-22T02:50:50.670Z] 5788d62ee057: Download complete [2020-04-22T02:50:50.941Z] 9eb99e56ec68: Verifying Checksum [2020-04-22T02:50:50.941Z] 9eb99e56ec68: Download complete [2020-04-22T02:50:54.351Z] using credential edgex-jenkins-ssh [2020-04-22T02:50:54.408Z] Cloning the remote Git repository [2020-04-22T02:50:54.408Z] Cloning with configured refspecs honoured and without tags [2020-04-22T02:50:54.436Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:54.533Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-22T02:50:54.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:54.605Z] > git --version # timeout=10 [2020-04-22T02:50:54.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:55.842Z] Fetching without tags [2020-04-22T02:50:54.738Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:55.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T02:50:55.687Z] > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 [2020-04-22T02:50:55.703Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:55.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T02:50:55.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T02:50:55.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:55.850Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T02:50:56.330Z] Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:50:56.625Z] Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:50:56.625Z] Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) [2020-04-22T02:50:56.315Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T02:50:56.367Z] > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 [2020-04-22T02:50:56.485Z] > git remote # timeout=10 [2020-04-22T02:50:56.517Z] > git config --get remote.origin.url # timeout=10 [2020-04-22T02:50:56.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T02:50:56.552Z] > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 [2020-04-22T02:50:56.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-22T02:50:56.598Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T02:50:56.617Z] > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 [2020-04-22T02:50:57.548Z] 5788d62ee057: Pull complete [2020-04-22T02:50:57.548Z] 0e6b1d234666: Pull complete [2020-04-22T02:50:57.548Z] bf5d7aec512f: Pull complete [2020-04-22T02:51:01.257Z] Commit message: "Add initialized filed in service struct" [2020-04-22T02:51:01.308Z] > git --version # timeout=10 [2020-04-22T02:51:01.327Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-22T02:51:02.772Z] ========================================================= [2020-04-22T02:51:02.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-22T02:51:02.772Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:51:02.856Z] 34c802a77dc8: Pull complete [2020-04-22T02:51:03.981Z] + 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-22T02:51:04.956Z] Sending build context to Docker daemon 3.013MB [2020-04-22T02:51:04.956Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-22T02:51:04.956Z] Step 2/8 : FROM ${BASE} [2020-04-22T02:51:05.228Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-22T02:51:05.228Z] cde5963f3b93: Pulling fs layer [2020-04-22T02:51:05.228Z] 2a23fa8c16f7: Pulling fs layer [2020-04-22T02:51:05.228Z] 777b28850792: Pulling fs layer [2020-04-22T02:51:05.228Z] 8a11ddd9e578: Pulling fs layer [2020-04-22T02:51:05.228Z] 4cf88f913ddb: Pulling fs layer [2020-04-22T02:51:05.228Z] 1df406cf5192: Pulling fs layer [2020-04-22T02:51:05.228Z] 8a11ddd9e578: Waiting [2020-04-22T02:51:05.228Z] 4cf88f913ddb: Waiting [2020-04-22T02:51:05.228Z] cd6300453558: Pulling fs layer [2020-04-22T02:51:05.228Z] b9c365052c96: Pulling fs layer [2020-04-22T02:51:05.228Z] a2d8cc88f415: Pulling fs layer [2020-04-22T02:51:05.228Z] ea1d1ca13537: Pulling fs layer [2020-04-22T02:51:05.228Z] 3750a50a1c5e: Pulling fs layer [2020-04-22T02:51:05.228Z] a2d8cc88f415: Waiting [2020-04-22T02:51:05.228Z] 1df406cf5192: Waiting [2020-04-22T02:51:05.228Z] ea1d1ca13537: Waiting [2020-04-22T02:51:05.228Z] 3750a50a1c5e: Waiting [2020-04-22T02:51:05.228Z] cd6300453558: Waiting [2020-04-22T02:51:05.228Z] b9c365052c96: Waiting [2020-04-22T02:51:05.228Z] 777b28850792: Download complete [2020-04-22T02:51:05.228Z] 2a23fa8c16f7: Verifying Checksum [2020-04-22T02:51:05.228Z] 2a23fa8c16f7: Download complete [2020-04-22T02:51:05.228Z] 4cf88f913ddb: Verifying Checksum [2020-04-22T02:51:05.228Z] 4cf88f913ddb: Download complete [2020-04-22T02:51:05.228Z] 1df406cf5192: Download complete [2020-04-22T02:51:05.498Z] cde5963f3b93: Download complete [2020-04-22T02:51:06.468Z] cde5963f3b93: Pull complete [2020-04-22T02:51:07.075Z] 2a23fa8c16f7: Pull complete [2020-04-22T02:51:07.093Z] 9eb99e56ec68: Pull complete [2020-04-22T02:51:07.093Z] 27c7a5d97fbd: Pull complete [2020-04-22T02:51:07.349Z] 777b28850792: Pull complete [2020-04-22T02:51:07.665Z] 5c102a31e300: Pull complete [2020-04-22T02:51:07.936Z] dcfb455df0a1: Pull complete [2020-04-22T02:51:07.936Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-22T02:51:07.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-22T02:51:07.936Z] ---> 7c70fe431013 [2020-04-22T02:51:07.936Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:51:07.936Z] ---> Running in 150b947116d2 [2020-04-22T02:51:08.200Z] Removing intermediate container 150b947116d2 [2020-04-22T02:51:08.200Z] ---> 4a614e935853 [2020-04-22T02:51:08.200Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T02:51:08.200Z] ---> Running in f32a40278ddf [2020-04-22T02:51:09.581Z] Removing intermediate container f32a40278ddf [2020-04-22T02:51:09.581Z] ---> 61629254e1d2 [2020-04-22T02:51:09.581Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-22T02:51:09.581Z] ---> Running in 4b906b64a861 [2020-04-22T02:51:09.949Z] cd6300453558: Verifying Checksum [2020-04-22T02:51:09.950Z] cd6300453558: Download complete [2020-04-22T02:51:09.950Z] a2d8cc88f415: Verifying Checksum [2020-04-22T02:51:09.950Z] a2d8cc88f415: Download complete [2020-04-22T02:51:10.169Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-22T02:51:11.548Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-22T02:51:12.118Z] OK: 143 MiB in 39 packages [2020-04-22T02:51:12.548Z] ea1d1ca13537: Verifying Checksum [2020-04-22T02:51:12.549Z] ea1d1ca13537: Download complete [2020-04-22T02:51:12.549Z] 3750a50a1c5e: Verifying Checksum [2020-04-22T02:51:12.549Z] 3750a50a1c5e: Download complete [2020-04-22T02:51:12.688Z] Removing intermediate container 4b906b64a861 [2020-04-22T02:51:12.688Z] ---> e96c1a621a67 [2020-04-22T02:51:12.688Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-22T02:51:12.688Z] ---> Running in f14307b40722 [2020-04-22T02:51:12.688Z] Removing intermediate container f14307b40722 [2020-04-22T02:51:12.688Z] ---> 45cd0eebf7da [2020-04-22T02:51:12.688Z] Step 7/8 : COPY . . [2020-04-22T02:51:13.256Z] ---> 460884c674c9 [2020-04-22T02:51:13.256Z] Step 8/8 : RUN go mod download [2020-04-22T02:51:13.256Z] ---> Running in 055d97fda6b2 [2020-04-22T02:51:15.146Z] b9c365052c96: Verifying Checksum [2020-04-22T02:51:15.146Z] b9c365052c96: Download complete [2020-04-22T02:51:15.802Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-22T02:51:15.802Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-22T02:51:15.802Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-22T02:51:15.802Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-22T02:51:15.802Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-22T02:51:15.802Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-22T02:51:15.802Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-22T02:51:15.802Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-22T02:51:15.802Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-22T02:51:15.802Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-22T02:51:15.802Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-22T02:51:15.802Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-22T02:51:15.802Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-22T02:51:15.802Z] go: finding github.com/fatih/color v1.7.0 [2020-04-22T02:51:15.802Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-22T02:51:16.066Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-22T02:51:16.066Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-22T02:51:16.066Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-22T02:51:16.066Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-22T02:51:16.066Z] go: finding github.com/google/uuid v1.1.0 [2020-04-22T02:51:16.066Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-22T02:51:16.066Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-22T02:51:16.066Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-22T02:51:16.066Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-22T02:51:16.066Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-22T02:51:16.327Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-22T02:51:16.563Z] 8a11ddd9e578: Verifying Checksum [2020-04-22T02:51:16.563Z] 8a11ddd9e578: Download complete [2020-04-22T02:51:16.588Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-22T02:51:16.588Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-22T02:51:16.588Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-22T02:51:16.588Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-22T02:51:16.588Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-22T02:51:16.588Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-22T02:51:16.588Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-22T02:51:16.847Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-22T02:51:16.847Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-22T02:51:16.847Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-22T02:51:16.847Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-22T02:51:16.847Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-22T02:51:16.847Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-22T02:51:16.848Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-22T02:51:17.107Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-22T02:51:17.107Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-22T02:51:17.107Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-22T02:51:17.107Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-22T02:51:17.107Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-22T02:51:17.107Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-22T02:51:17.107Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-22T02:51:17.107Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-22T02:51:17.367Z] go: finding github.com/posener/complete v1.1.1 [2020-04-22T02:51:17.367Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-22T02:51:17.367Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-22T02:51:17.367Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-22T02:51:17.367Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-22T02:51:17.367Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-22T02:51:17.367Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-22T02:51:17.631Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-22T02:51:17.631Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-22T02:51:17.631Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-22T02:51:17.631Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-22T02:51:17.631Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-22T02:51:17.631Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-22T02:51:22.941Z] Removing intermediate container 055d97fda6b2 [2020-04-22T02:51:22.941Z] ---> 00a3260106ab [2020-04-22T02:51:22.941Z] Successfully built 00a3260106ab [2020-04-22T02:51:22.941Z] 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-22T02:51:23.762Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-22T02:51:23.762Z] . [Pipeline] withDockerContainer [2020-04-22T02:51:23.932Z] prd-centos7-docker-4c-2g-5494 does not seem to be running inside a container [2020-04-22T02:51:23.984Z] $ 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-22T02:51:25.700Z] $ docker top f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-22T02:51:26.283Z] + go version [2020-04-22T02:51:26.283Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-22T02:51:26.611Z] + make test [2020-04-22T02:51:26.611Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-22T02:51:27.564Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-22T02:51:28.914Z] 8a11ddd9e578: Pull complete [2020-04-22T02:51:28.914Z] 4cf88f913ddb: Pull complete [2020-04-22T02:51:28.914Z] 1df406cf5192: Pull complete [2020-04-22T02:51:34.290Z] cd6300453558: Pull complete [2020-04-22T02:51:38.550Z] b9c365052c96: Pull complete [2020-04-22T02:51:38.550Z] a2d8cc88f415: Pull complete [2020-04-22T02:51:39.897Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-22T02:51:39.897Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-22T02:51:39.897Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-22T02:51:40.536Z] ea1d1ca13537: Pull complete [2020-04-22T02:51:40.887Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.561s coverage: 21.9% of statements [2020-04-22T02:51:41.123Z] 3750a50a1c5e: Pull complete [2020-04-22T02:51:41.123Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-22T02:51:41.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-22T02:51:41.123Z] ---> 78745c68409d [2020-04-22T02:51:41.123Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:51:42.804Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements [2020-04-22T02:51:45.420Z] ---> Running in eafd8f5846c0 [2020-04-22T02:51:45.686Z] Removing intermediate container eafd8f5846c0 [2020-04-22T02:51:45.686Z] ---> f532b1e14700 [2020-04-22T02:51:45.686Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T02:51:45.956Z] ---> Running in 2f95c6e272a6 [2020-04-22T02:51:47.906Z] Removing intermediate container 2f95c6e272a6 [2020-04-22T02:51:47.906Z] ---> a81cb4563e7c [2020-04-22T02:51:47.906Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-22T02:51:47.906Z] ---> Running in 7409149b38c6 [2020-04-22T02:51:48.865Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-22T02:51:49.829Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-22T02:51:50.795Z] OK: 125 MiB in 39 packages [2020-04-22T02:51:51.756Z] Removing intermediate container 7409149b38c6 [2020-04-22T02:51:51.756Z] ---> adf8c24dcb15 [2020-04-22T02:51:51.756Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-22T02:51:52.028Z] ---> Running in 6ff4b4c21fc5 [2020-04-22T02:51:52.295Z] Removing intermediate container 6ff4b4c21fc5 [2020-04-22T02:51:52.295Z] ---> 72f08fbd1bb4 [2020-04-22T02:51:52.295Z] Step 7/8 : COPY . . [2020-04-22T02:51:53.710Z] ---> 33d93456af34 [2020-04-22T02:51:53.710Z] Step 8/8 : RUN go mod download [2020-04-22T02:51:53.710Z] ---> Running in 5b460956cec7 [2020-04-22T02:51:55.659Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-22T02:51:55.659Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-22T02:51:55.659Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-22T02:51:55.659Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-22T02:51:55.659Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-22T02:51:55.659Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-22T02:51:55.659Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-22T02:51:55.659Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-22T02:51:55.659Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-22T02:51:55.659Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-22T02:51:55.659Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-22T02:51:55.659Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-22T02:51:55.659Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-22T02:51:55.659Z] go: finding github.com/fatih/color v1.7.0 [2020-04-22T02:51:55.659Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-22T02:51:55.659Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-22T02:51:55.659Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-22T02:51:55.659Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-22T02:51:55.659Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-22T02:51:55.659Z] go: finding github.com/google/uuid v1.1.0 [2020-04-22T02:51:55.659Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-22T02:51:55.659Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-22T02:51:55.659Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-22T02:51:55.659Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-22T02:51:55.659Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-22T02:51:55.659Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-22T02:51:55.659Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-22T02:51:55.659Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-22T02:51:55.659Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-22T02:51:55.940Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-22T02:51:55.940Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-22T02:51:55.940Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-22T02:51:55.940Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-22T02:51:55.940Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-22T02:51:55.940Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-22T02:51:55.940Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-22T02:51:55.940Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-22T02:51:55.940Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-22T02:51:55.940Z] go: finding github.com/posener/complete v1.1.1 [2020-04-22T02:51:55.940Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-22T02:51:55.940Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-22T02:51:55.940Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-22T02:51:55.940Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-22T02:51:55.940Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-22T02:51:55.940Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-22T02:51:55.940Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-22T02:51:55.940Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-22T02:51:55.940Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-22T02:51:55.940Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-22T02:51:55.940Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-22T02:51:55.940Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-22T02:52:06.042Z] Removing intermediate container 5b460956cec7 [2020-04-22T02:52:06.042Z] ---> dfea73459955 [2020-04-22T02:52:06.042Z] Successfully built dfea73459955 [2020-04-22T02:52:06.042Z] 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-22T02:52:06.925Z] + docker inspect -f . ci-base-image-arm64 [2020-04-22T02:52:07.191Z] . [Pipeline] withDockerContainer [2020-04-22T02:52:07.532Z] prd-ubuntu18.04-docker-arm64-4c-16g-5493 does not seem to be running inside a container [2020-04-22T02:52:07.616Z] $ 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-22T02:52:09.043Z] $ docker top d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-22T02:52:10.145Z] + go version [2020-04-22T02:52:10.145Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-22T02:52:10.819Z] + make test [2020-04-22T02:52:10.819Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-22T02:52:12.238Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-22T02:52:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 11.4% of statements [2020-04-22T02:52:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements [2020-04-22T02:52:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-22T02:52:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.073s coverage: 36.9% of statements [2020-04-22T02:52:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-22T02:52:14.947Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.334s coverage: 65.2% of statements [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-22T02:52:14.947Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.023s coverage: 52.6% of statements [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-22T02:52:14.947Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.131s coverage: 68.9% of statements [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-22T02:52:14.947Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-22T02:52:14.947Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-22T02:52:14.947Z] gofmt -l . [2020-04-22T02:52:15.208Z] [ "`gofmt -l .`" = "" ] [2020-04-22T02:52:15.208Z] ./bin/test-attribution-txt.sh [2020-04-22T02:52:16.149Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-22T02:52:16.750Z] Stashed 1 file(s) [Pipeline] } [2020-04-22T02:52:16.766Z] $ docker stop --time=1 f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 [2020-04-22T02:52:18.294Z] $ docker rm -f f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-22T02:52:19.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-22T02:52:20.249Z] + ls -al . [2020-04-22T02:52:20.249Z] total 176 [2020-04-22T02:52:20.249Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 22 02:52 . [2020-04-22T02:52:20.249Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 02:50 .. [2020-04-22T02:52:20.249Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 02:50 api [2020-04-22T02:52:20.249Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 02:50 bin [2020-04-22T02:52:20.250Z] -rw-r--r--. 1 jenkins jenkins 110966 Apr 22 02:52 coverage.out [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 22 02:50 Dockerfile.build [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 02:50 .dockerignore [2020-04-22T02:52:20.250Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 22 02:50 example [2020-04-22T02:52:20.250Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 02:50 .git [2020-04-22T02:52:20.250Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 02:50 .github [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 02:50 .gitignore [2020-04-22T02:52:20.250Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 22 02:52 go.mod [2020-04-22T02:52:20.250Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 22 02:52 go.sum [2020-04-22T02:52:20.250Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 22 02:50 internal [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 22 02:50 Jenkinsfile [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 02:50 LICENSE [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 22 02:50 Makefile [2020-04-22T02:52:20.250Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 02:50 pkg [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 22 02:50 README.md [2020-04-22T02:52:20.250Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 02:50 .semver [2020-04-22T02:52:20.250Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 02:50 snap [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 02:48 VERSION [2020-04-22T02:52:20.250Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 02:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:52:20.595Z] + 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=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 --label arch=amd64 --label version=0.0.0 . [2020-04-22T02:52:20.855Z] Sending build context to Docker daemon 3.141MB [2020-04-22T02:52:20.855Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-22T02:52:20.855Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-22T02:52:20.855Z] ---> 00a3260106ab [2020-04-22T02:52:20.855Z] Step 3/21 : ARG MAKE='make build' [2020-04-22T02:52:20.855Z] ---> Running in adc9721f8e0b [2020-04-22T02:52:21.117Z] Removing intermediate container adc9721f8e0b [2020-04-22T02:52:21.117Z] ---> 9025a85f001f [2020-04-22T02:52:21.117Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-22T02:52:21.117Z] ---> Running in 9ad91e1ec2d3 [2020-04-22T02:52:21.117Z] Removing intermediate container 9ad91e1ec2d3 [2020-04-22T02:52:21.117Z] ---> 5b1375bcc649 [2020-04-22T02:52:21.117Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:52:21.380Z] ---> Running in 5f0bf9bcbd35 [2020-04-22T02:52:21.380Z] Removing intermediate container 5f0bf9bcbd35 [2020-04-22T02:52:21.380Z] ---> bfc1df72f3c1 [2020-04-22T02:52:21.380Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T02:52:21.380Z] ---> Running in 8903ce6d13a9 [2020-04-22T02:52:22.322Z] Removing intermediate container 8903ce6d13a9 [2020-04-22T02:52:22.323Z] ---> 57d2fbfee64c [2020-04-22T02:52:22.323Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-22T02:52:22.323Z] ---> Running in 8abe6dae1693 [2020-04-22T02:52:22.897Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-22T02:52:24.280Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-22T02:52:26.199Z] OK: 143 MiB in 39 packages [2020-04-22T02:52:26.199Z] Removing intermediate container 8abe6dae1693 [2020-04-22T02:52:26.199Z] ---> 0d4bf25cf705 [2020-04-22T02:52:26.199Z] Step 8/21 : COPY . . [2020-04-22T02:52:26.770Z] ---> c7b6be640ab0 [2020-04-22T02:52:26.770Z] Step 9/21 : RUN ${MAKE} [2020-04-22T02:52:26.770Z] ---> Running in 44fe48c1cd04 [2020-04-22T02:52:27.028Z] 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-22T02:52:37.126Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-22T02:52:37.126Z] Removing intermediate container 44fe48c1cd04 [2020-04-22T02:52:37.126Z] ---> a5be9abc34f7 [2020-04-22T02:52:37.126Z] Step 10/21 : FROM scratch [2020-04-22T02:52:37.126Z] ---> [2020-04-22T02:52:37.126Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:52:37.126Z] ---> Running in d057b9c08346 [2020-04-22T02:52:37.385Z] Removing intermediate container d057b9c08346 [2020-04-22T02:52:37.385Z] ---> b839fc877dbe [2020-04-22T02:52:37.385Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-22T02:52:37.385Z] ---> Running in a4aeb31d6509 [2020-04-22T02:52:37.643Z] Removing intermediate container a4aeb31d6509 [2020-04-22T02:52:37.643Z] ---> fa0693f3f6a9 [2020-04-22T02:52:37.643Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-22T02:52:37.643Z] ---> Running in 49508ddb28f4 [2020-04-22T02:52:37.643Z] Removing intermediate container 49508ddb28f4 [2020-04-22T02:52:37.643Z] ---> 94bf8603f94d [2020-04-22T02:52:37.643Z] Step 14/21 : WORKDIR / [2020-04-22T02:52:37.643Z] ---> Running in 28a94655885b [2020-04-22T02:52:37.919Z] Removing intermediate container 28a94655885b [2020-04-22T02:52:37.919Z] ---> 9fb813933c7e [2020-04-22T02:52:37.919Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-22T02:52:38.180Z] ---> ba997d6861bb [2020-04-22T02:52:38.180Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-22T02:52:38.440Z] ---> 503496e96a02 [2020-04-22T02:52:38.440Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-22T02:52:38.699Z] ---> e0a10235c576 [2020-04-22T02:52:38.699Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-22T02:52:38.699Z] ---> Running in 5821aa1dbafb [2020-04-22T02:52:38.699Z] Removing intermediate container 5821aa1dbafb [2020-04-22T02:52:38.699Z] ---> bb90bf80cf91 [2020-04-22T02:52:38.699Z] Step 19/21 : LABEL arch=amd64 [2020-04-22T02:52:38.959Z] ---> Running in d838f6f961fe [2020-04-22T02:52:38.959Z] Removing intermediate container d838f6f961fe [2020-04-22T02:52:38.959Z] ---> e5962a70de24 [2020-04-22T02:52:38.959Z] Step 20/21 : LABEL git_sha=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:52:38.959Z] ---> Running in e9fa2397eec1 [2020-04-22T02:52:39.036Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-22T02:52:39.036Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-22T02:52:39.036Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-22T02:52:39.218Z] Removing intermediate container e9fa2397eec1 [2020-04-22T02:52:39.218Z] ---> 82d45d6aed92 [2020-04-22T02:52:39.218Z] Step 21/21 : LABEL version=0.0.0 [2020-04-22T02:52:39.218Z] ---> Running in d5782c718ff7 [2020-04-22T02:52:39.218Z] Removing intermediate container d5782c718ff7 [2020-04-22T02:52:39.218Z] ---> c368214d586d [2020-04-22T02:52:39.218Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-22T02:52:39.218Z] Successfully built c368214d586d [2020-04-22T02:52:39.477Z] 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-22T02:52:42.459Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.9% of statements [2020-04-22T02:52:45.856Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.151s coverage: 95.8% of statements [2020-04-22T02:53:18.105Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements [2020-04-22T02:53:18.105Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements [2020-04-22T02:53:18.105Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-22T02:53:18.106Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.191s coverage: 36.9% of statements [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-22T02:53:18.106Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.609s coverage: 65.2% of statements [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-22T02:53:18.106Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-22T02:53:18.106Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-22T02:53:18.106Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-22T02:53:18.106Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-22T02:53:21.479Z] gofmt -l . [2020-04-22T02:53:21.479Z] [ "`gofmt -l .`" = "" ] [2020-04-22T02:53:21.748Z] ./bin/test-attribution-txt.sh [2020-04-22T02:53:22.336Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-22T02:53:22.955Z] Warning: overwriting stash ‘coverage-report’ [2020-04-22T02:53:23.440Z] Stashed 1 file(s) [Pipeline] } [2020-04-22T02:53:23.468Z] $ docker stop --time=1 d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 [2020-04-22T02:53:25.683Z] $ docker rm -f d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-22T02:53:27.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-22T02:53:27.507Z] + ls -al . [2020-04-22T02:53:27.507Z] total 216 [2020-04-22T02:53:27.507Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:53 . [2020-04-22T02:53:27.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 .. [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:50 .dockerignore [2020-04-22T02:53:27.507Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:51 .git [2020-04-22T02:53:27.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:50 .github [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 02:50 .gitignore [2020-04-22T02:53:27.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:51 .semver [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 22 02:50 Dockerfile.build [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 22 02:50 Jenkinsfile [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:50 LICENSE [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 22 02:50 Makefile [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 22 02:50 README.md [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:48 VERSION [2020-04-22T02:53:27.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:50 api [2020-04-22T02:53:27.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:50 bin [2020-04-22T02:53:27.507Z] -rw-r--r-- 1 jenkins jenkins 110966 Apr 22 02:53 coverage.out [2020-04-22T02:53:27.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 example [2020-04-22T02:53:27.507Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 22 02:53 go.mod [2020-04-22T02:53:27.507Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 22 02:53 go.sum [2020-04-22T02:53:27.507Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:50 internal [2020-04-22T02:53:27.507Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:50 pkg [2020-04-22T02:53:27.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 snap [2020-04-22T02:53:27.507Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:53:27.876Z] + 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=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 --label arch=arm64 --label version=0.0.0 . [2020-04-22T02:53:28.464Z] Sending build context to Docker daemon 3.141MB [2020-04-22T02:53:28.464Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-22T02:53:28.464Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-22T02:53:28.464Z] ---> dfea73459955 [2020-04-22T02:53:28.464Z] Step 3/21 : ARG MAKE='make build' [2020-04-22T02:53:28.464Z] ---> Running in 2b575807c8f0 [2020-04-22T02:53:29.054Z] Removing intermediate container 2b575807c8f0 [2020-04-22T02:53:29.054Z] ---> 69344a30f8d7 [2020-04-22T02:53:29.054Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-22T02:53:29.054Z] ---> Running in 05cac76d835a [2020-04-22T02:53:29.321Z] Removing intermediate container 05cac76d835a [2020-04-22T02:53:29.321Z] ---> 4299ca36a048 [2020-04-22T02:53:29.321Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:53:29.595Z] ---> Running in 9ec4fe1dded1 [2020-04-22T02:53:29.868Z] Removing intermediate container 9ec4fe1dded1 [2020-04-22T02:53:29.868Z] ---> 3a43258e797f [2020-04-22T02:53:29.868Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T02:53:29.868Z] ---> Running in 603eb035dfb7 [2020-04-22T02:53:31.840Z] Removing intermediate container 603eb035dfb7 [2020-04-22T02:53:31.840Z] ---> 97c12b344256 [2020-04-22T02:53:31.840Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-22T02:53:31.840Z] ---> Running in 4c019037668e [2020-04-22T02:53:32.805Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-22T02:53:34.758Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-22T02:53:36.170Z] OK: 125 MiB in 39 packages [2020-04-22T02:53:37.140Z] Removing intermediate container 4c019037668e [2020-04-22T02:53:37.140Z] ---> 5f9393b55525 [2020-04-22T02:53:37.140Z] Step 8/21 : COPY . . [2020-04-22T02:53:38.115Z] ---> d7e4843984a8 [2020-04-22T02:53:38.115Z] Step 9/21 : RUN ${MAKE} [2020-04-22T02:53:38.389Z] ---> Running in 0e8792fe23ba [2020-04-22T02:53:39.367Z] 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-22T02:54:06.136Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-22T02:54:06.136Z] Removing intermediate container 0e8792fe23ba [2020-04-22T02:54:06.136Z] ---> cbdc1fa05ed0 [2020-04-22T02:54:06.136Z] Step 10/21 : FROM scratch [2020-04-22T02:54:06.136Z] ---> [2020-04-22T02:54:06.136Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T02:54:06.136Z] ---> Running in cb05f0862264 [2020-04-22T02:54:06.136Z] Removing intermediate container cb05f0862264 [2020-04-22T02:54:06.136Z] ---> 840007704aae [2020-04-22T02:54:06.136Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-22T02:54:06.136Z] ---> Running in 3a11031a53f3 [2020-04-22T02:54:06.136Z] Removing intermediate container 3a11031a53f3 [2020-04-22T02:54:06.136Z] ---> 1f0e5d5e9548 [2020-04-22T02:54:06.136Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-22T02:54:06.136Z] ---> Running in d08ad39179c1 [2020-04-22T02:54:06.136Z] Removing intermediate container d08ad39179c1 [2020-04-22T02:54:06.136Z] ---> 29ef36650a01 [2020-04-22T02:54:06.136Z] Step 14/21 : WORKDIR / [2020-04-22T02:54:06.403Z] ---> Running in a467ebd55a68 [2020-04-22T02:54:06.672Z] Removing intermediate container a467ebd55a68 [2020-04-22T02:54:06.672Z] ---> e5177d95f981 [2020-04-22T02:54:06.672Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-22T02:54:07.640Z] ---> ffe77f231c83 [2020-04-22T02:54:07.640Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-22T02:54:08.226Z] ---> 5918a8578f49 [2020-04-22T02:54:08.226Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-22T02:54:08.812Z] ---> 2ba512db9614 [2020-04-22T02:54:08.812Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-22T02:54:08.812Z] ---> Running in d0281dee923b [2020-04-22T02:54:09.081Z] Removing intermediate container d0281dee923b [2020-04-22T02:54:09.081Z] ---> 17079955da6e [2020-04-22T02:54:09.081Z] Step 19/21 : LABEL arch=arm64 [2020-04-22T02:54:09.354Z] ---> Running in 0ac8099387b7 [2020-04-22T02:54:09.622Z] Removing intermediate container 0ac8099387b7 [2020-04-22T02:54:09.622Z] ---> 684e92ffdfac [2020-04-22T02:54:09.622Z] Step 20/21 : LABEL git_sha=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [2020-04-22T02:54:09.890Z] ---> Running in c3c296aef241 [2020-04-22T02:54:10.158Z] Removing intermediate container c3c296aef241 [2020-04-22T02:54:10.158Z] ---> 448ed5cdbdd6 [2020-04-22T02:54:10.158Z] Step 21/21 : LABEL version=0.0.0 [2020-04-22T02:54:10.428Z] ---> Running in fdf4d9765ced [2020-04-22T02:54:10.695Z] Removing intermediate container fdf4d9765ced [2020-04-22T02:54:10.695Z] ---> 3a244178fbbf [2020-04-22T02:54:10.695Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-22T02:54:10.695Z] Successfully built 3a244178fbbf [2020-04-22T02:54:10.695Z] 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-22T02:54:12.992Z] provisioning config files... [2020-04-22T02:54:13.010Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7235206851965842291tmp [Pipeline] { [Pipeline] sh [2020-04-22T02:54:13.424Z] + curl -s https://codecov.io/bash [2020-04-22T02:54:13.424Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7235206851965842291tmp [2020-04-22T02:54:13.686Z] [2020-04-22T02:54:13.686Z] _____ _ [2020-04-22T02:54:13.686Z] / ____| | | [2020-04-22T02:54:13.686Z] | | ___ __| | ___ ___ _____ __ [2020-04-22T02:54:13.686Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-22T02:54:13.686Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-22T02:54:13.686Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-22T02:54:13.686Z] Bash-tbd [2020-04-22T02:54:13.686Z] [2020-04-22T02:54:13.686Z] [2020-04-22T02:54:13.686Z] ==> Jenkins CI detected. [2020-04-22T02:54:13.686Z] project root: . [2020-04-22T02:54:13.686Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-22T02:54:13.686Z] ==> Running gcov in . (disable via -X gcov) [2020-04-22T02:54:13.686Z] ==> Python coveragepy not found [2020-04-22T02:54:13.686Z] ==> Searching for coverage reports in: [2020-04-22T02:54:13.686Z] + . [2020-04-22T02:54:13.686Z] -> Found 1 reports [2020-04-22T02:54:13.686Z] ==> Detecting git/mercurial file structure [2020-04-22T02:54:13.686Z] ==> Reading reports [2020-04-22T02:54:13.686Z] + ./coverage.out bytes=110966 [2020-04-22T02:54:13.686Z] ==> Appending adjustments [2020-04-22T02:54:13.686Z] http://docs.codecov.io/docs/fixing-reports [2020-04-22T02:54:14.281Z] + Found adjustments [2020-04-22T02:54:14.281Z] ==> Gzipping contents [2020-04-22T02:54:14.281Z] ==> Uploading reports [2020-04-22T02:54:14.282Z] url: https://codecov.io [2020-04-22T02:54:14.282Z] query: branch=PR-506&commit=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=506&job= [2020-04-22T02:54:14.282Z] -> Pinging Codecov [2020-04-22T02:54:14.282Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-506&commit=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=506&job= [2020-04-22T02:54:14.543Z] -> Uploading [2020-04-22T02:54:15.111Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [Pipeline] } [2020-04-22T02:54:15.130Z] 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-22T02:54:17.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T02:54:17.707Z] ---> package-listing.sh [2020-04-22T02:54:17.707Z] ++ facter osfamily [2020-04-22T02:54:17.707Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-22T02:54:17.707Z] + OS_FAMILY=redhat [2020-04-22T02:54:17.707Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-506 [2020-04-22T02:54:17.707Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-22T02:54:17.707Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-22T02:54:17.707Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-22T02:54:17.707Z] + PACKAGES=/tmp/packages_start.txt [2020-04-22T02:54:17.707Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' [2020-04-22T02:54:17.707Z] + PACKAGES=/tmp/packages_end.txt [2020-04-22T02:54:17.707Z] + case "${OS_FAMILY}" in [2020-04-22T02:54:17.707Z] + rpm -qa [2020-04-22T02:54:17.707Z] + sort [2020-04-22T02:54:21.917Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-22T02:54:21.917Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-22T02:54:21.917Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-22T02:54:21.917Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' [2020-04-22T02:54:21.917Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ [2020-04-22T02:54:21.917Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:54:22.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-22T02:54:22.453Z] [2020-04-22T02:54:22.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-22T02:54:22.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-22T02:54:22.821Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-22T02:54:22.821Z] c9b1b535fdd9: Pulling fs layer [2020-04-22T02:54:22.821Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-22T02:54:22.821Z] 756a868c4378: Pulling fs layer [2020-04-22T02:54:22.821Z] 444b2fc9a129: Pulling fs layer [2020-04-22T02:54:22.821Z] ea15f1150254: Pulling fs layer [2020-04-22T02:54:22.821Z] 41b27a9f41bf: Pulling fs layer [2020-04-22T02:54:22.821Z] 28c525ee5125: Pulling fs layer [2020-04-22T02:54:22.821Z] 094b1ea09ed8: Pulling fs layer [2020-04-22T02:54:22.821Z] 138eaada9080: Pulling fs layer [2020-04-22T02:54:22.821Z] 0622d0fa9048: Pulling fs layer [2020-04-22T02:54:22.821Z] ea15f1150254: Waiting [2020-04-22T02:54:22.821Z] 41b27a9f41bf: Waiting [2020-04-22T02:54:22.821Z] 28c525ee5125: Waiting [2020-04-22T02:54:22.821Z] 094b1ea09ed8: Waiting [2020-04-22T02:54:22.821Z] 138eaada9080: Waiting [2020-04-22T02:54:22.821Z] 0622d0fa9048: Waiting [2020-04-22T02:54:22.821Z] 444b2fc9a129: Waiting [2020-04-22T02:54:22.821Z] 2cc5ad85d9ab: Download complete [2020-04-22T02:54:22.821Z] 444b2fc9a129: Verifying Checksum [2020-04-22T02:54:22.821Z] 444b2fc9a129: Download complete [2020-04-22T02:54:23.092Z] c9b1b535fdd9: Verifying Checksum [2020-04-22T02:54:23.092Z] c9b1b535fdd9: Download complete [2020-04-22T02:54:23.092Z] ea15f1150254: Verifying Checksum [2020-04-22T02:54:23.092Z] ea15f1150254: Download complete [2020-04-22T02:54:23.092Z] 28c525ee5125: Verifying Checksum [2020-04-22T02:54:23.092Z] 28c525ee5125: Download complete [2020-04-22T02:54:23.369Z] 756a868c4378: Verifying Checksum [2020-04-22T02:54:23.369Z] 756a868c4378: Download complete [2020-04-22T02:54:23.644Z] 138eaada9080: Verifying Checksum [2020-04-22T02:54:23.644Z] 138eaada9080: Download complete [2020-04-22T02:54:23.644Z] 094b1ea09ed8: Verifying Checksum [2020-04-22T02:54:23.644Z] 094b1ea09ed8: Download complete [2020-04-22T02:54:23.644Z] c9b1b535fdd9: Pull complete [2020-04-22T02:54:23.644Z] 0622d0fa9048: Verifying Checksum [2020-04-22T02:54:23.644Z] 0622d0fa9048: Download complete [2020-04-22T02:54:23.914Z] 2cc5ad85d9ab: Pull complete [2020-04-22T02:54:24.180Z] 41b27a9f41bf: Verifying Checksum [2020-04-22T02:54:24.180Z] 41b27a9f41bf: Download complete [2020-04-22T02:54:26.098Z] 756a868c4378: Pull complete [2020-04-22T02:54:26.098Z] 444b2fc9a129: Pull complete [2020-04-22T02:54:26.098Z] ea15f1150254: Pull complete [2020-04-22T02:54:30.322Z] 41b27a9f41bf: Pull complete [2020-04-22T02:54:30.322Z] 28c525ee5125: Pull complete [2020-04-22T02:54:32.253Z] 094b1ea09ed8: Pull complete [2020-04-22T02:54:32.517Z] 138eaada9080: Pull complete [2020-04-22T02:54:32.517Z] 0622d0fa9048: Pull complete [2020-04-22T02:54:32.517Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-22T02:54:32.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-22T02:54:32.725Z] prd-centos7-docker-4c-2g-5492 does not seem to be running inside a container [2020-04-22T02:54:32.785Z] $ 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-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@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-22T02:54:34.030Z] $ docker top c673f59ceb62d03ce3b09a7ca19019570a9efbc35a79ae14757828ccb23ddebb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-22T02:54:34.346Z] provisioning config files... [2020-04-22T02:54:34.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config1757697653335562889tmp [Pipeline] { [Pipeline] echo [2020-04-22T02:54:34.491Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T02:54:34.827Z] ---> create-netrc.sh [Pipeline] echo [2020-04-22T02:54:34.850Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T02:54:35.173Z] ---> logs-deploy.sh [2020-04-22T02:54:35.173Z] + ARCHIVE_ARTIFACTS= [2020-04-22T02:54:35.173Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-22T02:54:35.173Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-22T02:54:35.173Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-22T02:54:35.173Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 [2020-04-22T02:54:35.173Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/1/ [2020-04-22T02:54:35.173Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 /w/workspace/dgexfoundry_device-sdk-go_PR-506 [2020-04-22T02:54:36.554Z] Archives upload complete. [2020-04-22T02:54:36.554Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/1/