Branch indexing 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 43f76da7d4a1dba45abf65466c274475ddab04f4 rather than 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Obtained Jenkinsfile from 43f76da7d4a1dba45abf65466c274475ddab04f4 Running in Durability level: PERFORMANCE_OPTIMIZED 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 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 ‘prd-centos7-blackbox-4c-2g-976’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-980’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-982 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Merge succeeded, producing e526c7dfd1f7d6429ba6c457dd4eb56057764233 Checking out Revision e526c7dfd1f7d6429ba6c457dd4eb56057764233 (PR-553) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # 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 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e526c7dfd1f7d6429ba6c457dd4eb56057764233 # timeout=10 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:30 ========================================================= 22:41:30 EdgeX Global Pipelines Version Info 22:41:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:32 ------------------- 22:41:32 stable info: 22:41:32 ------------------- 22:41:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:32 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 22:41:32 Message: update stable to v1.0.99 22:41:33 ------------------- 22:41:33 experimental info: 22:41:33 ------------------- 22:41:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:33 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 22:41:33 Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:35 22:41:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:36 latest: Pulling from edgex-devops/git-semver 22:41:36 31603596830f: Pulling fs layer 22:41:36 2a8b12db71e7: Pulling fs layer 22:41:36 6ca5941a6612: Pulling fs layer 22:41:36 ecc8261a40a4: Pulling fs layer 22:41:36 ecc8261a40a4: Waiting 22:41:36 2a8b12db71e7: Verifying Checksum 22:41:36 2a8b12db71e7: Download complete 22:41:36 31603596830f: Verifying Checksum 22:41:36 31603596830f: Download complete 22:41:36 ecc8261a40a4: Verifying Checksum 22:41:36 ecc8261a40a4: Download complete 22:41:36 6ca5941a6612: Verifying Checksum 22:41:36 6ca5941a6612: Download complete 22:41:36 31603596830f: Pull complete 22:41:36 2a8b12db71e7: Pull complete 22:41:37 6ca5941a6612: Pull complete 22:41:37 ecc8261a40a4: Pull complete 22:41:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:37 prd-centos7-docker-4c-2g-982 does not seem to be running inside a container 22:41:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:41:39 $ docker top 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:39 [ssh-agent] Looking for ssh-agent implementation... 22:41:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:40 $ docker exec 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent 22:41:40 SSH_AUTH_SOCK=/tmp/ssh-akrCoAmfDw4G/agent.11 22:41:40 SSH_AGENT_PID=17 22:41:40 Running ssh-add (command line suppressed) 22:41:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5828877748917577331.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5828877748917577331.key) 22:41:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:40 + git describe --exact-match --tags HEAD 22:41:40 fatal: No names found, cannot describe anything. [Pipeline] } 22:41:40 $ docker exec --env ******** --env ******** 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent -k 22:41:41 unset SSH_AUTH_SOCK; 22:41:41 unset SSH_AGENT_PID; 22:41:41 echo Agent pid 17 killed; 22:41:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:41:41 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:41:41 This usually means this commit has not been tagged. [Pipeline] sshagent 22:41:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:41 [ssh-agent] Looking for ssh-agent implementation... 22:41:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:41 $ docker exec 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent 22:41:41 SSH_AUTH_SOCK=/tmp/ssh-Nq0p7kn2IfGT/agent.48 22:41:41 SSH_AGENT_PID=53 22:41:41 Running ssh-add (command line suppressed) 22:41:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3039362747594834075.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3039362747594834075.key) 22:41:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:42 + git semver init 22:41:42 # -> Open(): unable to determine branch for HEAD 22:41:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 22:41:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 22:41:42 # $SEMVER_REMOTE_NAME = origin 22:41:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:42 # $SEMVER_USER_NAME = edgex-jenkins 22:41:42 # $SEMVER_BRANCH = PR-553 22:41:42 # $SEMVER_TEMP = /tmp/semver-751830783 22:41:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:42 # '/tmp/semver-751830783' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 22:41:42 # -> Force: false 22:41:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 22:41:42 $ docker exec --env ******** --env ******** 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent -k 22:41:42 unset SSH_AUTH_SOCK; 22:41:42 unset SSH_AGENT_PID; 22:41:42 echo Agent pid 53 killed; 22:41:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:43 + git semver [Pipeline] } 22:41:43 $ docker stop --time=1 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 22:41:45 $ docker rm -f 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:41:45 Stashed 74 file(s) [Pipeline] echo 22:41:45 [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 22:42:01 Still waiting to schedule task 22:42:01 ‘prd-centos7-docker-4c-2g-977’ is offline; ‘prd-centos7-docker-4c-2g-981’ is offline; ‘prd-centos7-docker-4c-2g-985’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-984’ doesn’t have label ‘centos7-docker-4c-2g’ 22:42:01 Still waiting to schedule task 22:42:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:43:07 Running on prd-centos7-docker-4c-2g-986 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 22:43:07 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:43:10 using credential edgex-jenkins-ssh 22:43:10 Cloning the remote Git repository 22:43:10 Cloning with configured refspecs honoured and without tags 22:43:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:43:10 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:43:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:10 > git --version # timeout=10 22:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:11 Fetching without tags 22:43:11 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 22:43:11 Merge succeeded, producing 677a871e6896309a1488d50084667535d5b14ad6 22:43:11 Checking out Revision 677a871e6896309a1488d50084667535d5b14ad6 (PR-553) 22:43:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:11 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 22:43:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:11 > git config core.sparsecheckout # timeout=10 22:43:11 > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 22:43:11 > git remote # timeout=10 22:43:11 > git config --get remote.origin.url # timeout=10 22:43:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:11 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 22:43:11 > git rev-parse HEAD^{commit} # timeout=10 22:43:11 > git config core.sparsecheckout # timeout=10 22:43:11 > git checkout -f 677a871e6896309a1488d50084667535d5b14ad6 # timeout=10 22:43:15 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 22:43:15 > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:43:16 ========================================================= 22:43:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:43:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:43:16 + 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 . 22:43:17 Sending build context to Docker daemon 3.126MB 22:43:17 Step 1/8 : ARG BASE=golang:1.13-alpine 22:43:17 Step 2/8 : FROM ${BASE} 22:43:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:17 df20fa9351a1: Pulling fs layer 22:43:17 ed8968b2872e: Pulling fs layer 22:43:17 a92cc7c5fd73: Pulling fs layer 22:43:17 2dd03ba5bac4: Pulling fs layer 22:43:17 1e091d79d1de: Pulling fs layer 22:43:17 481702a1767f: Pulling fs layer 22:43:17 f64a6f60c768: Pulling fs layer 22:43:17 e78d2573fc39: Pulling fs layer 22:43:17 e876d2f968b6: Pulling fs layer 22:43:17 ce8a83651883: Pulling fs layer 22:43:17 07967f4d0e4b: Pulling fs layer 22:43:17 f64a6f60c768: Waiting 22:43:17 e78d2573fc39: Waiting 22:43:17 e876d2f968b6: Waiting 22:43:17 ce8a83651883: Waiting 22:43:17 07967f4d0e4b: Waiting 22:43:17 2dd03ba5bac4: Waiting 22:43:17 1e091d79d1de: Waiting 22:43:17 481702a1767f: Waiting 22:43:17 a92cc7c5fd73: Verifying Checksum 22:43:17 a92cc7c5fd73: Download complete 22:43:17 ed8968b2872e: Verifying Checksum 22:43:17 ed8968b2872e: Download complete 22:43:17 1e091d79d1de: Verifying Checksum 22:43:17 1e091d79d1de: Download complete 22:43:17 481702a1767f: Verifying Checksum 22:43:17 481702a1767f: Download complete 22:43:17 df20fa9351a1: Verifying Checksum 22:43:17 df20fa9351a1: Download complete 22:43:17 df20fa9351a1: Pull complete 22:43:18 f64a6f60c768: Verifying Checksum 22:43:18 f64a6f60c768: Download complete 22:43:18 e876d2f968b6: Verifying Checksum 22:43:18 e876d2f968b6: Download complete 22:43:18 e78d2573fc39: Verifying Checksum 22:43:18 e78d2573fc39: Download complete 22:43:18 ce8a83651883: Verifying Checksum 22:43:18 ce8a83651883: Download complete 22:43:18 07967f4d0e4b: Verifying Checksum 22:43:18 07967f4d0e4b: Download complete 22:43:18 2dd03ba5bac4: Verifying Checksum 22:43:20 ed8968b2872e: Pull complete 22:43:20 a92cc7c5fd73: Pull complete 22:43:25 2dd03ba5bac4: Pull complete 22:43:25 1e091d79d1de: Pull complete 22:43:25 481702a1767f: Pull complete 22:43:32 f64a6f60c768: Pull complete 22:43:34 e78d2573fc39: Pull complete 22:43:34 e876d2f968b6: Pull complete 22:43:35 ce8a83651883: Pull complete 22:43:35 07967f4d0e4b: Pull complete 22:43:35 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 22:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:43:35 ---> 5d7c900382c6 22:43:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:36 ---> Running in d650d7c37c11 22:43:36 Removing intermediate container d650d7c37c11 22:43:36 ---> e823ddb61ec7 22:43:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:36 ---> Running in d35acb7e6ad3 22:43:38 Removing intermediate container d35acb7e6ad3 22:43:38 ---> 1eb9883e01d3 22:43:38 Step 5/8 : RUN apk add --no-cache make git 22:43:38 ---> Running in 0b7c73379af3 22:43:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:43:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:43:40 OK: 166 MiB in 39 packages 22:43:41 Removing intermediate container 0b7c73379af3 22:43:41 ---> fc6fc3937dc1 22:43:41 Step 6/8 : WORKDIR /device-sdk-go 22:43:41 ---> Running in 26a571e84235 22:43:41 Removing intermediate container 26a571e84235 22:43:41 ---> 9a6c2ad8b8db 22:43:41 Step 7/8 : COPY . . 22:43:42 ---> 6bfc6f20a466 22:43:42 Step 8/8 : RUN go mod download 22:43:42 ---> Running in c7bdba660080 22:43:44 go: finding github.com/BurntSushi/toml v0.3.1 22:43:44 go: finding github.com/OneOfOne/xxhash v1.2.6 22:43:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:43:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:43:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:43:44 go: finding github.com/bgentry/speakeasy v0.1.0 22:43:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:43:44 go: finding github.com/davecgh/go-spew v1.1.1 22:43:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:43:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:43:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:43:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:43:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:43:44 go: finding github.com/fatih/color v1.7.0 22:43:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:43:44 go: finding github.com/go-kit/kit v0.8.0 22:43:44 go: finding github.com/go-logfmt/logfmt v0.4.0 22:43:44 go: finding github.com/go-stack/stack v1.8.0 22:43:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:43:44 go: finding github.com/google/uuid v1.1.0 22:43:45 go: finding github.com/gorilla/mux v1.7.1 22:43:45 go: finding github.com/hashicorp/consul/api v1.1.0 22:43:45 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:43:45 go: finding github.com/hashicorp/errwrap v1.0.0 22:43:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:43:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:43:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:43:45 go: finding github.com/hashicorp/go-multierror v1.0.0 22:43:45 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:43:45 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:43:45 go: finding github.com/hashicorp/go-syslog v1.0.0 22:43:45 go: finding github.com/hashicorp/go-uuid v1.0.1 22:43:45 go: finding github.com/hashicorp/go.net v0.0.1 22:43:45 go: finding github.com/hashicorp/golang-lru v0.5.0 22:43:45 go: finding github.com/hashicorp/logutils v1.0.0 22:43:45 go: finding github.com/hashicorp/mdns v1.0.0 22:43:45 go: finding github.com/hashicorp/memberlist v0.1.3 22:43:45 go: finding github.com/hashicorp/serf v0.8.2 22:43:45 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:43:45 go: finding github.com/mattn/go-colorable v0.0.9 22:43:45 go: finding github.com/mattn/go-isatty v0.0.3 22:43:45 go: finding github.com/miekg/dns v1.0.14 22:43:45 go: finding github.com/mitchellh/cli v1.0.0 22:43:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:43:45 go: finding github.com/mitchellh/copystructure v1.0.0 22:43:45 go: finding github.com/mitchellh/go-homedir v1.0.0 22:43:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:43:45 go: finding github.com/mitchellh/gox v0.4.0 22:43:45 go: finding github.com/mitchellh/iochan v1.0.0 22:43:45 go: finding github.com/mitchellh/mapstructure v1.1.2 22:43:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:43:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:43:45 go: finding github.com/pelletier/go-toml v1.2.0 22:43:45 go: finding github.com/pkg/errors v0.8.1 22:43:45 go: finding github.com/pmezard/go-difflib v1.0.0 22:43:45 go: finding github.com/posener/complete v1.1.1 22:43:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:43:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:43:45 go: finding github.com/stretchr/objx v0.1.0 22:43:45 go: finding github.com/stretchr/testify v1.5.1 22:43:45 go: finding github.com/ugorji/go v1.1.4 22:43:45 go: finding github.com/x448/float16 v0.8.4 22:43:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:43:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:43:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:43:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:43:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:43:45 go: finding gopkg.in/yaml.v2 v2.2.8 22:43:54 Removing intermediate container c7bdba660080 22:43:54 ---> a488d7dcb68c 22:43:54 Successfully built a488d7dcb68c 22:43:54 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 22:43:54 + docker inspect -f . ci-base-image-x86_64 22:43:54 . [Pipeline] withDockerContainer 22:43:54 prd-centos7-docker-4c-2g-986 does not seem to be running inside a container 22:43:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 22:43:56 $ docker top bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:56 + go version 22:43:56 go version go1.13.13 linux/amd64 [Pipeline] sh 22:43:56 + make test 22:43:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:43:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:44:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-988 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 22:44:02 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:44:07 using credential edgex-jenkins-ssh 22:44:07 Cloning the remote Git repository 22:44:07 Cloning with configured refspecs honoured and without tags 22:44:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:44:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:44:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:44:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements 22:44:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 22:44:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:08 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:08 > git --version # timeout=10 22:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:09 Fetching without tags 22:44:09 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 22:44:10 Merge succeeded, producing 99d58fa428eb986f759b7b8b13d86abbae2de089 22:44:10 Checking out Revision 99d58fa428eb986f759b7b8b13d86abbae2de089 (PR-553) 22:44:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:09 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 22:44:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:09 > git config core.sparsecheckout # timeout=10 22:44:09 > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 22:44:10 > git remote # timeout=10 22:44:10 > git config --get remote.origin.url # timeout=10 22:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:10 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 22:44:10 > git rev-parse HEAD^{commit} # timeout=10 22:44:10 > git config core.sparsecheckout # timeout=10 22:44:10 > git checkout -f 99d58fa428eb986f759b7b8b13d86abbae2de089 # timeout=10 22:44:14 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 22:44:14 > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:44:16 ========================================================= 22:44:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:44:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:17 + 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 . 22:44:18 Sending build context to Docker daemon 3.126MB 22:44:18 Step 1/8 : ARG BASE=golang:1.13-alpine 22:44:18 Step 2/8 : FROM ${BASE} 22:44:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:18 b538f80385f9: Pulling fs layer 22:44:18 74f711af9a0d: Pulling fs layer 22:44:18 99f96fe45779: Pulling fs layer 22:44:18 fd7a069fd194: Pulling fs layer 22:44:18 66aa3694b03b: Pulling fs layer 22:44:18 170f70906a0f: Pulling fs layer 22:44:18 ad7c5574e4b9: Pulling fs layer 22:44:18 e772456be8f7: Pulling fs layer 22:44:18 c890913d741a: Pulling fs layer 22:44:18 2480fcc9aa5a: Pulling fs layer 22:44:18 fd7a069fd194: Waiting 22:44:18 66aa3694b03b: Waiting 22:44:18 170f70906a0f: Waiting 22:44:18 09adf4765672: Pulling fs layer 22:44:18 09adf4765672: Waiting 22:44:18 ad7c5574e4b9: Waiting 22:44:18 e772456be8f7: Waiting 22:44:18 c890913d741a: Waiting 22:44:18 2480fcc9aa5a: Waiting 22:44:18 99f96fe45779: Verifying Checksum 22:44:18 99f96fe45779: Download complete 22:44:18 74f711af9a0d: Verifying Checksum 22:44:18 74f711af9a0d: Download complete 22:44:18 66aa3694b03b: Verifying Checksum 22:44:18 66aa3694b03b: Download complete 22:44:18 170f70906a0f: Download complete 22:44:18 b538f80385f9: Verifying Checksum 22:44:18 b538f80385f9: Download complete 22:44:19 b538f80385f9: Pull complete 22:44:20 74f711af9a0d: Pull complete 22:44:20 99f96fe45779: Pull complete 22:44:21 ad7c5574e4b9: Verifying Checksum 22:44:21 ad7c5574e4b9: Download complete 22:44:21 c890913d741a: Download complete 22:44:23 2480fcc9aa5a: Verifying Checksum 22:44:23 2480fcc9aa5a: Download complete 22:44:23 09adf4765672: Verifying Checksum 22:44:23 09adf4765672: Download complete 22:44:23 e772456be8f7: Verifying Checksum 22:44:23 e772456be8f7: Download complete 22:44:24 fd7a069fd194: Verifying Checksum 22:44:24 fd7a069fd194: Download complete 22:44:36 fd7a069fd194: Pull complete 22:44:36 66aa3694b03b: Pull complete 22:44:36 170f70906a0f: Pull complete 22:44:38 ad7c5574e4b9: Pull complete 22:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 11.4% of statements 22:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements 22:44:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 36.9% of statements 22:44:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.2% of statements 22:44:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:44:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:44:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 22:44:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements 22:44:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:44:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:44:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:44:40 gofmt -l . 22:44:40 [ "`gofmt -l .`" = "" ] 22:44:40 ./bin/test-attribution-txt.sh 22:44:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:44:41 Stashed 1 file(s) [Pipeline] } 22:44:41 $ docker stop --time=1 bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 22:44:43 e772456be8f7: Pull complete 22:44:43 c890913d741a: Pull complete 22:44:43 $ docker rm -f bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:44 + ls -al . 22:44:44 total 184 22:44:44 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 22:44 . 22:44:44 drwxrwxr-x. 4 jenkins jenkins 28 Jul 16 22:43 .. 22:44:44 drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 22:43 api 22:44:44 drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 22:43 bin 22:44:44 -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 22:44 coverage.out 22:44:44 -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 22:43 Dockerfile.build 22:44:44 -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 22:43 .dockerignore 22:44:44 drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 22:43 example 22:44:44 drwxrwxr-x. 8 jenkins jenkins 179 Jul 16 22:43 .git 22:44:44 drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 22:43 .github 22:44:44 -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 22:43 .gitignore 22:44:44 -rw-r--r--. 1 jenkins jenkins 446 Jul 16 22:44 go.mod 22:44:44 -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 22:44 go.sum 22:44:44 drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 22:43 internal 22:44:44 -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 22:43 Jenkinsfile 22:44:44 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 22:43 LICENSE 22:44:44 -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 22:43 Makefile 22:44:44 drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 22:43 pkg 22:44:44 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 22:43 README.md 22:44:44 -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 22:43 RELEASE-NOTES.txt 22:44:44 drwxrwxr-x. 3 jenkins jenkins 58 Jul 16 22:43 .semver 22:44:44 drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 22:43 snap 22:44:44 -rw-rw-r--. 1 jenkins jenkins 5 Jul 16 22:41 VERSION 22:44:44 -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 22:43 version.go [Pipeline] isUnix [Pipeline] sh 22:44:45 2480fcc9aa5a: Pull complete 22:44:45 + 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=e526c7dfd1f7d6429ba6c457dd4eb56057764233 --label arch=amd64 --label version=0.0.0 . 22:44:45 Sending build context to Docker daemon 3.254MB 22:44:45 Step 1/23 : ARG BASE=golang:1.13-alpine 22:44:45 Step 2/23 : FROM ${BASE} AS builder 22:44:45 ---> a488d7dcb68c 22:44:45 Step 3/23 : ARG MAKE='make build' 22:44:45 09adf4765672: Pull complete 22:44:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 22:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:44:45 ---> 2248a725d1cf 22:44:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:46 ---> Running in 0f9863ac4dda 22:44:46 Removing intermediate container 0f9863ac4dda 22:44:46 ---> 047d5b4ed42f 22:44:46 Step 4/23 : WORKDIR /device-sdk-go 22:44:46 ---> Running in 5836d5f1d6f2 22:44:46 Removing intermediate container 5836d5f1d6f2 22:44:46 ---> 1508e736140a 22:44:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:46 ---> Running in a729bfb14573 22:44:46 Removing intermediate container a729bfb14573 22:44:46 ---> 651b0f5faf71 22:44:46 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:46 ---> Running in 44d1585d2c58 22:44:47 Removing intermediate container 44d1585d2c58 22:44:47 ---> b1354a2bf19e 22:44:47 Step 7/23 : RUN apk add --update --no-cache make git 22:44:47 ---> Running in 95ea6e226328 22:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:44:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:44:49 OK: 166 MiB in 39 packages 22:44:49 Removing intermediate container 95ea6e226328 22:44:49 ---> 2b0069e3fd79 22:44:49 Step 8/23 : COPY . . 22:44:50 ---> 65658117ee60 22:44:50 Step 9/23 : RUN ${MAKE} 22:44:50 ---> Running in 68149711c5d9 22:44:50 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 22:44:51 ---> Running in 944c114777c8 22:44:51 Removing intermediate container 944c114777c8 22:44:51 ---> d4af6ce3973a 22:44:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:51 ---> Running in 58b2379593af 22:44:53 Removing intermediate container 58b2379593af 22:44:53 ---> 1ae15ae50237 22:44:53 Step 5/8 : RUN apk add --no-cache make git 22:44:53 ---> Running in dd09ae1fe7af 22:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:44:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:57 OK: 142 MiB in 39 packages 22:44:58 Removing intermediate container dd09ae1fe7af 22:44:58 ---> 218b306ddb43 22:44:58 Step 6/8 : WORKDIR /device-sdk-go 22:44:58 ---> Running in 7ab3803a430f 22:44:59 Removing intermediate container 7ab3803a430f 22:44:59 ---> e99a1389ffa2 22:44:59 Step 7/8 : COPY . . 22:44:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:45:00 Removing intermediate container 68149711c5d9 22:45:00 ---> 82949f4afe8d 22:45:00 Step 10/23 : FROM scratch 22:45:00 ---> 22:45:00 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:00 ---> Running in 851e26051719 22:45:00 Removing intermediate container 851e26051719 22:45:00 ---> a324959288f5 22:45:00 Step 12/23 : ENV APP_PORT=49990 22:45:00 ---> Running in d7cb99e095cd 22:45:00 Removing intermediate container d7cb99e095cd 22:45:00 ---> c3de25b3d453 22:45:00 Step 13/23 : EXPOSE $APP_PORT 22:45:00 ---> Running in e1aa77ccd305 22:45:00 ---> 3844cff009d1 22:45:00 Step 8/8 : RUN go mod download 22:45:00 ---> Running in 0c8d53d3208b 22:45:00 Removing intermediate container e1aa77ccd305 22:45:00 ---> 3bd1c496f622 22:45:00 Step 14/23 : WORKDIR / 22:45:00 ---> Running in 58f2dcf87857 22:45:00 Removing intermediate container 58f2dcf87857 22:45:00 ---> 455115d3ca13 22:45:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:45:01 ---> 4879bae73f3c 22:45:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:45:02 ---> bca7a768ae2f 22:45:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:45:02 ---> 5488065250db 22:45:02 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:45:02 ---> aa7f36eda907 22:45:02 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:45:02 ---> 72d5267bb572 22:45:02 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:45:02 ---> Running in a0533c197126 22:45:02 Removing intermediate container a0533c197126 22:45:02 ---> 1f852ebc0c67 22:45:02 Step 21/23 : LABEL arch=amd64 22:45:02 ---> Running in 562ae55bf910 22:45:03 Removing intermediate container 562ae55bf910 22:45:03 ---> 4e3b4153c643 22:45:03 Step 22/23 : LABEL git_sha=e526c7dfd1f7d6429ba6c457dd4eb56057764233 22:45:03 ---> Running in ecdec8ebcf0e 22:45:03 go: finding github.com/BurntSushi/toml v0.3.1 22:45:03 go: finding github.com/OneOfOne/xxhash v1.2.6 22:45:03 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:45:03 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:45:03 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:45:03 go: finding github.com/bgentry/speakeasy v0.1.0 22:45:03 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:45:03 go: finding github.com/davecgh/go-spew v1.1.1 22:45:03 Removing intermediate container ecdec8ebcf0e 22:45:03 ---> 6418d752e7bd 22:45:03 Step 23/23 : LABEL version=0.0.0 22:45:03 ---> Running in ac8168ff06a6 22:45:03 Removing intermediate container ac8168ff06a6 22:45:03 ---> b4f1fcdd3931 22:45:03 [Warning] One or more build-args [ARCH] were not consumed 22:45:03 Successfully built b4f1fcdd3931 22:45:03 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 22:45:03 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 22:45:03 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:45:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:45:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:45:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:45:03 go: finding github.com/fatih/color v1.7.0 22:45:03 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:45:03 go: finding github.com/go-kit/kit v0.8.0 22:45:03 go: finding github.com/go-logfmt/logfmt v0.4.0 22:45:03 go: finding github.com/go-stack/stack v1.8.0 22:45:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 22:45:03 go: finding github.com/google/uuid v1.1.0 22:45:03 go: finding github.com/gorilla/mux v1.7.1 22:45:03 go: finding github.com/hashicorp/consul/api v1.1.0 22:45:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:45:03 go: finding github.com/hashicorp/errwrap v1.0.0 22:45:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:45:03 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:45:03 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:45:03 go: finding github.com/hashicorp/go-multierror v1.0.0 22:45:03 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:45:03 go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 22:45:04 go: finding github.com/hashicorp/go-syslog v1.0.0 22:45:04 go: finding github.com/hashicorp/go-uuid v1.0.1 22:45:04 go: finding github.com/hashicorp/go.net v0.0.1 22:45:04 go: finding github.com/hashicorp/golang-lru v0.5.0 22:45:04 go: finding github.com/hashicorp/logutils v1.0.0 22:45:04 go: finding github.com/hashicorp/mdns v1.0.0 22:45:04 go: finding github.com/hashicorp/memberlist v0.1.3 22:45:04 go: finding github.com/hashicorp/serf v0.8.2 22:45:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:45:04 go: finding github.com/mattn/go-colorable v0.0.9 22:45:04 go: finding github.com/mattn/go-isatty v0.0.3 22:45:04 go: finding github.com/miekg/dns v1.0.14 22:45:04 go: finding github.com/mitchellh/cli v1.0.0 22:45:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:45:04 go: finding github.com/mitchellh/copystructure v1.0.0 22:45:04 go: finding github.com/mitchellh/go-homedir v1.0.0 22:45:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:45:04 go: finding github.com/mitchellh/gox v0.4.0 22:45:04 go: finding github.com/mitchellh/iochan v1.0.0 22:45:04 go: finding github.com/mitchellh/mapstructure v1.1.2 22:45:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:45:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:45:04 go: finding github.com/pelletier/go-toml v1.2.0 22:45:04 go: finding github.com/pkg/errors v0.8.1 22:45:04 go: finding github.com/pmezard/go-difflib v1.0.0 22:45:04 go: finding github.com/posener/complete v1.1.1 22:45:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:45:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:45:04 go: finding github.com/stretchr/objx v0.1.0 22:45:04 go: finding github.com/stretchr/testify v1.5.1 22:45:04 go: finding github.com/ugorji/go v1.1.4 22:45:04 go: finding github.com/x448/float16 v0.8.4 22:45:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:45:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:45:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:45:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:45:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:45:04 go: finding gopkg.in/yaml.v2 v2.2.8 22:45:15 Removing intermediate container 0c8d53d3208b 22:45:15 ---> 875407904e68 22:45:15 Successfully built 875407904e68 22:45:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:15 + docker inspect -f . ci-base-image-arm64 22:45:15 . [Pipeline] withDockerContainer 22:45:16 prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container 22:45:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 22:45:18 $ docker top d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:19 + go version 22:45:19 go version go1.13.13 linux/arm64 [Pipeline] sh 22:45:20 + make test 22:45:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:45:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:45:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:45:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:45:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:45:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 22.1% of statements 22:45:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.182s coverage: 95.8% of statements 22:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements 22:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements 22:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.201s coverage: 36.9% of statements 22:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.547s coverage: 65.2% of statements 22:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements 22:46:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 68.9% of statements 22:46:27 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 22:46:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:46:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:46:30 gofmt -l . 22:46:30 [ "`gofmt -l .`" = "" ] 22:46:31 ./bin/test-attribution-txt.sh 22:46:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:46:32 Warning: overwriting stash ‘coverage-report’ 22:46:32 Stashed 1 file(s) [Pipeline] } 22:46:32 $ docker stop --time=1 d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 22:46:34 $ docker rm -f d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:36 + ls -al . 22:46:36 total 224 22:46:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 22:46 . 22:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 .. 22:46:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 22:44 .dockerignore 22:46:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 22:44 .git 22:46:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 22:44 .github 22:46:36 -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 22:44 .gitignore 22:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 22:44 .semver 22:46:36 -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 22:44 Dockerfile.build 22:46:36 -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 22:44 Jenkinsfile 22:46:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 22:44 LICENSE 22:46:36 -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 22:44 Makefile 22:46:36 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 22:44 README.md 22:46:36 -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 22:44 RELEASE-NOTES.txt 22:46:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 22:41 VERSION 22:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 22:44 api 22:46:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 22:44 bin 22:46:36 -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 22:46 coverage.out 22:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 example 22:46:36 -rw-r--r-- 1 jenkins jenkins 446 Jul 16 22:46 go.mod 22:46:36 -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 22:46 go.sum 22:46:36 drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 22:44 internal 22:46:36 drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 22:44 pkg 22:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 snap 22:46:36 -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:46:36 + 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=e526c7dfd1f7d6429ba6c457dd4eb56057764233 --label arch=arm64 --label version=0.0.0 . 22:46:37 Sending build context to Docker daemon 3.254MB 22:46:37 Step 1/23 : ARG BASE=golang:1.13-alpine 22:46:37 Step 2/23 : FROM ${BASE} AS builder 22:46:37 ---> 875407904e68 22:46:37 Step 3/23 : ARG MAKE='make build' 22:46:37 ---> Running in 460d3ab1135d 22:46:37 Removing intermediate container 460d3ab1135d 22:46:37 ---> 4850b1ffd9ed 22:46:37 Step 4/23 : WORKDIR /device-sdk-go 22:46:38 ---> Running in 77e4da8b783a 22:46:38 Removing intermediate container 77e4da8b783a 22:46:38 ---> 453787a87b9d 22:46:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:38 ---> Running in 57b77eea381c 22:46:39 Removing intermediate container 57b77eea381c 22:46:39 ---> 476117890f99 22:46:39 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:39 ---> Running in 76724f7dca0a 22:46:41 Removing intermediate container 76724f7dca0a 22:46:41 ---> c4508ed3e62c 22:46:41 Step 7/23 : RUN apk add --update --no-cache make git 22:46:41 ---> Running in 6fa3a46eec62 22:46:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:45 OK: 142 MiB in 39 packages 22:46:46 Removing intermediate container 6fa3a46eec62 22:46:46 ---> 36258ba7a4a9 22:46:46 Step 8/23 : COPY . . 22:46:47 ---> 9d5eaa1411f8 22:46:47 Step 9/23 : RUN ${MAKE} 22:46:47 ---> Running in 4e6cc5400df1 22:46:49 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 22:47:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:47:16 Removing intermediate container 4e6cc5400df1 22:47:16 ---> 8efe1057a524 22:47:16 Step 10/23 : FROM scratch 22:47:16 ---> 22:47:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:16 ---> Running in d542a75527d4 22:47:17 Removing intermediate container d542a75527d4 22:47:17 ---> 3a0d3dd06db2 22:47:17 Step 12/23 : ENV APP_PORT=49990 22:47:17 ---> Running in f5bd7a47c4d0 22:47:17 Removing intermediate container f5bd7a47c4d0 22:47:17 ---> a43349794ce7 22:47:17 Step 13/23 : EXPOSE $APP_PORT 22:47:17 ---> Running in 1fe34ae46d3d 22:47:18 Removing intermediate container 1fe34ae46d3d 22:47:18 ---> dc8c0287b40e 22:47:18 Step 14/23 : WORKDIR / 22:47:18 ---> Running in c392099f1ed5 22:47:18 Removing intermediate container c392099f1ed5 22:47:18 ---> a8185de26a46 22:47:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:47:19 ---> 350dfc1fa6af 22:47:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:47:20 ---> a58d572b1b9e 22:47:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:47:21 ---> 25e989dbec99 22:47:21 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:47:22 ---> a1f09af35c91 22:47:22 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:47:23 ---> 17219dca42b8 22:47:23 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:23 ---> Running in fae528720f80 22:47:23 Removing intermediate container fae528720f80 22:47:23 ---> 35bf93077b19 22:47:23 Step 21/23 : LABEL arch=arm64 22:47:23 ---> Running in 6647bc5f17ad 22:47:23 Removing intermediate container 6647bc5f17ad 22:47:23 ---> 6227fc325866 22:47:23 Step 22/23 : LABEL git_sha=e526c7dfd1f7d6429ba6c457dd4eb56057764233 22:47:24 ---> Running in b23e6d092aa7 22:47:24 Removing intermediate container b23e6d092aa7 22:47:24 ---> 818f5c28e78a 22:47:24 Step 23/23 : LABEL version=0.0.0 22:47:24 ---> Running in 8a920e97d153 22:47:24 Removing intermediate container 8a920e97d153 22:47:24 ---> 6488bb9b0324 22:47:24 [Warning] One or more build-args [ARCH] were not consumed 22:47:24 Successfully built 6488bb9b0324 22:47:24 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 22:47:26 provisioning config files... 22:47:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5425368562644836856tmp [Pipeline] { [Pipeline] sh 22:47:26 + curl -s https://codecov.io/bash 22:47:26 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5425368562644836856tmp [Pipeline] } 22:47:27 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 22:47:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:28 ---> package-listing.sh 22:47:28 ++ facter osfamily 22:47:28 ++ tr '[:upper:]' '[:lower:]' 22:47:28 + OS_FAMILY=redhat 22:47:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 22:47:28 + START_PACKAGES=/tmp/packages_start.txt 22:47:28 + END_PACKAGES=/tmp/packages_end.txt 22:47:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:28 + PACKAGES=/tmp/packages_start.txt 22:47:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 22:47:28 + PACKAGES=/tmp/packages_end.txt 22:47:28 + case "${OS_FAMILY}" in 22:47:28 + rpm -qa 22:47:28 + sort 22:47:33 + '[' -f /tmp/packages_start.txt ']' 22:47:33 + '[' -f /tmp/packages_end.txt ']' 22:47:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 22:47:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 22:47:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh 22:47:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:33 22:47:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:47:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:33 alpine: Pulling from edgex-lftools-log-publisher 22:47:33 c9b1b535fdd9: Pulling fs layer 22:47:33 2cc5ad85d9ab: Pulling fs layer 22:47:33 756a868c4378: Pulling fs layer 22:47:33 444b2fc9a129: Pulling fs layer 22:47:33 ea15f1150254: Pulling fs layer 22:47:33 41b27a9f41bf: Pulling fs layer 22:47:33 28c525ee5125: Pulling fs layer 22:47:33 094b1ea09ed8: Pulling fs layer 22:47:33 138eaada9080: Pulling fs layer 22:47:33 0622d0fa9048: Pulling fs layer 22:47:33 41b27a9f41bf: Waiting 22:47:33 28c525ee5125: Waiting 22:47:33 094b1ea09ed8: Waiting 22:47:33 138eaada9080: Waiting 22:47:33 444b2fc9a129: Waiting 22:47:33 ea15f1150254: Waiting 22:47:33 0622d0fa9048: Waiting 22:47:33 2cc5ad85d9ab: Verifying Checksum 22:47:33 2cc5ad85d9ab: Download complete 22:47:33 444b2fc9a129: Verifying Checksum 22:47:33 444b2fc9a129: Download complete 22:47:33 c9b1b535fdd9: Verifying Checksum 22:47:33 c9b1b535fdd9: Download complete 22:47:33 ea15f1150254: Verifying Checksum 22:47:33 ea15f1150254: Download complete 22:47:33 28c525ee5125: Verifying Checksum 22:47:33 28c525ee5125: Download complete 22:47:34 756a868c4378: Verifying Checksum 22:47:34 756a868c4378: Download complete 22:47:34 094b1ea09ed8: Verifying Checksum 22:47:34 094b1ea09ed8: Download complete 22:47:34 138eaada9080: Verifying Checksum 22:47:34 138eaada9080: Download complete 22:47:34 c9b1b535fdd9: Pull complete 22:47:34 0622d0fa9048: Verifying Checksum 22:47:34 0622d0fa9048: Download complete 22:47:34 2cc5ad85d9ab: Pull complete 22:47:34 41b27a9f41bf: Verifying Checksum 22:47:34 41b27a9f41bf: Download complete 22:47:37 756a868c4378: Pull complete 22:47:37 444b2fc9a129: Pull complete 22:47:37 ea15f1150254: Pull complete 22:47:41 41b27a9f41bf: Pull complete 22:47:41 28c525ee5125: Pull complete 22:47:43 094b1ea09ed8: Pull complete 22:47:44 138eaada9080: Pull complete 22:47:44 0622d0fa9048: Pull complete 22:47:44 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:47:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:47:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:47:44 prd-centos7-docker-4c-2g-982 does not seem to be running inside a container 22:47:44 $ 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-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:47:48 $ docker top d99b32b817fe354c42a458f1922ca7381496beed236ede06135c84a188c34d77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:48 provisioning config files... 22:47:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5400866797826360tmp [Pipeline] { [Pipeline] echo 22:47:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:49 ---> create-netrc.sh [Pipeline] echo 22:47:49 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:49 ---> logs-deploy.sh 22:47:49 + ARCHIVE_ARTIFACTS= 22:47:49 + LOGS_SERVER=https://logs.edgexfoundry.org 22:47:49 + '[' https://logs.edgexfoundry.org == None ']' 22:47:49 + NEXUS_URL=https://nexus.edgexfoundry.org 22:47:49 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 22:47:49 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/2/ 22:47:49 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 /w/workspace/dgexfoundry_device-sdk-go_PR-553 22:47:50 Archives upload complete. 22:47:50 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/2/