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 b22d9636647f710822cdca9c1d6c1c597e4fa962 rather than 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 Obtained Jenkinsfile from b22d9636647f710822cdca9c1d6c1c597e4fa962 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1342 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 Merge succeeded, producing fde3ef85261a54924a206979747a719e53169e30 Checking out Revision fde3ef85261a54924a206979747a719e53169e30 (PR-553) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fde3ef85261a54924a206979747a719e53169e30 # timeout=10 Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:27 ========================================================= 02:45:27 EdgeX Global Pipelines Version Info 02:45:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:28 ------------------- 02:45:28 stable info: 02:45:28 ------------------- 02:45:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:28 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 02:45:28 Message: update stable to v1.0.106 02:45:29 ------------------- 02:45:29 experimental info: 02:45:29 ------------------- 02:45:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:29 Commit SHA: 626b9661e310b9d132ae9d5c3b37d89ff845648b 02:45:29 Message: update experimental to v1.0.108 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:31 + git log --format=format:%s -1 fde3ef85261a54924a206979747a719e53169e30 [Pipeline] echo 02:45:31 GIT_COMMIT: fde3ef85261a54924a206979747a719e53169e30, Commit Message: Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD [Pipeline] echo 02:45:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:45:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:32 02:45:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:33 latest: Pulling from edgex-devops/git-semver 02:45:33 31603596830f: Pulling fs layer 02:45:33 2a8b12db71e7: Pulling fs layer 02:45:33 6ca5941a6612: Pulling fs layer 02:45:33 ecc8261a40a4: Pulling fs layer 02:45:33 ecc8261a40a4: Waiting 02:45:33 2a8b12db71e7: Verifying Checksum 02:45:33 2a8b12db71e7: Download complete 02:45:33 31603596830f: Verifying Checksum 02:45:33 31603596830f: Download complete 02:45:33 ecc8261a40a4: Verifying Checksum 02:45:33 ecc8261a40a4: Download complete 02:45:33 6ca5941a6612: Verifying Checksum 02:45:33 6ca5941a6612: Download complete 02:45:33 31603596830f: Pull complete 02:45:33 2a8b12db71e7: Pull complete 02:45:34 6ca5941a6612: Pull complete 02:45:34 ecc8261a40a4: Pull complete 02:45:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:34 prd-centos7-docker-4c-2g-1342 does not seem to be running inside a container 02:45:34 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:45:36 $ docker top 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:36 [ssh-agent] Looking for ssh-agent implementation... 02:45:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:36 $ docker exec 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent 02:45:37 SSH_AUTH_SOCK=/tmp/ssh-yvjn06VFd3by/agent.12 02:45:37 SSH_AGENT_PID=17 02:45:37 Running ssh-add (command line suppressed) 02:45:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7735610908255075534.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7735610908255075534.key) 02:45:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:37 + git describe --exact-match --tags HEAD 02:45:37 fatal: No names found, cannot describe anything. [Pipeline] } 02:45:37 $ docker exec --env ******** --env ******** 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent -k 02:45:37 unset SSH_AUTH_SOCK; 02:45:37 unset SSH_AGENT_PID; 02:45:37 echo Agent pid 17 killed; 02:45:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:45:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:45:37 This usually means this commit has not been tagged. [Pipeline] sshagent 02:45:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:37 [ssh-agent] Looking for ssh-agent implementation... 02:45:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:38 $ docker exec 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent 02:45:38 SSH_AUTH_SOCK=/tmp/ssh-ypaSx99uSO7b/agent.47 02:45:38 SSH_AGENT_PID=53 02:45:38 Running ssh-add (command line suppressed) 02:45:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2098232046480531876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_2098232046480531876.key) 02:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:38 + git semver init 02:45:38 # -> Open(): unable to determine branch for HEAD 02:45:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 02:45:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:45:38 # $SEMVER_REMOTE_NAME = origin 02:45:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:38 # $SEMVER_USER_NAME = edgex-jenkins 02:45:38 # $SEMVER_BRANCH = PR-553 02:45:38 # $SEMVER_TEMP = /tmp/semver-618265525 02:45:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:45:39 # '/tmp/semver-618265525' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 02:45:39 # -> Force: false 02:45:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 02:45:39 $ docker exec --env ******** --env ******** 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 ssh-agent -k 02:45:39 unset SSH_AUTH_SOCK; 02:45:39 unset SSH_AGENT_PID; 02:45:39 echo Agent pid 53 killed; 02:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:39 + git semver [Pipeline] } 02:45:39 $ docker stop --time=1 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 02:45:41 $ docker rm -f 14e58ed7a6538596a2801aad3561a745aa1f0ccdfc463133bd41c06b00339a74 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:45:41 Stashed 25 file(s) [Pipeline] echo 02:45:41 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 02:45:42 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:45:57 Still waiting to schedule task 02:45:57 ‘prd-centos7-docker-4c-2g-1344’ is offline 02:45:57 Still waiting to schedule task 02:45:57 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1341’ 02:46:09 Running on prd-centos7-docker-4c-2g-1344 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:46:09 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:46:11 using credential edgex-jenkins-ssh 02:46:11 Cloning the remote Git repository 02:46:11 Cloning with configured refspecs honoured and without tags 02:46:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:12 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:46:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:12 > git --version # timeout=10 02:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:12 > 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:46:12 Fetching without tags 02:46:13 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 02:46:13 Merge succeeded, producing 2e52f2264d8ce5a821faac2f811d94678b1aaa6d 02:46:13 Checking out Revision 2e52f2264d8ce5a821faac2f811d94678b1aaa6d (PR-553) 02:46:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:12 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:46:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:12 > 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:46:13 > git config core.sparsecheckout # timeout=10 02:46:13 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 02:46:13 > git remote # timeout=10 02:46:13 > git config --get remote.origin.url # timeout=10 02:46:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:13 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 02:46:13 > git rev-parse HEAD^{commit} # timeout=10 02:46:13 > git config core.sparsecheckout # timeout=10 02:46:13 > git checkout -f 2e52f2264d8ce5a821faac2f811d94678b1aaa6d # timeout=10 02:46:17 Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" 02:46:17 > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:17 ========================================================= 02:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:46:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:18 + 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:46:18 Sending build context to Docker daemon 3.032MB 02:46:18 Step 1/8 : ARG BASE=golang:1.13-alpine 02:46:18 Step 2/8 : FROM ${BASE} 02:46:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:19 df20fa9351a1: Pulling fs layer 02:46:19 ed8968b2872e: Pulling fs layer 02:46:19 a92cc7c5fd73: Pulling fs layer 02:46:19 2dd03ba5bac4: Pulling fs layer 02:46:19 1e091d79d1de: Pulling fs layer 02:46:19 481702a1767f: Pulling fs layer 02:46:19 f64a6f60c768: Pulling fs layer 02:46:19 e78d2573fc39: Pulling fs layer 02:46:19 2dd03ba5bac4: Waiting 02:46:19 e876d2f968b6: Pulling fs layer 02:46:19 1e091d79d1de: Waiting 02:46:19 481702a1767f: Waiting 02:46:19 f64a6f60c768: Waiting 02:46:19 ce8a83651883: Pulling fs layer 02:46:19 e876d2f968b6: Waiting 02:46:19 07967f4d0e4b: Pulling fs layer 02:46:19 ce8a83651883: Waiting 02:46:19 07967f4d0e4b: Waiting 02:46:19 e78d2573fc39: Waiting 02:46:19 a92cc7c5fd73: Verifying Checksum 02:46:19 a92cc7c5fd73: Download complete 02:46:19 ed8968b2872e: Verifying Checksum 02:46:19 ed8968b2872e: Download complete 02:46:19 1e091d79d1de: Verifying Checksum 02:46:19 1e091d79d1de: Download complete 02:46:19 481702a1767f: Verifying Checksum 02:46:19 481702a1767f: Download complete 02:46:19 df20fa9351a1: Verifying Checksum 02:46:19 df20fa9351a1: Download complete 02:46:19 df20fa9351a1: Pull complete 02:46:19 ed8968b2872e: Pull complete 02:46:19 a92cc7c5fd73: Pull complete 02:46:20 f64a6f60c768: Verifying Checksum 02:46:20 f64a6f60c768: Download complete 02:46:20 e876d2f968b6: Verifying Checksum 02:46:20 e876d2f968b6: Download complete 02:46:21 2dd03ba5bac4: Verifying Checksum 02:46:21 2dd03ba5bac4: Download complete 02:46:21 ce8a83651883: Verifying Checksum 02:46:21 ce8a83651883: Download complete 02:46:21 07967f4d0e4b: Verifying Checksum 02:46:21 07967f4d0e4b: Download complete 02:46:21 e78d2573fc39: Verifying Checksum 02:46:21 e78d2573fc39: Download complete 02:46:28 2dd03ba5bac4: Pull complete 02:46:28 1e091d79d1de: Pull complete 02:46:28 481702a1767f: Pull complete 02:46:32 f64a6f60c768: Pull complete 02:46:34 e78d2573fc39: Pull complete 02:46:34 e876d2f968b6: Pull complete 02:46:35 ce8a83651883: Pull complete 02:46:35 07967f4d0e4b: Pull complete 02:46:35 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 02:46:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:46:35 ---> 5d7c900382c6 02:46:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:36 ---> Running in e620ea9bbcde 02:46:36 Removing intermediate container e620ea9bbcde 02:46:36 ---> ec8e7a91409f 02:46:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:36 ---> Running in 434502c233e7 02:46:37 Removing intermediate container 434502c233e7 02:46:37 ---> 7ee174307c04 02:46:37 Step 5/8 : RUN apk add --no-cache make git 02:46:37 ---> Running in 428fa65704fa 02:46:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:39 OK: 166 MiB in 39 packages 02:46:40 Removing intermediate container 428fa65704fa 02:46:40 ---> 198863919dda 02:46:40 Step 6/8 : WORKDIR /device-sdk-go 02:46:40 ---> Running in 02dc5518ed40 02:46:40 Removing intermediate container 02dc5518ed40 02:46:40 ---> 6eea6ff18e70 02:46:40 Step 7/8 : COPY . . 02:46:41 ---> 0c62f6550312 02:46:41 Step 8/8 : RUN go mod download 02:46:41 ---> Running in 9600ec6f7187 02:46:43 go: finding github.com/BurntSushi/toml v0.3.1 02:46:43 go: finding github.com/OneOfOne/xxhash v1.2.6 02:46:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:46:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:46:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:46:43 go: finding github.com/bgentry/speakeasy v0.1.0 02:46:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:46:43 go: finding github.com/davecgh/go-spew v1.1.1 02:46:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:46:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:46:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:46:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:46:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:46:43 go: finding github.com/fatih/color v1.7.0 02:46:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:46:43 go: finding github.com/go-kit/kit v0.8.0 02:46:43 go: finding github.com/go-logfmt/logfmt v0.4.0 02:46:43 go: finding github.com/go-stack/stack v1.8.0 02:46:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:46:43 go: finding github.com/google/uuid v1.1.0 02:46:44 go: finding github.com/gorilla/mux v1.7.1 02:46:44 go: finding github.com/hashicorp/consul/api v1.1.0 02:46:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:46:44 go: finding github.com/hashicorp/errwrap v1.0.0 02:46:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:46:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:46:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:46:44 go: finding github.com/hashicorp/go-multierror v1.0.0 02:46:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:46:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:46:44 go: finding github.com/hashicorp/go-syslog v1.0.0 02:46:44 go: finding github.com/hashicorp/go-uuid v1.0.1 02:46:44 go: finding github.com/hashicorp/go.net v0.0.1 02:46:44 go: finding github.com/hashicorp/golang-lru v0.5.0 02:46:44 go: finding github.com/hashicorp/logutils v1.0.0 02:46:44 go: finding github.com/hashicorp/mdns v1.0.0 02:46:44 go: finding github.com/hashicorp/memberlist v0.1.3 02:46:44 go: finding github.com/hashicorp/serf v0.8.2 02:46:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:46:44 go: finding github.com/mattn/go-colorable v0.0.9 02:46:44 go: finding github.com/mattn/go-isatty v0.0.3 02:46:44 go: finding github.com/miekg/dns v1.0.14 02:46:44 go: finding github.com/mitchellh/cli v1.0.0 02:46:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:46:44 go: finding github.com/mitchellh/copystructure v1.0.0 02:46:44 go: finding github.com/mitchellh/go-homedir v1.0.0 02:46:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:46:44 go: finding github.com/mitchellh/gox v0.4.0 02:46:44 go: finding github.com/mitchellh/iochan v1.0.0 02:46:44 go: finding github.com/mitchellh/mapstructure v1.1.2 02:46:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:46:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:46:44 go: finding github.com/pelletier/go-toml v1.2.0 02:46:44 go: finding github.com/pkg/errors v0.8.1 02:46:44 go: finding github.com/pmezard/go-difflib v1.0.0 02:46:44 go: finding github.com/posener/complete v1.1.1 02:46:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:46:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:46:44 go: finding github.com/stretchr/objx v0.1.0 02:46:44 go: finding github.com/stretchr/testify v1.5.1 02:46:44 go: finding github.com/ugorji/go v1.1.4 02:46:44 go: finding github.com/x448/float16 v0.8.4 02:46:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:46:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:46:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:46:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:46:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:46:44 go: finding gopkg.in/yaml.v2 v2.2.8 02:46:53 Removing intermediate container 9600ec6f7187 02:46:53 ---> 9c5e5c5a1ed5 02:46:53 Successfully built 9c5e5c5a1ed5 02:46:53 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 02:46:53 + docker inspect -f . ci-base-image-x86_64 02:46:53 . [Pipeline] withDockerContainer 02:46:53 prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container 02:46:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:55 $ docker top 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:55 + go version 02:46:55 go version go1.13.13 linux/amd64 [Pipeline] sh 02:46:55 + make test 02:46:55 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:46:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.045s coverage: 11.4% of statements 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.086s coverage: 36.9% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.404s coverage: 65.2% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 02:47:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 68.9% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:47:41 gofmt -l . 02:47:41 [ "`gofmt -l .`" = "" ] 02:47:41 ./bin/test-attribution-txt.sh 02:47:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:42 Stashed 1 file(s) [Pipeline] } 02:47:42 $ docker stop --time=1 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 02:47:44 $ docker rm -f 3f5f0e495866d6394f4e6cd3a3955be0e29777120c27296cbcc56a4153f3e0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:45 + ls -al . 02:47:45 total 188 02:47:45 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 29 02:47 . 02:47:45 drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 02:46 .. 02:47:45 drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 02:46 bin 02:47:45 -rw-r--r--. 1 jenkins jenkins 110877 Jul 29 02:47 coverage.out 02:47:45 -rw-rw-r--. 1 jenkins jenkins 936 Jul 29 02:46 Dockerfile.build 02:47:45 -rw-rw-r--. 1 jenkins jenkins 140 Jul 29 02:46 .dockerignore 02:47:45 drwxrwxr-x. 4 jenkins jenkins 48 Jul 29 02:46 example 02:47:45 drwxrwxr-x. 8 jenkins jenkins 179 Jul 29 02:46 .git 02:47:45 drwxrwxr-x. 2 jenkins jenkins 38 Jul 29 02:46 .github 02:47:45 -rw-rw-r--. 1 jenkins jenkins 138 Jul 29 02:46 .gitignore 02:47:45 -rw-r--r--. 1 jenkins jenkins 446 Jul 29 02:47 go.mod 02:47:45 -rw-r--r--. 1 jenkins jenkins 12179 Jul 29 02:47 go.sum 02:47:45 drwxrwxr-x. 13 jenkins jenkins 184 Jul 29 02:46 internal 02:47:45 -rw-rw-r--. 1 jenkins jenkins 808 Jul 29 02:46 Jenkinsfile 02:47:45 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 29 02:46 LICENSE 02:47:45 -rw-rw-r--. 1 jenkins jenkins 892 Jul 29 02:46 Makefile 02:47:45 drwxrwxr-x. 4 jenkins jenkins 26 Jul 29 02:46 openapi 02:47:45 drwxrwxr-x. 5 jenkins jenkins 50 Jul 29 02:46 pkg 02:47:45 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 29 02:46 README.md 02:47:45 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 29 02:46 RELEASE-NOTES.txt 02:47:45 drwxrwxr-x. 3 jenkins jenkins 58 Jul 29 02:46 .semver 02:47:45 drwxrwxr-x. 4 jenkins jenkins 54 Jul 29 02:46 snap 02:47:45 -rw-rw-r--. 1 jenkins jenkins 5 Jul 29 02:45 VERSION 02:47:45 -rw-rw-r--. 1 jenkins jenkins 222 Jul 29 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:47:46 + 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=fde3ef85261a54924a206979747a719e53169e30 --label arch=amd64 --label version=0.0.0 . 02:47:46 Sending build context to Docker daemon 3.16MB 02:47:46 Step 1/23 : ARG BASE=golang:1.13-alpine 02:47:46 Step 2/23 : FROM ${BASE} AS builder 02:47:46 ---> 9c5e5c5a1ed5 02:47:46 Step 3/23 : ARG MAKE='make build' 02:47:46 ---> Running in 6150a7152966 02:47:46 Removing intermediate container 6150a7152966 02:47:46 ---> 772daffa17c6 02:47:46 Step 4/23 : WORKDIR /device-sdk-go 02:47:46 ---> Running in b78a95dbc249 02:47:47 Removing intermediate container b78a95dbc249 02:47:47 ---> 7d0694b3ad8e 02:47:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:47 ---> Running in d568ac23c51c 02:47:47 Removing intermediate container d568ac23c51c 02:47:47 ---> e914aea1397b 02:47:47 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:47 ---> Running in c725b446aaf2 02:47:48 Removing intermediate container c725b446aaf2 02:47:48 ---> 1a20e9d677dd 02:47:48 Step 7/23 : RUN apk add --update --no-cache make git 02:47:48 ---> Running in 57d00c9d1cb2 02:47:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:49 OK: 166 MiB in 39 packages 02:47:50 Removing intermediate container 57d00c9d1cb2 02:47:50 ---> 8c712da7224c 02:47:50 Step 8/23 : COPY . . 02:47:51 ---> 4c20f117a8d7 02:47:51 Step 9/23 : RUN ${MAKE} 02:47:51 ---> Running in 95c352bda1ea 02:47:51 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:48:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:01 Removing intermediate container 95c352bda1ea 02:48:01 ---> 4b6db5278403 02:48:01 Step 10/23 : FROM scratch 02:48:01 ---> 02:48:01 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:01 ---> Running in a8f3d8b71ca6 02:48:01 Removing intermediate container a8f3d8b71ca6 02:48:01 ---> 1159c0f0e8ac 02:48:01 Step 12/23 : ENV APP_PORT=49990 02:48:01 ---> Running in 4e7be9e22585 02:48:01 Removing intermediate container 4e7be9e22585 02:48:01 ---> 194d1328cccf 02:48:01 Step 13/23 : EXPOSE $APP_PORT 02:48:01 ---> Running in 37d80f14158e 02:48:02 Removing intermediate container 37d80f14158e 02:48:02 ---> 9ab5dd5f3936 02:48:02 Step 14/23 : WORKDIR / 02:48:02 ---> Running in f9f83bd78c30 02:48:02 Removing intermediate container f9f83bd78c30 02:48:02 ---> 6aaa245952ca 02:48:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:02 ---> cd3678c41aa6 02:48:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:02 ---> 3b73fc32cf30 02:48:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:03 ---> a1b4990ff35f 02:48:03 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:03 ---> 06b480cd4aa5 02:48:03 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:03 ---> 3708e9058c0c 02:48:03 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:03 ---> Running in ad8a9709f1e9 02:48:03 Removing intermediate container ad8a9709f1e9 02:48:03 ---> 4b1f080c3188 02:48:03 Step 21/23 : LABEL arch=amd64 02:48:03 ---> Running in bd759b99bef6 02:48:03 Removing intermediate container bd759b99bef6 02:48:03 ---> 292036093f13 02:48:03 Step 22/23 : LABEL git_sha=fde3ef85261a54924a206979747a719e53169e30 02:48:03 ---> Running in 773c3ef30717 02:48:04 Removing intermediate container 773c3ef30717 02:48:04 ---> ed54599fcef7 02:48:04 Step 23/23 : LABEL version=0.0.0 02:48:04 ---> Running in 056ce117ead5 02:48:04 Removing intermediate container 056ce117ead5 02:48:04 ---> f53de16164b8 02:48:04 [Warning] One or more build-args [ARCH] were not consumed 02:48:04 Successfully built f53de16164b8 02:48:04 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 [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1346 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:48:40 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:48:45 using credential edgex-jenkins-ssh 02:48:45 Cloning the remote Git repository 02:48:45 Cloning with configured refspecs honoured and without tags 02:48:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:48:45 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:48:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:45 > git --version # timeout=10 02:48:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:45 > 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:48:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:46 Fetching without tags 02:48:47 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 02:48:47 Merge succeeded, producing 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 02:48:47 Checking out Revision 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 (PR-553) 02:48:46 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:48:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:48:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:46 > 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:48:47 > git config core.sparsecheckout # timeout=10 02:48:47 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 02:48:47 > git remote # timeout=10 02:48:47 > git config --get remote.origin.url # timeout=10 02:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:47 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 02:48:47 > git rev-parse HEAD^{commit} # timeout=10 02:48:47 > git config core.sparsecheckout # timeout=10 02:48:47 > git checkout -f 7f5a0b1831975a3d6e1a0dcc5703386064000ef9 # timeout=10 02:48:51 Commit message: "Merge commit 'b22d9636647f710822cdca9c1d6c1c597e4fa962' into HEAD" 02:48:51 > git rev-list --no-walk 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:48:53 ========================================================= 02:48:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:48:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:54 + 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:48:55 Sending build context to Docker daemon 3.032MB 02:48:55 Step 1/8 : ARG BASE=golang:1.13-alpine 02:48:55 Step 2/8 : FROM ${BASE} 02:48:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:55 b538f80385f9: Pulling fs layer 02:48:55 74f711af9a0d: Pulling fs layer 02:48:55 99f96fe45779: Pulling fs layer 02:48:55 fd7a069fd194: Pulling fs layer 02:48:55 66aa3694b03b: Pulling fs layer 02:48:55 fd7a069fd194: Waiting 02:48:55 170f70906a0f: Pulling fs layer 02:48:55 ad7c5574e4b9: Pulling fs layer 02:48:55 e772456be8f7: Pulling fs layer 02:48:55 c890913d741a: Pulling fs layer 02:48:55 2480fcc9aa5a: Pulling fs layer 02:48:55 09adf4765672: Pulling fs layer 02:48:55 66aa3694b03b: Waiting 02:48:55 170f70906a0f: Waiting 02:48:55 ad7c5574e4b9: Waiting 02:48:55 e772456be8f7: Waiting 02:48:55 c890913d741a: Waiting 02:48:55 2480fcc9aa5a: Waiting 02:48:55 09adf4765672: Waiting 02:48:55 99f96fe45779: Download complete 02:48:55 74f711af9a0d: Verifying Checksum 02:48:55 74f711af9a0d: Download complete 02:48:55 66aa3694b03b: Verifying Checksum 02:48:55 66aa3694b03b: Download complete 02:48:55 170f70906a0f: Verifying Checksum 02:48:55 170f70906a0f: Download complete 02:48:55 b538f80385f9: Verifying Checksum 02:48:55 b538f80385f9: Download complete 02:48:56 b538f80385f9: Pull complete 02:48:57 74f711af9a0d: Pull complete 02:48:57 99f96fe45779: Pull complete 02:48:58 ad7c5574e4b9: Verifying Checksum 02:48:58 ad7c5574e4b9: Download complete 02:48:58 c890913d741a: Verifying Checksum 02:48:58 c890913d741a: Download complete 02:49:00 2480fcc9aa5a: Verifying Checksum 02:49:00 2480fcc9aa5a: Download complete 02:49:00 09adf4765672: Download complete 02:49:00 e772456be8f7: Verifying Checksum 02:49:00 e772456be8f7: Download complete 02:49:01 fd7a069fd194: Verifying Checksum 02:49:01 fd7a069fd194: Download complete 02:49:13 fd7a069fd194: Pull complete 02:49:13 66aa3694b03b: Pull complete 02:49:13 170f70906a0f: Pull complete 02:49:17 ad7c5574e4b9: Pull complete 02:49:21 e772456be8f7: Pull complete 02:49:21 c890913d741a: Pull complete 02:49:24 2480fcc9aa5a: Pull complete 02:49:24 09adf4765672: Pull complete 02:49:24 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 02:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:49:24 ---> 2248a725d1cf 02:49:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:29 ---> Running in 9dd44d094ffb 02:49:29 Removing intermediate container 9dd44d094ffb 02:49:29 ---> 6f3854ba851d 02:49:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:29 ---> Running in 7f30bd9e0fba 02:49:32 Removing intermediate container 7f30bd9e0fba 02:49:32 ---> 681a3708d22e 02:49:32 Step 5/8 : RUN apk add --no-cache make git 02:49:32 ---> Running in 88a017730916 02:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:35 OK: 142 MiB in 39 packages 02:49:36 Removing intermediate container 88a017730916 02:49:36 ---> 1b609fb49960 02:49:36 Step 6/8 : WORKDIR /device-sdk-go 02:49:37 ---> Running in 1dec8b135cfe 02:49:37 Removing intermediate container 1dec8b135cfe 02:49:37 ---> c1fcfe30cb5d 02:49:37 Step 7/8 : COPY . . 02:49:38 ---> bc7c05d7d93d 02:49:38 Step 8/8 : RUN go mod download 02:49:38 ---> Running in f26ce0771667 02:49:41 go: finding github.com/BurntSushi/toml v0.3.1 02:49:41 go: finding github.com/OneOfOne/xxhash v1.2.6 02:49:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:49:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:49:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:49:41 go: finding github.com/bgentry/speakeasy v0.1.0 02:49:41 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:49:41 go: finding github.com/davecgh/go-spew v1.1.1 02:49:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:49:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:49:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:49:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:49:41 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:49:41 go: finding github.com/fatih/color v1.7.0 02:49:41 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:49:41 go: finding github.com/go-kit/kit v0.8.0 02:49:41 go: finding github.com/go-logfmt/logfmt v0.4.0 02:49:41 go: finding github.com/go-stack/stack v1.8.0 02:49:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:49:41 go: finding github.com/google/uuid v1.1.0 02:49:41 go: finding github.com/gorilla/mux v1.7.1 02:49:41 go: finding github.com/hashicorp/consul/api v1.1.0 02:49:41 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:49:41 go: finding github.com/hashicorp/errwrap v1.0.0 02:49:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:49:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:49:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:49:41 go: finding github.com/hashicorp/go-multierror v1.0.0 02:49:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:49:41 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:49:41 go: finding github.com/hashicorp/go-syslog v1.0.0 02:49:41 go: finding github.com/hashicorp/go-uuid v1.0.1 02:49:41 go: finding github.com/hashicorp/go.net v0.0.1 02:49:41 go: finding github.com/hashicorp/golang-lru v0.5.0 02:49:41 go: finding github.com/hashicorp/logutils v1.0.0 02:49:41 go: finding github.com/hashicorp/mdns v1.0.0 02:49:41 go: finding github.com/hashicorp/memberlist v0.1.3 02:49:42 go: finding github.com/hashicorp/serf v0.8.2 02:49:42 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:49:42 go: finding github.com/mattn/go-colorable v0.0.9 02:49:42 go: finding github.com/mattn/go-isatty v0.0.3 02:49:42 go: finding github.com/miekg/dns v1.0.14 02:49:42 go: finding github.com/mitchellh/cli v1.0.0 02:49:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:49:42 go: finding github.com/mitchellh/copystructure v1.0.0 02:49:42 go: finding github.com/mitchellh/go-homedir v1.0.0 02:49:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:49:42 go: finding github.com/mitchellh/gox v0.4.0 02:49:42 go: finding github.com/mitchellh/iochan v1.0.0 02:49:42 go: finding github.com/mitchellh/mapstructure v1.1.2 02:49:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:49:42 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:49:42 go: finding github.com/pelletier/go-toml v1.2.0 02:49:42 go: finding github.com/pkg/errors v0.8.1 02:49:42 go: finding github.com/pmezard/go-difflib v1.0.0 02:49:42 go: finding github.com/posener/complete v1.1.1 02:49:42 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:49:42 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:49:42 go: finding github.com/stretchr/objx v0.1.0 02:49:42 go: finding github.com/stretchr/testify v1.5.1 02:49:42 go: finding github.com/ugorji/go v1.1.4 02:49:42 go: finding github.com/x448/float16 v0.8.4 02:49:42 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:49:42 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:49:42 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:49:42 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:49:42 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:49:42 go: finding gopkg.in/yaml.v2 v2.2.8 02:49:52 Removing intermediate container f26ce0771667 02:49:52 ---> 8ce7939b9b66 02:49:52 Successfully built 8ce7939b9b66 02:49:52 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:49:53 + docker inspect -f . ci-base-image-arm64 02:49:53 . [Pipeline] withDockerContainer 02:49:53 prd-ubuntu18.04-docker-arm64-4c-16g-1346 does not seem to be running inside a container 02:49:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:49:55 $ docker top 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:57 + go version 02:49:57 go version go1.13.13 linux/arm64 [Pipeline] sh 02:49:58 + make test 02:49:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:49:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:50:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:50:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:50:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:50:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.088s coverage: 22.1% of statements 02:50:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.203s coverage: 95.8% of statements 02:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements 02:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements 02:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.244s coverage: 36.9% of statements 02:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.511s coverage: 65.2% of statements 02:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:51:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:51:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.057s coverage: 52.6% of statements 02:51:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 68.9% of statements 02:51:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:51:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:51:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:51:07 gofmt -l . 02:51:07 [ "`gofmt -l .`" = "" ] 02:51:07 ./bin/test-attribution-txt.sh 02:51:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:51:09 Warning: overwriting stash ‘coverage-report’ 02:51:10 Stashed 1 file(s) [Pipeline] } 02:51:10 $ docker stop --time=1 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa 02:51:12 $ docker rm -f 2b6915da3403f6bcc46448d60fa6ba5d6c0bf75d94da1e38e2969177af1d53aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:13 + ls -al . 02:51:13 total 228 02:51:13 drwxrwxr-x 11 jenkins jenkins 4096 Jul 29 02:51 . 02:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 .. 02:51:13 -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 02:48 .dockerignore 02:51:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 02:48 .git 02:51:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:48 .github 02:51:13 -rw-rw-r-- 1 jenkins jenkins 138 Jul 29 02:48 .gitignore 02:51:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 02:48 .semver 02:51:13 -rw-rw-r-- 1 jenkins jenkins 936 Jul 29 02:48 Dockerfile.build 02:51:13 -rw-rw-r-- 1 jenkins jenkins 808 Jul 29 02:48 Jenkinsfile 02:51:13 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 29 02:48 LICENSE 02:51:13 -rw-rw-r-- 1 jenkins jenkins 892 Jul 29 02:48 Makefile 02:51:13 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 29 02:48 README.md 02:51:13 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 29 02:48 RELEASE-NOTES.txt 02:51:13 -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 02:45 VERSION 02:51:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 02:48 bin 02:51:13 -rw-r--r-- 1 jenkins jenkins 110877 Jul 29 02:51 coverage.out 02:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 example 02:51:13 -rw-r--r-- 1 jenkins jenkins 446 Jul 29 02:51 go.mod 02:51:13 -rw-r--r-- 1 jenkins jenkins 12179 Jul 29 02:51 go.sum 02:51:13 drwxrwxr-x 13 jenkins jenkins 4096 Jul 29 02:48 internal 02:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 openapi 02:51:13 drwxrwxr-x 5 jenkins jenkins 4096 Jul 29 02:48 pkg 02:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 02:48 snap 02:51:13 -rw-rw-r-- 1 jenkins jenkins 222 Jul 29 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:51:14 + 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=fde3ef85261a54924a206979747a719e53169e30 --label arch=arm64 --label version=0.0.0 . 02:51:14 Sending build context to Docker daemon 3.16MB 02:51:14 Step 1/23 : ARG BASE=golang:1.13-alpine 02:51:14 Step 2/23 : FROM ${BASE} AS builder 02:51:14 ---> 8ce7939b9b66 02:51:14 Step 3/23 : ARG MAKE='make build' 02:51:14 ---> Running in 0470fd818aa6 02:51:15 Removing intermediate container 0470fd818aa6 02:51:15 ---> 9d3c7bba950a 02:51:15 Step 4/23 : WORKDIR /device-sdk-go 02:51:15 ---> Running in 6d1169703753 02:51:15 Removing intermediate container 6d1169703753 02:51:15 ---> 9c9568452dd6 02:51:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:15 ---> Running in 33b6e2f95246 02:51:16 Removing intermediate container 33b6e2f95246 02:51:16 ---> 1b9770a60c6a 02:51:16 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:16 ---> Running in 44265f5eb810 02:51:19 Removing intermediate container 44265f5eb810 02:51:19 ---> c6fcc8f07e24 02:51:19 Step 7/23 : RUN apk add --update --no-cache make git 02:51:19 ---> Running in e99ce038a768 02:51:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:21 OK: 142 MiB in 39 packages 02:51:23 Removing intermediate container e99ce038a768 02:51:23 ---> b12fa0c19f13 02:51:23 Step 8/23 : COPY . . 02:51:24 ---> d1be1166e1a7 02:51:24 Step 9/23 : RUN ${MAKE} 02:51:24 ---> Running in 59a5ef886d5d 02:51:25 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:51:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:52 Removing intermediate container 59a5ef886d5d 02:51:52 ---> dfbd0d59e14a 02:51:52 Step 10/23 : FROM scratch 02:51:52 ---> 02:51:52 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:52 ---> Running in 1bf48a031540 02:51:52 Removing intermediate container 1bf48a031540 02:51:52 ---> 6be6147083d5 02:51:52 Step 12/23 : ENV APP_PORT=49990 02:51:52 ---> Running in 264e8f92c7d1 02:51:52 Removing intermediate container 264e8f92c7d1 02:51:52 ---> bc3d6dc346c5 02:51:52 Step 13/23 : EXPOSE $APP_PORT 02:51:52 ---> Running in 45c90cd4ed34 02:51:52 Removing intermediate container 45c90cd4ed34 02:51:52 ---> ed500bf945e0 02:51:52 Step 14/23 : WORKDIR / 02:51:52 ---> Running in ec0f8a399316 02:51:53 Removing intermediate container ec0f8a399316 02:51:53 ---> 38469f8a6a67 02:51:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:54 ---> 303982f864d2 02:51:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:55 ---> f41017eae79d 02:51:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:55 ---> 90cff870ba33 02:51:55 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:56 ---> 51cffa102635 02:51:56 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:57 ---> 98d9b4998ac2 02:51:57 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:57 ---> Running in d24ef49d10c6 02:51:58 Removing intermediate container d24ef49d10c6 02:51:58 ---> 9426c6a8e3b5 02:51:58 Step 21/23 : LABEL arch=arm64 02:51:58 ---> Running in c229b9092b5e 02:51:58 Removing intermediate container c229b9092b5e 02:51:58 ---> f59a7b30a0a6 02:51:58 Step 22/23 : LABEL git_sha=fde3ef85261a54924a206979747a719e53169e30 02:51:58 ---> Running in 4ca4fc4bbba8 02:51:59 Removing intermediate container 4ca4fc4bbba8 02:51:59 ---> 90a8520f7ae0 02:51:59 Step 23/23 : LABEL version=0.0.0 02:51:59 ---> Running in f6d911f96e2f 02:51:59 Removing intermediate container f6d911f96e2f 02:51:59 ---> 64d25cd75eda 02:51:59 [Warning] One or more build-args [ARCH] were not consumed 02:51:59 Successfully built 64d25cd75eda 02:51:59 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:52:01 provisioning config files... 02:52:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6556342991939411207tmp [Pipeline] { [Pipeline] sh 02:52:01 + curl -s https://codecov.io/bash 02:52:01 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6556342991939411207tmp [Pipeline] } 02:52:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:52:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:05 ---> package-listing.sh 02:52:05 ++ tr '[:upper:]' '[:lower:]' 02:52:05 ++ facter osfamily 02:52:05 + OS_FAMILY=redhat 02:52:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 02:52:05 + START_PACKAGES=/tmp/packages_start.txt 02:52:05 + END_PACKAGES=/tmp/packages_end.txt 02:52:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:05 + PACKAGES=/tmp/packages_start.txt 02:52:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:52:05 + PACKAGES=/tmp/packages_end.txt 02:52:05 + case "${OS_FAMILY}" in 02:52:05 + rpm -qa 02:52:05 + sort 02:52:09 + '[' -f /tmp/packages_start.txt ']' 02:52:09 + '[' -f /tmp/packages_end.txt ']' 02:52:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:52:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 02:52:09 + 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:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:09 02:52:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:10 alpine: Pulling from edgex-lftools-log-publisher 02:52:10 c9b1b535fdd9: Pulling fs layer 02:52:10 2cc5ad85d9ab: Pulling fs layer 02:52:10 756a868c4378: Pulling fs layer 02:52:10 444b2fc9a129: Pulling fs layer 02:52:10 ea15f1150254: Pulling fs layer 02:52:10 41b27a9f41bf: Pulling fs layer 02:52:10 28c525ee5125: Pulling fs layer 02:52:10 094b1ea09ed8: Pulling fs layer 02:52:10 138eaada9080: Pulling fs layer 02:52:10 0622d0fa9048: Pulling fs layer 02:52:10 444b2fc9a129: Waiting 02:52:10 ea15f1150254: Waiting 02:52:10 41b27a9f41bf: Waiting 02:52:10 138eaada9080: Waiting 02:52:10 28c525ee5125: Waiting 02:52:10 094b1ea09ed8: Waiting 02:52:10 2cc5ad85d9ab: Verifying Checksum 02:52:10 2cc5ad85d9ab: Download complete 02:52:10 444b2fc9a129: Verifying Checksum 02:52:10 444b2fc9a129: Download complete 02:52:10 c9b1b535fdd9: Download complete 02:52:10 ea15f1150254: Verifying Checksum 02:52:10 ea15f1150254: Download complete 02:52:10 28c525ee5125: Verifying Checksum 02:52:10 28c525ee5125: Download complete 02:52:10 756a868c4378: Verifying Checksum 02:52:10 756a868c4378: Download complete 02:52:10 c9b1b535fdd9: Pull complete 02:52:10 138eaada9080: Verifying Checksum 02:52:10 138eaada9080: Download complete 02:52:11 0622d0fa9048: Verifying Checksum 02:52:11 0622d0fa9048: Download complete 02:52:11 094b1ea09ed8: Verifying Checksum 02:52:11 094b1ea09ed8: Download complete 02:52:11 2cc5ad85d9ab: Pull complete 02:52:11 41b27a9f41bf: Verifying Checksum 02:52:11 41b27a9f41bf: Download complete 02:52:12 756a868c4378: Pull complete 02:52:12 444b2fc9a129: Pull complete 02:52:12 ea15f1150254: Pull complete 02:52:16 41b27a9f41bf: Pull complete 02:52:17 28c525ee5125: Pull complete 02:52:20 094b1ea09ed8: Pull complete 02:52:20 138eaada9080: Pull complete 02:52:20 0622d0fa9048: Pull complete 02:52:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:20 prd-centos7-docker-4c-2g-1342 does not seem to be running inside a container 02:52:20 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:23 $ docker top 9dc54514a47f4d842498ac8e2c1cbdf5445cd7aae0da0b7275b4e481397944d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:23 provisioning config files... 02:52:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1484350995653475671tmp [Pipeline] { [Pipeline] echo 02:52:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:24 ---> create-netrc.sh [Pipeline] echo 02:52:24 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:24 ---> logs-deploy.sh 02:52:24 + ARCHIVE_ARTIFACTS= 02:52:24 + LOGS_SERVER=https://logs.edgexfoundry.org 02:52:24 + '[' https://logs.edgexfoundry.org == None ']' 02:52:24 + NEXUS_URL=https://nexus.edgexfoundry.org 02:52:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 02:52:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/7/ 02:52:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:52:25 Archives upload complete. 02:52:25 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/7/