Pull request #515 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 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf+81b7cd9291b428fa4ba6e2c1479b175d963e3d04 (3398d8ed421b1e8ca0b51e08e75df4c1458ae1dd) 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-515/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-6232 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [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-515 # 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/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # 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/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # 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 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 Commit message: "docs: update release notes" 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-27T07:12:08.672Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-27T07:12:08.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-27T07:12:09.195Z] ========================================================= [2020-04-27T07:12:09.195Z] EdgeX Global Pipelines Version Info [2020-04-27T07:12:09.195Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:12:10.709Z] ------------------- [2020-04-27T07:12:10.709Z] stable info: [2020-04-27T07:12:10.709Z] ------------------- [2020-04-27T07:12:10.709Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-27T07:12:10.709Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-27T07:12:10.709Z] Message: update stable to v1.0.73 [2020-04-27T07:12:11.277Z] ------------------- [2020-04-27T07:12:11.277Z] experimental info: [2020-04-27T07:12:11.277Z] ------------------- [2020-04-27T07:12:11.277Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-04-27T07:12:11.277Z] Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 [2020-04-27T07:12:11.277Z] Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:12:13.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:12:13.903Z] [2020-04-27T07:12:13.903Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:12:14.273Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:12:14.273Z] latest: Pulling from edgex-devops/git-semver [2020-04-27T07:12:14.273Z] 9123ac7c32f7: Pulling fs layer [2020-04-27T07:12:14.273Z] b8cc5d1170e3: Pulling fs layer [2020-04-27T07:12:14.273Z] 2924cbbf6a41: Pulling fs layer [2020-04-27T07:12:14.273Z] 93b08a4f1073: Pulling fs layer [2020-04-27T07:12:14.273Z] 93b08a4f1073: Waiting [2020-04-27T07:12:14.273Z] b8cc5d1170e3: Verifying Checksum [2020-04-27T07:12:14.273Z] b8cc5d1170e3: Download complete [2020-04-27T07:12:14.533Z] 9123ac7c32f7: Verifying Checksum [2020-04-27T07:12:14.533Z] 9123ac7c32f7: Download complete [2020-04-27T07:12:14.533Z] 2924cbbf6a41: Verifying Checksum [2020-04-27T07:12:14.533Z] 2924cbbf6a41: Download complete [2020-04-27T07:12:14.533Z] 93b08a4f1073: Verifying Checksum [2020-04-27T07:12:14.533Z] 93b08a4f1073: Download complete [2020-04-27T07:12:14.797Z] 9123ac7c32f7: Pull complete [2020-04-27T07:12:14.797Z] b8cc5d1170e3: Pull complete [2020-04-27T07:12:15.733Z] 2924cbbf6a41: Pull complete [2020-04-27T07:12:15.733Z] 93b08a4f1073: Pull complete [2020-04-27T07:12:15.733Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-27T07:12:15.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-27T07:12:15.881Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2020-04-27T07:12:15.922Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-515 -v /w/workspace/dgexfoundry_device-sdk-go_PR-515:/w/workspace/dgexfoundry_device-sdk-go_PR-515:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-515@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-27T07:12:16.524Z] $ docker top 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T07:12:16.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:12:16.850Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:12:17.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:12:17.068Z] $ docker exec 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent [2020-04-27T07:12:17.293Z] SSH_AUTH_SOCK=/tmp/ssh-0ApGilePjt2p/agent.15 [2020-04-27T07:12:17.293Z] SSH_AGENT_PID=22 [2020-04-27T07:12:17.301Z] Running ssh-add (command line suppressed) [2020-04-27T07:12:17.458Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_5004305869710106267.key (/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_5004305869710106267.key) [2020-04-27T07:12:17.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:12:17.878Z] + git describe --exact-match --tags HEAD [2020-04-27T07:12:17.878Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-27T07:12:17.947Z] $ docker exec --env ******** --env ******** 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent -k [2020-04-27T07:12:18.092Z] unset SSH_AUTH_SOCK; [2020-04-27T07:12:18.092Z] unset SSH_AGENT_PID; [2020-04-27T07:12:18.092Z] echo Agent pid 22 killed; [2020-04-27T07:12:18.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-27T07:12:18.264Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-27T07:12:18.264Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-27T07:12:18.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:12:18.466Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:12:18.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:12:18.655Z] $ docker exec 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent [2020-04-27T07:12:18.844Z] SSH_AUTH_SOCK=/tmp/ssh-3qTjznD6YGgu/agent.56 [2020-04-27T07:12:18.844Z] SSH_AGENT_PID=63 [2020-04-27T07:12:18.852Z] Running ssh-add (command line suppressed) [2020-04-27T07:12:18.992Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_7662990930369045710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_7662990930369045710.key) [2020-04-27T07:12:19.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:12:19.398Z] + git semver init [2020-04-27T07:12:19.398Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T07:12:19.398Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-515/.git [2020-04-27T07:12:19.398Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-515 [2020-04-27T07:12:19.398Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T07:12:19.398Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T07:12:19.398Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T07:12:19.398Z] # $SEMVER_BRANCH = PR-515 [2020-04-27T07:12:19.398Z] # $SEMVER_TEMP = /tmp/semver-042473834 [2020-04-27T07:12:19.398Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-27T07:12:19.973Z] # '/tmp/semver-042473834' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-515/.semver' [2020-04-27T07:12:19.973Z] # -> Force: false [2020-04-27T07:12:19.973Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-515/.semver [Pipeline] } [2020-04-27T07:12:19.992Z] $ docker exec --env ******** --env ******** 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent -k [2020-04-27T07:12:20.136Z] unset SSH_AUTH_SOCK; [2020-04-27T07:12:20.136Z] unset SSH_AGENT_PID; [2020-04-27T07:12:20.136Z] echo Agent pid 63 killed; [2020-04-27T07:12:20.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T07:12:20.969Z] + git semver [Pipeline] } [2020-04-27T07:12:20.999Z] $ docker stop --time=1 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea [2020-04-27T07:12:22.333Z] $ docker rm -f 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-27T07:12:23.197Z] Stashed 57 file(s) [Pipeline] echo [2020-04-27T07:12:23.212Z] [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-27T07:12:38.985Z] Still waiting to schedule task [2020-04-27T07:12:38.986Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-6221’ is offline; ‘prd-centos7-docker-4c-2g-6233’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6230’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-04-27T07:12:39.006Z] Still waiting to schedule task [2020-04-27T07:12:39.007Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6230’ is offline [2020-04-27T07:12:43.297Z] Running on prd-centos7-docker-4c-2g-6233 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [Pipeline] { [Pipeline] ws [2020-04-27T07:12:43.430Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-27T07:12:45.795Z] using credential edgex-jenkins-ssh [2020-04-27T07:12:45.836Z] Cloning the remote Git repository [2020-04-27T07:12:45.836Z] Cloning with configured refspecs honoured and without tags [2020-04-27T07:12:45.862Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:12:45.899Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-27T07:12:45.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:12:45.936Z] > git --version # timeout=10 [2020-04-27T07:12:45.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:12:45.964Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:12:46.591Z] Fetching without tags [2020-04-27T07:12:46.963Z] Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:12:47.066Z] Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:12:47.066Z] Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) [2020-04-27T07:12:46.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:12:46.564Z] > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # timeout=10 [2020-04-27T07:12:46.570Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:12:46.584Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:12:46.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:12:46.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:12:46.600Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:12:46.970Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:12:46.975Z] > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 [2020-04-27T07:12:47.021Z] > git remote # timeout=10 [2020-04-27T07:12:47.027Z] > git config --get remote.origin.url # timeout=10 [2020-04-27T07:12:47.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:12:47.036Z] > git merge 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 [2020-04-27T07:12:47.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-27T07:12:47.068Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:12:47.073Z] > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 [2020-04-27T07:12:51.093Z] Commit message: "docs: update release notes" [2020-04-27T07:12:51.117Z] > git --version # timeout=10 [2020-04-27T07:12:51.129Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T07:12:52.132Z] ========================================================= [2020-04-27T07:12:52.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-27T07:12:52.132Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:12:52.780Z] + 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-27T07:12:53.040Z] Sending build context to Docker daemon 3.013MB [2020-04-27T07:12:53.040Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T07:12:53.040Z] Step 2/8 : FROM ${BASE} [2020-04-27T07:12:53.040Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-27T07:12:53.040Z] e6b0cf9c0882: Pulling fs layer [2020-04-27T07:12:53.040Z] 2848faf0eed1: Pulling fs layer [2020-04-27T07:12:53.040Z] 0f37312ad70f: Pulling fs layer [2020-04-27T07:12:53.040Z] 5788d62ee057: Pulling fs layer [2020-04-27T07:12:53.040Z] 0e6b1d234666: Pulling fs layer [2020-04-27T07:12:53.040Z] bf5d7aec512f: Pulling fs layer [2020-04-27T07:12:53.040Z] 34c802a77dc8: Pulling fs layer [2020-04-27T07:12:53.040Z] 9eb99e56ec68: Pulling fs layer [2020-04-27T07:12:53.040Z] 27c7a5d97fbd: Pulling fs layer [2020-04-27T07:12:53.040Z] 5c102a31e300: Pulling fs layer [2020-04-27T07:12:53.040Z] dcfb455df0a1: Pulling fs layer [2020-04-27T07:12:53.040Z] 34c802a77dc8: Waiting [2020-04-27T07:12:53.040Z] 9eb99e56ec68: Waiting [2020-04-27T07:12:53.040Z] 27c7a5d97fbd: Waiting [2020-04-27T07:12:53.040Z] 5c102a31e300: Waiting [2020-04-27T07:12:53.040Z] dcfb455df0a1: Waiting [2020-04-27T07:12:53.040Z] 5788d62ee057: Waiting [2020-04-27T07:12:53.040Z] 0e6b1d234666: Waiting [2020-04-27T07:12:53.040Z] bf5d7aec512f: Waiting [2020-04-27T07:12:53.040Z] 0f37312ad70f: Download complete [2020-04-27T07:12:53.040Z] 2848faf0eed1: Verifying Checksum [2020-04-27T07:12:53.040Z] 2848faf0eed1: Download complete [2020-04-27T07:12:53.040Z] 0e6b1d234666: Verifying Checksum [2020-04-27T07:12:53.040Z] 0e6b1d234666: Download complete [2020-04-27T07:12:53.301Z] bf5d7aec512f: Verifying Checksum [2020-04-27T07:12:53.301Z] bf5d7aec512f: Download complete [2020-04-27T07:12:53.301Z] e6b0cf9c0882: Verifying Checksum [2020-04-27T07:12:53.301Z] e6b0cf9c0882: Download complete [2020-04-27T07:12:53.569Z] e6b0cf9c0882: Pull complete [2020-04-27T07:12:53.832Z] 2848faf0eed1: Pull complete [2020-04-27T07:12:54.092Z] 34c802a77dc8: Verifying Checksum [2020-04-27T07:12:54.092Z] 34c802a77dc8: Download complete [2020-04-27T07:12:54.092Z] 27c7a5d97fbd: Verifying Checksum [2020-04-27T07:12:54.092Z] 27c7a5d97fbd: Download complete [2020-04-27T07:12:54.670Z] 5788d62ee057: Verifying Checksum [2020-04-27T07:12:54.670Z] 5788d62ee057: Download complete [2020-04-27T07:12:54.670Z] dcfb455df0a1: Verifying Checksum [2020-04-27T07:12:54.670Z] dcfb455df0a1: Download complete [2020-04-27T07:12:54.931Z] 5c102a31e300: Verifying Checksum [2020-04-27T07:12:54.931Z] 5c102a31e300: Download complete [2020-04-27T07:12:54.931Z] 9eb99e56ec68: Verifying Checksum [2020-04-27T07:12:54.931Z] 9eb99e56ec68: Download complete [2020-04-27T07:12:55.870Z] 0f37312ad70f: Pull complete [2020-04-27T07:13:02.454Z] 5788d62ee057: Pull complete [2020-04-27T07:13:02.454Z] 0e6b1d234666: Pull complete [2020-04-27T07:13:02.454Z] bf5d7aec512f: Pull complete [2020-04-27T07:13:05.746Z] 34c802a77dc8: Pull complete [2020-04-27T07:13:09.042Z] 9eb99e56ec68: Pull complete [2020-04-27T07:13:09.042Z] 27c7a5d97fbd: Pull complete [2020-04-27T07:13:09.983Z] 5c102a31e300: Pull complete [2020-04-27T07:13:10.552Z] dcfb455df0a1: Pull complete [2020-04-27T07:13:10.552Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-27T07:13:10.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-27T07:13:10.552Z] ---> 7c70fe431013 [2020-04-27T07:13:10.552Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:13:10.813Z] ---> Running in 5b33d32fece7 [2020-04-27T07:13:10.813Z] Removing intermediate container 5b33d32fece7 [2020-04-27T07:13:10.813Z] ---> 5a66e216a9f9 [2020-04-27T07:13:10.813Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:13:10.813Z] ---> Running in 2cd1b01e32c0 [2020-04-27T07:13:11.757Z] Removing intermediate container 2cd1b01e32c0 [2020-04-27T07:13:11.757Z] ---> 4978515ae26f [2020-04-27T07:13:11.757Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-27T07:13:11.757Z] ---> Running in f1057a4a14a1 [2020-04-27T07:13:12.324Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T07:13:13.260Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T07:13:14.201Z] OK: 143 MiB in 39 packages [2020-04-27T07:13:14.461Z] Removing intermediate container f1057a4a14a1 [2020-04-27T07:13:14.462Z] ---> 540f832db484 [2020-04-27T07:13:14.462Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-27T07:13:14.462Z] ---> Running in 9c14e7ba9fb4 [2020-04-27T07:13:14.721Z] Removing intermediate container 9c14e7ba9fb4 [2020-04-27T07:13:14.721Z] ---> 5a3484b7d77d [2020-04-27T07:13:14.721Z] Step 7/8 : COPY . . [2020-04-27T07:13:15.291Z] ---> f90255718401 [2020-04-27T07:13:15.291Z] Step 8/8 : RUN go mod download [2020-04-27T07:13:15.291Z] ---> Running in 7a2a7dbef60a [2020-04-27T07:13:18.582Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T07:13:18.582Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T07:13:18.582Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T07:13:18.582Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T07:13:18.582Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T07:13:18.582Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T07:13:18.582Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T07:13:18.582Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T07:13:18.582Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T07:13:18.582Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T07:13:18.582Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T07:13:18.582Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T07:13:18.582Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T07:13:18.582Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T07:13:18.582Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T07:13:18.582Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T07:13:18.582Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T07:13:18.582Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T07:13:18.582Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T07:13:18.582Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T07:13:18.582Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T07:13:18.582Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T07:13:18.582Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T07:13:18.582Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T07:13:18.582Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T07:13:18.582Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T07:13:18.582Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T07:13:18.582Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T07:13:18.582Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T07:13:18.582Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T07:13:18.582Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T07:13:18.582Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T07:13:18.582Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T07:13:18.582Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T07:13:18.582Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T07:13:18.582Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T07:13:18.582Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T07:13:18.582Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T07:13:18.582Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T07:13:18.582Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T07:13:18.582Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-27T07:13:18.582Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T07:13:18.582Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T07:13:23.858Z] Removing intermediate container 7a2a7dbef60a [2020-04-27T07:13:23.858Z] ---> 2b0fb1ece6af [2020-04-27T07:13:23.858Z] Successfully built 2b0fb1ece6af [2020-04-27T07:13:23.858Z] 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-27T07:13:24.635Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-27T07:13:24.635Z] . [Pipeline] withDockerContainer [2020-04-27T07:13:24.782Z] prd-centos7-docker-4c-2g-6233 does not seem to be running inside a container [2020-04-27T07:13:24.818Z] $ 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-27T07:13:25.353Z] $ docker top bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T07:13:25.882Z] + go version [2020-04-27T07:13:25.882Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-27T07:13:26.781Z] + make test [2020-04-27T07:13:26.781Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-27T07:13:28.186Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-27T07:13:38.429Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-27T07:13:38.429Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-27T07:13:38.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-27T07:13:38.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 22.1% of statements [2020-04-27T07:13:41.918Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 11.4% of statements [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.126s coverage: 36.9% of statements [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.413s coverage: 65.2% of statements [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 52.6% of statements [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-27T07:14:08.478Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-27T07:14:08.478Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-27T07:14:08.478Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T07:14:10.408Z] gofmt -l . [2020-04-27T07:14:10.408Z] [ "`gofmt -l .`" = "" ] [2020-04-27T07:14:10.408Z] ./bin/test-attribution-txt.sh [2020-04-27T07:14:11.345Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T07:14:11.596Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T07:14:11.611Z] $ docker stop --time=1 bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 [2020-04-27T07:14:13.084Z] $ docker rm -f bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T07:14:14.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T07:14:14.952Z] + ls -al . [2020-04-27T07:14:14.952Z] total 180 [2020-04-27T07:14:14.952Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 27 07:14 . [2020-04-27T07:14:14.952Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 07:12 .. [2020-04-27T07:14:14.952Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 07:12 api [2020-04-27T07:14:14.952Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 07:12 bin [2020-04-27T07:14:14.952Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 27 07:14 coverage.out [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 27 07:12 Dockerfile.build [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 07:12 .dockerignore [2020-04-27T07:14:14.952Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 27 07:12 example [2020-04-27T07:14:14.952Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 07:12 .git [2020-04-27T07:14:14.952Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 07:12 .github [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 07:12 .gitignore [2020-04-27T07:14:14.952Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 27 07:14 go.mod [2020-04-27T07:14:14.952Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 27 07:14 go.sum [2020-04-27T07:14:14.952Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 27 07:12 internal [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 27 07:12 Jenkinsfile [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 07:12 LICENSE [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 27 07:12 Makefile [2020-04-27T07:14:14.952Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 07:12 pkg [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 27 07:12 README.md [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 3497 Apr 27 07:12 RELEASE-NOTES.txt [2020-04-27T07:14:14.952Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 27 07:12 .semver [2020-04-27T07:14:14.952Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 07:12 snap [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 07:12 VERSION [2020-04-27T07:14:14.952Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 07:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:14:15.277Z] + 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=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf --label arch=amd64 --label version=0.0.0 . [2020-04-27T07:14:15.277Z] Sending build context to Docker daemon 3.141MB [2020-04-27T07:14:15.277Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T07:14:15.277Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T07:14:15.277Z] ---> 2b0fb1ece6af [2020-04-27T07:14:15.277Z] Step 3/21 : ARG MAKE='make build' [2020-04-27T07:14:15.536Z] ---> Running in 302158aeab35 [2020-04-27T07:14:15.536Z] Removing intermediate container 302158aeab35 [2020-04-27T07:14:15.536Z] ---> 580f5459ca23 [2020-04-27T07:14:15.536Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-27T07:14:15.536Z] ---> Running in 7c30958e67ae [2020-04-27T07:14:15.795Z] Removing intermediate container 7c30958e67ae [2020-04-27T07:14:15.795Z] ---> c1bf9b071a2e [2020-04-27T07:14:15.795Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:14:15.795Z] ---> Running in 0774108fd8e2 [2020-04-27T07:14:16.053Z] Removing intermediate container 0774108fd8e2 [2020-04-27T07:14:16.053Z] ---> 130ae346dc3f [2020-04-27T07:14:16.053Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:14:16.053Z] ---> Running in 48f0f3216a06 [2020-04-27T07:14:16.629Z] Removing intermediate container 48f0f3216a06 [2020-04-27T07:14:16.629Z] ---> c4ce794d3107 [2020-04-27T07:14:16.629Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-27T07:14:16.629Z] ---> Running in 0ed09921e257 [2020-04-27T07:14:17.198Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T07:14:18.134Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T07:14:18.702Z] OK: 143 MiB in 39 packages [2020-04-27T07:14:19.270Z] Removing intermediate container 0ed09921e257 [2020-04-27T07:14:19.270Z] ---> 68355e93163d [2020-04-27T07:14:19.270Z] Step 8/21 : COPY . . [2020-04-27T07:14:19.531Z] ---> 766710ff2e14 [2020-04-27T07:14:19.531Z] Step 9/21 : RUN ${MAKE} [2020-04-27T07:14:19.531Z] ---> Running in 4c75a7dd656c [2020-04-27T07:14:19.794Z] 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-27T07:14:27.967Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-27T07:14:28.229Z] Removing intermediate container 4c75a7dd656c [2020-04-27T07:14:28.229Z] ---> 5c26111eb70e [2020-04-27T07:14:28.229Z] Step 10/21 : FROM scratch [2020-04-27T07:14:28.229Z] ---> [2020-04-27T07:14:28.229Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:14:28.487Z] ---> Running in 29f80c6da4be [2020-04-27T07:14:28.487Z] Removing intermediate container 29f80c6da4be [2020-04-27T07:14:28.487Z] ---> 2ef16c6e7393 [2020-04-27T07:14:28.487Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-27T07:14:28.487Z] ---> Running in a5f9683b3451 [2020-04-27T07:14:28.706Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6234 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [Pipeline] { [2020-04-27T07:14:28.746Z] Removing intermediate container a5f9683b3451 [2020-04-27T07:14:28.746Z] ---> 05a79c63fa7d [2020-04-27T07:14:28.746Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-27T07:14:28.746Z] ---> Running in 866d132430ed [2020-04-27T07:14:28.746Z] Removing intermediate container 866d132430ed [2020-04-27T07:14:28.746Z] ---> 2fcd958cb832 [2020-04-27T07:14:28.746Z] Step 14/21 : WORKDIR / [2020-04-27T07:14:28.746Z] ---> Running in 377ae82b9c51 [Pipeline] ws [2020-04-27T07:14:28.837Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-27T07:14:29.004Z] Removing intermediate container 377ae82b9c51 [2020-04-27T07:14:29.004Z] ---> 973d3d8e4b5e [2020-04-27T07:14:29.004Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-27T07:14:29.266Z] ---> a7e2b06043fa [2020-04-27T07:14:29.266Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-27T07:14:29.526Z] ---> 67d2b0acb3cb [2020-04-27T07:14:29.526Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-27T07:14:29.785Z] ---> d50e9c1e025a [2020-04-27T07:14:29.785Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-27T07:14:29.785Z] ---> Running in 7e2413749fa3 [2020-04-27T07:14:29.785Z] Removing intermediate container 7e2413749fa3 [2020-04-27T07:14:29.785Z] ---> fe3968edf5ec [2020-04-27T07:14:29.785Z] Step 19/21 : LABEL arch=amd64 [2020-04-27T07:14:30.045Z] ---> Running in bca1da8f84ac [2020-04-27T07:14:30.045Z] Removing intermediate container bca1da8f84ac [2020-04-27T07:14:30.045Z] ---> c849e76d6124 [2020-04-27T07:14:30.045Z] Step 20/21 : LABEL git_sha=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:14:30.045Z] ---> Running in 669f2ecee411 [2020-04-27T07:14:30.319Z] Removing intermediate container 669f2ecee411 [2020-04-27T07:14:30.319Z] ---> 16e839ffb9c3 [2020-04-27T07:14:30.319Z] Step 21/21 : LABEL version=0.0.0 [2020-04-27T07:14:30.319Z] ---> Running in 4a2695666148 [2020-04-27T07:14:30.581Z] Removing intermediate container 4a2695666148 [2020-04-27T07:14:30.581Z] ---> eb93089c88fc [2020-04-27T07:14:30.581Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T07:14:30.581Z] Successfully built eb93089c88fc [2020-04-27T07:14:30.581Z] 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-27T07:14:35.133Z] using credential edgex-jenkins-ssh [2020-04-27T07:14:35.181Z] Cloning the remote Git repository [2020-04-27T07:14:35.181Z] Cloning with configured refspecs honoured and without tags [2020-04-27T07:14:35.240Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:14:35.323Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-27T07:14:35.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:14:35.393Z] > git --version # timeout=10 [2020-04-27T07:14:35.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:14:35.542Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:14:36.869Z] Fetching without tags [2020-04-27T07:14:37.384Z] Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:14:37.715Z] Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:14:37.716Z] Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) [2020-04-27T07:14:36.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:14:36.769Z] > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # timeout=10 [2020-04-27T07:14:36.796Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:14:36.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:14:36.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:14:36.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:14:36.900Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:14:37.410Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:14:37.449Z] > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 [2020-04-27T07:14:37.595Z] > git remote # timeout=10 [2020-04-27T07:14:37.615Z] > git config --get remote.origin.url # timeout=10 [2020-04-27T07:14:37.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:14:37.649Z] > git merge 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 [2020-04-27T07:14:37.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-27T07:14:37.723Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:14:37.806Z] > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 [2020-04-27T07:14:42.388Z] Commit message: "docs: update release notes" [2020-04-27T07:14:42.446Z] > git --version # timeout=10 [2020-04-27T07:14:42.469Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T07:14:44.095Z] ========================================================= [2020-04-27T07:14:44.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-27T07:14:44.095Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:14:45.458Z] + 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-27T07:14:46.429Z] Sending build context to Docker daemon 3.013MB [2020-04-27T07:14:46.429Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T07:14:46.429Z] Step 2/8 : FROM ${BASE} [2020-04-27T07:14:46.698Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-27T07:14:46.698Z] cde5963f3b93: Pulling fs layer [2020-04-27T07:14:46.698Z] 2a23fa8c16f7: Pulling fs layer [2020-04-27T07:14:46.698Z] 777b28850792: Pulling fs layer [2020-04-27T07:14:46.698Z] 8a11ddd9e578: Pulling fs layer [2020-04-27T07:14:46.698Z] 4cf88f913ddb: Pulling fs layer [2020-04-27T07:14:46.698Z] 1df406cf5192: Pulling fs layer [2020-04-27T07:14:46.698Z] cd6300453558: Pulling fs layer [2020-04-27T07:14:46.698Z] b9c365052c96: Pulling fs layer [2020-04-27T07:14:46.698Z] a2d8cc88f415: Pulling fs layer [2020-04-27T07:14:46.698Z] ea1d1ca13537: Pulling fs layer [2020-04-27T07:14:46.698Z] 3750a50a1c5e: Pulling fs layer [2020-04-27T07:14:46.698Z] 1df406cf5192: Waiting [2020-04-27T07:14:46.698Z] 8a11ddd9e578: Waiting [2020-04-27T07:14:46.698Z] 4cf88f913ddb: Waiting [2020-04-27T07:14:46.698Z] cd6300453558: Waiting [2020-04-27T07:14:46.698Z] b9c365052c96: Waiting [2020-04-27T07:14:46.698Z] a2d8cc88f415: Waiting [2020-04-27T07:14:46.698Z] ea1d1ca13537: Waiting [2020-04-27T07:14:46.698Z] 3750a50a1c5e: Waiting [2020-04-27T07:14:46.698Z] 777b28850792: Verifying Checksum [2020-04-27T07:14:46.698Z] 777b28850792: Download complete [2020-04-27T07:14:46.698Z] 2a23fa8c16f7: Verifying Checksum [2020-04-27T07:14:46.698Z] 2a23fa8c16f7: Download complete [2020-04-27T07:14:46.698Z] 4cf88f913ddb: Verifying Checksum [2020-04-27T07:14:46.698Z] 4cf88f913ddb: Download complete [2020-04-27T07:14:46.698Z] 1df406cf5192: Verifying Checksum [2020-04-27T07:14:46.698Z] 1df406cf5192: Download complete [2020-04-27T07:14:46.970Z] cde5963f3b93: Verifying Checksum [2020-04-27T07:14:46.970Z] cde5963f3b93: Download complete [2020-04-27T07:14:47.936Z] cde5963f3b93: Pull complete [2020-04-27T07:14:48.535Z] 2a23fa8c16f7: Pull complete [2020-04-27T07:14:48.809Z] 777b28850792: Pull complete [2020-04-27T07:14:51.410Z] cd6300453558: Verifying Checksum [2020-04-27T07:14:51.410Z] cd6300453558: Download complete [2020-04-27T07:14:51.410Z] a2d8cc88f415: Verifying Checksum [2020-04-27T07:14:51.410Z] a2d8cc88f415: Download complete [2020-04-27T07:14:53.386Z] ea1d1ca13537: Verifying Checksum [2020-04-27T07:14:53.387Z] ea1d1ca13537: Download complete [2020-04-27T07:14:53.657Z] 3750a50a1c5e: Download complete [2020-04-27T07:14:56.244Z] b9c365052c96: Download complete [2020-04-27T07:14:58.183Z] 8a11ddd9e578: Verifying Checksum [2020-04-27T07:14:58.183Z] 8a11ddd9e578: Download complete [2020-04-27T07:15:10.518Z] 8a11ddd9e578: Pull complete [2020-04-27T07:15:10.518Z] 4cf88f913ddb: Pull complete [2020-04-27T07:15:10.518Z] 1df406cf5192: Pull complete [2020-04-27T07:15:14.788Z] cd6300453558: Pull complete [2020-04-27T07:15:20.157Z] b9c365052c96: Pull complete [2020-04-27T07:15:20.157Z] a2d8cc88f415: Pull complete [2020-04-27T07:15:22.110Z] ea1d1ca13537: Pull complete [2020-04-27T07:15:22.380Z] 3750a50a1c5e: Pull complete [2020-04-27T07:15:22.380Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-27T07:15:22.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-27T07:15:22.380Z] ---> 78745c68409d [2020-04-27T07:15:22.380Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:15:26.653Z] ---> Running in daf363f7ebca [2020-04-27T07:15:26.653Z] Removing intermediate container daf363f7ebca [2020-04-27T07:15:26.653Z] ---> 9eb61730c3e0 [2020-04-27T07:15:26.653Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:15:26.925Z] ---> Running in cf3e148597ee [2020-04-27T07:15:28.880Z] Removing intermediate container cf3e148597ee [2020-04-27T07:15:28.880Z] ---> 49d13f2533f2 [2020-04-27T07:15:28.880Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-27T07:15:29.146Z] ---> Running in 442f90e12b23 [2020-04-27T07:15:30.108Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T07:15:31.066Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T07:15:32.037Z] OK: 125 MiB in 39 packages [2020-04-27T07:15:32.999Z] Removing intermediate container 442f90e12b23 [2020-04-27T07:15:32.999Z] ---> 387bb2b153df [2020-04-27T07:15:32.999Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-27T07:15:33.267Z] ---> Running in 0d2a7eb2ebbe [2020-04-27T07:15:33.536Z] Removing intermediate container 0d2a7eb2ebbe [2020-04-27T07:15:33.536Z] ---> aedd0d5b6fed [2020-04-27T07:15:33.536Z] Step 7/8 : COPY . . [2020-04-27T07:15:34.501Z] ---> bd25c85badf9 [2020-04-27T07:15:34.501Z] Step 8/8 : RUN go mod download [2020-04-27T07:15:34.767Z] ---> Running in 5b8439e16ed8 [2020-04-27T07:15:36.716Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T07:15:36.716Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T07:15:36.986Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T07:15:36.986Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T07:15:36.986Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T07:15:36.986Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T07:15:36.986Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T07:15:36.986Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T07:15:36.986Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T07:15:36.986Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T07:15:36.986Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T07:15:36.986Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T07:15:36.986Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T07:15:36.986Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T07:15:36.986Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T07:15:36.986Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T07:15:36.986Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T07:15:36.986Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T07:15:36.986Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T07:15:36.986Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T07:15:36.986Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T07:15:36.986Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T07:15:36.986Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T07:15:36.986Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T07:15:36.986Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T07:15:37.255Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T07:15:37.255Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T07:15:37.255Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T07:15:37.255Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T07:15:37.255Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T07:15:37.255Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T07:15:37.531Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T07:15:37.531Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T07:15:37.531Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T07:15:37.531Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T07:15:37.531Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T07:15:37.531Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T07:15:37.531Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T07:15:37.531Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T07:15:37.531Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T07:15:37.531Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T07:15:37.531Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T07:15:37.531Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T07:15:37.531Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T07:15:37.531Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T07:15:37.531Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T07:15:37.531Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-27T07:15:37.531Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T07:15:37.531Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T07:15:47.639Z] Removing intermediate container 5b8439e16ed8 [2020-04-27T07:15:47.639Z] ---> 0f6f4de97474 [2020-04-27T07:15:47.639Z] Successfully built 0f6f4de97474 [2020-04-27T07:15:47.639Z] 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-27T07:15:48.513Z] + docker inspect -f . ci-base-image-arm64 [2020-04-27T07:15:48.785Z] . [Pipeline] withDockerContainer [2020-04-27T07:15:49.157Z] prd-ubuntu18.04-docker-arm64-4c-16g-6234 does not seem to be running inside a container [2020-04-27T07:15:49.461Z] $ 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-27T07:15:50.852Z] $ docker top dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T07:15:51.942Z] + go version [2020-04-27T07:15:51.942Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-27T07:15:52.612Z] + make test [2020-04-27T07:15:52.612Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-27T07:15:54.034Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-27T07:16:20.772Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-27T07:16:20.772Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-27T07:16:20.772Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-27T07:16:22.739Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements [2020-04-27T07:16:25.350Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 11.4% of statements [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.151s coverage: 36.9% of statements [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.457s coverage: 65.2% of statements [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-27T07:16:57.596Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-27T07:16:57.596Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-27T07:16:57.596Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T07:17:00.953Z] gofmt -l . [2020-04-27T07:17:00.953Z] [ "`gofmt -l .`" = "" ] [2020-04-27T07:17:01.222Z] ./bin/test-attribution-txt.sh [2020-04-27T07:17:01.812Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T07:17:02.429Z] Warning: overwriting stash ‘coverage-report’ [2020-04-27T07:17:02.891Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T07:17:02.925Z] $ docker stop --time=1 dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a [2020-04-27T07:17:05.143Z] $ docker rm -f dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T07:17:06.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T07:17:06.918Z] + ls -al . [2020-04-27T07:17:06.918Z] total 220 [2020-04-27T07:17:06.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 07:17 . [2020-04-27T07:17:06.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 .. [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 07:14 .dockerignore [2020-04-27T07:17:06.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 07:14 .git [2020-04-27T07:17:06.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:14 .github [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 07:14 .gitignore [2020-04-27T07:17:06.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:14 .semver [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 27 07:14 Dockerfile.build [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 27 07:14 Jenkinsfile [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 07:14 LICENSE [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 27 07:14 Makefile [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 27 07:14 README.md [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 3497 Apr 27 07:14 RELEASE-NOTES.txt [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 07:12 VERSION [2020-04-27T07:17:06.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:14 api [2020-04-27T07:17:06.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:14 bin [2020-04-27T07:17:06.918Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 27 07:16 coverage.out [2020-04-27T07:17:06.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 example [2020-04-27T07:17:06.918Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 27 07:17 go.mod [2020-04-27T07:17:06.918Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 27 07:17 go.sum [2020-04-27T07:17:06.918Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 07:14 internal [2020-04-27T07:17:06.918Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 07:14 pkg [2020-04-27T07:17:06.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 snap [2020-04-27T07:17:06.918Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 07:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:17:07.273Z] + 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=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf --label arch=arm64 --label version=0.0.0 . [2020-04-27T07:17:07.861Z] Sending build context to Docker daemon 3.141MB [2020-04-27T07:17:07.861Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T07:17:07.861Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T07:17:07.861Z] ---> 0f6f4de97474 [2020-04-27T07:17:07.861Z] Step 3/21 : ARG MAKE='make build' [2020-04-27T07:17:08.130Z] ---> Running in 03a499cf9f23 [2020-04-27T07:17:08.400Z] Removing intermediate container 03a499cf9f23 [2020-04-27T07:17:08.400Z] ---> 2f21f7f6fc5c [2020-04-27T07:17:08.400Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-27T07:17:08.400Z] ---> Running in e407d9ec6e9e [2020-04-27T07:17:08.986Z] Removing intermediate container e407d9ec6e9e [2020-04-27T07:17:08.986Z] ---> ff0e0b00f605 [2020-04-27T07:17:08.986Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:17:08.986Z] ---> Running in bedb7c583a4a [2020-04-27T07:17:09.253Z] Removing intermediate container bedb7c583a4a [2020-04-27T07:17:09.253Z] ---> ba6002ad25d5 [2020-04-27T07:17:09.253Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:17:09.521Z] ---> Running in c382761aee1a [2020-04-27T07:17:11.465Z] Removing intermediate container c382761aee1a [2020-04-27T07:17:11.465Z] ---> 346682deef71 [2020-04-27T07:17:11.465Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-27T07:17:11.465Z] ---> Running in 65de8bde1b86 [2020-04-27T07:17:12.052Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T07:17:13.008Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T07:17:13.965Z] OK: 125 MiB in 39 packages [2020-04-27T07:17:14.930Z] Removing intermediate container 65de8bde1b86 [2020-04-27T07:17:14.930Z] ---> 733e2eab1b0d [2020-04-27T07:17:14.930Z] Step 8/21 : COPY . . [2020-04-27T07:17:15.895Z] ---> 1bbb500c0c76 [2020-04-27T07:17:15.895Z] Step 9/21 : RUN ${MAKE} [2020-04-27T07:17:15.895Z] ---> Running in e776fe2396f4 [2020-04-27T07:17:16.878Z] 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-27T07:17:43.606Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-27T07:17:43.606Z] Removing intermediate container e776fe2396f4 [2020-04-27T07:17:43.606Z] ---> ee0ab634a0f2 [2020-04-27T07:17:43.606Z] Step 10/21 : FROM scratch [2020-04-27T07:17:43.606Z] ---> [2020-04-27T07:17:43.606Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:17:43.606Z] ---> Running in 1233436874df [2020-04-27T07:17:43.606Z] Removing intermediate container 1233436874df [2020-04-27T07:17:43.606Z] ---> a1aa0ac3ffad [2020-04-27T07:17:43.606Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-27T07:17:43.606Z] ---> Running in b6be01288c03 [2020-04-27T07:17:43.606Z] Removing intermediate container b6be01288c03 [2020-04-27T07:17:43.606Z] ---> a2e43f145a26 [2020-04-27T07:17:43.606Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-27T07:17:43.606Z] ---> Running in cf611321c8ae [2020-04-27T07:17:43.606Z] Removing intermediate container cf611321c8ae [2020-04-27T07:17:43.606Z] ---> d3a2b35dfec6 [2020-04-27T07:17:43.606Z] Step 14/21 : WORKDIR / [2020-04-27T07:17:43.606Z] ---> Running in 35bfae30eabb [2020-04-27T07:17:43.874Z] Removing intermediate container 35bfae30eabb [2020-04-27T07:17:43.874Z] ---> 6deeac32ec2b [2020-04-27T07:17:43.874Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-27T07:17:44.841Z] ---> ebc2d2e59679 [2020-04-27T07:17:44.841Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-27T07:17:45.428Z] ---> 5073e82cb34b [2020-04-27T07:17:45.428Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-27T07:17:45.697Z] ---> bc4ad4c9eea5 [2020-04-27T07:17:45.697Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-27T07:17:45.966Z] ---> Running in ee3c289baee5 [2020-04-27T07:17:46.234Z] Removing intermediate container ee3c289baee5 [2020-04-27T07:17:46.234Z] ---> 2f6d13a0f506 [2020-04-27T07:17:46.234Z] Step 19/21 : LABEL arch=arm64 [2020-04-27T07:17:46.503Z] ---> Running in c60964f5d009 [2020-04-27T07:17:46.772Z] Removing intermediate container c60964f5d009 [2020-04-27T07:17:46.772Z] ---> afab93d06e57 [2020-04-27T07:17:46.772Z] Step 20/21 : LABEL git_sha=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [2020-04-27T07:17:46.772Z] ---> Running in 5027e3b0d711 [2020-04-27T07:17:47.042Z] Removing intermediate container 5027e3b0d711 [2020-04-27T07:17:47.042Z] ---> 69ae699b1c2c [2020-04-27T07:17:47.042Z] Step 21/21 : LABEL version=0.0.0 [2020-04-27T07:17:47.309Z] ---> Running in f2acd29933df [2020-04-27T07:17:47.578Z] Removing intermediate container f2acd29933df [2020-04-27T07:17:47.578Z] ---> 4ec2ad152470 [2020-04-27T07:17:47.578Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T07:17:47.578Z] Successfully built 4ec2ad152470 [2020-04-27T07:17:47.578Z] 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-27T07:17:49.508Z] provisioning config files... [2020-04-27T07:17:49.520Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config62720579146128627tmp [Pipeline] { [Pipeline] sh [2020-04-27T07:17:49.915Z] + curl -s https://codecov.io/bash [2020-04-27T07:17:49.915Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config62720579146128627tmp [2020-04-27T07:17:50.175Z] [2020-04-27T07:17:50.175Z] _____ _ [2020-04-27T07:17:50.175Z] / ____| | | [2020-04-27T07:17:50.175Z] | | ___ __| | ___ ___ _____ __ [2020-04-27T07:17:50.175Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-27T07:17:50.175Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-27T07:17:50.175Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-27T07:17:50.175Z] Bash-tbd [2020-04-27T07:17:50.175Z] [2020-04-27T07:17:50.175Z] [2020-04-27T07:17:50.175Z] ==> Jenkins CI detected. [2020-04-27T07:17:50.175Z] project root: . [2020-04-27T07:17:50.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-27T07:17:50.175Z] ==> Running gcov in . (disable via -X gcov) [2020-04-27T07:17:50.175Z] ==> Python coveragepy not found [2020-04-27T07:17:50.175Z] ==> Searching for coverage reports in: [2020-04-27T07:17:50.175Z] + . [2020-04-27T07:17:50.175Z] -> Found 1 reports [2020-04-27T07:17:50.175Z] ==> Detecting git/mercurial file structure [2020-04-27T07:17:50.175Z] ==> Reading reports [2020-04-27T07:17:50.175Z] + ./coverage.out bytes=110877 [2020-04-27T07:17:50.175Z] ==> Appending adjustments [2020-04-27T07:17:50.175Z] http://docs.codecov.io/docs/fixing-reports [2020-04-27T07:17:50.434Z] + Found adjustments [2020-04-27T07:17:50.434Z] ==> Gzipping contents [2020-04-27T07:17:50.434Z] ==> Uploading reports [2020-04-27T07:17:50.434Z] url: https://codecov.io [2020-04-27T07:17:50.434Z] query: branch=PR-515&commit=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=515&job= [2020-04-27T07:17:50.694Z] -> Pinging Codecov [2020-04-27T07:17:50.694Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-515&commit=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=515&job= [2020-04-27T07:17:50.968Z] -> Uploading [2020-04-27T07:17:51.538Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [Pipeline] } [2020-04-27T07:17:51.560Z] 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-27T07:17:53.294Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:17:53.620Z] ---> package-listing.sh [2020-04-27T07:17:53.620Z] ++ facter osfamily [2020-04-27T07:17:53.620Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-27T07:17:53.620Z] + OS_FAMILY=redhat [2020-04-27T07:17:53.620Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-515 [2020-04-27T07:17:53.620Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-27T07:17:53.620Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-27T07:17:53.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-27T07:17:53.620Z] + PACKAGES=/tmp/packages_start.txt [2020-04-27T07:17:53.620Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-515 ']' [2020-04-27T07:17:53.620Z] + PACKAGES=/tmp/packages_end.txt [2020-04-27T07:17:53.620Z] + case "${OS_FAMILY}" in [2020-04-27T07:17:53.620Z] + rpm -qa [2020-04-27T07:17:53.620Z] + sort [2020-04-27T07:17:57.826Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-27T07:17:57.826Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-27T07:17:57.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-27T07:17:57.826Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-515 ']' [2020-04-27T07:17:57.826Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-515/archives/ [2020-04-27T07:17:57.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-515/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:17:58.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T07:17:58.325Z] [2020-04-27T07:17:58.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:17:58.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T07:17:58.699Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-27T07:17:58.699Z] c9b1b535fdd9: Pulling fs layer [2020-04-27T07:17:58.699Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-27T07:17:58.699Z] 756a868c4378: Pulling fs layer [2020-04-27T07:17:58.699Z] 444b2fc9a129: Pulling fs layer [2020-04-27T07:17:58.699Z] ea15f1150254: Pulling fs layer [2020-04-27T07:17:58.699Z] 41b27a9f41bf: Pulling fs layer [2020-04-27T07:17:58.699Z] 28c525ee5125: Pulling fs layer [2020-04-27T07:17:58.699Z] 094b1ea09ed8: Pulling fs layer [2020-04-27T07:17:58.699Z] 138eaada9080: Pulling fs layer [2020-04-27T07:17:58.699Z] 0622d0fa9048: Pulling fs layer [2020-04-27T07:17:58.699Z] 41b27a9f41bf: Waiting [2020-04-27T07:17:58.699Z] 28c525ee5125: Waiting [2020-04-27T07:17:58.699Z] 094b1ea09ed8: Waiting [2020-04-27T07:17:58.699Z] 138eaada9080: Waiting [2020-04-27T07:17:58.699Z] 0622d0fa9048: Waiting [2020-04-27T07:17:58.699Z] 444b2fc9a129: Waiting [2020-04-27T07:17:58.699Z] ea15f1150254: Waiting [2020-04-27T07:17:58.699Z] 2cc5ad85d9ab: Download complete [2020-04-27T07:17:58.699Z] 444b2fc9a129: Verifying Checksum [2020-04-27T07:17:58.699Z] 444b2fc9a129: Download complete [2020-04-27T07:17:58.699Z] c9b1b535fdd9: Verifying Checksum [2020-04-27T07:17:58.699Z] c9b1b535fdd9: Download complete [2020-04-27T07:17:58.970Z] ea15f1150254: Verifying Checksum [2020-04-27T07:17:58.970Z] ea15f1150254: Download complete [2020-04-27T07:17:58.970Z] 28c525ee5125: Verifying Checksum [2020-04-27T07:17:58.970Z] 28c525ee5125: Download complete [2020-04-27T07:17:59.244Z] c9b1b535fdd9: Pull complete [2020-04-27T07:17:59.244Z] 756a868c4378: Verifying Checksum [2020-04-27T07:17:59.244Z] 756a868c4378: Download complete [2020-04-27T07:17:59.244Z] 138eaada9080: Verifying Checksum [2020-04-27T07:17:59.244Z] 138eaada9080: Download complete [2020-04-27T07:17:59.244Z] 0622d0fa9048: Verifying Checksum [2020-04-27T07:17:59.244Z] 0622d0fa9048: Download complete [2020-04-27T07:17:59.244Z] 2cc5ad85d9ab: Pull complete [2020-04-27T07:17:59.504Z] 094b1ea09ed8: Verifying Checksum [2020-04-27T07:17:59.504Z] 094b1ea09ed8: Download complete [2020-04-27T07:17:59.768Z] 41b27a9f41bf: Verifying Checksum [2020-04-27T07:17:59.768Z] 41b27a9f41bf: Download complete [2020-04-27T07:18:01.144Z] 756a868c4378: Pull complete [2020-04-27T07:18:01.404Z] 444b2fc9a129: Pull complete [2020-04-27T07:18:01.664Z] ea15f1150254: Pull complete [2020-04-27T07:18:05.862Z] 41b27a9f41bf: Pull complete [2020-04-27T07:18:05.862Z] 28c525ee5125: Pull complete [2020-04-27T07:18:07.780Z] 094b1ea09ed8: Pull complete [2020-04-27T07:18:07.780Z] 138eaada9080: Pull complete [2020-04-27T07:18:08.038Z] 0622d0fa9048: Pull complete [2020-04-27T07:18:08.038Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-27T07:18:08.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-27T07:18:08.221Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2020-04-27T07:18:08.264Z] $ 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-515 -v /w/workspace/dgexfoundry_device-sdk-go_PR-515:/w/workspace/dgexfoundry_device-sdk-go_PR-515:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-515@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-27T07:18:08.819Z] $ docker top 984aa2917ca538f85c614bc2e4a845ff9b7276c9d9e9f4178118d5326b1e0c71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-27T07:18:09.110Z] provisioning config files... [2020-04-27T07:18:09.123Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config2336777938382164350tmp [Pipeline] { [Pipeline] echo [2020-04-27T07:18:09.241Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:18:09.559Z] ---> create-netrc.sh [Pipeline] echo [2020-04-27T07:18:09.585Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:18:09.901Z] ---> logs-deploy.sh [2020-04-27T07:18:09.901Z] + ARCHIVE_ARTIFACTS= [2020-04-27T07:18:09.901Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-27T07:18:09.901Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-27T07:18:09.901Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-27T07:18:09.901Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 [2020-04-27T07:18:09.901Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-515/1/ [2020-04-27T07:18:09.901Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 /w/workspace/dgexfoundry_device-sdk-go_PR-515 [2020-04-27T07:18:11.279Z] Archives upload complete. [2020-04-27T07:18:11.279Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-515/1/ [2020-04-27T07:18:11.845Z] ---> uname -a: [2020-04-27T07:18:11.845Z] Linux 984aa2917ca5 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-27T07:18:11.845Z] [2020-04-27T07:18:11.845Z]