Pull request #538 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 charles-knox-intel for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 985ee55f1dbea419f17ca15057a817658179b0bb rather than fad4e385897c94649c4104a3ed54995225ff8978 Obtained Jenkinsfile from 985ee55f1dbea419f17ca15057a817658179b0bb 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 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-538/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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3023 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [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-538 # 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/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # 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 Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # 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 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 Commit message: "docs(README.md): lint; clarity for readers" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:19:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:19:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:19:11 ========================================================= 15:19:11 EdgeX Global Pipelines Version Info 15:19:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:19:13 ------------------- 15:19:13 stable info: 15:19:13 ------------------- 15:19:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:13 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:19:13 Message: update stable to v1.0.89 15:19:13 ------------------- 15:19:13 experimental info: 15:19:13 ------------------- 15:19:13 Commited By: **** collab-it+edgex@linuxfoundation.org 15:19:13 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:19:13 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:16 15:19:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:19:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:16 latest: Pulling from edgex-devops/git-semver 15:19:16 9123ac7c32f7: Pulling fs layer 15:19:16 b8cc5d1170e3: Pulling fs layer 15:19:16 2924cbbf6a41: Pulling fs layer 15:19:16 93b08a4f1073: Pulling fs layer 15:19:16 b8cc5d1170e3: Verifying Checksum 15:19:16 b8cc5d1170e3: Download complete 15:19:16 9123ac7c32f7: Verifying Checksum 15:19:16 9123ac7c32f7: Download complete 15:19:16 93b08a4f1073: Verifying Checksum 15:19:16 93b08a4f1073: Download complete 15:19:16 2924cbbf6a41: Verifying Checksum 15:19:16 2924cbbf6a41: Download complete 15:19:17 9123ac7c32f7: Pull complete 15:19:17 b8cc5d1170e3: Pull complete 15:19:18 2924cbbf6a41: Pull complete 15:19:18 93b08a4f1073: Pull complete 15:19:18 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:19:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:19:18 prd-centos7-docker-4c-2g-3023 does not seem to be running inside a container 15:19:18 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-538 -v /w/workspace/dgexfoundry_device-sdk-go_PR-538:/w/workspace/dgexfoundry_device-sdk-go_PR-538:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-538@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:19:20 $ docker top f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:19:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:21 [ssh-agent] Looking for ssh-agent implementation... 15:19:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:21 $ docker exec f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent 15:19:21 SSH_AUTH_SOCK=/tmp/ssh-8rZdPR4qLUDV/agent.11 15:19:21 SSH_AGENT_PID=16 15:19:21 Running ssh-add (command line suppressed) 15:19:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_899291745553921784.key (/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_899291745553921784.key) 15:19:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:21 + git describe --exact-match --tags HEAD 15:19:21 fatal: No names found, cannot describe anything. [Pipeline] } 15:19:22 $ docker exec --env ******** --env ******** f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent -k 15:19:22 unset SSH_AUTH_SOCK; 15:19:22 unset SSH_AGENT_PID; 15:19:22 echo Agent pid 16 killed; 15:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:19:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:19:22 This usually means this commit has not been tagged. [Pipeline] sshagent 15:19:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:22 [ssh-agent] Looking for ssh-agent implementation... 15:19:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:22 $ docker exec f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent 15:19:22 SSH_AUTH_SOCK=/tmp/ssh-Hnx9sA5EEjIX/agent.45 15:19:22 SSH_AGENT_PID=50 15:19:22 Running ssh-add (command line suppressed) 15:19:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_455183535105647227.key (/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_455183535105647227.key) 15:19:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:23 + git semver init 15:19:23 # -> Open(): unable to determine branch for HEAD 15:19:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-538/.git 15:19:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-538 15:19:23 # $SEMVER_REMOTE_NAME = origin 15:19:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:19:23 # $SEMVER_USER_NAME = edgex-jenkins 15:19:23 # $SEMVER_BRANCH = PR-538 15:19:23 # $SEMVER_TEMP = /tmp/semver-790379743 15:19:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:19:23 # '/tmp/semver-790379743' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-538/.semver' 15:19:23 # -> Force: false 15:19:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-538/.semver [Pipeline] } 15:19:23 $ docker exec --env ******** --env ******** f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent -k 15:19:24 unset SSH_AUTH_SOCK; 15:19:24 unset SSH_AGENT_PID; 15:19:24 echo Agent pid 50 killed; 15:19:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:19:24 + git semver [Pipeline] } 15:19:24 $ docker stop --time=1 f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 15:19:26 $ docker rm -f f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:19:26 Stashed 69 file(s) [Pipeline] echo 15:19:26 [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 15:19:42 Still waiting to schedule task 15:19:42 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3023’ 15:19:42 Still waiting to schedule task 15:19:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 15:21:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3024 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [Pipeline] { [Pipeline] ws 15:21:33 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 15:21:38 using credential edgex-jenkins-ssh 15:21:38 Cloning the remote Git repository 15:21:38 Cloning with configured refspecs honoured and without tags 15:21:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:21:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 15:21:39 Fetching without tags 15:21:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:21:38 > git --version # timeout=10 15:21:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:21:39 > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # timeout=10 15:21:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:21:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:40 Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 15:21:40 Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 15:21:40 Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) 15:21:40 > git config core.sparsecheckout # timeout=10 15:21:40 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 15:21:40 > git remote # timeout=10 15:21:40 > git config --get remote.origin.url # timeout=10 15:21:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:40 > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 15:21:40 > git rev-parse HEAD^{commit} # timeout=10 15:21:40 > git config core.sparsecheckout # timeout=10 15:21:40 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 15:21:45 Commit message: "docs(README.md): lint; clarity for readers" 15:21:45 > git --version # timeout=10 15:21:45 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:21:46 ========================================================= 15:21:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:21:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:21:47 + 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 . 15:21:48 Sending build context to Docker daemon 3.086MB 15:21:48 Step 1/8 : ARG BASE=golang:1.13-alpine 15:21:48 Step 2/8 : FROM ${BASE} 15:21:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:21:48 cde5963f3b93: Pulling fs layer 15:21:48 2a23fa8c16f7: Pulling fs layer 15:21:48 777b28850792: Pulling fs layer 15:21:48 8a11ddd9e578: Pulling fs layer 15:21:48 4cf88f913ddb: Pulling fs layer 15:21:48 1df406cf5192: Pulling fs layer 15:21:48 cd6300453558: Pulling fs layer 15:21:48 b9c365052c96: Pulling fs layer 15:21:48 a2d8cc88f415: Pulling fs layer 15:21:48 ea1d1ca13537: Pulling fs layer 15:21:48 3750a50a1c5e: Pulling fs layer 15:21:48 8a11ddd9e578: Waiting 15:21:48 b9c365052c96: Waiting 15:21:48 cd6300453558: Waiting 15:21:48 a2d8cc88f415: Waiting 15:21:48 ea1d1ca13537: Waiting 15:21:48 1df406cf5192: Waiting 15:21:48 3750a50a1c5e: Waiting 15:21:48 4cf88f913ddb: Waiting 15:21:48 777b28850792: Verifying Checksum 15:21:48 777b28850792: Download complete 15:21:48 2a23fa8c16f7: Verifying Checksum 15:21:48 2a23fa8c16f7: Download complete 15:21:48 4cf88f913ddb: Verifying Checksum 15:21:48 4cf88f913ddb: Download complete 15:21:48 1df406cf5192: Verifying Checksum 15:21:48 1df406cf5192: Download complete 15:21:48 cde5963f3b93: Verifying Checksum 15:21:48 cde5963f3b93: Download complete 15:21:49 cde5963f3b93: Pull complete 15:21:50 2a23fa8c16f7: Pull complete 15:21:50 777b28850792: Pull complete 15:21:51 cd6300453558: Verifying Checksum 15:21:51 cd6300453558: Download complete 15:21:51 a2d8cc88f415: Verifying Checksum 15:21:51 a2d8cc88f415: Download complete 15:21:52 ea1d1ca13537: Verifying Checksum 15:21:52 ea1d1ca13537: Download complete 15:21:52 3750a50a1c5e: Verifying Checksum 15:21:52 3750a50a1c5e: Download complete 15:21:53 b9c365052c96: Verifying Checksum 15:21:53 b9c365052c96: Download complete 15:21:54 8a11ddd9e578: Verifying Checksum 15:21:54 8a11ddd9e578: Download complete 15:22:07 8a11ddd9e578: Pull complete 15:22:07 4cf88f913ddb: Pull complete 15:22:07 1df406cf5192: Pull complete 15:22:11 cd6300453558: Pull complete 15:22:15 b9c365052c96: Pull complete 15:22:15 a2d8cc88f415: Pull complete 15:22:17 Running on prd-centos7-docker-4c-2g-3025 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [Pipeline] { [Pipeline] ws 15:22:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 15:22:17 ea1d1ca13537: Pull complete 15:22:18 3750a50a1c5e: Pull complete 15:22:18 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:22:18 ---> 78745c68409d 15:22:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:22:19 using credential edgex-jenkins-ssh 15:22:20 Cloning the remote Git repository 15:22:20 Cloning with configured refspecs honoured and without tags 15:22:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:22:20 > git init /w/workspace/device-sdk-go/1 # timeout=10 15:22:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:22:20 > git --version # timeout=10 15:22:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:20 Fetching without tags 15:22:21 Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 15:22:21 Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 15:22:21 Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) 15:22:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:22:20 > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # timeout=10 15:22:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:22:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:22:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:22:21 > git config core.sparsecheckout # timeout=10 15:22:21 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 15:22:21 > git remote # timeout=10 15:22:21 > git config --get remote.origin.url # timeout=10 15:22:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:21 > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 15:22:21 > git rev-parse HEAD^{commit} # timeout=10 15:22:21 > git config core.sparsecheckout # timeout=10 15:22:21 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 15:22:22 ---> Running in e8218507c73f 15:22:23 Removing intermediate container e8218507c73f 15:22:23 ---> 063066a1cfae 15:22:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:22:23 ---> Running in cb89387fe4a8 15:22:24 Commit message: "docs(README.md): lint; clarity for readers" 15:22:24 > git --version # timeout=10 15:22:24 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:22:25 ========================================================= 15:22:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:22:25 ========================================================= 15:22:25 Removing intermediate container cb89387fe4a8 15:22:25 ---> 7b4407ddf3a4 15:22:25 Step 5/8 : RUN apk add --no-cache make git 15:22:25 ---> Running in 9f121558e6d5 [Pipeline] isUnix [Pipeline] sh 15:22:26 + 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 . 15:22:26 Sending build context to Docker daemon 3.084MB 15:22:26 Step 1/8 : ARG BASE=golang:1.13-alpine 15:22:26 Step 2/8 : FROM ${BASE} 15:22:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:22:27 e6b0cf9c0882: Pulling fs layer 15:22:27 2848faf0eed1: Pulling fs layer 15:22:27 0f37312ad70f: Pulling fs layer 15:22:27 5788d62ee057: Pulling fs layer 15:22:27 0e6b1d234666: Pulling fs layer 15:22:27 bf5d7aec512f: Pulling fs layer 15:22:27 34c802a77dc8: Pulling fs layer 15:22:27 9eb99e56ec68: Pulling fs layer 15:22:27 27c7a5d97fbd: Pulling fs layer 15:22:27 5c102a31e300: Pulling fs layer 15:22:27 dcfb455df0a1: Pulling fs layer 15:22:27 34c802a77dc8: Waiting 15:22:27 9eb99e56ec68: Waiting 15:22:27 27c7a5d97fbd: Waiting 15:22:27 5c102a31e300: Waiting 15:22:27 dcfb455df0a1: Waiting 15:22:27 5788d62ee057: Waiting 15:22:27 0e6b1d234666: Waiting 15:22:27 bf5d7aec512f: Waiting 15:22:27 0f37312ad70f: Download complete 15:22:27 2848faf0eed1: Download complete 15:22:27 0e6b1d234666: Verifying Checksum 15:22:27 0e6b1d234666: Download complete 15:22:27 bf5d7aec512f: Verifying Checksum 15:22:27 bf5d7aec512f: Download complete 15:22:27 e6b0cf9c0882: Verifying Checksum 15:22:27 e6b0cf9c0882: Download complete 15:22:27 e6b0cf9c0882: Pull complete 15:22:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:22:27 2848faf0eed1: Pull complete 15:22:27 34c802a77dc8: Verifying Checksum 15:22:27 34c802a77dc8: Download complete 15:22:27 27c7a5d97fbd: Verifying Checksum 15:22:27 27c7a5d97fbd: Download complete 15:22:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:22:28 5788d62ee057: Verifying Checksum 15:22:28 5788d62ee057: Download complete 15:22:28 dcfb455df0a1: Verifying Checksum 15:22:28 dcfb455df0a1: Download complete 15:22:28 9eb99e56ec68: Verifying Checksum 15:22:28 9eb99e56ec68: Download complete 15:22:28 OK: 125 MiB in 39 packages 15:22:28 5c102a31e300: Verifying Checksum 15:22:28 5c102a31e300: Download complete 15:22:29 0f37312ad70f: Pull complete 15:22:30 Removing intermediate container 9f121558e6d5 15:22:30 ---> a22d1cac01ec 15:22:30 Step 6/8 : WORKDIR /device-sdk-go 15:22:30 ---> Running in 9e7f50c62763 15:22:30 Removing intermediate container 9e7f50c62763 15:22:30 ---> 1052ea7191fe 15:22:30 Step 7/8 : COPY . . 15:22:31 ---> 4aabf8257b68 15:22:31 Step 8/8 : RUN go mod download 15:22:32 ---> Running in c3c010837d49 15:22:34 5788d62ee057: Pull complete 15:22:34 0e6b1d234666: Pull complete 15:22:34 bf5d7aec512f: Pull complete 15:22:35 go: finding github.com/BurntSushi/toml v0.3.1 15:22:35 go: finding github.com/OneOfOne/xxhash v1.2.6 15:22:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:22:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:22:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:22:35 go: finding github.com/bgentry/speakeasy v0.1.0 15:22:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:22:35 go: finding github.com/davecgh/go-spew v1.1.1 15:22:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:22:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:22:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:22:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:22:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:22:35 go: finding github.com/fatih/color v1.7.0 15:22:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:22:35 go: finding github.com/go-kit/kit v0.8.0 15:22:35 go: finding github.com/go-logfmt/logfmt v0.4.0 15:22:35 go: finding github.com/go-stack/stack v1.8.0 15:22:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:22:35 go: finding github.com/google/uuid v1.1.0 15:22:36 go: finding github.com/gorilla/mux v1.7.1 15:22:36 go: finding github.com/hashicorp/consul/api v1.1.0 15:22:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:22:36 go: finding github.com/hashicorp/errwrap v1.0.0 15:22:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:22:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:22:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:22:36 go: finding github.com/hashicorp/go-multierror v1.0.0 15:22:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:22:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:22:36 go: finding github.com/hashicorp/go-syslog v1.0.0 15:22:36 go: finding github.com/hashicorp/go-uuid v1.0.1 15:22:36 go: finding github.com/hashicorp/go.net v0.0.1 15:22:36 go: finding github.com/hashicorp/golang-lru v0.5.0 15:22:36 go: finding github.com/hashicorp/logutils v1.0.0 15:22:36 go: finding github.com/hashicorp/mdns v1.0.0 15:22:36 go: finding github.com/hashicorp/memberlist v0.1.3 15:22:36 go: finding github.com/hashicorp/serf v0.8.2 15:22:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:22:36 go: finding github.com/mattn/go-colorable v0.0.9 15:22:36 go: finding github.com/mattn/go-isatty v0.0.3 15:22:36 go: finding github.com/miekg/dns v1.0.14 15:22:36 go: finding github.com/mitchellh/cli v1.0.0 15:22:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:22:36 go: finding github.com/mitchellh/copystructure v1.0.0 15:22:36 go: finding github.com/mitchellh/go-homedir v1.0.0 15:22:36 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:22:36 go: finding github.com/mitchellh/gox v0.4.0 15:22:36 go: finding github.com/mitchellh/iochan v1.0.0 15:22:36 go: finding github.com/mitchellh/mapstructure v1.1.2 15:22:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:22:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:22:36 go: finding github.com/pelletier/go-toml v1.2.0 15:22:36 go: finding github.com/pkg/errors v0.8.1 15:22:36 go: finding github.com/pmezard/go-difflib v1.0.0 15:22:36 go: finding github.com/posener/complete v1.1.1 15:22:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:22:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:22:36 go: finding github.com/stretchr/objx v0.1.0 15:22:36 go: finding github.com/stretchr/testify v1.5.1 15:22:36 go: finding github.com/ugorji/go v1.1.4 15:22:36 go: finding github.com/x448/float16 v0.8.4 15:22:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:22:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:22:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:22:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:22:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:22:37 go: finding gopkg.in/yaml.v2 v2.2.8 15:22:43 34c802a77dc8: Pull complete 15:22:45 9eb99e56ec68: Pull complete 15:22:45 27c7a5d97fbd: Pull complete 15:22:46 5c102a31e300: Pull complete 15:22:46 dcfb455df0a1: Pull complete 15:22:46 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:22:46 ---> 7c70fe431013 15:22:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:22:46 ---> Running in 339d5bdba7e8 15:22:46 Removing intermediate container 339d5bdba7e8 15:22:46 ---> 60fae3ae84c4 15:22:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:22:46 ---> Running in da94fbd73a83 15:22:47 Removing intermediate container c3c010837d49 15:22:47 ---> 6e16941d72b1 15:22:47 Successfully built 6e16941d72b1 15:22:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:47 + docker inspect -f . ci-base-image-arm64 15:22:47 . [Pipeline] withDockerContainer 15:22:48 prd-ubuntu18.04-docker-arm64-4c-16g-3024 does not seem to be running inside a container 15:22:48 $ 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 ******** ci-base-image-arm64 cat 15:22:48 Removing intermediate container da94fbd73a83 15:22:48 ---> 4c2a02ca9d1e 15:22:48 Step 5/8 : RUN apk add --no-cache make git 15:22:48 ---> Running in 990d0aaa5b0a 15:22:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:22:49 $ docker top 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f -eo pid,comm 15:22:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:22:50 OK: 143 MiB in 39 packages [Pipeline] { [Pipeline] sh 15:22:50 Removing intermediate container 990d0aaa5b0a 15:22:50 ---> bbcda4a2378b 15:22:50 Step 6/8 : WORKDIR /device-sdk-go 15:22:50 ---> Running in fb94c8a0a625 15:22:50 Removing intermediate container fb94c8a0a625 15:22:50 ---> 6fbe9caac6f6 15:22:50 Step 7/8 : COPY . . 15:22:51 + go version 15:22:51 go version go1.13.5 linux/arm64 [Pipeline] sh 15:22:52 ---> 11386ac6920d 15:22:52 Step 8/8 : RUN go mod download 15:22:52 ---> Running in 0b41c28c447d 15:22:52 + make test 15:22:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:22:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:22:53 go: finding github.com/BurntSushi/toml v0.3.1 15:22:53 go: finding github.com/OneOfOne/xxhash v1.2.6 15:22:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:22:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:22:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:22:53 go: finding github.com/bgentry/speakeasy v0.1.0 15:22:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:22:53 go: finding github.com/davecgh/go-spew v1.1.1 15:22:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:22:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:22:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:22:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:22:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:22:53 go: finding github.com/fatih/color v1.7.0 15:22:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:22:53 go: finding github.com/go-kit/kit v0.8.0 15:22:53 go: finding github.com/go-logfmt/logfmt v0.4.0 15:22:53 go: finding github.com/go-stack/stack v1.8.0 15:22:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:22:53 go: finding github.com/google/uuid v1.1.0 15:22:53 go: finding github.com/gorilla/mux v1.7.1 15:22:53 go: finding github.com/hashicorp/consul/api v1.1.0 15:22:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:22:53 go: finding github.com/hashicorp/errwrap v1.0.0 15:22:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:22:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:22:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:22:53 go: finding github.com/hashicorp/go-multierror v1.0.0 15:22:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:22:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:22:53 go: finding github.com/hashicorp/go-syslog v1.0.0 15:22:53 go: finding github.com/hashicorp/go-uuid v1.0.1 15:22:53 go: finding github.com/hashicorp/go.net v0.0.1 15:22:53 go: finding github.com/hashicorp/golang-lru v0.5.0 15:22:53 go: finding github.com/hashicorp/logutils v1.0.0 15:22:53 go: finding github.com/hashicorp/mdns v1.0.0 15:22:53 go: finding github.com/hashicorp/memberlist v0.1.3 15:22:53 go: finding github.com/hashicorp/serf v0.8.2 15:22:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:22:53 go: finding github.com/mattn/go-colorable v0.0.9 15:22:53 go: finding github.com/mattn/go-isatty v0.0.3 15:22:53 go: finding github.com/miekg/dns v1.0.14 15:22:53 go: finding github.com/mitchellh/cli v1.0.0 15:22:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:22:53 go: finding github.com/mitchellh/copystructure v1.0.0 15:22:53 go: finding github.com/mitchellh/go-homedir v1.0.0 15:22:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:22:53 go: finding github.com/mitchellh/gox v0.4.0 15:22:54 go: finding github.com/mitchellh/iochan v1.0.0 15:22:54 go: finding github.com/mitchellh/mapstructure v1.1.2 15:22:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:22:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:22:54 go: finding github.com/pelletier/go-toml v1.2.0 15:22:54 go: finding github.com/pkg/errors v0.8.1 15:22:54 go: finding github.com/pmezard/go-difflib v1.0.0 15:22:54 go: finding github.com/posener/complete v1.1.1 15:22:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:22:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:22:54 go: finding github.com/stretchr/objx v0.1.0 15:22:54 go: finding github.com/stretchr/testify v1.5.1 15:22:54 go: finding github.com/ugorji/go v1.1.4 15:22:54 go: finding github.com/x448/float16 v0.8.4 15:22:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:22:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:22:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:22:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:22:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:22:54 go: finding gopkg.in/yaml.v2 v2.2.8 15:23:00 Removing intermediate container 0b41c28c447d 15:23:00 ---> acfcfd66bc0d 15:23:00 Successfully built acfcfd66bc0d 15:23:00 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 15:23:01 + docker inspect -f . ci-base-image-x86_64 15:23:01 . [Pipeline] withDockerContainer 15:23:01 prd-centos7-docker-4c-2g-3025 does not seem to be running inside a container 15:23:01 $ 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 ******** ci-base-image-x86_64 cat 15:23:03 $ docker top 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:03 + go version 15:23:03 go version go1.13.5 linux/amd64 [Pipeline] sh 15:23:03 + make test 15:23:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:23:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:23:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:23:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:23:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:23:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements 15:23:15 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 15:23:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:23:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:23:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:23:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements 15:23:25 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.195s coverage: 95.8% of statements 15:23:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.086s coverage: 11.4% of statements 15:23:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:23:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.092s coverage: 36.9% of statements 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:23:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 65.2% of statements 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:23:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements 15:23:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 15:23:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.092s coverage: 68.9% of statements 15:23:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:23:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:23:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:23:48 gofmt -l . 15:23:48 [ "`gofmt -l .`" = "" ] 15:23:48 ./bin/test-attribution-txt.sh 15:23:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:23:49 Stashed 1 file(s) [Pipeline] } 15:23:49 $ docker stop --time=1 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e 15:23:51 $ docker rm -f 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:53 + ls -al . 15:23:53 total 184 15:23:53 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 15 15:23 . 15:23:53 drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 15:22 .. 15:23:53 drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 15:22 api 15:23:53 drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 15:22 bin 15:23:53 -rw-r--r--. 1 jenkins jenkins 110877 Jun 15 15:23 coverage.out 15:23:53 -rw-rw-r--. 1 jenkins jenkins 936 Jun 15 15:22 Dockerfile.build 15:23:53 -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 15:22 .dockerignore 15:23:53 drwxrwxr-x. 4 jenkins jenkins 48 Jun 15 15:22 example 15:23:53 drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 15:22 .git 15:23:53 drwxrwxr-x. 2 jenkins jenkins 38 Jun 15 15:22 .github 15:23:53 -rw-rw-r--. 1 jenkins jenkins 138 Jun 15 15:22 .gitignore 15:23:53 -rw-r--r--. 1 jenkins jenkins 446 Jun 15 15:23 go.mod 15:23:53 -rw-r--r--. 1 jenkins jenkins 12179 Jun 15 15:23 go.sum 15:23:53 drwxrwxr-x. 15 jenkins jenkins 217 Jun 15 15:22 internal 15:23:53 -rw-rw-r--. 1 jenkins jenkins 808 Jun 15 15:22 Jenkinsfile 15:23:53 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 15 15:22 LICENSE 15:23:53 -rw-rw-r--. 1 jenkins jenkins 892 Jun 15 15:22 Makefile 15:23:53 drwxrwxr-x. 5 jenkins jenkins 50 Jun 15 15:22 pkg 15:23:53 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 15 15:22 README.md 15:23:53 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 15 15:22 RELEASE-NOTES.txt 15:23:53 drwxrwxr-x. 3 jenkins jenkins 58 Jun 15 15:22 .semver 15:23:53 drwxrwxr-x. 4 jenkins jenkins 54 Jun 15 15:22 snap 15:23:53 -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:19 VERSION 15:23:53 -rw-rw-r--. 1 jenkins jenkins 222 Jun 15 15:22 version.go [Pipeline] isUnix [Pipeline] sh 15:23:53 + 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=fad4e385897c94649c4104a3ed54995225ff8978 --label arch=amd64 --label version=0.0.0 . 15:23:53 Sending build context to Docker daemon 3.212MB 15:23:53 Step 1/23 : ARG BASE=golang:1.13-alpine 15:23:53 Step 2/23 : FROM ${BASE} AS builder 15:23:53 ---> acfcfd66bc0d 15:23:53 Step 3/23 : ARG MAKE='make build' 15:23:54 ---> Running in f5ba2aea474e 15:23:54 Removing intermediate container f5ba2aea474e 15:23:54 ---> 9688c6c6538e 15:23:54 Step 4/23 : WORKDIR /device-sdk-go 15:23:54 ---> Running in ce47b3fc7ca9 15:23:54 Removing intermediate container ce47b3fc7ca9 15:23:54 ---> c24d3f8272ec 15:23:54 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:23:54 ---> Running in 197c9b62cea1 15:23:55 Removing intermediate container 197c9b62cea1 15:23:55 ---> 24feca47f2df 15:23:55 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:55 ---> Running in feaa5203bb8a 15:23:55 Removing intermediate container feaa5203bb8a 15:23:55 ---> a0867b3e5d03 15:23:55 Step 7/23 : RUN apk add --update --no-cache make git 15:23:55 ---> Running in 3aa172726d56 15:23:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:23:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:23:57 OK: 143 MiB in 39 packages 15:23:57 Removing intermediate container 3aa172726d56 15:23:57 ---> f11367d9d52c 15:23:57 Step 8/23 : COPY . . 15:23:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.4% of statements 15:23:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:23:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.149s coverage: 36.9% of statements 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:23:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.532s coverage: 65.2% of statements 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:23:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements 15:23:58 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 15:23:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.328s coverage: 68.9% of statements 15:23:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:23:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:23:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:23:58 ---> fe7ccfa080d7 15:23:58 Step 9/23 : RUN ${MAKE} 15:23:58 ---> Running in eaa922e039ff 15:23: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 15:24:01 gofmt -l . 15:24:01 [ "`gofmt -l .`" = "" ] 15:24:01 ./bin/test-attribution-txt.sh 15:24:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:24:02 Warning: overwriting stash ‘coverage-report’ 15:24:03 Stashed 1 file(s) [Pipeline] } 15:24:03 $ docker stop --time=1 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f 15:24:05 $ docker rm -f 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:07 + ls -al . 15:24:07 total 224 15:24:07 drwxrwxr-x 11 jenkins jenkins 4096 Jun 15 15:24 . 15:24:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 .. 15:24:07 -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 15:21 .dockerignore 15:24:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:21 .git 15:24:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:21 .github 15:24:07 -rw-rw-r-- 1 jenkins jenkins 138 Jun 15 15:21 .gitignore 15:24:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:21 .semver 15:24:07 -rw-rw-r-- 1 jenkins jenkins 936 Jun 15 15:21 Dockerfile.build 15:24:07 -rw-rw-r-- 1 jenkins jenkins 808 Jun 15 15:21 Jenkinsfile 15:24:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 15 15:21 LICENSE 15:24:07 -rw-rw-r-- 1 jenkins jenkins 892 Jun 15 15:21 Makefile 15:24:07 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 15 15:21 README.md 15:24:07 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 15 15:21 RELEASE-NOTES.txt 15:24:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:19 VERSION 15:24:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:21 api 15:24:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:21 bin 15:24:07 -rw-r--r-- 1 jenkins jenkins 110877 Jun 15 15:23 coverage.out 15:24:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 example 15:24:07 -rw-r--r-- 1 jenkins jenkins 446 Jun 15 15:24 go.mod 15:24:07 -rw-r--r-- 1 jenkins jenkins 12179 Jun 15 15:24 go.sum 15:24:07 drwxrwxr-x 15 jenkins jenkins 4096 Jun 15 15:21 internal 15:24:07 drwxrwxr-x 5 jenkins jenkins 4096 Jun 15 15:21 pkg 15:24:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 snap 15:24:07 -rw-rw-r-- 1 jenkins jenkins 222 Jun 15 15:21 version.go [Pipeline] isUnix [Pipeline] sh 15:24:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:24:07 + 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=fad4e385897c94649c4104a3ed54995225ff8978 --label arch=arm64 --label version=0.0.0 . 15:24:08 Sending build context to Docker daemon 3.214MB 15:24:08 Removing intermediate container eaa922e039ff 15:24:08 ---> 7b75c6a04898 15:24:08 Step 10/23 : FROM scratch 15:24:08 ---> 15:24:08 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:08 Step 1/23 : ARG BASE=golang:1.13-alpine 15:24:08 Step 2/23 : FROM ${BASE} AS builder 15:24:08 ---> 6e16941d72b1 15:24:08 Step 3/23 : ARG MAKE='make build' 15:24:08 ---> Running in 137fcbcac970 15:24:08 ---> Running in f19991c50507 15:24:08 Removing intermediate container f19991c50507 15:24:08 ---> 0e6c2ae4becd 15:24:08 Step 12/23 : ENV APP_PORT=49990 15:24:08 ---> Running in 0ee22a23cd24 15:24:08 Removing intermediate container 0ee22a23cd24 15:24:08 ---> 4ef348d1fb04 15:24:08 Step 13/23 : EXPOSE $APP_PORT 15:24:08 ---> Running in 158b29a59774 15:24:08 Removing intermediate container 137fcbcac970 15:24:08 ---> f56e6699f601 15:24:08 Step 4/23 : WORKDIR /device-sdk-go 15:24:08 ---> Running in b68db91db812 15:24:09 Removing intermediate container 158b29a59774 15:24:09 ---> 6ec49fe72092 15:24:09 Step 14/23 : WORKDIR / 15:24:09 ---> Running in 86d1c7829655 15:24:09 Removing intermediate container 86d1c7829655 15:24:09 ---> d8c5773daedc 15:24:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:24:09 Removing intermediate container b68db91db812 15:24:09 ---> f9bb0a87fa94 15:24:09 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:09 ---> Running in 2c20f4f19471 15:24:10 Removing intermediate container 2c20f4f19471 15:24:10 ---> 4e66ffa91391 15:24:10 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:10 ---> Running in 35c83c2875c3 15:24:10 ---> 34f87479ab99 15:24:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:24:10 ---> a17dcbf8eab3 15:24:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:24:10 ---> 9f40d0c820c0 15:24:10 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:24:10 ---> 5ea6a91ba469 15:24:10 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:24:11 ---> dfe2290b54d5 15:24:11 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:24:11 ---> Running in cdbb71db2deb 15:24:11 Removing intermediate container cdbb71db2deb 15:24:11 ---> d919afaf6122 15:24:11 Step 21/23 : LABEL arch=amd64 15:24:11 ---> Running in eca2584daea8 15:24:11 Removing intermediate container eca2584daea8 15:24:11 ---> 9d10a3cd5eeb 15:24:11 Step 22/23 : LABEL git_sha=fad4e385897c94649c4104a3ed54995225ff8978 15:24:11 ---> Running in 6a26791d5e30 15:24:11 Removing intermediate container 6a26791d5e30 15:24:11 ---> 4aa8d586445f 15:24:11 Step 23/23 : LABEL version=0.0.0 15:24:11 ---> Running in 14190b2472da 15:24:11 Removing intermediate container 14190b2472da 15:24:11 ---> d426d0773c13 15:24:11 [Warning] One or more build-args [ARCH] were not consumed 15:24:11 Successfully built d426d0773c13 15:24:11 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 15:24:12 Removing intermediate container 35c83c2875c3 15:24:12 ---> 4f8cb155e085 15:24:12 Step 7/23 : RUN apk add --update --no-cache make git 15:24:12 ---> Running in a07219fbd851 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:24:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:24:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:24:15 OK: 125 MiB in 39 packages 15:24:16 Removing intermediate container a07219fbd851 15:24:16 ---> 7f2970a4503e 15:24:16 Step 8/23 : COPY . . 15:24:17 ---> a88e9deda072 15:24:17 Step 9/23 : RUN ${MAKE} 15:24:18 ---> Running in b4911e26d9f2 15:24:19 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 15:24:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:24:44 Removing intermediate container b4911e26d9f2 15:24:44 ---> 6843b6c0f905 15:24:44 Step 10/23 : FROM scratch 15:24:44 ---> 15:24:44 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:44 ---> Running in 7255c0590716 15:24:44 Removing intermediate container 7255c0590716 15:24:44 ---> 9a9ab948873c 15:24:44 Step 12/23 : ENV APP_PORT=49990 15:24:44 ---> Running in 8a158542544c 15:24:45 Removing intermediate container 8a158542544c 15:24:45 ---> 8c3ba2f7dd08 15:24:45 Step 13/23 : EXPOSE $APP_PORT 15:24:45 ---> Running in b6f7c009fd74 15:24:45 Removing intermediate container b6f7c009fd74 15:24:45 ---> 8e2bc9796577 15:24:45 Step 14/23 : WORKDIR / 15:24:46 ---> Running in 0e6008a33dbc 15:24:46 Removing intermediate container 0e6008a33dbc 15:24:46 ---> 6ad286286e62 15:24:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:24:47 ---> 14d13cada3a0 15:24:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:24:48 ---> 016a60956c46 15:24:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:24:48 ---> 394c1ae9f3aa 15:24:48 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:24:49 ---> 20ed598633a4 15:24:49 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:24:50 ---> 8c8fe8cf68b7 15:24:50 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:24:50 ---> Running in 39f44aabef6a 15:24:51 Removing intermediate container 39f44aabef6a 15:24:51 ---> ee7668acb553 15:24:51 Step 21/23 : LABEL arch=arm64 15:24:51 ---> Running in 65f106d4ea3b 15:24:51 Removing intermediate container 65f106d4ea3b 15:24:51 ---> 2eaa831d464c 15:24:51 Step 22/23 : LABEL git_sha=fad4e385897c94649c4104a3ed54995225ff8978 15:24:51 ---> Running in 3279302d44e2 15:24:52 Removing intermediate container 3279302d44e2 15:24:52 ---> c781da9d0edc 15:24:52 Step 23/23 : LABEL version=0.0.0 15:24:52 ---> Running in e60cbf71bb2e 15:24:52 Removing intermediate container e60cbf71bb2e 15:24:52 ---> 3bd5b9a2e6d4 15:24:52 [Warning] One or more build-args [ARCH] were not consumed 15:24:52 Successfully built 3bd5b9a2e6d4 15:24:52 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 15:24:54 provisioning config files... 15:24:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config3910953741846260985tmp [Pipeline] { [Pipeline] sh 15:24:54 + curl -s https://codecov.io/bash 15:24:54 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config3910953741846260985tmp 15:24:54 15:24:54 _____ _ 15:24:54 / ____| | | 15:24:54 | | ___ __| | ___ ___ _____ __ 15:24:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:24:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:24:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:24:54 Bash-20200602-f809a24 15:24:54 15:24:54 15:24:54 ==> Jenkins CI detected. 15:24:54 project root: . 15:24:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:24:54 ==> Running gcov in . (disable via -X gcov) 15:24:54 ==> Python coveragepy not found 15:24:54 ==> Searching for coverage reports in: 15:24:54 + . 15:24:54 -> Found 1 reports 15:24:54 ==> Detecting git/mercurial file structure 15:24:54 ==> Reading reports 15:24:54 + ./coverage.out bytes=110877 15:24:54 ==> Appending adjustments 15:24:54 https://docs.codecov.io/docs/fixing-reports 15:24:55 + Found adjustments 15:24:55 ==> Gzipping contents 15:24:55 ==> Uploading reports 15:24:55 url: https://codecov.io 15:24:55 query: branch=PR-538&commit=fad4e385897c94649c4104a3ed54995225ff8978&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=538&job= 15:24:55 -> Pinging Codecov 15:24:55 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-538&commit=fad4e385897c94649c4104a3ed54995225ff8978&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=538&job= 15:24:55 -> Uploading 15:24:56 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fad4e385897c94649c4104a3ed54995225ff8978 [Pipeline] } 15:24:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:24:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:24:59 ---> package-listing.sh 15:24:59 ++ facter osfamily 15:24:59 ++ tr '[:upper:]' '[:lower:]' 15:24:59 + OS_FAMILY=redhat 15:24:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-538 15:24:59 + START_PACKAGES=/tmp/packages_start.txt 15:24:59 + END_PACKAGES=/tmp/packages_end.txt 15:24:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:24:59 + PACKAGES=/tmp/packages_start.txt 15:24:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-538 ']' 15:24:59 + PACKAGES=/tmp/packages_end.txt 15:24:59 + case "${OS_FAMILY}" in 15:24:59 + rpm -qa 15:24:59 + sort 15:25:02 + '[' -f /tmp/packages_start.txt ']' 15:25:02 + '[' -f /tmp/packages_end.txt ']' 15:25:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:25:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-538 ']' 15:25:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-538/archives/ 15:25:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-538/archives/ [Pipeline] isUnix [Pipeline] sh 15:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:03 15:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:25:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:03 alpine: Pulling from edgex-lftools-log-publisher 15:25:03 c9b1b535fdd9: Pulling fs layer 15:25:03 2cc5ad85d9ab: Pulling fs layer 15:25:03 756a868c4378: Pulling fs layer 15:25:03 444b2fc9a129: Pulling fs layer 15:25:03 ea15f1150254: Pulling fs layer 15:25:03 41b27a9f41bf: Pulling fs layer 15:25:03 28c525ee5125: Pulling fs layer 15:25:03 094b1ea09ed8: Pulling fs layer 15:25:03 138eaada9080: Pulling fs layer 15:25:03 0622d0fa9048: Pulling fs layer 15:25:03 ea15f1150254: Waiting 15:25:03 28c525ee5125: Waiting 15:25:03 41b27a9f41bf: Waiting 15:25:03 094b1ea09ed8: Waiting 15:25:03 138eaada9080: Waiting 15:25:03 0622d0fa9048: Waiting 15:25:03 444b2fc9a129: Waiting 15:25:03 2cc5ad85d9ab: Verifying Checksum 15:25:03 2cc5ad85d9ab: Download complete 15:25:03 444b2fc9a129: Verifying Checksum 15:25:03 444b2fc9a129: Download complete 15:25:03 c9b1b535fdd9: Verifying Checksum 15:25:03 ea15f1150254: Download complete 15:25:03 28c525ee5125: Verifying Checksum 15:25:03 28c525ee5125: Download complete 15:25:03 756a868c4378: Verifying Checksum 15:25:03 756a868c4378: Download complete 15:25:03 138eaada9080: Verifying Checksum 15:25:03 138eaada9080: Download complete 15:25:03 0622d0fa9048: Verifying Checksum 15:25:03 0622d0fa9048: Download complete 15:25:03 094b1ea09ed8: Verifying Checksum 15:25:03 094b1ea09ed8: Download complete 15:25:04 c9b1b535fdd9: Pull complete 15:25:04 2cc5ad85d9ab: Pull complete 15:25:04 41b27a9f41bf: Verifying Checksum 15:25:04 41b27a9f41bf: Download complete 15:25:06 756a868c4378: Pull complete 15:25:06 444b2fc9a129: Pull complete 15:25:06 ea15f1150254: Pull complete 15:25:10 41b27a9f41bf: Pull complete 15:25:10 28c525ee5125: Pull complete 15:25:13 094b1ea09ed8: Pull complete 15:25:14 138eaada9080: Pull complete 15:25:14 0622d0fa9048: Pull complete 15:25:14 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:25:14 prd-centos7-docker-4c-2g-3023 does not seem to be running inside a container 15:25:14 $ 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-538 -v /w/workspace/dgexfoundry_device-sdk-go_PR-538:/w/workspace/dgexfoundry_device-sdk-go_PR-538:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:25:18 $ docker top 2b94e43407ff64347a1a7c56b0abc63e53096c23e8e5c61c9d7fedad2f3ea178 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:19 provisioning config files... 15:25:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config9143029304519730407tmp [Pipeline] { [Pipeline] echo 15:25:19 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:25:19 ---> create-netrc.sh [Pipeline] echo 15:25:19 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:25:19 ---> logs-deploy.sh 15:25:19 + ARCHIVE_ARTIFACTS= 15:25:19 + LOGS_SERVER=https://logs.edgexfoundry.org 15:25:19 + '[' https://logs.edgexfoundry.org == None ']' 15:25:19 + NEXUS_URL=https://nexus.edgexfoundry.org 15:25:19 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 15:25:19 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-538/1/ 15:25:19 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 /w/workspace/dgexfoundry_device-sdk-go_PR-538 15:25:21 Archives upload complete. 15:25:21 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-538/1/