Pull request #559 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 cherrycl for edgexfoundry/device-sdk-go Loading trusted files from base branch master at f17d1be1b4849550bf30592997a90b8c252fbe34 rather than 6aa7163db8109aa3a75fde2639145c493e635987 Obtained Jenkinsfile from f17d1be1b4849550bf30592997a90b8c252fbe34 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-559/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-724’ is offline Running on prd-centos7-docker-4c-2g-1234 in /w/workspace/dgexfoundry_device-sdk-go_PR-559 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-559 # 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/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/559/head:refs/remotes/origin/PR-559 # 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/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 6aa7163db8109aa3a75fde2639145c493e635987 Merge succeeded, producing 6aa7163db8109aa3a75fde2639145c493e635987 Checking out Revision 6aa7163db8109aa3a75fde2639145c493e635987 (PR-559) > git config core.sparsecheckout # timeout=10 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # 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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # timeout=10 Commit message: "Change document path from api/oas3.0/ to openapi/" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:13:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:13:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:13:56 ========================================================= 07:13:56 EdgeX Global Pipelines Version Info 07:13:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:13:58 ------------------- 07:13:58 stable info: 07:13:58 ------------------- 07:13:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:13:58 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 07:13:58 Message: update stable to v1.0.106 07:13:59 ------------------- 07:13:59 experimental info: 07:13:59 ------------------- 07:13:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:13:59 Commit SHA: 30a0a69b1d8223a6590fc13400a32918a7eece87 07:13:59 Message: update experimental to v1.0.107 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:01 + git log --format=format:%s -1 6aa7163db8109aa3a75fde2639145c493e635987 [Pipeline] echo 07:14:01 GIT_COMMIT: 6aa7163db8109aa3a75fde2639145c493e635987, Commit Message: Change document path from api/oas3.0/ to openapi/ [Pipeline] echo 07:14:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:02 07:14:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:03 latest: Pulling from edgex-devops/git-semver 07:14:03 31603596830f: Pulling fs layer 07:14:03 2a8b12db71e7: Pulling fs layer 07:14:03 6ca5941a6612: Pulling fs layer 07:14:03 ecc8261a40a4: Pulling fs layer 07:14:03 ecc8261a40a4: Waiting 07:14:03 2a8b12db71e7: Verifying Checksum 07:14:03 2a8b12db71e7: Download complete 07:14:03 31603596830f: Verifying Checksum 07:14:03 31603596830f: Download complete 07:14:03 ecc8261a40a4: Verifying Checksum 07:14:03 ecc8261a40a4: Download complete 07:14:03 6ca5941a6612: Verifying Checksum 07:14:03 6ca5941a6612: Download complete 07:14:03 31603596830f: Pull complete 07:14:03 2a8b12db71e7: Pull complete 07:14:04 6ca5941a6612: Pull complete 07:14:04 ecc8261a40a4: Pull complete 07:14:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:04 prd-centos7-docker-4c-2g-1234 does not seem to be running inside a container 07:14:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-559 -v /w/workspace/dgexfoundry_device-sdk-go_PR-559:/w/workspace/dgexfoundry_device-sdk-go_PR-559:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-559@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:14:06 $ docker top 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:07 [ssh-agent] Looking for ssh-agent implementation... 07:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:07 $ docker exec 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 ssh-agent 07:14:07 SSH_AUTH_SOCK=/tmp/ssh-BfXcEdD0dr5g/agent.11 07:14:07 SSH_AGENT_PID=16 07:14:07 Running ssh-add (command line suppressed) 07:14:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/private_key_8381072061084670766.key (/w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/private_key_8381072061084670766.key) 07:14:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:08 + git describe --exact-match --tags HEAD 07:14:08 fatal: No names found, cannot describe anything. [Pipeline] } 07:14:08 $ docker exec --env ******** --env ******** 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 ssh-agent -k 07:14:08 unset SSH_AUTH_SOCK; 07:14:08 unset SSH_AGENT_PID; 07:14:08 echo Agent pid 16 killed; 07:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:14:08 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:14:08 This usually means this commit has not been tagged. [Pipeline] sshagent 07:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:08 [ssh-agent] Looking for ssh-agent implementation... 07:14:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:08 $ docker exec 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 ssh-agent 07:14:09 SSH_AUTH_SOCK=/tmp/ssh-JQlyMLh8oKPV/agent.45 07:14:09 SSH_AGENT_PID=50 07:14:09 Running ssh-add (command line suppressed) 07:14:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/private_key_6479659292035407195.key (/w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/private_key_6479659292035407195.key) 07:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:09 + git semver init 07:14:09 # -> Open(): unable to determine branch for HEAD 07:14:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-559/.git 07:14:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-559 07:14:09 # $SEMVER_REMOTE_NAME = origin 07:14:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:09 # $SEMVER_USER_NAME = edgex-jenkins 07:14:09 # $SEMVER_BRANCH = PR-559 07:14:09 # $SEMVER_TEMP = /tmp/semver-308195067 07:14:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:14:10 # '/tmp/semver-308195067' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-559/.semver' 07:14:10 # -> Force: false 07:14:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-559/.semver [Pipeline] } 07:14:10 $ docker exec --env ******** --env ******** 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 ssh-agent -k 07:14:11 unset SSH_AUTH_SOCK; 07:14:11 unset SSH_AGENT_PID; 07:14:11 echo Agent pid 50 killed; 07:14:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:11 + git semver [Pipeline] } 07:14:11 $ docker stop --time=1 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 07:14:13 $ docker rm -f 1f49ac515b835f6cbb33192bd121045c83b6e30d39e9110ee18ded15a65befb8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:14:13 Stashed 24 file(s) [Pipeline] echo 07:14:13 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 07:14:13 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 07:14:29 Still waiting to schedule task 07:14:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:14:29 Still waiting to schedule task 07:14:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:16:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1235 in /w/workspace/dgexfoundry_device-sdk-go_PR-559 [Pipeline] { [Pipeline] ws 07:16:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:16:16 using credential edgex-jenkins-ssh 07:16:16 Cloning the remote Git repository 07:16:16 Cloning with configured refspecs honoured and without tags 07:16:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:16:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:16:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:16 > git --version # timeout=10 07:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:17 > git config --add remote.origin.fetch +refs/pull/559/head:refs/remotes/origin/PR-559 # timeout=10 07:16:17 Fetching without tags 07:16:17 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 6aa7163db8109aa3a75fde2639145c493e635987 07:16:18 Merge succeeded, producing 6aa7163db8109aa3a75fde2639145c493e635987 07:16:18 Checking out Revision 6aa7163db8109aa3a75fde2639145c493e635987 (PR-559) 07:16:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:18 > git config core.sparsecheckout # timeout=10 07:16:18 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # timeout=10 07:16:18 > git remote # timeout=10 07:16:18 > git config --get remote.origin.url # timeout=10 07:16:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:18 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 07:16:18 > git rev-parse HEAD^{commit} # timeout=10 07:16:18 > git config core.sparsecheckout # timeout=10 07:16:18 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # timeout=10 07:16:22 Commit message: "Change document path from api/oas3.0/ to openapi/" 07:16:22 > git --version # timeout=10 07:16:22 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:16:24 ========================================================= 07:16:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:16:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:16:25 + 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 . 07:16:26 Sending build context to Docker daemon 3.022MB 07:16:26 Step 1/8 : ARG BASE=golang:1.13-alpine 07:16:26 Step 2/8 : FROM ${BASE} 07:16:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:16:26 b538f80385f9: Pulling fs layer 07:16:26 74f711af9a0d: Pulling fs layer 07:16:26 99f96fe45779: Pulling fs layer 07:16:26 fd7a069fd194: Pulling fs layer 07:16:26 66aa3694b03b: Pulling fs layer 07:16:26 170f70906a0f: Pulling fs layer 07:16:26 ad7c5574e4b9: Pulling fs layer 07:16:26 e772456be8f7: Pulling fs layer 07:16:26 c890913d741a: Pulling fs layer 07:16:26 2480fcc9aa5a: Pulling fs layer 07:16:26 09adf4765672: Pulling fs layer 07:16:26 fd7a069fd194: Waiting 07:16:26 66aa3694b03b: Waiting 07:16:26 170f70906a0f: Waiting 07:16:26 ad7c5574e4b9: Waiting 07:16:26 e772456be8f7: Waiting 07:16:26 c890913d741a: Waiting 07:16:26 2480fcc9aa5a: Waiting 07:16:26 09adf4765672: Waiting 07:16:26 99f96fe45779: Verifying Checksum 07:16:26 99f96fe45779: Download complete 07:16:26 74f711af9a0d: Download complete 07:16:26 66aa3694b03b: Verifying Checksum 07:16:26 66aa3694b03b: Download complete 07:16:26 170f70906a0f: Verifying Checksum 07:16:26 170f70906a0f: Download complete 07:16:26 b538f80385f9: Download complete 07:16:27 b538f80385f9: Pull complete 07:16:28 74f711af9a0d: Pull complete 07:16:28 99f96fe45779: Pull complete 07:16:28 ad7c5574e4b9: Download complete 07:16:28 c890913d741a: Verifying Checksum 07:16:28 c890913d741a: Download complete 07:16:30 2480fcc9aa5a: Verifying Checksum 07:16:30 2480fcc9aa5a: Download complete 07:16:30 09adf4765672: Download complete 07:16:31 e772456be8f7: Verifying Checksum 07:16:31 e772456be8f7: Download complete 07:16:32 fd7a069fd194: Verifying Checksum 07:16:32 fd7a069fd194: Download complete 07:16:41 Running on prd-centos7-docker-4c-2g-1236 in /w/workspace/dgexfoundry_device-sdk-go_PR-559 [Pipeline] { [Pipeline] ws 07:16:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:16:43 using credential edgex-jenkins-ssh 07:16:43 Cloning the remote Git repository 07:16:43 Cloning with configured refspecs honoured and without tags 07:16:44 Fetching without tags 07:16:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:16:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:16:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:43 > git --version # timeout=10 07:16:43 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:44 > git config --add remote.origin.fetch +refs/pull/559/head:refs/remotes/origin/PR-559 # timeout=10 07:16:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/559/head:refs/remotes/origin/PR-559 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:44 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 6aa7163db8109aa3a75fde2639145c493e635987 07:16:44 Merge succeeded, producing 6aa7163db8109aa3a75fde2639145c493e635987 07:16:44 Checking out Revision 6aa7163db8109aa3a75fde2639145c493e635987 (PR-559) 07:16:44 fd7a069fd194: Pull complete 07:16:44 66aa3694b03b: Pull complete 07:16:44 170f70906a0f: Pull complete 07:16:44 > git config core.sparsecheckout # timeout=10 07:16:44 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # timeout=10 07:16:44 > git remote # timeout=10 07:16:44 > git config --get remote.origin.url # timeout=10 07:16:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:44 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 07:16:44 > git rev-parse HEAD^{commit} # timeout=10 07:16:44 > git config core.sparsecheckout # timeout=10 07:16:44 > git checkout -f 6aa7163db8109aa3a75fde2639145c493e635987 # timeout=10 07:16:48 ad7c5574e4b9: Pull complete 07:16:48 Commit message: "Change document path from api/oas3.0/ to openapi/" 07:16:48 > git --version # timeout=10 07:16:48 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:16:49 ========================================================= 07:16:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:16:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:16:50 + 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 . 07:16:50 Sending build context to Docker daemon 3.022MB 07:16:50 Step 1/8 : ARG BASE=golang:1.13-alpine 07:16:50 Step 2/8 : FROM ${BASE} 07:16:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:16:50 df20fa9351a1: Pulling fs layer 07:16:50 ed8968b2872e: Pulling fs layer 07:16:50 a92cc7c5fd73: Pulling fs layer 07:16:50 2dd03ba5bac4: Pulling fs layer 07:16:50 1e091d79d1de: Pulling fs layer 07:16:50 481702a1767f: Pulling fs layer 07:16:50 f64a6f60c768: Pulling fs layer 07:16:50 e78d2573fc39: Pulling fs layer 07:16:50 e876d2f968b6: Pulling fs layer 07:16:50 ce8a83651883: Pulling fs layer 07:16:50 07967f4d0e4b: Pulling fs layer 07:16:50 2dd03ba5bac4: Waiting 07:16:50 1e091d79d1de: Waiting 07:16:50 481702a1767f: Waiting 07:16:50 f64a6f60c768: Waiting 07:16:50 e78d2573fc39: Waiting 07:16:50 e876d2f968b6: Waiting 07:16:50 ce8a83651883: Waiting 07:16:50 07967f4d0e4b: Waiting 07:16:50 a92cc7c5fd73: Verifying Checksum 07:16:50 a92cc7c5fd73: Download complete 07:16:50 ed8968b2872e: Verifying Checksum 07:16:50 ed8968b2872e: Download complete 07:16:50 1e091d79d1de: Verifying Checksum 07:16:50 1e091d79d1de: Download complete 07:16:50 481702a1767f: Verifying Checksum 07:16:50 481702a1767f: Download complete 07:16:50 df20fa9351a1: Verifying Checksum 07:16:50 df20fa9351a1: Download complete 07:16:51 df20fa9351a1: Pull complete 07:16:51 f64a6f60c768: Verifying Checksum 07:16:51 f64a6f60c768: Download complete 07:16:51 e876d2f968b6: Verifying Checksum 07:16:51 e876d2f968b6: Download complete 07:16:52 2dd03ba5bac4: Verifying Checksum 07:16:52 2dd03ba5bac4: Download complete 07:16:52 07967f4d0e4b: Verifying Checksum 07:16:52 07967f4d0e4b: Download complete 07:16:52 ce8a83651883: Verifying Checksum 07:16:52 ce8a83651883: Download complete 07:16:52 e78d2573fc39: Verifying Checksum 07:16:52 e78d2573fc39: Download complete 07:16:52 e772456be8f7: Pull complete 07:16:52 c890913d741a: Pull complete 07:16:53 ed8968b2872e: Pull complete 07:16:53 a92cc7c5fd73: Pull complete 07:16:55 2480fcc9aa5a: Pull complete 07:16:55 09adf4765672: Pull complete 07:16:55 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:16:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:16:55 ---> 2248a725d1cf 07:16:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:59 2dd03ba5bac4: Pull complete 07:16:59 1e091d79d1de: Pull complete 07:16:59 481702a1767f: Pull complete 07:17:00 ---> Running in d10272104707 07:17:00 Removing intermediate container d10272104707 07:17:00 ---> 415acaf6e0fd 07:17:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:00 ---> Running in c52de3617a56 07:17:03 Removing intermediate container c52de3617a56 07:17:03 ---> 843692801801 07:17:03 Step 5/8 : RUN apk add --no-cache make git 07:17:03 ---> Running in 5d0c50f92a80 07:17:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:17:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:17:07 OK: 142 MiB in 39 packages 07:17:08 Removing intermediate container 5d0c50f92a80 07:17:08 ---> 18f611ad8018 07:17:08 Step 6/8 : WORKDIR /device-sdk-go 07:17:09 ---> Running in 603bc25e9930 07:17:09 f64a6f60c768: Pull complete 07:17:09 Removing intermediate container 603bc25e9930 07:17:09 ---> 0250815ccaf5 07:17:09 Step 7/8 : COPY . . 07:17:11 e78d2573fc39: Pull complete 07:17:11 e876d2f968b6: Pull complete 07:17:11 ---> 0fd18513b95f 07:17:11 Step 8/8 : RUN go mod download 07:17:11 ---> Running in 372e31a56d6f 07:17:12 ce8a83651883: Pull complete 07:17:12 07967f4d0e4b: Pull complete 07:17:12 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:17:12 ---> 5d7c900382c6 07:17:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:17:13 ---> Running in 2974b98fc783 07:17:13 Removing intermediate container 2974b98fc783 07:17:13 ---> 57c5862add2b 07:17:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:13 ---> Running in d98e347029c6 07:17:13 go: finding github.com/BurntSushi/toml v0.3.1 07:17:13 go: finding github.com/OneOfOne/xxhash v1.2.6 07:17:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:17:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:17:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:17:13 go: finding github.com/bgentry/speakeasy v0.1.0 07:17:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:17:13 go: finding github.com/davecgh/go-spew v1.1.1 07:17:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:17:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:17:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:17:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:17:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:17:14 go: finding github.com/fatih/color v1.7.0 07:17:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:17:14 go: finding github.com/go-kit/kit v0.8.0 07:17:14 go: finding github.com/go-logfmt/logfmt v0.4.0 07:17:14 go: finding github.com/go-stack/stack v1.8.0 07:17:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:17:14 go: finding github.com/google/uuid v1.1.0 07:17:14 go: finding github.com/gorilla/mux v1.7.1 07:17:14 go: finding github.com/hashicorp/consul/api v1.1.0 07:17:14 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:17:14 go: finding github.com/hashicorp/errwrap v1.0.0 07:17:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:17:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:17:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:17:14 go: finding github.com/hashicorp/go-multierror v1.0.0 07:17:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:17:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:17:14 go: finding github.com/hashicorp/go-syslog v1.0.0 07:17:14 go: finding github.com/hashicorp/go-uuid v1.0.1 07:17:14 go: finding github.com/hashicorp/go.net v0.0.1 07:17:14 go: finding github.com/hashicorp/golang-lru v0.5.0 07:17:14 go: finding github.com/hashicorp/logutils v1.0.0 07:17:14 go: finding github.com/hashicorp/mdns v1.0.0 07:17:14 go: finding github.com/hashicorp/memberlist v0.1.3 07:17:14 go: finding github.com/hashicorp/serf v0.8.2 07:17:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:17:14 go: finding github.com/mattn/go-colorable v0.0.9 07:17:14 go: finding github.com/mattn/go-isatty v0.0.3 07:17:14 go: finding github.com/miekg/dns v1.0.14 07:17:14 go: finding github.com/mitchellh/cli v1.0.0 07:17:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:17:14 go: finding github.com/mitchellh/copystructure v1.0.0 07:17:14 go: finding github.com/mitchellh/go-homedir v1.0.0 07:17:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:17:14 go: finding github.com/mitchellh/gox v0.4.0 07:17:14 go: finding github.com/mitchellh/iochan v1.0.0 07:17:14 go: finding github.com/mitchellh/mapstructure v1.1.2 07:17:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:17:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:17:14 go: finding github.com/pelletier/go-toml v1.2.0 07:17:14 go: finding github.com/pkg/errors v0.8.1 07:17:14 go: finding github.com/pmezard/go-difflib v1.0.0 07:17:15 Removing intermediate container d98e347029c6 07:17:15 ---> 2fbfb11af7a1 07:17:15 Step 5/8 : RUN apk add --no-cache make git 07:17:15 ---> Running in 4bf82a53da68 07:17:15 go: finding github.com/posener/complete v1.1.1 07:17:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:17:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:17:15 go: finding github.com/stretchr/objx v0.1.0 07:17:15 go: finding github.com/stretchr/testify v1.5.1 07:17:15 go: finding github.com/ugorji/go v1.1.4 07:17:15 go: finding github.com/x448/float16 v0.8.4 07:17:15 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:17:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:17:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:17:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:17:15 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:17:15 go: finding gopkg.in/yaml.v2 v2.2.8 07:17:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:17:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:17:17 OK: 166 MiB in 39 packages 07:17:17 Removing intermediate container 4bf82a53da68 07:17:17 ---> 76e757df82b6 07:17:17 Step 6/8 : WORKDIR /device-sdk-go 07:17:17 ---> Running in fa699567771f 07:17:18 Removing intermediate container fa699567771f 07:17:18 ---> e0e31a26f23a 07:17:18 Step 7/8 : COPY . . 07:17:19 ---> fcd67401dbcd 07:17:19 Step 8/8 : RUN go mod download 07:17:19 ---> Running in 67106abd47f2 07:17:21 go: finding github.com/BurntSushi/toml v0.3.1 07:17:21 go: finding github.com/OneOfOne/xxhash v1.2.6 07:17:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:17:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:17:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:17:21 go: finding github.com/bgentry/speakeasy v0.1.0 07:17:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:17:21 go: finding github.com/davecgh/go-spew v1.1.1 07:17:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:17:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:17:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:17:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:17:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:17:21 go: finding github.com/fatih/color v1.7.0 07:17:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:17:21 go: finding github.com/go-kit/kit v0.8.0 07:17:21 go: finding github.com/go-logfmt/logfmt v0.4.0 07:17:21 go: finding github.com/go-stack/stack v1.8.0 07:17:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:17:21 go: finding github.com/google/uuid v1.1.0 07:17:21 go: finding github.com/gorilla/mux v1.7.1 07:17:21 go: finding github.com/hashicorp/consul/api v1.1.0 07:17:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:17:21 go: finding github.com/hashicorp/errwrap v1.0.0 07:17:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:17:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:17:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:17:21 go: finding github.com/hashicorp/go-multierror v1.0.0 07:17:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:17:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:17:21 go: finding github.com/hashicorp/go-syslog v1.0.0 07:17:21 go: finding github.com/hashicorp/go-uuid v1.0.1 07:17:21 go: finding github.com/hashicorp/go.net v0.0.1 07:17:21 go: finding github.com/hashicorp/golang-lru v0.5.0 07:17:21 go: finding github.com/hashicorp/logutils v1.0.0 07:17:21 go: finding github.com/hashicorp/mdns v1.0.0 07:17:21 go: finding github.com/hashicorp/memberlist v0.1.3 07:17:21 go: finding github.com/hashicorp/serf v0.8.2 07:17:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:17:21 go: finding github.com/mattn/go-colorable v0.0.9 07:17:21 go: finding github.com/mattn/go-isatty v0.0.3 07:17:21 go: finding github.com/miekg/dns v1.0.14 07:17:21 go: finding github.com/mitchellh/cli v1.0.0 07:17:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:17:21 go: finding github.com/mitchellh/copystructure v1.0.0 07:17:21 go: finding github.com/mitchellh/go-homedir v1.0.0 07:17:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:17:21 go: finding github.com/mitchellh/gox v0.4.0 07:17:21 go: finding github.com/mitchellh/iochan v1.0.0 07:17:21 go: finding github.com/mitchellh/mapstructure v1.1.2 07:17:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:17:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:17:21 go: finding github.com/pelletier/go-toml v1.2.0 07:17:21 go: finding github.com/pkg/errors v0.8.1 07:17:21 go: finding github.com/pmezard/go-difflib v1.0.0 07:17:21 go: finding github.com/posener/complete v1.1.1 07:17:21 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:17:21 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:17:21 go: finding github.com/stretchr/objx v0.1.0 07:17:21 go: finding github.com/stretchr/testify v1.5.1 07:17:21 go: finding github.com/ugorji/go v1.1.4 07:17:21 go: finding github.com/x448/float16 v0.8.4 07:17:21 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:17:22 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:17:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:17:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:17:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:17:22 go: finding gopkg.in/yaml.v2 v2.2.8 07:17:25 Removing intermediate container 372e31a56d6f 07:17:25 ---> 3d7ea37fc389 07:17:25 Successfully built 3d7ea37fc389 07:17:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:17:26 + docker inspect -f . ci-base-image-arm64 07:17:26 . [Pipeline] withDockerContainer 07:17:26 prd-ubuntu18.04-docker-arm64-4c-16g-1235 does not seem to be running inside a container 07:17:26 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:17:28 $ docker top 9ebedf4375983e1c982911857a491bf0ea01c497242e6bac15a98d34f8cf7eee -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:30 + go version 07:17:30 go version go1.13.13 linux/arm64 [Pipeline] sh 07:17:30 Removing intermediate container 67106abd47f2 07:17:30 ---> 683aeb7473c6 07:17:30 Successfully built 683aeb7473c6 07:17:30 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 07:17:31 + docker inspect -f . ci-base-image-x86_64 07:17:31 . 07:17:31 + make test 07:17:31 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] withDockerContainer 07:17:31 prd-centos7-docker-4c-2g-1236 does not seem to be running inside a container 07:17:31 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:17:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:17:32 $ docker top 108f67719f201d66793ccdd2706a38bfceaf0b05b74abd37b681d997b8eae38e -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:33 + go version 07:17:33 go version go1.13.13 linux/amd64 [Pipeline] sh 07:17:33 + make test 07:17:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:17:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:17:44 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:17:44 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:17:44 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:17:44 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.013s coverage: 22.1% of statements 07:17:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.063s coverage: 95.8% of statements 07:18:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:18:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:18:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:18:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 22.1% of statements 07:18:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.8% of statements 07:18:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements 07:18:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 07:18:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:18:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.099s coverage: 36.9% of statements 07:18:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:18:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 65.2% of statements 07:18:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:18:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:18:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:18:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.018s coverage: 52.6% of statements 07:18:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.095s coverage: 68.9% of statements 07:18:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:18:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:18:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:18:18 gofmt -l . 07:18:18 [ "`gofmt -l .`" = "" ] 07:18:18 ./bin/test-attribution-txt.sh 07:18:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:18:19 Stashed 1 file(s) [Pipeline] } 07:18:19 $ docker stop --time=1 108f67719f201d66793ccdd2706a38bfceaf0b05b74abd37b681d997b8eae38e 07:18:21 $ docker rm -f 108f67719f201d66793ccdd2706a38bfceaf0b05b74abd37b681d997b8eae38e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:24 + ls -al . 07:18:24 total 188 07:18:24 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 28 07:18 . 07:18:24 drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 07:16 .. 07:18:24 drwxrwxr-x. 2 jenkins jenkins 64 Jul 28 07:16 bin 07:18:24 -rw-r--r--. 1 jenkins jenkins 110877 Jul 28 07:18 coverage.out 07:18:24 -rw-rw-r--. 1 jenkins jenkins 936 Jul 28 07:16 Dockerfile.build 07:18:24 -rw-rw-r--. 1 jenkins jenkins 140 Jul 28 07:16 .dockerignore 07:18:24 drwxrwxr-x. 4 jenkins jenkins 48 Jul 28 07:16 example 07:18:24 drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 07:16 .git 07:18:24 drwxrwxr-x. 2 jenkins jenkins 38 Jul 28 07:16 .github 07:18:24 -rw-rw-r--. 1 jenkins jenkins 138 Jul 28 07:16 .gitignore 07:18:24 -rw-r--r--. 1 jenkins jenkins 446 Jul 28 07:18 go.mod 07:18:24 -rw-r--r--. 1 jenkins jenkins 12179 Jul 28 07:18 go.sum 07:18:24 drwxrwxr-x. 13 jenkins jenkins 184 Jul 28 07:16 internal 07:18:24 -rw-rw-r--. 1 jenkins jenkins 808 Jul 28 07:16 Jenkinsfile 07:18:24 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 28 07:16 LICENSE 07:18:24 -rw-rw-r--. 1 jenkins jenkins 892 Jul 28 07:16 Makefile 07:18:24 drwxrwxr-x. 4 jenkins jenkins 26 Jul 28 07:16 openapi 07:18:24 drwxrwxr-x. 5 jenkins jenkins 50 Jul 28 07:16 pkg 07:18:24 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 28 07:16 README.md 07:18:24 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 28 07:16 RELEASE-NOTES.txt 07:18:24 drwxrwxr-x. 3 jenkins jenkins 58 Jul 28 07:16 .semver 07:18:24 drwxrwxr-x. 4 jenkins jenkins 54 Jul 28 07:16 snap 07:18:24 -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 07:14 VERSION 07:18:24 -rw-rw-r--. 1 jenkins jenkins 222 Jul 28 07:16 version.go [Pipeline] isUnix [Pipeline] sh 07:18:24 + 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=6aa7163db8109aa3a75fde2639145c493e635987 --label arch=amd64 --label version=0.0.0 . 07:18:24 Sending build context to Docker daemon 3.15MB 07:18:24 Step 1/23 : ARG BASE=golang:1.13-alpine 07:18:24 Step 2/23 : FROM ${BASE} AS builder 07:18:24 ---> 683aeb7473c6 07:18:24 Step 3/23 : ARG MAKE='make build' 07:18:25 ---> Running in 27ac421a7846 07:18:25 Removing intermediate container 27ac421a7846 07:18:25 ---> f304bb80b5fe 07:18:25 Step 4/23 : WORKDIR /device-sdk-go 07:18:25 ---> Running in d09c2bb95141 07:18:25 Removing intermediate container d09c2bb95141 07:18:25 ---> bdc91e494a76 07:18:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:18:25 ---> Running in 3f51eb747358 07:18:25 Removing intermediate container 3f51eb747358 07:18:25 ---> 4368e4be669f 07:18:25 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:25 ---> Running in 70fe5d22d37a 07:18:26 Removing intermediate container 70fe5d22d37a 07:18:26 ---> cb6200df5d0a 07:18:26 Step 7/23 : RUN apk add --update --no-cache make git 07:18:27 ---> Running in a977ce3ebd8a 07:18:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:18:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:18:29 OK: 166 MiB in 39 packages 07:18:29 Removing intermediate container a977ce3ebd8a 07:18:29 ---> 27954c98f99d 07:18:29 Step 8/23 : COPY . . 07:18:30 ---> 9a40354898cf 07:18:30 Step 9/23 : RUN ${MAKE} 07:18:30 ---> Running in c700713e531a 07:18:30 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 07:18:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements 07:18:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.7% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:18:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.123s coverage: 36.9% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:18:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.491s coverage: 65.2% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:18:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.109s coverage: 52.6% of statements 07:18:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:18:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:18:39 gofmt -l . 07:18:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:18:39 [ "`gofmt -l .`" = "" ] 07:18:39 ./bin/test-attribution-txt.sh 07:18:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:18:40 Warning: overwriting stash ‘coverage-report’ 07:18:41 Removing intermediate container c700713e531a 07:18:41 ---> 40f93fb229a9 07:18:41 Step 10/23 : FROM scratch 07:18:41 ---> 07:18:41 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:18:41 ---> Running in 021ecac018ca 07:18:41 Removing intermediate container 021ecac018ca 07:18:41 ---> 950967607ffc 07:18:41 Step 12/23 : ENV APP_PORT=49990 07:18:41 ---> Running in 33edb5a9c02b 07:18:41 Removing intermediate container 33edb5a9c02b 07:18:41 ---> c87e08f862b0 07:18:41 Step 13/23 : EXPOSE $APP_PORT 07:18:41 ---> Running in 364c77d99f29 07:18:41 Removing intermediate container 364c77d99f29 07:18:41 ---> 2bd5753635c4 07:18:41 Step 14/23 : WORKDIR / 07:18:41 ---> Running in 873f761619d5 07:18:41 Removing intermediate container 873f761619d5 07:18:41 ---> 7eb139fce8a7 07:18:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:18:41 Stashed 1 file(s) [Pipeline] } 07:18:41 $ docker stop --time=1 9ebedf4375983e1c982911857a491bf0ea01c497242e6bac15a98d34f8cf7eee 07:18:41 ---> 062c0686d7a7 07:18:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:18:42 ---> a2f4a6713b67 07:18:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:18:42 ---> e08d0d8e0d1c 07:18:42 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:18:42 ---> 0b16447ebcd0 07:18:42 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:18:42 ---> bb4dc46e22d6 07:18:42 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:18:42 ---> Running in be54fb23cdaf 07:18:43 Removing intermediate container be54fb23cdaf 07:18:43 ---> 8fd1a0e493d2 07:18:43 Step 21/23 : LABEL arch=amd64 07:18:43 ---> Running in 25a431548c8a 07:18:43 Removing intermediate container 25a431548c8a 07:18:43 ---> 9f3c3de6f115 07:18:43 Step 22/23 : LABEL git_sha=6aa7163db8109aa3a75fde2639145c493e635987 07:18:43 ---> Running in c44008a043de 07:18:43 Removing intermediate container c44008a043de 07:18:43 ---> 019c0e0f5533 07:18:43 Step 23/23 : LABEL version=0.0.0 07:18:43 ---> Running in 2096e3914adb 07:18:43 Removing intermediate container 2096e3914adb 07:18:43 ---> cb904e802800 07:18:43 [Warning] One or more build-args [ARCH] were not consumed 07:18:43 Successfully built cb904e802800 07:18:43 Successfully tagged docker-device-sdk-simple:latest 07:18:43 $ docker rm -f 9ebedf4375983e1c982911857a491bf0ea01c497242e6bac15a98d34f8cf7eee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 07:18:45 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node 07:18:46 + ls -al . 07:18:46 total 228 07:18:46 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 07:18 . 07:18:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:16 .. 07:18:46 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 07:16 .dockerignore 07:18:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 07:16 .git 07:18:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:16 .github 07:18:46 -rw-rw-r-- 1 jenkins jenkins 138 Jul 28 07:16 .gitignore 07:18:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 07:16 .semver 07:18:46 -rw-rw-r-- 1 jenkins jenkins 936 Jul 28 07:16 Dockerfile.build 07:18:46 -rw-rw-r-- 1 jenkins jenkins 808 Jul 28 07:16 Jenkinsfile 07:18:46 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 07:16 LICENSE 07:18:46 -rw-rw-r-- 1 jenkins jenkins 892 Jul 28 07:16 Makefile 07:18:46 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 28 07:16 README.md 07:18:46 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 28 07:16 RELEASE-NOTES.txt 07:18:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 07:14 VERSION 07:18:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:16 bin 07:18:46 -rw-r--r-- 1 jenkins jenkins 110877 Jul 28 07:18 coverage.out 07:18:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:16 example 07:18:46 -rw-r--r-- 1 jenkins jenkins 446 Jul 28 07:18 go.mod 07:18:46 -rw-r--r-- 1 jenkins jenkins 12179 Jul 28 07:18 go.sum 07:18:46 drwxrwxr-x 13 jenkins jenkins 4096 Jul 28 07:16 internal 07:18:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:16 openapi 07:18:46 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 07:16 pkg 07:18:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:16 snap 07:18:46 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 07:16 version.go [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 07:18:46 + 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=6aa7163db8109aa3a75fde2639145c493e635987 --label arch=arm64 --label version=0.0.0 . 07:18:47 Sending build context to Docker daemon 3.15MB 07:18:47 Step 1/23 : ARG BASE=golang:1.13-alpine 07:18:47 Step 2/23 : FROM ${BASE} AS builder 07:18:47 ---> 3d7ea37fc389 07:18:47 Step 3/23 : ARG MAKE='make build' 07:18:47 ---> Running in 73e9d2e1d658 07:18:48 Removing intermediate container 73e9d2e1d658 07:18:48 ---> 4fce6be4943d 07:18:48 Step 4/23 : WORKDIR /device-sdk-go 07:18:48 ---> Running in ac7e0b9b8c1e 07:18:48 Removing intermediate container ac7e0b9b8c1e 07:18:48 ---> aa449c3f2b8b 07:18:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:18:48 ---> Running in 19bad455abe4 07:18:49 Removing intermediate container 19bad455abe4 07:18:49 ---> cf286d7b289d 07:18:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:49 ---> Running in 5c75cdca59b1 07:18:51 Removing intermediate container 5c75cdca59b1 07:18:51 ---> 4675b6305b42 07:18:51 Step 7/23 : RUN apk add --update --no-cache make git 07:18:51 ---> Running in 59d68b98eaaa 07:18:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:18:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:18:55 OK: 142 MiB in 39 packages 07:18:56 Removing intermediate container 59d68b98eaaa 07:18:56 ---> 915ff678ab2d 07:18:56 Step 8/23 : COPY . . 07:18:57 ---> 2f01c1852fd1 07:18:57 Step 9/23 : RUN ${MAKE} 07:18:57 ---> Running in 713d1aeac5ce 07:18:59 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 07:19:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:19:25 Removing intermediate container 713d1aeac5ce 07:19:25 ---> d9af47eb0cb4 07:19:25 Step 10/23 : FROM scratch 07:19:25 ---> 07:19:25 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:19:25 ---> Running in 489ae66fb8c6 07:19:25 Removing intermediate container 489ae66fb8c6 07:19:25 ---> dafd9d3c8962 07:19:25 Step 12/23 : ENV APP_PORT=49990 07:19:25 ---> Running in 546dcf604ffa 07:19:25 Removing intermediate container 546dcf604ffa 07:19:25 ---> 10bfc57f221d 07:19:25 Step 13/23 : EXPOSE $APP_PORT 07:19:25 ---> Running in f2b8e0be58fb 07:19:26 Removing intermediate container f2b8e0be58fb 07:19:26 ---> 313f63c2e211 07:19:26 Step 14/23 : WORKDIR / 07:19:26 ---> Running in 419e3cb2ad51 07:19:26 Removing intermediate container 419e3cb2ad51 07:19:26 ---> b6f0e7adcfb5 07:19:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:19:28 ---> d30e704b3341 07:19:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:19:28 ---> 9a4f0ec25c76 07:19:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:19:29 ---> 136c0f7bf888 07:19:29 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:19:30 ---> 8961ad55201e 07:19:30 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:19:30 ---> 013461a6d3d4 07:19:30 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:19:30 ---> Running in c676054ace2e 07:19:31 Removing intermediate container c676054ace2e 07:19:31 ---> 5275d4076921 07:19:31 Step 21/23 : LABEL arch=arm64 07:19:31 ---> Running in 62799addb344 07:19:32 Removing intermediate container 62799addb344 07:19:32 ---> f87ef447f7b4 07:19:32 Step 22/23 : LABEL git_sha=6aa7163db8109aa3a75fde2639145c493e635987 07:19:32 ---> Running in cd4e4ac62039 07:19:32 Removing intermediate container cd4e4ac62039 07:19:32 ---> 2b3a2c5f18f9 07:19:32 Step 23/23 : LABEL version=0.0.0 07:19:32 ---> Running in de76618d4417 07:19:33 Removing intermediate container de76618d4417 07:19:33 ---> 0a0efb91aa30 07:19:33 [Warning] One or more build-args [ARCH] were not consumed 07:19:33 Successfully built 0a0efb91aa30 07:19:33 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 07:19:35 provisioning config files... 07:19:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/config3389492348666758665tmp [Pipeline] { [Pipeline] sh 07:19:35 + curl -s https://codecov.io/bash 07:19:35 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/config3389492348666758665tmp [Pipeline] } 07:19:36 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 07:19:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:39 ---> package-listing.sh 07:19:39 ++ facter osfamily 07:19:39 ++ tr '[:upper:]' '[:lower:]' 07:19:39 + OS_FAMILY=redhat 07:19:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-559 07:19:39 + START_PACKAGES=/tmp/packages_start.txt 07:19:39 + END_PACKAGES=/tmp/packages_end.txt 07:19:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:39 + PACKAGES=/tmp/packages_start.txt 07:19:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-559 ']' 07:19:39 + PACKAGES=/tmp/packages_end.txt 07:19:39 + case "${OS_FAMILY}" in 07:19:39 + rpm -qa 07:19:39 + sort 07:19:43 + '[' -f /tmp/packages_start.txt ']' 07:19:43 + '[' -f /tmp/packages_end.txt ']' 07:19:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-559 ']' 07:19:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-559/archives/ 07:19:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-559/archives/ [Pipeline] isUnix [Pipeline] sh 07:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:44 07:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:44 alpine: Pulling from edgex-lftools-log-publisher 07:19:44 c9b1b535fdd9: Pulling fs layer 07:19:44 2cc5ad85d9ab: Pulling fs layer 07:19:44 756a868c4378: Pulling fs layer 07:19:44 444b2fc9a129: Pulling fs layer 07:19:44 ea15f1150254: Pulling fs layer 07:19:44 41b27a9f41bf: Pulling fs layer 07:19:44 28c525ee5125: Pulling fs layer 07:19:44 094b1ea09ed8: Pulling fs layer 07:19:44 138eaada9080: Pulling fs layer 07:19:44 0622d0fa9048: Pulling fs layer 07:19:44 444b2fc9a129: Waiting 07:19:44 41b27a9f41bf: Waiting 07:19:44 ea15f1150254: Waiting 07:19:44 28c525ee5125: Waiting 07:19:44 094b1ea09ed8: Waiting 07:19:44 138eaada9080: Waiting 07:19:44 2cc5ad85d9ab: Verifying Checksum 07:19:44 2cc5ad85d9ab: Download complete 07:19:44 444b2fc9a129: Verifying Checksum 07:19:44 444b2fc9a129: Download complete 07:19:44 c9b1b535fdd9: Verifying Checksum 07:19:44 c9b1b535fdd9: Download complete 07:19:44 ea15f1150254: Verifying Checksum 07:19:44 ea15f1150254: Download complete 07:19:44 28c525ee5125: Verifying Checksum 07:19:44 28c525ee5125: Download complete 07:19:45 756a868c4378: Verifying Checksum 07:19:45 756a868c4378: Download complete 07:19:45 c9b1b535fdd9: Pull complete 07:19:45 094b1ea09ed8: Verifying Checksum 07:19:45 094b1ea09ed8: Download complete 07:19:45 138eaada9080: Verifying Checksum 07:19:45 138eaada9080: Download complete 07:19:45 0622d0fa9048: Verifying Checksum 07:19:45 0622d0fa9048: Download complete 07:19:45 2cc5ad85d9ab: Pull complete 07:19:45 41b27a9f41bf: Verifying Checksum 07:19:45 41b27a9f41bf: Download complete 07:19:46 756a868c4378: Pull complete 07:19:46 444b2fc9a129: Pull complete 07:19:47 ea15f1150254: Pull complete 07:19:51 41b27a9f41bf: Pull complete 07:19:51 28c525ee5125: Pull complete 07:19:54 094b1ea09ed8: Pull complete 07:19:54 138eaada9080: Pull complete 07:19:54 0622d0fa9048: Pull complete 07:19:54 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:19:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:19:54 prd-centos7-docker-4c-2g-1234 does not seem to be running inside a container 07:19:54 $ 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-559 -v /w/workspace/dgexfoundry_device-sdk-go_PR-559:/w/workspace/dgexfoundry_device-sdk-go_PR-559:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-559@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:19:58 $ docker top e8b673d8444086d49cf1aba31cde0df11d19b6a807ca9f6c66e2438160122c68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:58 provisioning config files... 07:19:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp/config3902646182121743731tmp [Pipeline] { [Pipeline] echo 07:19:58 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:19:59 ---> create-netrc.sh [Pipeline] echo 07:19:59 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:19:59 ---> logs-deploy.sh 07:19:59 + ARCHIVE_ARTIFACTS= 07:19:59 + LOGS_SERVER=https://logs.edgexfoundry.org 07:19:59 + '[' https://logs.edgexfoundry.org == None ']' 07:19:59 + NEXUS_URL=https://nexus.edgexfoundry.org 07:19:59 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-559/1 07:19:59 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-559/1/ 07:19:59 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-559/1 /w/workspace/dgexfoundry_device-sdk-go_PR-559 07:20:00 Archives upload complete. 07:20:00 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-559/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-559/1/ 07:20:01 ---> uname -a: 07:20:01 Linux e8b673d84440 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:20:01 07:20:01 07:20:01 ---> lscpu: 07:20:01 Architecture: x86_64 07:20:01 CPU op-mode(s): 32-bit, 64-bit 07:20:01 Byte Order: Little Endian 07:20:01 Address sizes: 40 bits physical, 48 bits virtual 07:20:01 CPU(s): 4 07:20:01 On-line CPU(s) list: 0-3 07:20:01 Thread(s) per core: 1 07:20:01 Core(s) per socket: 1 07:20:01 Socket(s): 4 07:20:01 NUMA node(s): 1 07:20:01 Vendor ID: GenuineIntel 07:20:01 CPU family: 6 07:20:01 Model: 44 07:20:01 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:20:01 Stepping: 1 07:20:01 CPU MHz: 2933.396 07:20:01 BogoMIPS: 5866.79 07:20:01 Virtualization: VT-x 07:20:01 Hypervisor vendor: KVM 07:20:01 Virtualization type: full 07:20:01 L1d cache: 128 KiB 07:20:01 L1i cache: 128 KiB 07:20:01 L2 cache: 16 MiB 07:20:01 L3 cache: 64 MiB 07:20:01 NUMA node0 CPU(s): 0-3 07:20:01 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:20:01 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:20:01 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:20:01 Vulnerability Meltdown: Mitigation; PTI 07:20:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:20:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:20:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:20:01 Vulnerability Tsx async abort: Not affected 07:20:01 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:20:01 07:20:01 07:20:01 ---> nproc: 07:20:01 4 07:20:01 07:20:01 07:20:01 ---> df -h: 07:20:01 Filesystem Size Used Available Use% Mounted on 07:20:01 overlay 50.0G 7.2G 42.8G 14% / 07:20:01 tmpfs 64.0M 0 64.0M 0% /dev 07:20:01 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:20:01 shm 64.0M 0 64.0M 0% /dev/shm 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-559 07:20:01 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-559@tmp 07:20:01 07:20:01