Pull request #459 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb+2731ca63cc475b67e9cc596139d210d033590fbd (b3371baf138fcebf801e2cb557dfa926ed235765) 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 b810438aec07f555226556e3b59abf2bab733840 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-459/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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3710 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [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-459 # 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/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb Merge succeeded, producing e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb Checking out Revision e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb (PR-459) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/459/head:refs/remotes/origin/PR-459 # 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/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # 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 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 Commit message: "Revert "Encode the float as base64 string by little-endian binary"" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T15:18:44.489Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:18:46.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T15:18:46.641Z] [2020-03-09T15:18:46.641Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:18:47.026Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T15:18:47.026Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T15:18:47.026Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T15:18:47.026Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T15:18:47.026Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T15:18:47.026Z] 93b08a4f1073: Pulling fs layer [2020-03-09T15:18:47.026Z] 93b08a4f1073: Waiting [2020-03-09T15:18:47.026Z] b8cc5d1170e3: Download complete [2020-03-09T15:18:47.287Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T15:18:47.287Z] 9123ac7c32f7: Download complete [2020-03-09T15:18:47.287Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T15:18:47.287Z] 2924cbbf6a41: Download complete [2020-03-09T15:18:47.287Z] 93b08a4f1073: Verifying Checksum [2020-03-09T15:18:47.287Z] 93b08a4f1073: Download complete [2020-03-09T15:18:47.287Z] 9123ac7c32f7: Pull complete [2020-03-09T15:18:47.560Z] b8cc5d1170e3: Pull complete [2020-03-09T15:18:48.131Z] 2924cbbf6a41: Pull complete [2020-03-09T15:18:48.390Z] 93b08a4f1073: Pull complete [2020-03-09T15:18:48.390Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T15:18:48.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T15:18:48.544Z] prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container [2020-03-09T15:18:48.589Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-459 -v /w/workspace/dgexfoundry_device-sdk-go_PR-459:/w/workspace/dgexfoundry_device-sdk-go_PR-459:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-459@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T15:18:49.203Z] $ docker top 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T15:18:49.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T15:18:49.977Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T15:18:50.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T15:18:50.182Z] $ docker exec 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 ssh-agent [2020-03-09T15:18:50.371Z] SSH_AUTH_SOCK=/tmp/ssh-vOiY0kIwphGc/agent.14 [2020-03-09T15:18:50.371Z] SSH_AGENT_PID=21 [2020-03-09T15:18:50.379Z] Running ssh-add (command line suppressed) [2020-03-09T15:18:50.525Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_5732588435672531038.key (/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_5732588435672531038.key) [2020-03-09T15:18:50.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T15:18:50.952Z] + git describe --exact-match --tags HEAD [2020-03-09T15:18:50.952Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T15:18:51.019Z] $ docker exec --env ******** --env ******** 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 ssh-agent -k [2020-03-09T15:18:51.156Z] unset SSH_AUTH_SOCK; [2020-03-09T15:18:51.156Z] unset SSH_AGENT_PID; [2020-03-09T15:18:51.156Z] echo Agent pid 21 killed; [2020-03-09T15:18:51.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T15:18:51.415Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T15:18:51.415Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T15:18:51.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T15:18:51.522Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T15:18:51.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T15:18:51.715Z] $ docker exec 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 ssh-agent [2020-03-09T15:18:51.903Z] SSH_AUTH_SOCK=/tmp/ssh-ZeXZDWTemcam/agent.57 [2020-03-09T15:18:51.903Z] SSH_AGENT_PID=64 [2020-03-09T15:18:51.909Z] Running ssh-add (command line suppressed) [2020-03-09T15:18:52.054Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_5347686030932020447.key (/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_5347686030932020447.key) [2020-03-09T15:18:52.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T15:18:52.467Z] + git semver init [2020-03-09T15:18:52.467Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T15:18:52.467Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-459/.git [2020-03-09T15:18:52.467Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T15:18:52.467Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T15:18:52.467Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T15:18:52.467Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T15:18:52.467Z] # $SEMVER_BRANCH = PR-459 [2020-03-09T15:18:52.467Z] # $SEMVER_TEMP = /tmp/semver-955342336 [2020-03-09T15:18:52.467Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T15:18:53.037Z] # '/tmp/semver-955342336' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-459/.semver' [2020-03-09T15:18:53.037Z] # -> Force: false [2020-03-09T15:18:53.037Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-459/.semver [Pipeline] } [2020-03-09T15:18:53.061Z] $ docker exec --env ******** --env ******** 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 ssh-agent -k [2020-03-09T15:18:53.203Z] unset SSH_AUTH_SOCK; [2020-03-09T15:18:53.204Z] unset SSH_AGENT_PID; [2020-03-09T15:18:53.204Z] echo Agent pid 64 killed; [2020-03-09T15:18:53.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T15:18:53.775Z] + git semver [Pipeline] } [2020-03-09T15:18:53.803Z] $ docker stop --time=1 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 [2020-03-09T15:18:55.156Z] $ docker rm -f 38b927e81d5d6a2fd6234e0c354b099a5b521b1de7936e6468c9006a938b3688 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T15:18:56.031Z] Stashed 30 file(s) [Pipeline] echo [2020-03-09T15:18:56.047Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-09T15:19:11.515Z] Still waiting to schedule task [2020-03-09T15:19:11.515Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-09T15:19:11.534Z] Still waiting to schedule task [2020-03-09T15:19:11.534Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-09T15:37:12.796Z] Running on prd-centos7-docker-4c-2g-3876 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [Pipeline] { [Pipeline] ws [2020-03-09T15:37:12.864Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-03-09T15:37:14.908Z] using credential edgex-jenkins-ssh [2020-03-09T15:37:14.958Z] Cloning the remote Git repository [2020-03-09T15:37:14.958Z] Cloning with configured refspecs honoured and without tags [2020-03-09T15:37:14.129Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:37:14.169Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-03-09T15:37:14.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:37:14.218Z] > git --version # timeout=10 [2020-03-09T15:37:14.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T15:37:14.255Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T15:37:15.718Z] Fetching without tags [2020-03-09T15:37:16.091Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb [2020-03-09T15:37:16.178Z] Merge succeeded, producing e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb [2020-03-09T15:37:16.179Z] Checking out Revision e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb (PR-459) [2020-03-09T15:37:14.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T15:37:14.892Z] > git config --add remote.origin.fetch +refs/pull/459/head:refs/remotes/origin/PR-459 # timeout=10 [2020-03-09T15:37:14.899Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T15:37:14.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T15:37:14.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:37:14.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T15:37:14.925Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T15:37:15.328Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T15:37:15.334Z] > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 [2020-03-09T15:37:15.382Z] > git remote # timeout=10 [2020-03-09T15:37:15.390Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T15:37:15.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T15:37:15.400Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T15:37:15.409Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T15:37:15.418Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T15:37:15.422Z] > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 [2020-03-09T15:37:20.028Z] Commit message: "Revert "Encode the float as base64 string by little-endian binary"" [2020-03-09T15:37:19.618Z] > git --version # timeout=10 [2020-03-09T15:37:19.636Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T15:37:21.266Z] ========================================================= [2020-03-09T15:37:21.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T15:37:21.266Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:37:21.938Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-09T15:37:22.200Z] Sending build context to Docker daemon 2.681MB [2020-03-09T15:37:22.200Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T15:37:22.200Z] Step 2/8 : FROM ${BASE} [2020-03-09T15:37:22.200Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T15:37:22.200Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T15:37:22.200Z] 2848faf0eed1: Pulling fs layer [2020-03-09T15:37:22.200Z] 0f37312ad70f: Pulling fs layer [2020-03-09T15:37:22.200Z] 5788d62ee057: Pulling fs layer [2020-03-09T15:37:22.200Z] 0e6b1d234666: Pulling fs layer [2020-03-09T15:37:22.200Z] bf5d7aec512f: Pulling fs layer [2020-03-09T15:37:22.200Z] 34c802a77dc8: Pulling fs layer [2020-03-09T15:37:22.200Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T15:37:22.200Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T15:37:22.200Z] 5c102a31e300: Pulling fs layer [2020-03-09T15:37:22.200Z] dcfb455df0a1: Pulling fs layer [2020-03-09T15:37:22.200Z] 0e6b1d234666: Waiting [2020-03-09T15:37:22.200Z] bf5d7aec512f: Waiting [2020-03-09T15:37:22.200Z] 34c802a77dc8: Waiting [2020-03-09T15:37:22.200Z] 9eb99e56ec68: Waiting [2020-03-09T15:37:22.200Z] 27c7a5d97fbd: Waiting [2020-03-09T15:37:22.200Z] 5c102a31e300: Waiting [2020-03-09T15:37:22.200Z] 5788d62ee057: Waiting [2020-03-09T15:37:22.200Z] dcfb455df0a1: Waiting [2020-03-09T15:37:22.200Z] 0f37312ad70f: Verifying Checksum [2020-03-09T15:37:22.200Z] 0f37312ad70f: Download complete [2020-03-09T15:37:22.200Z] 2848faf0eed1: Verifying Checksum [2020-03-09T15:37:22.200Z] 2848faf0eed1: Download complete [2020-03-09T15:37:22.467Z] 0e6b1d234666: Verifying Checksum [2020-03-09T15:37:22.467Z] 0e6b1d234666: Download complete [2020-03-09T15:37:22.467Z] bf5d7aec512f: Verifying Checksum [2020-03-09T15:37:22.467Z] bf5d7aec512f: Download complete [2020-03-09T15:37:22.467Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T15:37:22.467Z] e6b0cf9c0882: Download complete [2020-03-09T15:37:22.730Z] e6b0cf9c0882: Pull complete [2020-03-09T15:37:22.991Z] 2848faf0eed1: Pull complete [2020-03-09T15:37:22.991Z] 0f37312ad70f: Pull complete [2020-03-09T15:37:23.254Z] 34c802a77dc8: Verifying Checksum [2020-03-09T15:37:23.254Z] 34c802a77dc8: Download complete [2020-03-09T15:37:23.520Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T15:37:23.520Z] 27c7a5d97fbd: Download complete [2020-03-09T15:37:24.106Z] 5c102a31e300: Verifying Checksum [2020-03-09T15:37:24.106Z] 5c102a31e300: Download complete [2020-03-09T15:37:24.106Z] dcfb455df0a1: Verifying Checksum [2020-03-09T15:37:24.106Z] dcfb455df0a1: Download complete [2020-03-09T15:37:24.369Z] 5788d62ee057: Verifying Checksum [2020-03-09T15:37:24.369Z] 5788d62ee057: Download complete [2020-03-09T15:37:24.369Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T15:37:24.369Z] 9eb99e56ec68: Download complete [2020-03-09T15:37:30.975Z] 5788d62ee057: Pull complete [2020-03-09T15:37:30.975Z] 0e6b1d234666: Pull complete [2020-03-09T15:37:30.975Z] bf5d7aec512f: Pull complete [2020-03-09T15:37:35.217Z] 34c802a77dc8: Pull complete [2020-03-09T15:37:38.537Z] 9eb99e56ec68: Pull complete [2020-03-09T15:37:38.798Z] 27c7a5d97fbd: Pull complete [2020-03-09T15:37:39.741Z] 5c102a31e300: Pull complete [2020-03-09T15:37:39.741Z] dcfb455df0a1: Pull complete [2020-03-09T15:37:39.741Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T15:37:39.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T15:37:39.741Z] ---> 7c70fe431013 [2020-03-09T15:37:39.741Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:37:40.017Z] ---> Running in 42721650c99e [2020-03-09T15:37:40.018Z] Removing intermediate container 42721650c99e [2020-03-09T15:37:40.018Z] ---> 3ed2da4a2e8b [2020-03-09T15:37:40.018Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T15:37:40.018Z] ---> Running in e56e877f8e0a [2020-03-09T15:37:40.962Z] Removing intermediate container e56e877f8e0a [2020-03-09T15:37:40.962Z] ---> 20f97949c9f5 [2020-03-09T15:37:40.962Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T15:37:41.221Z] ---> Running in 60b9fe151b4f [2020-03-09T15:37:41.481Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T15:37:42.415Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T15:37:42.415Z] OK: 143 MiB in 39 packages [2020-03-09T15:37:42.984Z] Removing intermediate container 60b9fe151b4f [2020-03-09T15:37:42.984Z] ---> 711b526b5a08 [2020-03-09T15:37:42.984Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T15:37:42.984Z] ---> Running in 8ada90ca53b2 [2020-03-09T15:37:42.984Z] Removing intermediate container 8ada90ca53b2 [2020-03-09T15:37:42.984Z] ---> 852cd15938e9 [2020-03-09T15:37:42.984Z] Step 7/8 : COPY . . [2020-03-09T15:37:43.552Z] ---> 78224cc42dfc [2020-03-09T15:37:43.552Z] Step 8/8 : RUN go mod download [2020-03-09T15:37:43.552Z] ---> Running in fc6cfc0f47cc [2020-03-09T15:37:45.462Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T15:37:45.462Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T15:37:45.462Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T15:37:45.462Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T15:37:45.462Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T15:37:45.462Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T15:37:45.462Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T15:37:45.462Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T15:37:45.462Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T15:37:45.462Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T15:37:45.462Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T15:37:45.462Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T15:37:45.462Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T15:37:45.462Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T15:37:45.462Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T15:37:45.462Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T15:37:45.462Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T15:37:45.462Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T15:37:45.723Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T15:37:45.724Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T15:37:45.724Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T15:37:45.724Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T15:37:45.724Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T15:37:45.724Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T15:37:45.724Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T15:37:45.724Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T15:37:45.724Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T15:37:45.724Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T15:37:45.724Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T15:37:45.993Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T15:37:45.993Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T15:37:45.993Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T15:37:45.993Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T15:37:45.993Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T15:37:45.993Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T15:37:45.993Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T15:37:45.993Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T15:37:45.993Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T15:37:45.993Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T15:37:45.993Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T15:37:45.993Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T15:37:45.993Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T15:37:54.144Z] Removing intermediate container fc6cfc0f47cc [2020-03-09T15:37:54.144Z] ---> a8802f854e23 [2020-03-09T15:37:54.144Z] Successfully built a8802f854e23 [2020-03-09T15:37:54.144Z] 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-03-09T15:37:54.939Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T15:37:54.939Z] . [Pipeline] withDockerContainer [2020-03-09T15:37:55.082Z] prd-centos7-docker-4c-2g-3876 does not seem to be running inside a container [2020-03-09T15:37:55.128Z] $ 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 ******** ci-base-image-x86_64 cat [2020-03-09T15:37:55.663Z] $ docker top 0520deb72f020832bb40e7b6938674140ceaf0e05d44ca04698331c75af72fcd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T15:37:56.675Z] + go version [2020-03-09T15:37:56.675Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T15:37:56.999Z] + make test [2020-03-09T15:37:56.999Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T15:38:11.993Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T15:38:11.993Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T15:38:11.993Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T15:38:13.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 23.1% of statements [2020-03-09T15:38:13.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements [2020-03-09T15:38:16.351Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.131s coverage: 12.7% of statements [2020-03-09T15:38:16.351Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-09T15:38:48.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.034s coverage: 30.0% of statements [2020-03-09T15:38:48.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.424s coverage: 42.3% of statements [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T15:38:48.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.373s coverage: 79.5% of statements [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T15:38:48.464Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.030s coverage: 52.6% of statements [2020-03-09T15:38:48.464Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 76.1% of statements [2020-03-09T15:38:48.464Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T15:38:48.464Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T15:38:48.464Z] gofmt -l . [2020-03-09T15:38:48.464Z] [ "`gofmt -l .`" = "" ] [2020-03-09T15:38:48.464Z] ./bin/test-attribution-txt.sh [2020-03-09T15:38:48.464Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T15:38:48.910Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T15:38:48.925Z] $ docker stop --time=1 0520deb72f020832bb40e7b6938674140ceaf0e05d44ca04698331c75af72fcd [2020-03-09T15:38:50.437Z] $ docker rm -f 0520deb72f020832bb40e7b6938674140ceaf0e05d44ca04698331c75af72fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T15:38:51.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T15:38:52.314Z] + ls -al . [2020-03-09T15:38:52.314Z] total 200 [2020-03-09T15:38:52.314Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 15:38 . [2020-03-09T15:38:52.314Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 15:37 .. [2020-03-09T15:38:52.314Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 15:37 api [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 15:37 async.go [2020-03-09T15:38:52.314Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 15:37 bin [2020-03-09T15:38:52.314Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 9 15:38 coverage.out [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 15:37 Dockerfile.build [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 15:37 .dockerignore [2020-03-09T15:38:52.314Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 9 15:37 example [2020-03-09T15:38:52.314Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 15:37 .git [2020-03-09T15:38:52.314Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 15:37 .github [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 15:37 .gitignore [2020-03-09T15:38:52.314Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 15:38 go.mod [2020-03-09T15:38:52.314Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 15:38 go.sum [2020-03-09T15:38:52.314Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 9 15:37 internal [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 15:37 Jenkinsfile [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 15:37 LICENSE [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 15:37 Makefile [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 15:37 manageddevices.go [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 15:37 managedprofiles.go [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 15:37 managedwatchers.go [2020-03-09T15:38:52.314Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 15:37 pkg [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 15:37 README.md [2020-03-09T15:38:52.314Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 9 15:37 .semver [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 9 15:37 service.go [2020-03-09T15:38:52.314Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 15:37 snap [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 15:18 VERSION [2020-03-09T15:38:52.314Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 15:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:38:52.644Z] + 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=e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb --label arch=amd64 --label version=0.0.0 . [2020-03-09T15:38:52.644Z] Sending build context to Docker daemon 2.807MB [2020-03-09T15:38:52.906Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T15:38:52.906Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T15:38:52.906Z] ---> a8802f854e23 [2020-03-09T15:38:52.906Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T15:38:52.906Z] ---> Running in 8efb935d0500 [2020-03-09T15:38:52.906Z] Removing intermediate container 8efb935d0500 [2020-03-09T15:38:52.906Z] ---> a3af77eff2a2 [2020-03-09T15:38:52.906Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T15:38:52.906Z] ---> Running in f621b8fa9f9f [2020-03-09T15:38:53.165Z] Removing intermediate container f621b8fa9f9f [2020-03-09T15:38:53.165Z] ---> 5550fab6319b [2020-03-09T15:38:53.165Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:38:53.165Z] ---> Running in 0bc208c71d8e [2020-03-09T15:38:53.424Z] Removing intermediate container 0bc208c71d8e [2020-03-09T15:38:53.424Z] ---> d8f734194b1f [2020-03-09T15:38:53.424Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T15:38:53.424Z] ---> Running in 7a67ad9fd5ed [2020-03-09T15:38:54.000Z] Removing intermediate container 7a67ad9fd5ed [2020-03-09T15:38:54.000Z] ---> daf79ee34e25 [2020-03-09T15:38:54.000Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T15:38:54.265Z] ---> Running in a559b6ef02d1 [2020-03-09T15:38:54.524Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T15:38:55.093Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T15:38:55.661Z] OK: 143 MiB in 39 packages [2020-03-09T15:38:55.926Z] Removing intermediate container a559b6ef02d1 [2020-03-09T15:38:55.926Z] ---> 460dc7545778 [2020-03-09T15:38:55.926Z] Step 8/20 : COPY . . [2020-03-09T15:38:56.499Z] ---> 044f642c0b88 [2020-03-09T15:38:56.499Z] Step 9/20 : RUN ${MAKE} [2020-03-09T15:38:56.499Z] ---> Running in 02a5f5934fec [2020-03-09T15:38:56.759Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-09T15:39:09.061Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T15:39:13.314Z] Removing intermediate container 02a5f5934fec [2020-03-09T15:39:13.314Z] ---> d5f8ff174d3b [2020-03-09T15:39:13.314Z] Step 10/20 : FROM scratch [2020-03-09T15:39:13.314Z] ---> [2020-03-09T15:39:13.314Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:39:13.314Z] ---> Running in 8db3c45ecf98 [2020-03-09T15:39:13.580Z] Removing intermediate container 8db3c45ecf98 [2020-03-09T15:39:13.580Z] ---> fe612f4049d7 [2020-03-09T15:39:13.580Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T15:39:13.580Z] ---> Running in 2d12349066da [2020-03-09T15:39:13.580Z] Removing intermediate container 2d12349066da [2020-03-09T15:39:13.580Z] ---> 86d1c0b78e8a [2020-03-09T15:39:13.580Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T15:39:13.842Z] ---> Running in af5fcb5329a5 [2020-03-09T15:39:13.842Z] Removing intermediate container af5fcb5329a5 [2020-03-09T15:39:13.842Z] ---> 7884dcd76006 [2020-03-09T15:39:13.842Z] Step 14/20 : WORKDIR / [2020-03-09T15:39:13.842Z] ---> Running in 3ed09bcf4144 [2020-03-09T15:39:14.120Z] Removing intermediate container 3ed09bcf4144 [2020-03-09T15:39:14.120Z] ---> 2b08748429dd [2020-03-09T15:39:14.120Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T15:39:14.688Z] ---> c6ecbab701fd [2020-03-09T15:39:14.688Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T15:39:14.688Z] ---> d2927cf78317 [2020-03-09T15:39:14.688Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T15:39:14.688Z] ---> Running in 2765005b9402 [2020-03-09T15:39:14.947Z] Removing intermediate container 2765005b9402 [2020-03-09T15:39:14.947Z] ---> 2dc254477c16 [2020-03-09T15:39:14.947Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T15:39:14.947Z] ---> Running in ffd624689816 [2020-03-09T15:39:15.205Z] Removing intermediate container ffd624689816 [2020-03-09T15:39:15.205Z] ---> 6822b4ed206e [2020-03-09T15:39:15.205Z] Step 19/20 : LABEL git_sha=e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb [2020-03-09T15:39:15.205Z] ---> Running in b494f1b0b0f6 [2020-03-09T15:39:15.205Z] Removing intermediate container b494f1b0b0f6 [2020-03-09T15:39:15.205Z] ---> 406c45fd85bf [2020-03-09T15:39:15.205Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T15:39:15.205Z] ---> Running in 617f8d38944e [2020-03-09T15:39:15.465Z] Removing intermediate container 617f8d38944e [2020-03-09T15:39:15.465Z] ---> 8d5ba12a6c27 [2020-03-09T15:39:15.465Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T15:39:15.465Z] Successfully built 8d5ba12a6c27 [2020-03-09T15:39:15.465Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T16:35:40.397Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5216 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [Pipeline] { [Pipeline] ws [2020-03-09T16:35:40.503Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-03-09T16:35:47.039Z] using credential edgex-jenkins-ssh [2020-03-09T16:35:47.088Z] Cloning the remote Git repository [2020-03-09T16:35:47.088Z] Cloning with configured refspecs honoured and without tags [2020-03-09T16:35:47.128Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:35:47.230Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-03-09T16:35:47.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:35:47.329Z] > git --version # timeout=10 [2020-03-09T16:35:47.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:35:47.450Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:35:48.717Z] Fetching without tags [2020-03-09T16:35:49.179Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T16:35:49.719Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [2020-03-09T16:35:48.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T16:35:48.609Z] > git config --add remote.origin.fetch +refs/pull/459/head:refs/remotes/origin/PR-459 # timeout=10 [2020-03-09T16:35:48.629Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:35:48.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T16:35:48.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:35:48.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:35:48.710Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:35:49.188Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T16:35:49.221Z] > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:35:51.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:35:52.299Z] ---> package-listing.sh [2020-03-09T16:35:52.300Z] ++ facter osfamily [2020-03-09T16:35:52.300Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T16:35:52.300Z] + OS_FAMILY=redhat [2020-03-09T16:35:52.300Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T16:35:52.300Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T16:35:52.300Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T16:35:52.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T16:35:52.300Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T16:35:52.300Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-459 ']' [2020-03-09T16:35:52.300Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T16:35:52.300Z] + case "${OS_FAMILY}" in [2020-03-09T16:35:52.300Z] + rpm -qa [2020-03-09T16:35:52.300Z] + sort [2020-03-09T16:35:56.502Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T16:35:56.502Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T16:35:56.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T16:35:56.502Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-459 ']' [2020-03-09T16:35:56.502Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-459/archives/ [2020-03-09T16:35:56.502Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-459/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:35:56.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T16:35:56.884Z] [2020-03-09T16:35:56.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:35:57.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T16:35:57.248Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T16:35:57.248Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T16:35:57.248Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T16:35:57.248Z] 756a868c4378: Pulling fs layer [2020-03-09T16:35:57.248Z] 444b2fc9a129: Pulling fs layer [2020-03-09T16:35:57.248Z] ea15f1150254: Pulling fs layer [2020-03-09T16:35:57.248Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T16:35:57.248Z] 28c525ee5125: Pulling fs layer [2020-03-09T16:35:57.248Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T16:35:57.248Z] 138eaada9080: Pulling fs layer [2020-03-09T16:35:57.248Z] 0622d0fa9048: Pulling fs layer [2020-03-09T16:35:57.248Z] 444b2fc9a129: Waiting [2020-03-09T16:35:57.248Z] ea15f1150254: Waiting [2020-03-09T16:35:57.248Z] 41b27a9f41bf: Waiting [2020-03-09T16:35:57.248Z] 28c525ee5125: Waiting [2020-03-09T16:35:57.248Z] 138eaada9080: Waiting [2020-03-09T16:35:57.248Z] 0622d0fa9048: Waiting [2020-03-09T16:35:57.248Z] 094b1ea09ed8: Waiting [2020-03-09T16:35:57.248Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-09T16:35:57.248Z] 2cc5ad85d9ab: Download complete [2020-03-09T16:35:57.248Z] 444b2fc9a129: Verifying Checksum [2020-03-09T16:35:57.248Z] 444b2fc9a129: Download complete [2020-03-09T16:35:57.248Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T16:35:57.248Z] c9b1b535fdd9: Download complete [2020-03-09T16:35:57.248Z] ea15f1150254: Verifying Checksum [2020-03-09T16:35:57.248Z] ea15f1150254: Download complete [2020-03-09T16:35:57.530Z] 28c525ee5125: Verifying Checksum [2020-03-09T16:35:57.530Z] 28c525ee5125: Download complete [2020-03-09T16:35:57.796Z] 756a868c4378: Verifying Checksum [2020-03-09T16:35:57.796Z] 756a868c4378: Download complete [2020-03-09T16:35:57.796Z] c9b1b535fdd9: Pull complete [2020-03-09T16:35:57.796Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T16:35:57.796Z] 094b1ea09ed8: Download complete [2020-03-09T16:35:58.061Z] 138eaada9080: Verifying Checksum [2020-03-09T16:35:58.061Z] 138eaada9080: Download complete [2020-03-09T16:35:58.061Z] 0622d0fa9048: Verifying Checksum [2020-03-09T16:35:58.061Z] 0622d0fa9048: Download complete [2020-03-09T16:35:58.326Z] 2cc5ad85d9ab: Pull complete [2020-03-09T16:35:58.586Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T16:35:58.586Z] 41b27a9f41bf: Download complete [2020-03-09T16:35:59.962Z] 756a868c4378: Pull complete [2020-03-09T16:35:59.963Z] 444b2fc9a129: Pull complete [2020-03-09T16:36:00.223Z] ea15f1150254: Pull complete [2020-03-09T16:36:04.420Z] 41b27a9f41bf: Pull complete [2020-03-09T16:36:04.420Z] 28c525ee5125: Pull complete [2020-03-09T16:36:06.963Z] 094b1ea09ed8: Pull complete [2020-03-09T16:36:06.963Z] 138eaada9080: Pull complete [2020-03-09T16:36:07.222Z] 0622d0fa9048: Pull complete [2020-03-09T16:36:07.222Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T16:36:07.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T16:36:07.657Z] prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container [2020-03-09T16:36:07.724Z] $ 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-459 -v /w/workspace/dgexfoundry_device-sdk-go_PR-459:/w/workspace/dgexfoundry_device-sdk-go_PR-459:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-459@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T16:36:08.970Z] $ docker top 5bbe200f41a5134208b7fca8b79c8d7a709c77ac30579ecfa35085d2789fc6b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T16:36:09.733Z] provisioning config files... [2020-03-09T16:36:09.748Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/config1189448181842258478tmp [Pipeline] { [Pipeline] echo [2020-03-09T16:36:09.840Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:36:10.160Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T16:36:10.185Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:36:10.524Z] ---> logs-deploy.sh [2020-03-09T16:36:10.524Z] + ARCHIVE_ARTIFACTS= [2020-03-09T16:36:10.524Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T16:36:10.524Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T16:36:10.524Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T16:36:10.524Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/1 [2020-03-09T16:36:10.524Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-459/1/ [2020-03-09T16:36:10.524Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/1 /w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T16:36:13.063Z] Archives upload complete. [2020-03-09T16:36:13.063Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-459/1/