Pull request #553 updated 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 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-246’ Running on prd-centos7-docker-4c-2g-252 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 Fetching without tags > 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 > 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 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 Merge succeeded, producing 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 Checking out Revision 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # 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 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 # timeout=10 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:45:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] withCredentials 06:45:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:45:43 ========================================================= 06:45:43 EdgeX Global Pipelines Version Info 06:45:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:45:45 ------------------- 06:45:45 stable info: 06:45:45 ------------------- 06:45:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:45:45 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 06:45:45 Message: update stable to v1.0.99 06:45:46 ------------------- 06:45:46 experimental info: 06:45:46 ------------------- 06:45:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:45:46 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 06:45:46 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 06:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:45:48 06:45:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:45:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:45:49 latest: Pulling from edgex-devops/git-semver 06:45:49 31603596830f: Pulling fs layer 06:45:49 2a8b12db71e7: Pulling fs layer 06:45:49 6ca5941a6612: Pulling fs layer 06:45:49 ecc8261a40a4: Pulling fs layer 06:45:49 ecc8261a40a4: Waiting 06:45:49 2a8b12db71e7: Verifying Checksum 06:45:49 2a8b12db71e7: Download complete 06:45:49 31603596830f: Verifying Checksum 06:45:49 31603596830f: Download complete 06:45:49 ecc8261a40a4: Verifying Checksum 06:45:49 ecc8261a40a4: Download complete 06:45:49 6ca5941a6612: Verifying Checksum 06:45:49 6ca5941a6612: Download complete 06:45:49 31603596830f: Pull complete 06:45:50 2a8b12db71e7: Pull complete 06:45:50 6ca5941a6612: Pull complete 06:45:50 ecc8261a40a4: Pull complete 06:45:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:45:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:45:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:45:51 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 06:45:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:45:53 $ docker top bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:45:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:45:53 [ssh-agent] Looking for ssh-agent implementation... 06:45:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:45:53 $ docker exec bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent 06:45:53 SSH_AUTH_SOCK=/tmp/ssh-1EV5m30RCHB0/agent.11 06:45:53 SSH_AGENT_PID=16 06:45:53 Running ssh-add (command line suppressed) 06:45:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_9073705199647610134.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_9073705199647610134.key) 06:45:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:45:54 + git describe --exact-match --tags HEAD 06:45:54 fatal: No names found, cannot describe anything. [Pipeline] } 06:45:54 $ docker exec --env ******** --env ******** bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent -k 06:45:54 unset SSH_AUTH_SOCK; 06:45:54 unset SSH_AGENT_PID; 06:45:54 echo Agent pid 16 killed; 06:45:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:45:54 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:45:54 This usually means this commit has not been tagged. [Pipeline] sshagent 06:45:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:45:54 [ssh-agent] Looking for ssh-agent implementation... 06:45:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:45:55 $ docker exec bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent 06:45:55 SSH_AUTH_SOCK=/tmp/ssh-JxT6u5iskrXL/agent.44 06:45:55 SSH_AGENT_PID=49 06:45:55 Running ssh-add (command line suppressed) 06:45:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3160477590623132946.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3160477590623132946.key) 06:45:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:45:55 + git semver init 06:45:55 # -> Open(): unable to determine branch for HEAD 06:45:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 06:45:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 06:45:55 # $SEMVER_REMOTE_NAME = origin 06:45:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:45:55 # $SEMVER_USER_NAME = edgex-jenkins 06:45:55 # $SEMVER_BRANCH = PR-553 06:45:55 # $SEMVER_TEMP = /tmp/semver-627421718 06:45:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:45:56 # '/tmp/semver-627421718' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 06:45:56 # -> Force: false 06:45:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 06:45:56 $ docker exec --env ******** --env ******** bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent -k 06:45:56 unset SSH_AUTH_SOCK; 06:45:56 unset SSH_AGENT_PID; 06:45:56 echo Agent pid 49 killed; 06:45:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:45:56 + git semver [Pipeline] } 06:45:56 $ docker stop --time=1 bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 06:45:58 $ docker rm -f bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:45:59 Stashed 74 file(s) [Pipeline] echo 06:45:59 [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 06:46:14 Still waiting to schedule task 06:46:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:46:14 Still waiting to schedule task 06:46:14 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:48:27 Running on prd-centos7-docker-4c-2g-253 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 06:48:27 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:48:29 using credential edgex-jenkins-ssh 06:48:29 Cloning the remote Git repository 06:48:29 Cloning with configured refspecs honoured and without tags 06:48:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:48:29 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:48:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:29 > git --version # timeout=10 06:48:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:29 > 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 06:48:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:30 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 06:48:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:30 Fetching without tags 06:48:31 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 06:48:31 Merge succeeded, producing 7197d6e60cf7f9d4acd929e65776827e46fe9829 06:48:31 Checking out Revision 7197d6e60cf7f9d4acd929e65776827e46fe9829 (PR-553) 06:48:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:30 > 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 06:48:31 > git config core.sparsecheckout # timeout=10 06:48:31 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 06:48:31 > git remote # timeout=10 06:48:31 > git config --get remote.origin.url # timeout=10 06:48:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:31 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 06:48:31 > git rev-parse HEAD^{commit} # timeout=10 06:48:31 > git config core.sparsecheckout # timeout=10 06:48:31 > git checkout -f 7197d6e60cf7f9d4acd929e65776827e46fe9829 # timeout=10 06:48:34 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 06:48:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 06:48:34 > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] echo 06:48:35 ========================================================= 06:48:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:48:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:48:36 + 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 . 06:48:37 Sending build context to Docker daemon 3.125MB 06:48:37 Step 1/8 : ARG BASE=golang:1.13-alpine 06:48:37 Step 2/8 : FROM ${BASE} 06:48:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:48:37 df20fa9351a1: Pulling fs layer 06:48:37 ed8968b2872e: Pulling fs layer 06:48:37 a92cc7c5fd73: Pulling fs layer 06:48:37 2dd03ba5bac4: Pulling fs layer 06:48:37 1e091d79d1de: Pulling fs layer 06:48:37 481702a1767f: Pulling fs layer 06:48:37 f64a6f60c768: Pulling fs layer 06:48:37 e78d2573fc39: Pulling fs layer 06:48:37 e876d2f968b6: Pulling fs layer 06:48:37 ce8a83651883: Pulling fs layer 06:48:37 07967f4d0e4b: Pulling fs layer 06:48:37 2dd03ba5bac4: Waiting 06:48:37 1e091d79d1de: Waiting 06:48:37 f64a6f60c768: Waiting 06:48:37 e78d2573fc39: Waiting 06:48:37 481702a1767f: Waiting 06:48:37 ce8a83651883: Waiting 06:48:37 e876d2f968b6: Waiting 06:48:37 07967f4d0e4b: Waiting 06:48:37 a92cc7c5fd73: Verifying Checksum 06:48:37 a92cc7c5fd73: Download complete 06:48:37 ed8968b2872e: Verifying Checksum 06:48:37 ed8968b2872e: Download complete 06:48:37 1e091d79d1de: Verifying Checksum 06:48:37 1e091d79d1de: Download complete 06:48:37 481702a1767f: Verifying Checksum 06:48:37 481702a1767f: Download complete 06:48:37 df20fa9351a1: Verifying Checksum 06:48:37 df20fa9351a1: Download complete 06:48:37 df20fa9351a1: Pull complete 06:48:38 f64a6f60c768: Verifying Checksum 06:48:38 f64a6f60c768: Download complete 06:48:38 e876d2f968b6: Verifying Checksum 06:48:38 e876d2f968b6: Download complete 06:48:38 ce8a83651883: Verifying Checksum 06:48:38 ce8a83651883: Download complete 06:48:38 07967f4d0e4b: Verifying Checksum 06:48:38 07967f4d0e4b: Download complete 06:48:38 2dd03ba5bac4: Verifying Checksum 06:48:38 2dd03ba5bac4: Download complete 06:48:39 e78d2573fc39: Verifying Checksum 06:48:39 e78d2573fc39: Download complete 06:48:40 ed8968b2872e: Pull complete 06:48:40 a92cc7c5fd73: Pull complete 06:48:45 2dd03ba5bac4: Pull complete 06:48:45 1e091d79d1de: Pull complete 06:48:45 481702a1767f: Pull complete 06:48:51 f64a6f60c768: Pull complete 06:48:54 e78d2573fc39: Pull complete 06:48:54 e876d2f968b6: Pull complete 06:48:55 ce8a83651883: Pull complete 06:48:55 07967f4d0e4b: Pull complete 06:48:55 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:48:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:48:55 ---> 5d7c900382c6 06:48:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:48:57 ---> Running in 7e621d640e80 06:48:57 Removing intermediate container 7e621d640e80 06:48:57 ---> fb7579e352e4 06:48:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:57 ---> Running in b3a99a88a800 06:48:58 Removing intermediate container b3a99a88a800 06:48:58 ---> 818ed6e50584 06:48:58 Step 5/8 : RUN apk add --no-cache make git 06:48:58 ---> Running in 5de857383d1c 06:48:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:48:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:49:00 OK: 166 MiB in 39 packages 06:49:00 Removing intermediate container 5de857383d1c 06:49:00 ---> 73e3698391f1 06:49:00 Step 6/8 : WORKDIR /device-sdk-go 06:49:00 ---> Running in 04706922a0e5 06:49:00 Removing intermediate container 04706922a0e5 06:49:00 ---> d03dfd9583da 06:49:00 Step 7/8 : COPY . . 06:49:02 ---> eb4e04cb0aa1 06:49:02 Step 8/8 : RUN go mod download 06:49:02 ---> Running in 9d12da3bd0db 06:49:04 go: finding github.com/BurntSushi/toml v0.3.1 06:49:04 go: finding github.com/OneOfOne/xxhash v1.2.6 06:49:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:49:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:49:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:49:04 go: finding github.com/bgentry/speakeasy v0.1.0 06:49:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:49:04 go: finding github.com/davecgh/go-spew v1.1.1 06:49:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:49:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:49:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:49:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:49:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:49:04 go: finding github.com/fatih/color v1.7.0 06:49:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:49:04 go: finding github.com/go-kit/kit v0.8.0 06:49:04 go: finding github.com/go-logfmt/logfmt v0.4.0 06:49:04 go: finding github.com/go-stack/stack v1.8.0 06:49:04 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:49:04 go: finding github.com/google/uuid v1.1.0 06:49:04 go: finding github.com/gorilla/mux v1.7.1 06:49:04 go: finding github.com/hashicorp/consul/api v1.1.0 06:49:04 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:49:04 go: finding github.com/hashicorp/errwrap v1.0.0 06:49:04 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:49:04 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:49:04 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:49:04 go: finding github.com/hashicorp/go-multierror v1.0.0 06:49:04 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:49:04 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:49:04 go: finding github.com/hashicorp/go-syslog v1.0.0 06:49:04 go: finding github.com/hashicorp/go-uuid v1.0.1 06:49:04 go: finding github.com/hashicorp/go.net v0.0.1 06:49:04 go: finding github.com/hashicorp/golang-lru v0.5.0 06:49:04 go: finding github.com/hashicorp/logutils v1.0.0 06:49:04 go: finding github.com/hashicorp/mdns v1.0.0 06:49:04 go: finding github.com/hashicorp/memberlist v0.1.3 06:49:04 go: finding github.com/hashicorp/serf v0.8.2 06:49:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:49:04 go: finding github.com/mattn/go-colorable v0.0.9 06:49:04 go: finding github.com/mattn/go-isatty v0.0.3 06:49:04 go: finding github.com/miekg/dns v1.0.14 06:49:04 go: finding github.com/mitchellh/cli v1.0.0 06:49:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:49:04 go: finding github.com/mitchellh/copystructure v1.0.0 06:49:04 go: finding github.com/mitchellh/go-homedir v1.0.0 06:49:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:49:04 go: finding github.com/mitchellh/gox v0.4.0 06:49:04 go: finding github.com/mitchellh/iochan v1.0.0 06:49:04 go: finding github.com/mitchellh/mapstructure v1.1.2 06:49:05 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:49:05 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:49:05 go: finding github.com/pelletier/go-toml v1.2.0 06:49:05 go: finding github.com/pkg/errors v0.8.1 06:49:05 go: finding github.com/pmezard/go-difflib v1.0.0 06:49:05 go: finding github.com/posener/complete v1.1.1 06:49:05 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:49:05 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:49:05 go: finding github.com/stretchr/objx v0.1.0 06:49:05 go: finding github.com/stretchr/testify v1.5.1 06:49:05 go: finding github.com/ugorji/go v1.1.4 06:49:05 go: finding github.com/x448/float16 v0.8.4 06:49:05 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:49:05 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:49:05 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:49:05 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:49:05 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:49:05 go: finding gopkg.in/yaml.v2 v2.2.8 06:49:13 Removing intermediate container 9d12da3bd0db 06:49:13 ---> b9060d3da8a3 06:49:13 Successfully built b9060d3da8a3 06:49:13 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 06:49:14 + docker inspect -f . ci-base-image-x86_64 06:49:14 . [Pipeline] withDockerContainer 06:49:14 prd-centos7-docker-4c-2g-253 does not seem to be running inside a container 06:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:15 $ docker top 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:16 + go version 06:49:16 go version go1.13.13 linux/amd64 [Pipeline] sh 06:49:16 + make test 06:49:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:49:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:49:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:49:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:49:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:49:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements 06:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements 06:49:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-254 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 06:49:47 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:49:52 using credential edgex-jenkins-ssh 06:49:52 Cloning the remote Git repository 06:49:52 Cloning with configured refspecs honoured and without tags 06:49:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:49:52 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:49:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:52 > git --version # timeout=10 06:49:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:52 > 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 06:49:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:53 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 06:49:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:53 Fetching without tags 06:49:54 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 06:49:54 Merge succeeded, producing 8378c48c5c9df4762fcf58d82b3ad473d290eaad 06:49:54 Checking out Revision 8378c48c5c9df4762fcf58d82b3ad473d290eaad (PR-553) 06:49:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:53 > 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 06:49:54 > git config core.sparsecheckout # timeout=10 06:49:54 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 06:49:54 > git remote # timeout=10 06:49:54 > git config --get remote.origin.url # timeout=10 06:49:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:54 > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 06:49:54 > git rev-parse HEAD^{commit} # timeout=10 06:49:54 > git config core.sparsecheckout # timeout=10 06:49:54 > git checkout -f 8378c48c5c9df4762fcf58d82b3ad473d290eaad # timeout=10 06:49:58 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" 06:49:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 06:49:58 > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:49:59 ========================================================= 06:49:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:49:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:50:00 + 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 . 06:50:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements 06:50:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.066s coverage: 36.9% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 65.2% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 06:50:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:50:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:50:01 gofmt -l . 06:50:01 [ "`gofmt -l .`" = "" ] 06:50:01 ./bin/test-attribution-txt.sh 06:50:01 Sending build context to Docker daemon 3.124MB 06:50:01 Step 1/8 : ARG BASE=golang:1.13-alpine 06:50:01 Step 2/8 : FROM ${BASE} 06:50:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:50:02 b538f80385f9: Pulling fs layer 06:50:02 74f711af9a0d: Pulling fs layer 06:50:02 99f96fe45779: Pulling fs layer 06:50:02 fd7a069fd194: Pulling fs layer 06:50:02 66aa3694b03b: Pulling fs layer 06:50:02 170f70906a0f: Pulling fs layer 06:50:02 ad7c5574e4b9: Pulling fs layer 06:50:02 e772456be8f7: Pulling fs layer 06:50:02 c890913d741a: Pulling fs layer 06:50:02 2480fcc9aa5a: Pulling fs layer 06:50:02 09adf4765672: Pulling fs layer 06:50:02 fd7a069fd194: Waiting 06:50:02 66aa3694b03b: Waiting 06:50:02 170f70906a0f: Waiting 06:50:02 ad7c5574e4b9: Waiting 06:50:02 e772456be8f7: Waiting 06:50:02 c890913d741a: Waiting 06:50:02 2480fcc9aa5a: Waiting 06:50:02 09adf4765672: Waiting 06:50:02 99f96fe45779: Download complete 06:50:02 74f711af9a0d: Verifying Checksum 06:50:02 74f711af9a0d: Download complete 06:50:02 66aa3694b03b: Verifying Checksum 06:50:02 66aa3694b03b: Download complete 06:50:02 170f70906a0f: Verifying Checksum 06:50:02 170f70906a0f: Download complete 06:50:02 ./bin/test-go-mod-tidy.sh 06:50:02 b538f80385f9: Verifying Checksum 06:50:02 b538f80385f9: Download complete [Pipeline] stash 06:50:03 Stashed 1 file(s) [Pipeline] } 06:50:03 $ docker stop --time=1 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 06:50:03 b538f80385f9: Pull complete 06:50:04 74f711af9a0d: Pull complete 06:50:04 99f96fe45779: Pull complete 06:50:04 $ docker rm -f 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 06:50:05 ad7c5574e4b9: Verifying Checksum 06:50:05 c890913d741a: Verifying Checksum 06:50:05 c890913d741a: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 06:50:06 2480fcc9aa5a: Download complete 06:50:06 09adf4765672: Download complete [Pipeline] sh 06:50:07 + sudo chown -R jenkins:jenkins . 06:50:07 e772456be8f7: Verifying Checksum 06:50:07 e772456be8f7: Download complete [Pipeline] sh 06:50:07 + ls -al . 06:50:07 total 184 06:50:07 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 20 06:50 . 06:50:07 drwxrwxr-x. 4 jenkins jenkins 28 Jul 20 06:48 .. 06:50:07 drwxrwxr-x. 3 jenkins jenkins 20 Jul 20 06:48 api 06:50:07 drwxrwxr-x. 2 jenkins jenkins 64 Jul 20 06:48 bin 06:50:07 -rw-r--r--. 1 jenkins jenkins 110877 Jul 20 06:49 coverage.out 06:50:07 -rw-rw-r--. 1 jenkins jenkins 936 Jul 20 06:48 Dockerfile.build 06:50:07 -rw-rw-r--. 1 jenkins jenkins 140 Jul 20 06:48 .dockerignore 06:50:07 drwxrwxr-x. 4 jenkins jenkins 48 Jul 20 06:48 example 06:50:07 drwxrwxr-x. 8 jenkins jenkins 179 Jul 20 06:48 .git 06:50:07 drwxrwxr-x. 2 jenkins jenkins 38 Jul 20 06:48 .github 06:50:07 -rw-rw-r--. 1 jenkins jenkins 138 Jul 20 06:48 .gitignore 06:50:07 -rw-r--r--. 1 jenkins jenkins 446 Jul 20 06:50 go.mod 06:50:07 -rw-r--r--. 1 jenkins jenkins 12179 Jul 20 06:50 go.sum 06:50:07 drwxrwxr-x. 13 jenkins jenkins 184 Jul 20 06:48 internal 06:50:07 -rw-rw-r--. 1 jenkins jenkins 808 Jul 20 06:48 Jenkinsfile 06:50:07 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 20 06:48 LICENSE 06:50:07 -rw-rw-r--. 1 jenkins jenkins 892 Jul 20 06:48 Makefile 06:50:07 drwxrwxr-x. 5 jenkins jenkins 50 Jul 20 06:48 pkg 06:50:07 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 20 06:48 README.md 06:50:07 -rw-rw-r--. 1 jenkins jenkins 3997 Jul 20 06:48 RELEASE-NOTES.txt 06:50:07 drwxrwxr-x. 3 jenkins jenkins 58 Jul 20 06:48 .semver 06:50:07 drwxrwxr-x. 4 jenkins jenkins 54 Jul 20 06:48 snap 06:50:07 -rw-rw-r--. 1 jenkins jenkins 5 Jul 20 06:45 VERSION 06:50:07 -rw-rw-r--. 1 jenkins jenkins 222 Jul 20 06:48 version.go [Pipeline] isUnix [Pipeline] sh 06:50:07 + 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=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 --label arch=amd64 --label version=0.0.0 . 06:50:07 fd7a069fd194: Verifying Checksum 06:50:07 fd7a069fd194: Download complete 06:50:08 Sending build context to Docker daemon 3.253MB 06:50:08 Step 1/23 : ARG BASE=golang:1.13-alpine 06:50:08 Step 2/23 : FROM ${BASE} AS builder 06:50:08 ---> b9060d3da8a3 06:50:08 Step 3/23 : ARG MAKE='make build' 06:50:08 ---> Running in 5c52e6680c44 06:50:08 Removing intermediate container 5c52e6680c44 06:50:08 ---> db00bc87cfe5 06:50:08 Step 4/23 : WORKDIR /device-sdk-go 06:50:08 ---> Running in fb79dc16b611 06:50:09 Removing intermediate container fb79dc16b611 06:50:09 ---> d2f88a9195b6 06:50:09 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:09 ---> Running in 4b4a78c230ac 06:50:09 Removing intermediate container 4b4a78c230ac 06:50:09 ---> ea97c4ac2eb9 06:50:09 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:09 ---> Running in 1db6f175314c 06:50:10 Removing intermediate container 1db6f175314c 06:50:10 ---> 725eb8e9463b 06:50:10 Step 7/23 : RUN apk add --update --no-cache make git 06:50:10 ---> Running in 65387967298a 06:50:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:50:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:50:12 OK: 166 MiB in 39 packages 06:50:12 Removing intermediate container 65387967298a 06:50:12 ---> 342bfb571e19 06:50:12 Step 8/23 : COPY . . 06:50:13 ---> aa05e5499e47 06:50:13 Step 9/23 : RUN ${MAKE} 06:50:13 ---> Running in a529916c2e74 06:50:14 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 06:50:20 fd7a069fd194: Pull complete 06:50:20 66aa3694b03b: Pull complete 06:50:20 170f70906a0f: Pull complete 06:50:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:50:22 ad7c5574e4b9: Pull complete 06:50:23 Removing intermediate container a529916c2e74 06:50:23 ---> ea2d7bc143eb 06:50:23 Step 10/23 : FROM scratch 06:50:23 ---> 06:50:23 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:24 ---> Running in 4bcd9972d7b7 06:50:24 Removing intermediate container 4bcd9972d7b7 06:50:24 ---> 10eafa1e70a5 06:50:24 Step 12/23 : ENV APP_PORT=49990 06:50:24 ---> Running in 45fd1c2d421c 06:50:24 Removing intermediate container 45fd1c2d421c 06:50:24 ---> e5096122743a 06:50:24 Step 13/23 : EXPOSE $APP_PORT 06:50:24 ---> Running in 993bbb999951 06:50:24 Removing intermediate container 993bbb999951 06:50:24 ---> b9d3185f3693 06:50:24 Step 14/23 : WORKDIR / 06:50:24 ---> Running in 47415084354d 06:50:25 Removing intermediate container 47415084354d 06:50:25 ---> a98b6e145416 06:50:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:50:25 ---> 93ca080167e4 06:50:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:50:25 ---> 7f2b3407ed08 06:50:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:50:25 ---> 7682a38ea5d2 06:50:25 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:50:26 ---> f811d199ff1c 06:50:26 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:50:26 ---> 99fb692ef7a6 06:50:26 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:50:26 ---> Running in 72ca0d7f2af8 06:50:26 Removing intermediate container 72ca0d7f2af8 06:50:26 ---> ec0e672cbbb8 06:50:26 Step 21/23 : LABEL arch=amd64 06:50:26 ---> Running in 23cb6e167513 06:50:27 Removing intermediate container 23cb6e167513 06:50:27 ---> 1b381094433b 06:50:27 Step 22/23 : LABEL git_sha=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 06:50:27 ---> Running in 3afcd00a72f4 06:50:27 e772456be8f7: Pull complete 06:50:27 Removing intermediate container 3afcd00a72f4 06:50:27 ---> d3e9a3b81554 06:50:27 Step 23/23 : LABEL version=0.0.0 06:50:27 ---> Running in 43f6b6b6df2f 06:50:27 Removing intermediate container 43f6b6b6df2f 06:50:27 ---> 0309a280fc2f 06:50:27 [Warning] One or more build-args [ARCH] were not consumed 06:50:27 Successfully built 0309a280fc2f 06:50:27 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 06:50:27 c890913d741a: Pull complete [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] } 06:50:30 2480fcc9aa5a: Pull complete 06:50:30 09adf4765672: Pull complete 06:50:30 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:50:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:50:30 ---> 2248a725d1cf 06:50:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:35 ---> Running in a18d02967658 06:50:35 Removing intermediate container a18d02967658 06:50:35 ---> 4cb8662b5318 06:50:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:35 ---> Running in e752d896bd61 06:50:38 Removing intermediate container e752d896bd61 06:50:38 ---> c120c85f0dc1 06:50:38 Step 5/8 : RUN apk add --no-cache make git 06:50:38 ---> Running in 7f5f89aad4dc 06:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:50:41 OK: 142 MiB in 39 packages 06:50:42 Removing intermediate container 7f5f89aad4dc 06:50:42 ---> 50fa7b2b269f 06:50:42 Step 6/8 : WORKDIR /device-sdk-go 06:50:42 ---> Running in c8f754f84de3 06:50:43 Removing intermediate container c8f754f84de3 06:50:43 ---> 5ad85ec6301e 06:50:43 Step 7/8 : COPY . . 06:50:44 ---> baddae4daf7b 06:50:44 Step 8/8 : RUN go mod download 06:50:44 ---> Running in ee1b3e3cec13 06:50:47 go: finding github.com/BurntSushi/toml v0.3.1 06:50:47 go: finding github.com/OneOfOne/xxhash v1.2.6 06:50:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:50:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:50:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:50:47 go: finding github.com/bgentry/speakeasy v0.1.0 06:50:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:50:47 go: finding github.com/davecgh/go-spew v1.1.1 06:50:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:50:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:50:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:50:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:50:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:50:47 go: finding github.com/fatih/color v1.7.0 06:50:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:50:47 go: finding github.com/go-kit/kit v0.8.0 06:50:47 go: finding github.com/go-logfmt/logfmt v0.4.0 06:50:47 go: finding github.com/go-stack/stack v1.8.0 06:50:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:50:47 go: finding github.com/google/uuid v1.1.0 06:50:47 go: finding github.com/gorilla/mux v1.7.1 06:50:47 go: finding github.com/hashicorp/consul/api v1.1.0 06:50:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:50:47 go: finding github.com/hashicorp/errwrap v1.0.0 06:50:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:50:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:50:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:50:47 go: finding github.com/hashicorp/go-multierror v1.0.0 06:50:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:50:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:50:47 go: finding github.com/hashicorp/go-syslog v1.0.0 06:50:47 go: finding github.com/hashicorp/go-uuid v1.0.1 06:50:47 go: finding github.com/hashicorp/go.net v0.0.1 06:50:48 go: finding github.com/hashicorp/golang-lru v0.5.0 06:50:48 go: finding github.com/hashicorp/logutils v1.0.0 06:50:48 go: finding github.com/hashicorp/mdns v1.0.0 06:50:48 go: finding github.com/hashicorp/memberlist v0.1.3 06:50:48 go: finding github.com/hashicorp/serf v0.8.2 06:50:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:50:48 go: finding github.com/mattn/go-colorable v0.0.9 06:50:48 go: finding github.com/mattn/go-isatty v0.0.3 06:50:48 go: finding github.com/miekg/dns v1.0.14 06:50:48 go: finding github.com/mitchellh/cli v1.0.0 06:50:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:50:48 go: finding github.com/mitchellh/copystructure v1.0.0 06:50:48 go: finding github.com/mitchellh/go-homedir v1.0.0 06:50:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:50:48 go: finding github.com/mitchellh/gox v0.4.0 06:50:48 go: finding github.com/mitchellh/iochan v1.0.0 06:50:48 go: finding github.com/mitchellh/mapstructure v1.1.2 06:50:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:50:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:50:48 go: finding github.com/pelletier/go-toml v1.2.0 06:50:48 go: finding github.com/pkg/errors v0.8.1 06:50:48 go: finding github.com/pmezard/go-difflib v1.0.0 06:50:48 go: finding github.com/posener/complete v1.1.1 06:50:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:50:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:50:48 go: finding github.com/stretchr/objx v0.1.0 06:50:48 go: finding github.com/stretchr/testify v1.5.1 06:50:48 go: finding github.com/ugorji/go v1.1.4 06:50:48 go: finding github.com/x448/float16 v0.8.4 06:50:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:50:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:50:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:50:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:50:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:50:48 go: finding gopkg.in/yaml.v2 v2.2.8 06:50:59 Removing intermediate container ee1b3e3cec13 06:50:59 ---> 41f90a86ea9e 06:50:59 Successfully built 41f90a86ea9e 06:50:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:59 + docker inspect -f . ci-base-image-arm64 06:50:59 . [Pipeline] withDockerContainer 06:51:00 prd-ubuntu18.04-docker-arm64-4c-16g-254 does not seem to be running inside a container 06:51:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:51:01 $ docker top df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:03 + go version 06:51:03 go version go1.13.13 linux/arm64 [Pipeline] sh 06:51:04 + make test 06:51:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:51:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:51:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:51:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:51:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:51:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 06:51:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.189s coverage: 95.8% of statements 06:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 11.4% of statements 06:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 21.7% of statements 06:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.163s coverage: 36.9% of statements 06:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.482s coverage: 65.2% of statements 06:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:52:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 06:52:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 06:52:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:52:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:52:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:52:12 gofmt -l . 06:52:12 [ "`gofmt -l .`" = "" ] 06:52:13 ./bin/test-attribution-txt.sh 06:52:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:52:14 Warning: overwriting stash ‘coverage-report’ 06:52:15 Stashed 1 file(s) [Pipeline] } 06:52:15 $ docker stop --time=1 df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 06:52:17 $ docker rm -f df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:18 + ls -al . 06:52:18 total 224 06:52:18 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 06:52 . 06:52:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 .. 06:52:18 -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 06:49 .dockerignore 06:52:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:49 .git 06:52:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:49 .github 06:52:18 -rw-rw-r-- 1 jenkins jenkins 138 Jul 20 06:49 .gitignore 06:52:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 06:49 .semver 06:52:18 -rw-rw-r-- 1 jenkins jenkins 936 Jul 20 06:49 Dockerfile.build 06:52:18 -rw-rw-r-- 1 jenkins jenkins 808 Jul 20 06:49 Jenkinsfile 06:52:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 20 06:49 LICENSE 06:52:18 -rw-rw-r-- 1 jenkins jenkins 892 Jul 20 06:49 Makefile 06:52:18 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 20 06:49 README.md 06:52:18 -rw-rw-r-- 1 jenkins jenkins 3997 Jul 20 06:49 RELEASE-NOTES.txt 06:52:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:45 VERSION 06:52:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 06:49 api 06:52:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:49 bin 06:52:18 -rw-r--r-- 1 jenkins jenkins 110877 Jul 20 06:52 coverage.out 06:52:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 example 06:52:18 -rw-r--r-- 1 jenkins jenkins 446 Jul 20 06:52 go.mod 06:52:18 -rw-r--r-- 1 jenkins jenkins 12179 Jul 20 06:52 go.sum 06:52:18 drwxrwxr-x 13 jenkins jenkins 4096 Jul 20 06:49 internal 06:52:18 drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 06:49 pkg 06:52:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 snap 06:52:18 -rw-rw-r-- 1 jenkins jenkins 222 Jul 20 06:49 version.go [Pipeline] isUnix [Pipeline] sh 06:52:19 + 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=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 --label arch=arm64 --label version=0.0.0 . 06:52:19 Sending build context to Docker daemon 3.252MB 06:52:19 Step 1/23 : ARG BASE=golang:1.13-alpine 06:52:19 Step 2/23 : FROM ${BASE} AS builder 06:52:19 ---> 41f90a86ea9e 06:52:19 Step 3/23 : ARG MAKE='make build' 06:52:20 ---> Running in 84aa5d42d173 06:52:20 Removing intermediate container 84aa5d42d173 06:52:20 ---> 834772e32ba6 06:52:20 Step 4/23 : WORKDIR /device-sdk-go 06:52:20 ---> Running in 5a77e047292f 06:52:20 Removing intermediate container 5a77e047292f 06:52:20 ---> 232749e10497 06:52:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:20 ---> Running in 1660be594c2f 06:52:21 Removing intermediate container 1660be594c2f 06:52:21 ---> 2f601306e527 06:52:21 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:21 ---> Running in a02639f1f541 06:52:24 Removing intermediate container a02639f1f541 06:52:24 ---> aac2bf3344fc 06:52:24 Step 7/23 : RUN apk add --update --no-cache make git 06:52:24 ---> Running in 285d32bb5dd1 06:52:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:52:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:52:27 OK: 142 MiB in 39 packages 06:52:28 Removing intermediate container 285d32bb5dd1 06:52:28 ---> ee8d1f9529b6 06:52:28 Step 8/23 : COPY . . 06:52:29 ---> ab608875bc3c 06:52:29 Step 9/23 : RUN ${MAKE} 06:52:29 ---> Running in a3739ce39687 06:52:31 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 06:52:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:52:55 Removing intermediate container a3739ce39687 06:52:55 ---> 0310d3c65926 06:52:55 Step 10/23 : FROM scratch 06:52:55 ---> 06:52:55 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:55 ---> Running in 57f269151068 06:52:56 Removing intermediate container 57f269151068 06:52:56 ---> 90ba28e46770 06:52:56 Step 12/23 : ENV APP_PORT=49990 06:52:56 ---> Running in ee08a57c956f 06:52:56 Removing intermediate container ee08a57c956f 06:52:56 ---> 73ad4b291965 06:52:56 Step 13/23 : EXPOSE $APP_PORT 06:52:56 ---> Running in f5686ec04ba7 06:52:57 Removing intermediate container f5686ec04ba7 06:52:57 ---> 65ba70e7cf71 06:52:57 Step 14/23 : WORKDIR / 06:52:57 ---> Running in 7e10c4b04002 06:52:57 Removing intermediate container 7e10c4b04002 06:52:57 ---> 0eba057a794b 06:52:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:52:59 ---> cc389bfa5267 06:52:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:52:59 ---> 782bca8d8363 06:52:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:53:00 ---> 0230849d155b 06:53:00 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:53:01 ---> 799a35f30ebe 06:53:01 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:53:01 ---> c970f1552afd 06:53:01 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:53:01 ---> Running in f4cc6439c89d 06:53:02 Removing intermediate container f4cc6439c89d 06:53:02 ---> 9b20ac7410ef 06:53:02 Step 21/23 : LABEL arch=arm64 06:53:02 ---> Running in b1742473b654 06:53:03 Removing intermediate container b1742473b654 06:53:03 ---> c046c9f2b2c8 06:53:03 Step 22/23 : LABEL git_sha=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 06:53:03 ---> Running in 30043a75898f 06:53:03 Removing intermediate container 30043a75898f 06:53:03 ---> e72c7ab9ac76 06:53:03 Step 23/23 : LABEL version=0.0.0 06:53:03 ---> Running in 0a377c85d443 06:53:04 Removing intermediate container 0a377c85d443 06:53:04 ---> 0de3e7c48a5d 06:53:04 [Warning] One or more build-args [ARCH] were not consumed 06:53:04 Successfully built 0de3e7c48a5d 06:53:04 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 06:53:05 provisioning config files... 06:53:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1899931407124875528tmp [Pipeline] { [Pipeline] sh 06:53:06 + curl -s https://codecov.io/bash 06:53:06 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1899931407124875528tmp [Pipeline] } 06:53:06 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 06:53:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:08 ---> package-listing.sh 06:53:08 ++ facter osfamily 06:53:08 ++ tr '[:upper:]' '[:lower:]' 06:53:08 + OS_FAMILY=redhat 06:53:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 06:53:08 + START_PACKAGES=/tmp/packages_start.txt 06:53:08 + END_PACKAGES=/tmp/packages_end.txt 06:53:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:08 + PACKAGES=/tmp/packages_start.txt 06:53:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 06:53:08 + PACKAGES=/tmp/packages_end.txt 06:53:08 + case "${OS_FAMILY}" in 06:53:08 + rpm -qa 06:53:08 + sort 06:53:13 + '[' -f /tmp/packages_start.txt ']' 06:53:13 + '[' -f /tmp/packages_end.txt ']' 06:53:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 06:53:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 06:53:13 + 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 06:53:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:53:13 06:53:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:53:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:53:14 alpine: Pulling from edgex-lftools-log-publisher 06:53:14 c9b1b535fdd9: Pulling fs layer 06:53:14 2cc5ad85d9ab: Pulling fs layer 06:53:14 756a868c4378: Pulling fs layer 06:53:14 444b2fc9a129: Pulling fs layer 06:53:14 ea15f1150254: Pulling fs layer 06:53:14 41b27a9f41bf: Pulling fs layer 06:53:14 28c525ee5125: Pulling fs layer 06:53:14 094b1ea09ed8: Pulling fs layer 06:53:14 138eaada9080: Pulling fs layer 06:53:14 0622d0fa9048: Pulling fs layer 06:53:14 41b27a9f41bf: Waiting 06:53:14 28c525ee5125: Waiting 06:53:14 094b1ea09ed8: Waiting 06:53:14 444b2fc9a129: Waiting 06:53:14 138eaada9080: Waiting 06:53:14 0622d0fa9048: Waiting 06:53:14 ea15f1150254: Waiting 06:53:14 2cc5ad85d9ab: Verifying Checksum 06:53:14 2cc5ad85d9ab: Download complete 06:53:14 444b2fc9a129: Verifying Checksum 06:53:14 444b2fc9a129: Download complete 06:53:14 c9b1b535fdd9: Download complete 06:53:14 ea15f1150254: Verifying Checksum 06:53:14 ea15f1150254: Download complete 06:53:14 28c525ee5125: Verifying Checksum 06:53:14 28c525ee5125: Download complete 06:53:14 756a868c4378: Verifying Checksum 06:53:14 756a868c4378: Download complete 06:53:14 c9b1b535fdd9: Pull complete 06:53:14 138eaada9080: Verifying Checksum 06:53:14 138eaada9080: Download complete 06:53:15 094b1ea09ed8: Verifying Checksum 06:53:15 094b1ea09ed8: Download complete 06:53:15 0622d0fa9048: Verifying Checksum 06:53:15 0622d0fa9048: Download complete 06:53:15 2cc5ad85d9ab: Pull complete 06:53:15 41b27a9f41bf: Verifying Checksum 06:53:15 41b27a9f41bf: Download complete 06:53:16 756a868c4378: Pull complete 06:53:16 444b2fc9a129: Pull complete 06:53:17 ea15f1150254: Pull complete 06:53:21 41b27a9f41bf: Pull complete 06:53:21 28c525ee5125: Pull complete 06:53:23 094b1ea09ed8: Pull complete 06:53:23 138eaada9080: Pull complete 06:53:24 0622d0fa9048: Pull complete 06:53:24 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:53:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:53:24 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 06:53:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:53:28 $ docker top 7463f4c25e48f70fce6b4d9846bafd47a17a22bf4ac0c16edce816e294f94c3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:28 provisioning config files... 06:53:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2876709199456905796tmp [Pipeline] { [Pipeline] echo 06:53:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:28 ---> create-netrc.sh [Pipeline] echo 06:53:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:29 ---> logs-deploy.sh 06:53:29 + ARCHIVE_ARTIFACTS= 06:53:29 + LOGS_SERVER=https://logs.edgexfoundry.org 06:53:29 + '[' https://logs.edgexfoundry.org == None ']' 06:53:29 + NEXUS_URL=https://nexus.edgexfoundry.org 06:53:29 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 06:53:29 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/4/ 06:53:29 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 /w/workspace/dgexfoundry_device-sdk-go_PR-553 06:53:30 Archives upload complete. 06:53:30 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/4/