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 f17d1be1b4849550bf30592997a90b8c252fbe34 rather than 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 Obtained Jenkinsfile from f17d1be1b4849550bf30592997a90b8c252fbe34 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-docker-4c-2g-517’ is offline Running on prd-centos7-docker-4c-2g-518 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 Fetching 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 > 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 f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 Merge succeeded, producing 613581cbe05108dd36878c68c60f3a2934cd9965 Checking out Revision 613581cbe05108dd36878c68c60f3a2934cd9965 (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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 613581cbe05108dd36878c68c60f3a2934cd9965 # timeout=10 Commit message: "Merge commit 'f17d1be1b4849550bf30592997a90b8c252fbe34' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 # timeout=10 [Pipeline] echo 02:41:49 ========================================================= 02:41:49 EdgeX Global Pipelines Version Info 02:41:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:50 ------------------- 02:41:50 stable info: 02:41:50 ------------------- 02:41:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:50 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 02:41:50 Message: update stable to v1.0.99 02:41:51 ------------------- 02:41:51 experimental info: 02:41:51 ------------------- 02:41:51 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:51 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 02:41:51 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:53 02:41:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:53 latest: Pulling from edgex-devops/git-semver 02:41:53 31603596830f: Pulling fs layer 02:41:53 2a8b12db71e7: Pulling fs layer 02:41:53 6ca5941a6612: Pulling fs layer 02:41:53 ecc8261a40a4: Pulling fs layer 02:41:53 ecc8261a40a4: Waiting 02:41:53 2a8b12db71e7: Verifying Checksum 02:41:53 2a8b12db71e7: Download complete 02:41:53 31603596830f: Verifying Checksum 02:41:53 31603596830f: Download complete 02:41:54 ecc8261a40a4: Verifying Checksum 02:41:54 ecc8261a40a4: Download complete 02:41:54 6ca5941a6612: Verifying Checksum 02:41:54 6ca5941a6612: Download complete 02:41:54 31603596830f: Pull complete 02:41:54 2a8b12db71e7: Pull complete 02:41:54 6ca5941a6612: Pull complete 02:41:55 ecc8261a40a4: Pull complete 02:41:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:55 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 02:41:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:41:57 $ docker top 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:57 [ssh-agent] Looking for ssh-agent implementation... 02:41:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:57 $ docker exec 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 ssh-agent 02:41:58 SSH_AUTH_SOCK=/tmp/ssh-LEh3jWD59Lqk/agent.13 02:41:58 SSH_AGENT_PID=18 02:41:58 Running ssh-add (command line suppressed) 02:41:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2201928841460572055.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2201928841460572055.key) 02:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:58 + git describe --exact-match --tags HEAD 02:41:58 fatal: No names found, cannot describe anything. [Pipeline] } 02:41:58 $ docker exec --env ******** --env ******** 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 ssh-agent -k 02:41:58 unset SSH_AUTH_SOCK; 02:41:58 unset SSH_AGENT_PID; 02:41:58 echo Agent pid 18 killed; 02:41:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:41:58 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:41:58 This usually means this commit has not been tagged. [Pipeline] sshagent 02:41:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:59 [ssh-agent] Looking for ssh-agent implementation... 02:41:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:59 $ docker exec 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 ssh-agent 02:41:59 SSH_AUTH_SOCK=/tmp/ssh-4bHnsjbrFSsq/agent.47 02:41:59 SSH_AGENT_PID=52 02:41:59 Running ssh-add (command line suppressed) 02:41:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4143598782146383460.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4143598782146383460.key) 02:41:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:59 + git semver init 02:41:59 # -> Open(): unable to determine branch for HEAD 02:41:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 02:41:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:41:59 # $SEMVER_REMOTE_NAME = origin 02:41:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:59 # $SEMVER_USER_NAME = edgex-jenkins 02:41:59 # $SEMVER_BRANCH = PR-553 02:41:59 # $SEMVER_TEMP = /tmp/semver-339283812 02:41:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:00 # '/tmp/semver-339283812' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 02:42:00 # -> Force: false 02:42:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 02:42:00 $ docker exec --env ******** --env ******** 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 ssh-agent -k 02:42:00 unset SSH_AUTH_SOCK; 02:42:00 unset SSH_AGENT_PID; 02:42:00 echo Agent pid 52 killed; 02:42:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:01 + git semver [Pipeline] } 02:42:01 $ docker stop --time=1 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 02:42:02 $ docker rm -f 3ccd8bef0c914dfd91965a3460172ed05a80316752d1661fe911c3f74d980c85 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:42:03 Stashed 24 file(s) [Pipeline] echo 02:42:03 [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 02:42:18 Still waiting to schedule task 02:42:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:42:18 Still waiting to schedule task 02:42:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:23 Running on prd-centos7-docker-4c-2g-521 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:43:23 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:43:25 using credential edgex-jenkins-ssh 02:43:25 Cloning the remote Git repository 02:43:25 Cloning with configured refspecs honoured and without tags 02:43:26 Fetching without tags 02:43:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:25 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:26 > git --version # timeout=10 02:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:26 > 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 02:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:26 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:43:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:26 > 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 02:43:27 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 02:43:27 Merge succeeded, producing 41197c0af5b4cd1bbbb6fc309d5e333997e304bc 02:43:27 Checking out Revision 41197c0af5b4cd1bbbb6fc309d5e333997e304bc (PR-553) 02:43:27 > git config core.sparsecheckout # timeout=10 02:43:27 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 02:43:27 > git remote # timeout=10 02:43:27 > git config --get remote.origin.url # timeout=10 02:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:27 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 02:43:27 > git rev-parse HEAD^{commit} # timeout=10 02:43:27 > git config core.sparsecheckout # timeout=10 02:43:27 > git checkout -f 41197c0af5b4cd1bbbb6fc309d5e333997e304bc # timeout=10 02:43:30 Commit message: "Merge commit 'f17d1be1b4849550bf30592997a90b8c252fbe34' into HEAD" 02:43:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:43:31 ========================================================= 02:43:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:43:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:30 > git rev-list --no-walk 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 # timeout=10 02:43:32 + 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 . 02:43:32 Sending build context to Docker daemon 3.028MB 02:43:32 Step 1/8 : ARG BASE=golang:1.13-alpine 02:43:32 Step 2/8 : FROM ${BASE} 02:43:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:32 df20fa9351a1: Pulling fs layer 02:43:32 ed8968b2872e: Pulling fs layer 02:43:32 a92cc7c5fd73: Pulling fs layer 02:43:32 2dd03ba5bac4: Pulling fs layer 02:43:32 1e091d79d1de: Pulling fs layer 02:43:32 481702a1767f: Pulling fs layer 02:43:32 f64a6f60c768: Pulling fs layer 02:43:32 e78d2573fc39: Pulling fs layer 02:43:32 e876d2f968b6: Pulling fs layer 02:43:32 ce8a83651883: Pulling fs layer 02:43:32 07967f4d0e4b: Pulling fs layer 02:43:32 f64a6f60c768: Waiting 02:43:32 e78d2573fc39: Waiting 02:43:32 e876d2f968b6: Waiting 02:43:32 ce8a83651883: Waiting 02:43:32 2dd03ba5bac4: Waiting 02:43:32 07967f4d0e4b: Waiting 02:43:32 481702a1767f: Waiting 02:43:32 1e091d79d1de: Waiting 02:43:32 a92cc7c5fd73: Verifying Checksum 02:43:32 a92cc7c5fd73: Download complete 02:43:32 ed8968b2872e: Verifying Checksum 02:43:32 ed8968b2872e: Download complete 02:43:32 1e091d79d1de: Verifying Checksum 02:43:32 1e091d79d1de: Download complete 02:43:32 481702a1767f: Verifying Checksum 02:43:32 481702a1767f: Download complete 02:43:32 df20fa9351a1: Verifying Checksum 02:43:32 df20fa9351a1: Download complete 02:43:33 df20fa9351a1: Pull complete 02:43:33 f64a6f60c768: Verifying Checksum 02:43:33 f64a6f60c768: Download complete 02:43:33 e876d2f968b6: Verifying Checksum 02:43:33 e876d2f968b6: Download complete 02:43:34 2dd03ba5bac4: Verifying Checksum 02:43:34 2dd03ba5bac4: Download complete 02:43:34 e78d2573fc39: Verifying Checksum 02:43:34 e78d2573fc39: Download complete 02:43:34 ce8a83651883: Verifying Checksum 02:43:34 ce8a83651883: Download complete 02:43:34 07967f4d0e4b: Verifying Checksum 02:43:34 07967f4d0e4b: Download complete 02:43:35 ed8968b2872e: Pull complete 02:43:35 a92cc7c5fd73: Pull complete 02:43:40 2dd03ba5bac4: Pull complete 02:43:40 1e091d79d1de: Pull complete 02:43:41 481702a1767f: Pull complete 02:43:47 f64a6f60c768: Pull complete 02:43:50 e78d2573fc39: Pull complete 02:43:50 e876d2f968b6: Pull complete 02:43:51 ce8a83651883: Pull complete 02:43:51 07967f4d0e4b: Pull complete 02:43:51 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 02:43:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:43:51 ---> 5d7c900382c6 02:43:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:43:52 ---> Running in 65c36c53d776 02:43:52 Removing intermediate container 65c36c53d776 02:43:52 ---> 1aa67dfbf91b 02:43:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:43:52 ---> Running in 19cf8aa11129 02:43:54 Removing intermediate container 19cf8aa11129 02:43:54 ---> e9454a107338 02:43:54 Step 5/8 : RUN apk add --no-cache make git 02:43:54 ---> Running in 27e7bd14fd2d 02:43:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:43:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:43:55 OK: 166 MiB in 39 packages 02:43:55 Removing intermediate container 27e7bd14fd2d 02:43:55 ---> a468c7d3e3f5 02:43:55 Step 6/8 : WORKDIR /device-sdk-go 02:43:55 ---> Running in 63147a272fe7 02:43:55 Removing intermediate container 63147a272fe7 02:43:55 ---> f0d08668b19f 02:43:55 Step 7/8 : COPY . . 02:43:57 ---> a6896e2fb36d 02:43:57 Step 8/8 : RUN go mod download 02:43:57 ---> Running in 799653191b14 02:43:58 go: finding github.com/BurntSushi/toml v0.3.1 02:43:58 go: finding github.com/OneOfOne/xxhash v1.2.6 02:43:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:43:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:43:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:43:58 go: finding github.com/bgentry/speakeasy v0.1.0 02:43:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:43:58 go: finding github.com/davecgh/go-spew v1.1.1 02:43:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:43:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:43:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:43:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:43:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:43:59 go: finding github.com/fatih/color v1.7.0 02:43:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:43:59 go: finding github.com/go-kit/kit v0.8.0 02:43:59 go: finding github.com/go-logfmt/logfmt v0.4.0 02:43:59 go: finding github.com/go-stack/stack v1.8.0 02:43:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:43:59 go: finding github.com/google/uuid v1.1.0 02:43:59 go: finding github.com/gorilla/mux v1.7.1 02:43:59 go: finding github.com/hashicorp/consul/api v1.1.0 02:43:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:43:59 go: finding github.com/hashicorp/errwrap v1.0.0 02:43:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:43:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:43:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:43:59 go: finding github.com/hashicorp/go-multierror v1.0.0 02:43:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:43:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:43:59 go: finding github.com/hashicorp/go-syslog v1.0.0 02:43:59 go: finding github.com/hashicorp/go-uuid v1.0.1 02:43:59 go: finding github.com/hashicorp/go.net v0.0.1 02:43:59 go: finding github.com/hashicorp/golang-lru v0.5.0 02:43:59 go: finding github.com/hashicorp/logutils v1.0.0 02:43:59 go: finding github.com/hashicorp/mdns v1.0.0 02:43:59 go: finding github.com/hashicorp/memberlist v0.1.3 02:43:59 go: finding github.com/hashicorp/serf v0.8.2 02:43:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:43:59 go: finding github.com/mattn/go-colorable v0.0.9 02:44:00 go: finding github.com/mattn/go-isatty v0.0.3 02:44:00 go: finding github.com/miekg/dns v1.0.14 02:44:00 go: finding github.com/mitchellh/cli v1.0.0 02:44:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:44:00 go: finding github.com/mitchellh/copystructure v1.0.0 02:44:00 go: finding github.com/mitchellh/go-homedir v1.0.0 02:44:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:44:00 go: finding github.com/mitchellh/gox v0.4.0 02:44:00 go: finding github.com/mitchellh/iochan v1.0.0 02:44:00 go: finding github.com/mitchellh/mapstructure v1.1.2 02:44:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:44:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:44:00 go: finding github.com/pelletier/go-toml v1.2.0 02:44:00 go: finding github.com/pkg/errors v0.8.1 02:44:00 go: finding github.com/pmezard/go-difflib v1.0.0 02:44:00 go: finding github.com/posener/complete v1.1.1 02:44:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:44:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:44:00 go: finding github.com/stretchr/objx v0.1.0 02:44:00 go: finding github.com/stretchr/testify v1.5.1 02:44:00 go: finding github.com/ugorji/go v1.1.4 02:44:00 go: finding github.com/x448/float16 v0.8.4 02:44:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:44:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:44:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-520 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:44:00 Running in /w/workspace/device-sdk-go/5 [Pipeline] { 02:44:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:44:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:44:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:44:00 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] checkout 02:44:05 using credential edgex-jenkins-ssh 02:44:05 Cloning the remote Git repository 02:44:05 Cloning with configured refspecs honoured and without tags 02:44:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:05 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:44:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:05 > git --version # timeout=10 02:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:05 > 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 02:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:06 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:44:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:06 Fetching without tags 02:44:07 Removing intermediate container 799653191b14 02:44:07 ---> b7caf4e9c46a 02:44:07 Successfully built b7caf4e9c46a 02:44:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 02:44:07 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:07 Merge succeeded, producing 7a1c62f422ac1134e52ac716cc0966749343172a 02:44:07 Checking out Revision 7a1c62f422ac1134e52ac716cc0966749343172a (PR-553) 02:44:07 + docker inspect -f . ci-base-image-x86_64 02:44:07 . [Pipeline] withDockerContainer 02:44:08 prd-centos7-docker-4c-2g-521 does not seem to be running inside a container 02:44:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 02:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:07 > 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 02:44:07 > git config core.sparsecheckout # timeout=10 02:44:07 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 02:44:07 > git remote # timeout=10 02:44:07 > git config --get remote.origin.url # timeout=10 02:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:07 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 02:44:07 > git rev-parse HEAD^{commit} # timeout=10 02:44:07 > git config core.sparsecheckout # timeout=10 02:44:07 > git checkout -f 7a1c62f422ac1134e52ac716cc0966749343172a # timeout=10 02:44:09 $ docker top e9a7979d6da6d884cb80cc37c74ecc8401c217347aeb247eecc2a4a1ad9f6fdc -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:09 + go version 02:44:09 go version go1.13.13 linux/amd64 [Pipeline] sh 02:44:10 + make test 02:44:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:44:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:44:12 Commit message: "Merge commit 'f17d1be1b4849550bf30592997a90b8c252fbe34' into HEAD" 02:44:12 First time build. Skipping changelog. 02:44:12 > git rev-list --no-walk 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:44:13 ========================================================= 02:44:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:44:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:14 + 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 . 02:44:15 Sending build context to Docker daemon 3.028MB 02:44:15 Step 1/8 : ARG BASE=golang:1.13-alpine 02:44:15 Step 2/8 : FROM ${BASE} 02:44:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:15 b538f80385f9: Pulling fs layer 02:44:15 74f711af9a0d: Pulling fs layer 02:44:15 99f96fe45779: Pulling fs layer 02:44:15 fd7a069fd194: Pulling fs layer 02:44:15 66aa3694b03b: Pulling fs layer 02:44:15 170f70906a0f: Pulling fs layer 02:44:15 ad7c5574e4b9: Pulling fs layer 02:44:15 e772456be8f7: Pulling fs layer 02:44:15 c890913d741a: Pulling fs layer 02:44:15 2480fcc9aa5a: Pulling fs layer 02:44:15 09adf4765672: Pulling fs layer 02:44:15 ad7c5574e4b9: Waiting 02:44:15 2480fcc9aa5a: Waiting 02:44:15 09adf4765672: Waiting 02:44:15 e772456be8f7: Waiting 02:44:15 c890913d741a: Waiting 02:44:15 fd7a069fd194: Waiting 02:44:15 66aa3694b03b: Waiting 02:44:15 170f70906a0f: Waiting 02:44:15 99f96fe45779: Verifying Checksum 02:44:15 99f96fe45779: Download complete 02:44:15 74f711af9a0d: Verifying Checksum 02:44:15 74f711af9a0d: Download complete 02:44:15 66aa3694b03b: Verifying Checksum 02:44:15 66aa3694b03b: Download complete 02:44:15 170f70906a0f: Verifying Checksum 02:44:15 170f70906a0f: Download complete 02:44:15 b538f80385f9: Verifying Checksum 02:44:15 b538f80385f9: Download complete 02:44:16 b538f80385f9: Pull complete 02:44:17 74f711af9a0d: Pull complete 02:44:17 99f96fe45779: Pull complete 02:44:18 ad7c5574e4b9: Verifying Checksum 02:44:18 ad7c5574e4b9: Download complete 02:44:18 c890913d741a: Verifying Checksum 02:44:18 c890913d741a: Download complete 02:44:20 2480fcc9aa5a: Verifying Checksum 02:44:20 2480fcc9aa5a: Download complete 02:44:20 e772456be8f7: Verifying Checksum 02:44:20 e772456be8f7: Download complete 02:44:20 09adf4765672: Download complete 02:44:21 fd7a069fd194: Verifying Checksum 02:44:21 fd7a069fd194: Download complete 02:44:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:44:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:44:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:44:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.030s coverage: 22.1% of statements 02:44:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.043s coverage: 95.8% of statements 02:44:33 fd7a069fd194: Pull complete 02:44:33 66aa3694b03b: Pull complete 02:44:33 170f70906a0f: Pull complete 02:44:37 ad7c5574e4b9: Pull complete 02:44:42 e772456be8f7: Pull complete 02:44:42 c890913d741a: Pull complete 02:44:44 2480fcc9aa5a: Pull complete 02:44:45 09adf4765672: Pull complete 02:44:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 02:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:44:45 ---> 2248a725d1cf 02:44:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:50 ---> Running in 259a423863ff 02:44:50 Removing intermediate container 259a423863ff 02:44:50 ---> 2a0da7acb873 02:44:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:50 ---> Running in fd80d489efbf 02:44:53 Removing intermediate container fd80d489efbf 02:44:53 ---> b60e5e7c83d6 02:44:53 Step 5/8 : RUN apk add --no-cache make git 02:44:53 ---> Running in 03b0f51dab44 02:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements 02:44:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements 02:44:54 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:44:54 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.120s coverage: 36.9% of statements 02:44:54 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:44:54 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.434s coverage: 65.2% of statements 02:44:54 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:44:54 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.051s coverage: 52.6% of statements 02:44:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 68.9% of statements 02:44:54 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:44:54 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:44:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:44:54 gofmt -l . 02:44:54 [ "`gofmt -l .`" = "" ] 02:44:54 ./bin/test-attribution-txt.sh 02:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:44:55 OK: 142 MiB in 39 packages 02:44:55 Stashed 1 file(s) [Pipeline] } 02:44:55 $ docker stop --time=1 e9a7979d6da6d884cb80cc37c74ecc8401c217347aeb247eecc2a4a1ad9f6fdc 02:44:56 Removing intermediate container 03b0f51dab44 02:44:56 ---> e39057b6c13d 02:44:56 Step 6/8 : WORKDIR /device-sdk-go 02:44:56 ---> Running in fe38c965a0ca 02:44:57 $ docker rm -f e9a7979d6da6d884cb80cc37c74ecc8401c217347aeb247eecc2a4a1ad9f6fdc 02:44:57 Removing intermediate container fe38c965a0ca 02:44:57 ---> b73ee5af4a54 02:44:57 Step 7/8 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 02:44:58 ---> efd8ec2f8db2 02:44:58 Step 8/8 : RUN go mod download 02:44:58 ---> Running in 556632c2c67c [Pipeline] sh 02:44:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:00 + ls -al . 02:45:00 total 188 02:45:00 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 22 02:44 . 02:45:00 drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 02:43 .. 02:45:00 drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 02:43 api 02:45:00 drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 02:43 bin 02:45:00 -rw-r--r--. 1 jenkins jenkins 110877 Jul 22 02:44 coverage.out 02:45:00 -rw-rw-r--. 1 jenkins jenkins 936 Jul 22 02:43 Dockerfile.build 02:45:00 -rw-rw-r--. 1 jenkins jenkins 140 Jul 22 02:43 .dockerignore 02:45:00 drwxrwxr-x. 4 jenkins jenkins 48 Jul 22 02:43 example 02:45:00 drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 02:43 .git 02:45:00 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 02:43 .github 02:45:00 -rw-rw-r--. 1 jenkins jenkins 138 Jul 22 02:43 .gitignore 02:45:00 -rw-r--r--. 1 jenkins jenkins 446 Jul 22 02:44 go.mod 02:45:00 -rw-r--r--. 1 jenkins jenkins 12179 Jul 22 02:44 go.sum 02:45:00 drwxrwxr-x. 13 jenkins jenkins 184 Jul 22 02:43 internal 02:45:00 -rw-rw-r--. 1 jenkins jenkins 808 Jul 22 02:43 Jenkinsfile 02:45:00 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 22 02:43 LICENSE 02:45:00 -rw-rw-r--. 1 jenkins jenkins 892 Jul 22 02:43 Makefile 02:45:00 drwxrwxr-x. 5 jenkins jenkins 50 Jul 22 02:43 pkg 02:45:00 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 22 02:43 README.md 02:45:00 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 22 02:43 RELEASE-NOTES.txt 02:45:00 drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 02:43 .semver 02:45:00 drwxrwxr-x. 4 jenkins jenkins 54 Jul 22 02:43 snap 02:45:00 -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 02:42 VERSION 02:45:00 -rw-rw-r--. 1 jenkins jenkins 222 Jul 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:00 + 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=613581cbe05108dd36878c68c60f3a2934cd9965 --label arch=amd64 --label version=0.0.0 . 02:45:00 Sending build context to Docker daemon 3.156MB 02:45:00 Step 1/23 : ARG BASE=golang:1.13-alpine 02:45:00 Step 2/23 : FROM ${BASE} AS builder 02:45:00 ---> b7caf4e9c46a 02:45:00 Step 3/23 : ARG MAKE='make build' 02:45:01 ---> Running in 3f2ba281c299 02:45:01 Removing intermediate container 3f2ba281c299 02:45:01 ---> d046690ac976 02:45:01 Step 4/23 : WORKDIR /device-sdk-go 02:45:01 ---> Running in d95dd172fdb2 02:45:01 go: finding github.com/BurntSushi/toml v0.3.1 02:45:01 go: finding github.com/OneOfOne/xxhash v1.2.6 02:45:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:45:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:45:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:45:01 go: finding github.com/bgentry/speakeasy v0.1.0 02:45:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:45:01 go: finding github.com/davecgh/go-spew v1.1.1 02:45:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:45:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:45:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:45:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:45:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:45:01 go: finding github.com/fatih/color v1.7.0 02:45:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:45:01 go: finding github.com/go-kit/kit v0.8.0 02:45:01 go: finding github.com/go-logfmt/logfmt v0.4.0 02:45:01 go: finding github.com/go-stack/stack v1.8.0 02:45:01 Removing intermediate container d95dd172fdb2 02:45:01 ---> 67dd67b2ee82 02:45:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:01 ---> Running in 538dc526ccba 02:45:01 Removing intermediate container 538dc526ccba 02:45:01 ---> df4e786e74d7 02:45:01 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:45:01 go: finding github.com/google/uuid v1.1.0 02:45:01 go: finding github.com/gorilla/mux v1.7.1 02:45:01 go: finding github.com/hashicorp/consul/api v1.1.0 02:45:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:45:01 go: finding github.com/hashicorp/errwrap v1.0.0 02:45:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:45:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:45:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:45:01 go: finding github.com/hashicorp/go-multierror v1.0.0 02:45:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:45:01 ---> Running in cffbb8235eea 02:45:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:45:02 go: finding github.com/hashicorp/go-syslog v1.0.0 02:45:02 go: finding github.com/hashicorp/go-uuid v1.0.1 02:45:02 go: finding github.com/hashicorp/go.net v0.0.1 02:45:02 go: finding github.com/hashicorp/golang-lru v0.5.0 02:45:02 go: finding github.com/hashicorp/logutils v1.0.0 02:45:02 go: finding github.com/hashicorp/mdns v1.0.0 02:45:02 go: finding github.com/hashicorp/memberlist v0.1.3 02:45:02 go: finding github.com/hashicorp/serf v0.8.2 02:45:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:45:02 go: finding github.com/mattn/go-colorable v0.0.9 02:45:02 go: finding github.com/mattn/go-isatty v0.0.3 02:45:02 go: finding github.com/miekg/dns v1.0.14 02:45:02 go: finding github.com/mitchellh/cli v1.0.0 02:45:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:45:02 go: finding github.com/mitchellh/copystructure v1.0.0 02:45:02 go: finding github.com/mitchellh/go-homedir v1.0.0 02:45:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:45:02 go: finding github.com/mitchellh/gox v0.4.0 02:45:02 go: finding github.com/mitchellh/iochan v1.0.0 02:45:02 go: finding github.com/mitchellh/mapstructure v1.1.2 02:45:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:45:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:45:02 go: finding github.com/pelletier/go-toml v1.2.0 02:45:02 go: finding github.com/pkg/errors v0.8.1 02:45:02 go: finding github.com/pmezard/go-difflib v1.0.0 02:45:02 Removing intermediate container cffbb8235eea 02:45:02 ---> 68b911cd39b1 02:45:02 Step 7/23 : RUN apk add --update --no-cache make git 02:45:02 go: finding github.com/posener/complete v1.1.1 02:45:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:45:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:45:02 go: finding github.com/stretchr/objx v0.1.0 02:45:02 go: finding github.com/stretchr/testify v1.5.1 02:45:02 go: finding github.com/ugorji/go v1.1.4 02:45:02 go: finding github.com/x448/float16 v0.8.4 02:45:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:45:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:45:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:45:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:45:02 ---> Running in 64ff76031e4e 02:45:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:45:02 go: finding gopkg.in/yaml.v2 v2.2.8 02:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:04 OK: 166 MiB in 39 packages 02:45:04 Removing intermediate container 64ff76031e4e 02:45:04 ---> d864bb4a5e83 02:45:04 Step 8/23 : COPY . . 02:45:05 ---> e36907d7a321 02:45:05 Step 9/23 : RUN ${MAKE} 02:45:05 ---> Running in a24cdf1d157e 02:45:05 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 02:45:13 Removing intermediate container 556632c2c67c 02:45:13 ---> 095f6eaadcd9 02:45:13 Successfully built 095f6eaadcd9 02:45:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:13 + docker inspect -f . ci-base-image-arm64 02:45:13 . [Pipeline] withDockerContainer 02:45:14 prd-ubuntu18.04-docker-arm64-4c-16g-520 does not seem to be running inside a container 02:45:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-arm64 cat 02:45:15 Removing intermediate container a24cdf1d157e 02:45:15 ---> 3c10eeef8a2c 02:45:15 Step 10/23 : FROM scratch 02:45:15 ---> 02:45:15 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:15 ---> Running in eb0c7693351e 02:45:15 Removing intermediate container eb0c7693351e 02:45:15 ---> e904fc01d172 02:45:15 Step 12/23 : ENV APP_PORT=49990 02:45:15 ---> Running in 81b68dd24a4f 02:45:15 Removing intermediate container 81b68dd24a4f 02:45:15 ---> a66b62485527 02:45:15 Step 13/23 : EXPOSE $APP_PORT 02:45:15 ---> Running in 688a1683779e 02:45:15 Removing intermediate container 688a1683779e 02:45:15 ---> d68dc1e5d6f7 02:45:15 Step 14/23 : WORKDIR / 02:45:15 ---> Running in 861691e8a533 02:45:15 Removing intermediate container 861691e8a533 02:45:15 ---> 407f6f7652a9 02:45:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:45:16 $ docker top 361573c680f3f7dffa56d1c441fe1d0a3560e28e6ad42e42bf3b8d388b8e0ae6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:16 ---> 3abf74eba4d0 02:45:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:45:16 ---> 8e1719d9d421 02:45:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:45:17 + go version 02:45:17 go version go1.13.13 linux/arm64 [Pipeline] sh 02:45:17 ---> e49f269921ca 02:45:17 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:45:17 ---> 9f9c00d1dc0e 02:45:17 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:45:17 ---> fe172be12149 02:45:17 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:45:18 ---> Running in dafce92be88f 02:45:18 Removing intermediate container dafce92be88f 02:45:18 ---> 5fe3cc0abb8b 02:45:18 Step 21/23 : LABEL arch=amd64 02:45:18 ---> Running in 192fd03bc9ae 02:45:18 Removing intermediate container 192fd03bc9ae 02:45:18 ---> ce5df494f80b 02:45:18 Step 22/23 : LABEL git_sha=613581cbe05108dd36878c68c60f3a2934cd9965 02:45:18 ---> Running in 040bd3b9fbf1 02:45:18 Removing intermediate container 040bd3b9fbf1 02:45:18 ---> f9c512fda538 02:45:18 Step 23/23 : LABEL version=0.0.0 02:45:18 + make test 02:45:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:45:18 ---> Running in db287ee0e649 02:45:18 Removing intermediate container db287ee0e649 02:45:18 ---> f7c11b51eb15 02:45:18 [Warning] One or more build-args [ARCH] were not consumed 02:45:18 Successfully built f7c11b51eb15 02:45:18 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 02:45:19 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] } [Pipeline] // stage [Pipeline] } 02:45:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.079s coverage: 22.1% of statements 02:45:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.173s coverage: 95.8% of statements 02:46:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements 02:46:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 02:46:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.146s coverage: 36.9% of statements 02:46:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.698s coverage: 65.2% of statements 02:46:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 02:46:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.350s coverage: 68.9% of statements 02:46:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:46:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:46:26 gofmt -l . 02:46:26 [ "`gofmt -l .`" = "" ] 02:46:27 ./bin/test-attribution-txt.sh 02:46:28 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:46:28 Warning: overwriting stash ‘coverage-report’ 02:46:29 Stashed 1 file(s) [Pipeline] } 02:46:29 $ docker stop --time=1 361573c680f3f7dffa56d1c441fe1d0a3560e28e6ad42e42bf3b8d388b8e0ae6 02:46:31 $ docker rm -f 361573c680f3f7dffa56d1c441fe1d0a3560e28e6ad42e42bf3b8d388b8e0ae6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:32 + ls -al . 02:46:32 total 228 02:46:32 drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 02:46 . 02:46:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 02:44 .. 02:46:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 02:44 .dockerignore 02:46:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 02:44 .git 02:46:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 02:44 .github 02:46:32 -rw-rw-r-- 1 jenkins jenkins 138 Jul 22 02:44 .gitignore 02:46:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 02:44 .semver 02:46:32 -rw-rw-r-- 1 jenkins jenkins 936 Jul 22 02:44 Dockerfile.build 02:46:32 -rw-rw-r-- 1 jenkins jenkins 808 Jul 22 02:44 Jenkinsfile 02:46:32 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 22 02:44 LICENSE 02:46:32 -rw-rw-r-- 1 jenkins jenkins 892 Jul 22 02:44 Makefile 02:46:32 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 22 02:44 README.md 02:46:32 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 22 02:44 RELEASE-NOTES.txt 02:46:32 -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 02:42 VERSION 02:46:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 02:44 api 02:46:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 02:44 bin 02:46:32 -rw-r--r-- 1 jenkins jenkins 110877 Jul 22 02:46 coverage.out 02:46:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 02:44 example 02:46:32 -rw-r--r-- 1 jenkins jenkins 446 Jul 22 02:46 go.mod 02:46:32 -rw-r--r-- 1 jenkins jenkins 12179 Jul 22 02:46 go.sum 02:46:32 drwxrwxr-x 13 jenkins jenkins 4096 Jul 22 02:44 internal 02:46:32 drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 02:44 pkg 02:46:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 02:44 snap 02:46:32 -rw-rw-r-- 1 jenkins jenkins 222 Jul 22 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:33 + 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=613581cbe05108dd36878c68c60f3a2934cd9965 --label arch=arm64 --label version=0.0.0 . 02:46:33 Sending build context to Docker daemon 3.156MB 02:46:33 Step 1/23 : ARG BASE=golang:1.13-alpine 02:46:33 Step 2/23 : FROM ${BASE} AS builder 02:46:33 ---> 095f6eaadcd9 02:46:33 Step 3/23 : ARG MAKE='make build' 02:46:33 ---> Running in 5cb8f4d292b5 02:46:34 Removing intermediate container 5cb8f4d292b5 02:46:34 ---> d92b0c354de3 02:46:34 Step 4/23 : WORKDIR /device-sdk-go 02:46:34 ---> Running in ce707755e6b2 02:46:35 Removing intermediate container ce707755e6b2 02:46:35 ---> c22093dbf36b 02:46:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:35 ---> Running in 5d8945b208ab 02:46:35 Removing intermediate container 5d8945b208ab 02:46:35 ---> e9ae8c1c0d90 02:46:35 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:35 ---> Running in bf679004d79d 02:46:38 Removing intermediate container bf679004d79d 02:46:38 ---> 2b3a3fe35f72 02:46:38 Step 7/23 : RUN apk add --update --no-cache make git 02:46:38 ---> Running in 2ae689ca94fc 02:46:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:41 OK: 142 MiB in 39 packages 02:46:42 Removing intermediate container 2ae689ca94fc 02:46:42 ---> c4b1f8995c01 02:46:42 Step 8/23 : COPY . . 02:46:44 ---> 1fa63bad510b 02:46:44 Step 9/23 : RUN ${MAKE} 02:46:44 ---> Running in f78c43e3369e 02:46:45 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 02:47:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:12 Removing intermediate container f78c43e3369e 02:47:12 ---> f2cfa76db467 02:47:12 Step 10/23 : FROM scratch 02:47:12 ---> 02:47:12 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:12 ---> Running in 070bb2e31077 02:47:12 Removing intermediate container 070bb2e31077 02:47:12 ---> f3a83c21a2c8 02:47:12 Step 12/23 : ENV APP_PORT=49990 02:47:12 ---> Running in 1bf190173c24 02:47:12 Removing intermediate container 1bf190173c24 02:47:12 ---> 50107300c67d 02:47:12 Step 13/23 : EXPOSE $APP_PORT 02:47:12 ---> Running in 05baefc3e848 02:47:12 Removing intermediate container 05baefc3e848 02:47:12 ---> 5bad96e7e9b1 02:47:12 Step 14/23 : WORKDIR / 02:47:12 ---> Running in 9ce1f25b739f 02:47:13 Removing intermediate container 9ce1f25b739f 02:47:13 ---> 65ae6cb3d1dd 02:47:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:14 ---> 2595f9565f98 02:47:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:14 ---> 72750d0cbd60 02:47:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:15 ---> 93e946b75b65 02:47:15 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:16 ---> 8a423d75ec17 02:47:16 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:17 ---> 40bbe564b41a 02:47:17 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:17 ---> Running in 6a3b099291e5 02:47:17 Removing intermediate container 6a3b099291e5 02:47:17 ---> 57eaddea9978 02:47:17 Step 21/23 : LABEL arch=arm64 02:47:17 ---> Running in b375d6c84db1 02:47:18 Removing intermediate container b375d6c84db1 02:47:18 ---> a080f9b85213 02:47:18 Step 22/23 : LABEL git_sha=613581cbe05108dd36878c68c60f3a2934cd9965 02:47:18 ---> Running in 440c6facb225 02:47:18 Removing intermediate container 440c6facb225 02:47:18 ---> 2d21db7e46b8 02:47:18 Step 23/23 : LABEL version=0.0.0 02:47:18 ---> Running in 5cad981284db 02:47:19 Removing intermediate container 5cad981284db 02:47:19 ---> 85b126a8500e 02:47:19 [Warning] One or more build-args [ARCH] were not consumed 02:47:19 Successfully built 85b126a8500e 02:47:19 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 02:47:20 provisioning config files... 02:47:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config4912104419372924220tmp [Pipeline] { [Pipeline] sh 02:47:21 + curl -s https://codecov.io/bash 02:47:21 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config4912104419372924220tmp [Pipeline] } 02:47:21 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 02:47:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:23 ---> package-listing.sh 02:47:23 ++ facter osfamily 02:47:23 ++ tr '[:upper:]' '[:lower:]' 02:47:23 + OS_FAMILY=redhat 02:47:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 02:47:23 + START_PACKAGES=/tmp/packages_start.txt 02:47:23 + END_PACKAGES=/tmp/packages_end.txt 02:47:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:23 + PACKAGES=/tmp/packages_start.txt 02:47:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:47:23 + PACKAGES=/tmp/packages_end.txt 02:47:23 + case "${OS_FAMILY}" in 02:47:23 + rpm -qa 02:47:23 + sort 02:47:27 + '[' -f /tmp/packages_start.txt ']' 02:47:27 + '[' -f /tmp/packages_end.txt ']' 02:47:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:47:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:47:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 02:47:27 + 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 02:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:27 02:47:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:28 alpine: Pulling from edgex-lftools-log-publisher 02:47:28 c9b1b535fdd9: Pulling fs layer 02:47:28 2cc5ad85d9ab: Pulling fs layer 02:47:28 756a868c4378: Pulling fs layer 02:47:28 444b2fc9a129: Pulling fs layer 02:47:28 ea15f1150254: Pulling fs layer 02:47:28 41b27a9f41bf: Pulling fs layer 02:47:28 28c525ee5125: Pulling fs layer 02:47:28 094b1ea09ed8: Pulling fs layer 02:47:28 138eaada9080: Pulling fs layer 02:47:28 0622d0fa9048: Pulling fs layer 02:47:28 28c525ee5125: Waiting 02:47:28 094b1ea09ed8: Waiting 02:47:28 138eaada9080: Waiting 02:47:28 0622d0fa9048: Waiting 02:47:28 444b2fc9a129: Waiting 02:47:28 ea15f1150254: Waiting 02:47:28 41b27a9f41bf: Waiting 02:47:28 2cc5ad85d9ab: Verifying Checksum 02:47:28 2cc5ad85d9ab: Download complete 02:47:28 444b2fc9a129: Verifying Checksum 02:47:28 444b2fc9a129: Download complete 02:47:28 c9b1b535fdd9: Verifying Checksum 02:47:28 c9b1b535fdd9: Download complete 02:47:28 ea15f1150254: Download complete 02:47:28 28c525ee5125: Verifying Checksum 02:47:28 28c525ee5125: Download complete 02:47:28 756a868c4378: Download complete 02:47:28 c9b1b535fdd9: Pull complete 02:47:28 138eaada9080: Verifying Checksum 02:47:28 138eaada9080: Download complete 02:47:28 0622d0fa9048: Verifying Checksum 02:47:28 0622d0fa9048: Download complete 02:47:28 094b1ea09ed8: Verifying Checksum 02:47:28 094b1ea09ed8: Download complete 02:47:28 2cc5ad85d9ab: Pull complete 02:47:29 41b27a9f41bf: Verifying Checksum 02:47:29 41b27a9f41bf: Download complete 02:47:30 756a868c4378: Pull complete 02:47:30 444b2fc9a129: Pull complete 02:47:30 ea15f1150254: Pull complete 02:47:34 41b27a9f41bf: Pull complete 02:47:34 28c525ee5125: Pull complete 02:47:36 094b1ea09ed8: Pull complete 02:47:36 138eaada9080: Pull complete 02:47:36 0622d0fa9048: Pull complete 02:47:36 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:47:36 prd-centos7-docker-4c-2g-518 does not seem to be running inside a container 02:47:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:47:40 $ docker top 9fb1ca513408b3a4d90648b275d2c734da7b6f05a4aa052884f395a86593d6b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:40 provisioning config files... 02:47:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config7394411724332181tmp [Pipeline] { [Pipeline] echo 02:47:40 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:47:41 ---> create-netrc.sh [Pipeline] echo 02:47:41 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:47:41 ---> logs-deploy.sh 02:47:41 + ARCHIVE_ARTIFACTS= 02:47:41 + LOGS_SERVER=https://logs.edgexfoundry.org 02:47:41 + '[' https://logs.edgexfoundry.org == None ']' 02:47:41 + NEXUS_URL=https://nexus.edgexfoundry.org 02:47:41 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/5 02:47:41 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/5/ 02:47:41 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/5 /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:47:42 Archives upload complete. 02:47:42 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/5/