Pull request #549 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0+b22d9636647f710822cdca9c1d6c1c597e4fa962 (3cad969af0f5786d115a1288444c357a31afc3bb) 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 Running on prd-centos7-docker-4c-2g-3224 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [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-549 # 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/549/head:refs/remotes/origin/PR-549 +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 without tags Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 Merge succeeded, producing 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 Checking out Revision 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 (PR-549) > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # 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 b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # timeout=10 Commit message: "fix the requested changes in PR" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:06 ========================================================= 04:19:06 EdgeX Global Pipelines Version Info 04:19:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0e90ff99e76eb33a7e6543c0f8783e9c8745f701 # timeout=10 04:19:08 ------------------- 04:19:08 stable info: 04:19:08 ------------------- 04:19:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:08 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 04:19:08 Message: update stable to v1.0.106 04:19:09 ------------------- 04:19:09 experimental info: 04:19:09 ------------------- 04:19:09 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:09 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 04:19:09 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:11 + git log --format=format:%s -1 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 [Pipeline] echo 04:19:12 GIT_COMMIT: 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0, Commit Message: fix the requested changes in PR [Pipeline] echo 04:19:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:13 04:19:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:19:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:14 latest: Pulling from edgex-devops/git-semver 04:19:14 31603596830f: Pulling fs layer 04:19:14 2a8b12db71e7: Pulling fs layer 04:19:14 6ca5941a6612: Pulling fs layer 04:19:14 ecc8261a40a4: Pulling fs layer 04:19:14 ecc8261a40a4: Waiting 04:19:14 2a8b12db71e7: Verifying Checksum 04:19:14 2a8b12db71e7: Download complete 04:19:14 31603596830f: Verifying Checksum 04:19:14 31603596830f: Download complete 04:19:14 ecc8261a40a4: Verifying Checksum 04:19:14 ecc8261a40a4: Download complete 04:19:14 6ca5941a6612: Verifying Checksum 04:19:14 6ca5941a6612: Download complete 04:19:15 31603596830f: Pull complete 04:19:15 2a8b12db71e7: Pull complete 04:19:16 6ca5941a6612: Pull complete 04:19:16 ecc8261a40a4: Pull complete 04:19:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:19:17 prd-centos7-docker-4c-2g-3224 does not seem to be running inside a container 04:19:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 04:19:19 $ docker top 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:20 [ssh-agent] Looking for ssh-agent implementation... 04:19:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:20 $ docker exec 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 ssh-agent 04:19:20 SSH_AUTH_SOCK=/tmp/ssh-k8awryly94H3/agent.11 04:19:20 SSH_AGENT_PID=17 04:19:20 Running ssh-add (command line suppressed) 04:19:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_3680455948096427654.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_3680455948096427654.key) 04:19:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:22 + git describe --exact-match --tags HEAD 04:19:22 fatal: No names found, cannot describe anything. [Pipeline] } 04:19:22 $ docker exec --env ******** --env ******** 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 ssh-agent -k 04:19:22 unset SSH_AUTH_SOCK; 04:19:22 unset SSH_AGENT_PID; 04:19:22 echo Agent pid 17 killed; 04:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:19:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:19:22 This usually means this commit has not been tagged. [Pipeline] sshagent 04:19:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:22 [ssh-agent] Looking for ssh-agent implementation... 04:19:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:22 $ docker exec 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 ssh-agent 04:19:23 SSH_AUTH_SOCK=/tmp/ssh-EJBeBTDeIe8j/agent.45 04:19:23 SSH_AGENT_PID=51 04:19:23 Running ssh-add (command line suppressed) 04:19:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7915144298315588743.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7915144298315588743.key) 04:19:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:23 + git semver init 04:19:23 # -> Open(): unable to determine branch for HEAD 04:19:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 04:19:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 04:19:23 # $SEMVER_REMOTE_NAME = origin 04:19:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:19:23 # $SEMVER_USER_NAME = edgex-jenkins 04:19:23 # $SEMVER_BRANCH = PR-549 04:19:23 # $SEMVER_TEMP = /tmp/semver-629301703 04:19:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:19:24 # '/tmp/semver-629301703' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 04:19:24 # -> Force: false 04:19:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 04:19:24 $ docker exec --env ******** --env ******** 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 ssh-agent -k 04:19:25 unset SSH_AUTH_SOCK; 04:19:25 unset SSH_AGENT_PID; 04:19:25 echo Agent pid 51 killed; 04:19:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:25 + git semver [Pipeline] } 04:19:25 $ docker stop --time=1 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 04:19:27 $ docker rm -f 7112a269c3da59ee8563a69e4655f9a3e46cc8b131b7305c4bee54fb59a9ec77 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:19:29 Stashed 25 file(s) [Pipeline] echo 04:19:29 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 04:19:29 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 04:19:44 Still waiting to schedule task 04:19:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3224’ 04:19:44 Still waiting to schedule task 04:19:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:21:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3225 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 04:21:31 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 04:21:36 using credential edgex-jenkins-ssh 04:21:36 Cloning the remote Git repository 04:21:36 Cloning with configured refspecs honoured and without tags 04:21:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:36 > git init /w/workspace/device-sdk-go/10 # timeout=10 04:21:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:36 > git --version # timeout=10 04:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:21:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:37 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 04:21:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:21:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:37 Fetching without tags 04:21:38 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:21:38 Merge succeeded, producing 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:21:38 Checking out Revision 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 (PR-549) 04:21:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:21:38 > git config core.sparsecheckout # timeout=10 04:21:38 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # timeout=10 04:21:38 > git remote # timeout=10 04:21:38 > git config --get remote.origin.url # timeout=10 04:21:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:38 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 04:21:38 > git rev-parse HEAD^{commit} # timeout=10 04:21:38 > git config core.sparsecheckout # timeout=10 04:21:38 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # timeout=10 04:21:42 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:21:44 ========================================================= 04:21:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:21:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:21:45 + 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 . 04:21:46 Sending build context to Docker daemon 3.098MB 04:21:46 Step 1/8 : ARG BASE=golang:1.13-alpine 04:21:46 Step 2/8 : FROM ${BASE} 04:21:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:21:46 b538f80385f9: Pulling fs layer 04:21:46 74f711af9a0d: Pulling fs layer 04:21:46 99f96fe45779: Pulling fs layer 04:21:46 fd7a069fd194: Pulling fs layer 04:21:46 66aa3694b03b: Pulling fs layer 04:21:46 170f70906a0f: Pulling fs layer 04:21:46 ad7c5574e4b9: Pulling fs layer 04:21:46 e772456be8f7: Pulling fs layer 04:21:46 c890913d741a: Pulling fs layer 04:21:46 2480fcc9aa5a: Pulling fs layer 04:21:46 09adf4765672: Pulling fs layer 04:21:46 fd7a069fd194: Waiting 04:21:46 66aa3694b03b: Waiting 04:21:46 170f70906a0f: Waiting 04:21:46 ad7c5574e4b9: Waiting 04:21:46 e772456be8f7: Waiting 04:21:46 c890913d741a: Waiting 04:21:46 2480fcc9aa5a: Waiting 04:21:46 09adf4765672: Waiting 04:21:46 99f96fe45779: Verifying Checksum 04:21:46 99f96fe45779: Download complete 04:21:46 74f711af9a0d: Verifying Checksum 04:21:46 74f711af9a0d: Download complete 04:21:46 66aa3694b03b: Verifying Checksum 04:21:46 66aa3694b03b: Download complete 04:21:46 170f70906a0f: Verifying Checksum 04:21:46 170f70906a0f: Download complete 04:21:46 b538f80385f9: Verifying Checksum 04:21:46 b538f80385f9: Download complete 04:21:47 b538f80385f9: Pull complete 04:21:48 74f711af9a0d: Pull complete 04:21:48 99f96fe45779: Pull complete 04:21:49 ad7c5574e4b9: Verifying Checksum 04:21:49 ad7c5574e4b9: Download complete 04:21:49 c890913d741a: Verifying Checksum 04:21:49 c890913d741a: Download complete 04:21:52 2480fcc9aa5a: Verifying Checksum 04:21:52 2480fcc9aa5a: Download complete 04:21:52 09adf4765672: Verifying Checksum 04:21:52 09adf4765672: Download complete 04:21:52 fd7a069fd194: Verifying Checksum 04:21:52 fd7a069fd194: Download complete 04:21:52 e772456be8f7: Verifying Checksum 04:21:52 e772456be8f7: Download complete 04:22:04 fd7a069fd194: Pull complete 04:22:04 66aa3694b03b: Pull complete 04:22:04 170f70906a0f: Pull complete 04:22:07 ad7c5574e4b9: Pull complete 04:22:13 e772456be8f7: Pull complete 04:22:13 c890913d741a: Pull complete 04:22:15 2480fcc9aa5a: Pull complete 04:22:15 09adf4765672: Pull complete 04:22:15 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 04:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:22:15 ---> 2248a725d1cf 04:22:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:20 ---> Running in 7ed07ae2c13d 04:22:20 Removing intermediate container 7ed07ae2c13d 04:22:20 ---> 452f21b9b45b 04:22:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:21 ---> Running in 5269eca35c16 04:22:23 Removing intermediate container 5269eca35c16 04:22:23 ---> 3e84d77cac88 04:22:23 Step 5/8 : RUN apk add --no-cache make git 04:22:23 ---> Running in b6b8bdd9c6fc 04:22:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:22:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:22:27 OK: 142 MiB in 39 packages 04:22:28 Removing intermediate container b6b8bdd9c6fc 04:22:28 ---> 23721ad969be 04:22:28 Step 6/8 : WORKDIR /device-sdk-go 04:22:28 ---> Running in 015c3d1061ac 04:22:28 Removing intermediate container 015c3d1061ac 04:22:28 ---> 294c21b6a535 04:22:28 Step 7/8 : COPY . . 04:22:30 ---> 99ec7fa7bde8 04:22:30 Step 8/8 : RUN go mod download 04:22:30 ---> Running in d775f6bc8010 04:22:33 go: finding github.com/BurntSushi/toml v0.3.1 04:22:33 go: finding github.com/OneOfOne/xxhash v1.2.6 04:22:33 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:22:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:22:33 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:22:33 go: finding github.com/bgentry/speakeasy v0.1.0 04:22:33 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:22:33 go: finding github.com/davecgh/go-spew v1.1.1 04:22:33 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:22:33 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:22:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:22:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:22:33 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:22:33 go: finding github.com/fatih/color v1.7.0 04:22:33 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:22:33 go: finding github.com/go-kit/kit v0.8.0 04:22:33 go: finding github.com/go-logfmt/logfmt v0.4.0 04:22:33 go: finding github.com/go-stack/stack v1.8.0 04:22:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:22:33 go: finding github.com/google/uuid v1.1.0 04:22:33 go: finding github.com/gorilla/mux v1.7.1 04:22:33 go: finding github.com/hashicorp/consul/api v1.1.0 04:22:33 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:22:33 go: finding github.com/hashicorp/errwrap v1.0.0 04:22:33 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:22:33 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:22:33 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:22:33 go: finding github.com/hashicorp/go-multierror v1.0.0 04:22:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:22:33 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:22:33 go: finding github.com/hashicorp/go-syslog v1.0.0 04:22:33 go: finding github.com/hashicorp/go-uuid v1.0.1 04:22:33 go: finding github.com/hashicorp/go.net v0.0.1 04:22:33 go: finding github.com/hashicorp/golang-lru v0.5.0 04:22:33 go: finding github.com/hashicorp/logutils v1.0.0 04:22:33 go: finding github.com/hashicorp/mdns v1.0.0 04:22:33 go: finding github.com/hashicorp/memberlist v0.1.3 04:22:34 go: finding github.com/hashicorp/serf v0.8.2 04:22:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:22:34 go: finding github.com/mattn/go-colorable v0.0.9 04:22:34 go: finding github.com/mattn/go-isatty v0.0.3 04:22:34 go: finding github.com/miekg/dns v1.0.14 04:22:34 go: finding github.com/mitchellh/cli v1.0.0 04:22:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:22:34 go: finding github.com/mitchellh/copystructure v1.0.0 04:22:34 go: finding github.com/mitchellh/go-homedir v1.0.0 04:22:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:22:34 go: finding github.com/mitchellh/gox v0.4.0 04:22:34 go: finding github.com/mitchellh/iochan v1.0.0 04:22:34 go: finding github.com/mitchellh/mapstructure v1.1.2 04:22:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:22:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:22:34 go: finding github.com/pelletier/go-toml v1.2.0 04:22:34 go: finding github.com/pkg/errors v0.8.1 04:22:34 go: finding github.com/pmezard/go-difflib v1.0.0 04:22:34 go: finding github.com/posener/complete v1.1.1 04:22:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:22:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:22:34 go: finding github.com/stretchr/objx v0.1.0 04:22:34 go: finding github.com/stretchr/testify v1.5.1 04:22:34 go: finding github.com/ugorji/go v1.1.4 04:22:34 go: finding github.com/x448/float16 v0.8.4 04:22:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:22:34 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:22:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:22:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:22:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:22:34 go: finding gopkg.in/yaml.v2 v2.2.8 04:22:37 Running on prd-centos7-docker-4c-2g-3226 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 04:22:37 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 04:22:39 using credential edgex-jenkins-ssh 04:22:39 Cloning the remote Git repository 04:22:39 Cloning with configured refspecs honoured and without tags 04:22:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:22:39 > git init /w/workspace/device-sdk-go/10 # timeout=10 04:22:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:40 > git --version # timeout=10 04:22:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:40 Fetching without tags 04:22:41 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:22:41 Merge succeeded, producing 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:22:41 Checking out Revision 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 (PR-549) 04:22:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:40 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 04:22:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:41 > git config core.sparsecheckout # timeout=10 04:22:41 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # timeout=10 04:22:41 > git remote # timeout=10 04:22:41 > git config --get remote.origin.url # timeout=10 04:22:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:41 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 04:22:41 > git rev-parse HEAD^{commit} # timeout=10 04:22:41 > git config core.sparsecheckout # timeout=10 04:22:41 > git checkout -f 5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 # timeout=10 04:22:44 Commit message: "fix the requested changes in PR" 04:22:45 Removing intermediate container d775f6bc8010 04:22:45 ---> d97a2908c34a 04:22:45 Successfully built d97a2908c34a 04:22:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:22:46 ========================================================= 04:22:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:22:46 ========================================================= 04:22:46 + docker inspect -f . ci-base-image-arm64 04:22:46 . [Pipeline] withDockerContainer 04:22:46 prd-ubuntu18.04-docker-arm64-4c-16g-3225 does not seem to be running inside a container 04:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** ci-base-image-arm64 cat 04:22:48 $ docker top da7a9079dfa6a9a7f0dc041d2d25a9a01feb649c4996baae9f8c21d50a449319 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 04:22:49 + 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 . 04:22:49 + go version 04:22:49 go version go1.13.13 linux/arm64 [Pipeline] sh 04:22:50 Sending build context to Docker daemon 3.096MB 04:22:50 Step 1/8 : ARG BASE=golang:1.13-alpine 04:22:50 Step 2/8 : FROM ${BASE} 04:22:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:50 df20fa9351a1: Pulling fs layer 04:22:50 ed8968b2872e: Pulling fs layer 04:22:50 a92cc7c5fd73: Pulling fs layer 04:22:50 2dd03ba5bac4: Pulling fs layer 04:22:50 1e091d79d1de: Pulling fs layer 04:22:50 481702a1767f: Pulling fs layer 04:22:50 f64a6f60c768: Pulling fs layer 04:22:50 e78d2573fc39: Pulling fs layer 04:22:50 e876d2f968b6: Pulling fs layer 04:22:50 ce8a83651883: Pulling fs layer 04:22:50 07967f4d0e4b: Pulling fs layer 04:22:50 e78d2573fc39: Waiting 04:22:50 2dd03ba5bac4: Waiting 04:22:50 1e091d79d1de: Waiting 04:22:50 481702a1767f: Waiting 04:22:50 f64a6f60c768: Waiting 04:22:50 ce8a83651883: Waiting 04:22:50 e876d2f968b6: Waiting 04:22:50 07967f4d0e4b: Waiting 04:22:50 a92cc7c5fd73: Verifying Checksum 04:22:50 a92cc7c5fd73: Download complete 04:22:50 ed8968b2872e: Verifying Checksum 04:22:50 ed8968b2872e: Download complete 04:22:50 1e091d79d1de: Verifying Checksum 04:22:50 1e091d79d1de: Download complete 04:22:50 481702a1767f: Verifying Checksum 04:22:50 481702a1767f: Download complete 04:22:50 df20fa9351a1: Verifying Checksum 04:22:50 df20fa9351a1: Download complete 04:22:50 + make test 04:22:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:22:50 df20fa9351a1: Pull complete 04:22:51 f64a6f60c768: Verifying Checksum 04:22:51 f64a6f60c768: Download complete 04:22:51 e876d2f968b6: Verifying Checksum 04:22:51 e876d2f968b6: Download complete 04:22:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:22:52 2dd03ba5bac4: Verifying Checksum 04:22:52 2dd03ba5bac4: Download complete 04:22:52 ce8a83651883: Verifying Checksum 04:22:52 ce8a83651883: Download complete 04:22:52 07967f4d0e4b: Verifying Checksum 04:22:52 07967f4d0e4b: Download complete 04:22:52 e78d2573fc39: Verifying Checksum 04:22:52 e78d2573fc39: Download complete 04:22:53 ed8968b2872e: Pull complete 04:22:53 a92cc7c5fd73: Pull complete 04:22:59 2dd03ba5bac4: Pull complete 04:22:59 1e091d79d1de: Pull complete 04:22:59 481702a1767f: Pull complete 04:23:03 f64a6f60c768: Pull complete 04:23:06 e78d2573fc39: Pull complete 04:23:06 e876d2f968b6: Pull complete 04:23:07 ce8a83651883: Pull complete 04:23:07 07967f4d0e4b: Pull complete 04:23:07 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 04:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:23:07 ---> 5d7c900382c6 04:23:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:23:08 ---> Running in 1c7a599c76b5 04:23:08 Removing intermediate container 1c7a599c76b5 04:23:08 ---> 5b9ba70511e4 04:23:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:08 ---> Running in 82f8e22ba8a9 04:23:10 Removing intermediate container 82f8e22ba8a9 04:23:10 ---> 2a911a94baec 04:23:10 Step 5/8 : RUN apk add --no-cache make git 04:23:10 ---> Running in 4a9dfcd7c27a 04:23:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:23:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:23:11 OK: 166 MiB in 39 packages 04:23:12 Removing intermediate container 4a9dfcd7c27a 04:23:12 ---> c41bd8b7ee41 04:23:12 Step 6/8 : WORKDIR /device-sdk-go 04:23:12 ---> Running in 4fd9d3d11f61 04:23:12 Removing intermediate container 4fd9d3d11f61 04:23:12 ---> 8d9ab39491d5 04:23:12 Step 7/8 : COPY . . 04:23:13 ---> 0b9d8951b8e3 04:23:13 Step 8/8 : RUN go mod download 04:23:13 ---> Running in e7807f03b436 04:23:15 go: finding github.com/BurntSushi/toml v0.3.1 04:23:15 go: finding github.com/OneOfOne/xxhash v1.2.6 04:23:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:23:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:23:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:23:15 go: finding github.com/bgentry/speakeasy v0.1.0 04:23:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:23:15 go: finding github.com/davecgh/go-spew v1.1.1 04:23:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:23:16 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:23:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:23:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:23:16 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:23:16 go: finding github.com/fatih/color v1.7.0 04:23:16 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:23:16 go: finding github.com/go-kit/kit v0.8.0 04:23:16 go: finding github.com/go-logfmt/logfmt v0.4.0 04:23:16 go: finding github.com/go-stack/stack v1.8.0 04:23:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:23:16 go: finding github.com/google/uuid v1.1.0 04:23:16 go: finding github.com/gorilla/mux v1.7.1 04:23:16 go: finding github.com/hashicorp/consul/api v1.1.0 04:23:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:23:16 go: finding github.com/hashicorp/errwrap v1.0.0 04:23:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:23:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:23:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:23:16 go: finding github.com/hashicorp/go-multierror v1.0.0 04:23:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:23:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:23:16 go: finding github.com/hashicorp/go-syslog v1.0.0 04:23:16 go: finding github.com/hashicorp/go-uuid v1.0.1 04:23:16 go: finding github.com/hashicorp/go.net v0.0.1 04:23:16 go: finding github.com/hashicorp/golang-lru v0.5.0 04:23:16 go: finding github.com/hashicorp/logutils v1.0.0 04:23:16 go: finding github.com/hashicorp/mdns v1.0.0 04:23:16 go: finding github.com/hashicorp/memberlist v0.1.3 04:23:16 go: finding github.com/hashicorp/serf v0.8.2 04:23:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:23:16 go: finding github.com/mattn/go-colorable v0.0.9 04:23:16 go: finding github.com/mattn/go-isatty v0.0.3 04:23:16 go: finding github.com/miekg/dns v1.0.14 04:23:16 go: finding github.com/mitchellh/cli v1.0.0 04:23:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:23:16 go: finding github.com/mitchellh/copystructure v1.0.0 04:23:16 go: finding github.com/mitchellh/go-homedir v1.0.0 04:23:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:23:16 go: finding github.com/mitchellh/gox v0.4.0 04:23:16 go: finding github.com/mitchellh/iochan v1.0.0 04:23:16 go: finding github.com/mitchellh/mapstructure v1.1.2 04:23:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:23:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:23:16 go: finding github.com/pelletier/go-toml v1.2.0 04:23:17 go: finding github.com/pkg/errors v0.8.1 04:23:17 go: finding github.com/pmezard/go-difflib v1.0.0 04:23:17 go: finding github.com/posener/complete v1.1.1 04:23:17 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:23:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:23:17 go: finding github.com/stretchr/objx v0.1.0 04:23:17 go: finding github.com/stretchr/testify v1.5.1 04:23:17 go: finding github.com/ugorji/go v1.1.4 04:23:17 go: finding github.com/x448/float16 v0.8.4 04:23:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:23:17 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:23:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:23:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:23:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:23:17 go: finding gopkg.in/yaml.v2 v2.2.8 04:23:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:23:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:23:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:23:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 21.6% of statements 04:23:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 97.1% of statements 04:23:25 Removing intermediate container e7807f03b436 04:23:25 ---> 7db94e3a2fd4 04:23:25 Successfully built 7db94e3a2fd4 04:23:25 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 04:23:26 + docker inspect -f . ci-base-image-x86_64 04:23:26 . [Pipeline] withDockerContainer 04:23:26 prd-centos7-docker-4c-2g-3226 does not seem to be running inside a container 04:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** ci-base-image-x86_64 cat 04:23:27 $ docker top 07a98d307a2cc377bdc1b1ab20aaea86815647d358a7dd383963169ae1122745 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:28 + go version 04:23:28 go version go1.13.13 linux/amd64 [Pipeline] sh 04:23:28 + make test 04:23:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:23:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:23:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:23:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:23:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:23:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 21.6% of statements 04:23:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 97.1% of statements 04:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.021s coverage: 10.8% of statements 04:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements 04:23:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.082s coverage: 36.5% of statements 04:23:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.191s coverage: 65.6% of statements 04:23:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:23:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:23:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.026s coverage: 52.6% of statements 04:23:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.360s coverage: 68.9% of statements 04:23:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:23:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:23:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:23:59 gofmt -l . 04:23:59 [ "`gofmt -l .`" = "" ] 04:24:00 ./bin/test-attribution-txt.sh 04:24:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:24:02 Stashed 1 file(s) [Pipeline] } 04:24:02 $ docker stop --time=1 da7a9079dfa6a9a7f0dc041d2d25a9a01feb649c4996baae9f8c21d50a449319 04:24:04 $ docker rm -f da7a9079dfa6a9a7f0dc041d2d25a9a01feb649c4996baae9f8c21d50a449319 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:08 + ls -al . 04:24:08 total 228 04:24:08 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 04:24 . 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 04:21 .. 04:24:08 -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 04:21 .dockerignore 04:24:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 04:21 .git 04:24:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 04:21 .github 04:24:08 -rw-rw-r-- 1 jenkins jenkins 138 Aug 10 04:21 .gitignore 04:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 04:21 .semver 04:24:08 -rw-rw-r-- 1 jenkins jenkins 936 Aug 10 04:21 Dockerfile.build 04:24:08 -rw-rw-r-- 1 jenkins jenkins 808 Aug 10 04:21 Jenkinsfile 04:24:08 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 10 04:21 LICENSE 04:24:08 -rw-rw-r-- 1 jenkins jenkins 892 Aug 10 04:21 Makefile 04:24:08 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 10 04:21 README.md 04:24:08 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 10 04:21 RELEASE-NOTES.txt 04:24:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 04:19 VERSION 04:24:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 04:21 bin 04:24:08 -rw-r--r-- 1 jenkins jenkins 111063 Aug 10 04:23 coverage.out 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 04:21 example 04:24:08 -rw-r--r-- 1 jenkins jenkins 446 Aug 10 04:24 go.mod 04:24:08 -rw-r--r-- 1 jenkins jenkins 12179 Aug 10 04:24 go.sum 04:24:08 drwxrwxr-x 13 jenkins jenkins 4096 Aug 10 04:21 internal 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 04:21 openapi 04:24:08 drwxrwxr-x 5 jenkins jenkins 4096 Aug 10 04:21 pkg 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 04:21 snap 04:24:08 -rw-rw-r-- 1 jenkins jenkins 222 Aug 10 04:21 version.go [Pipeline] isUnix [Pipeline] sh 04:24:08 + 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=5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 --label arch=arm64 --label version=0.0.0 . 04:24:09 Sending build context to Docker daemon 3.21MB 04:24:09 Step 1/23 : ARG BASE=golang:1.13-alpine 04:24:09 Step 2/23 : FROM ${BASE} AS builder 04:24:09 ---> d97a2908c34a 04:24:09 Step 3/23 : ARG MAKE='make build' 04:24:09 ---> Running in 719dbcb1c48c 04:24:09 Removing intermediate container 719dbcb1c48c 04:24:09 ---> 3e683426199c 04:24:09 Step 4/23 : WORKDIR /device-sdk-go 04:24:09 ---> Running in e28b8edce433 04:24:10 Removing intermediate container e28b8edce433 04:24:10 ---> b67ff76df625 04:24:10 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:10 ---> Running in bd70b2232d8a 04:24:11 Removing intermediate container bd70b2232d8a 04:24:11 ---> b015ef0c2adb 04:24:11 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:11 ---> Running in b0a0d8a8a6bb 04:24:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 10.8% of statements 04:24:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 21.7% of statements 04:24:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:24:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.022s coverage: 36.5% of statements 04:24:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:24:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.031s coverage: 65.6% of statements 04:24:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:24:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:24:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:24:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements 04:24:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 68.9% of statements 04:24:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:24:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:24:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:24:12 gofmt -l . 04:24:12 [ "`gofmt -l .`" = "" ] 04:24:12 ./bin/test-attribution-txt.sh 04:24:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:24:13 Warning: overwriting stash ‘coverage-report’ 04:24:13 Removing intermediate container b0a0d8a8a6bb 04:24:13 ---> 033725459f74 04:24:13 Step 7/23 : RUN apk add --update --no-cache make git 04:24:13 ---> Running in cb99cfb7b4ef 04:24:13 Stashed 1 file(s) [Pipeline] } 04:24:13 $ docker stop --time=1 07a98d307a2cc377bdc1b1ab20aaea86815647d358a7dd383963169ae1122745 04:24:15 $ docker rm -f 07a98d307a2cc377bdc1b1ab20aaea86815647d358a7dd383963169ae1122745 04:24:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:24:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:16 + ls -al . 04:24:16 total 188 04:24:16 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 10 04:24 . 04:24:16 drwxrwxr-x. 4 jenkins jenkins 30 Aug 10 04:22 .. 04:24:16 drwxrwxr-x. 2 jenkins jenkins 64 Aug 10 04:22 bin 04:24:16 -rw-r--r--. 1 jenkins jenkins 111063 Aug 10 04:24 coverage.out 04:24:16 -rw-rw-r--. 1 jenkins jenkins 936 Aug 10 04:22 Dockerfile.build 04:24:16 -rw-rw-r--. 1 jenkins jenkins 140 Aug 10 04:22 .dockerignore 04:24:16 drwxrwxr-x. 4 jenkins jenkins 48 Aug 10 04:22 example 04:24:16 drwxrwxr-x. 8 jenkins jenkins 179 Aug 10 04:22 .git 04:24:16 drwxrwxr-x. 2 jenkins jenkins 38 Aug 10 04:22 .github 04:24:16 -rw-rw-r--. 1 jenkins jenkins 138 Aug 10 04:22 .gitignore 04:24:16 -rw-r--r--. 1 jenkins jenkins 446 Aug 10 04:24 go.mod 04:24:16 -rw-r--r--. 1 jenkins jenkins 12179 Aug 10 04:24 go.sum 04:24:16 drwxrwxr-x. 13 jenkins jenkins 184 Aug 10 04:22 internal 04:24:16 -rw-rw-r--. 1 jenkins jenkins 808 Aug 10 04:22 Jenkinsfile 04:24:16 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 10 04:22 LICENSE 04:24:16 -rw-rw-r--. 1 jenkins jenkins 892 Aug 10 04:22 Makefile 04:24:16 drwxrwxr-x. 4 jenkins jenkins 26 Aug 10 04:22 openapi 04:24:16 drwxrwxr-x. 5 jenkins jenkins 50 Aug 10 04:22 pkg 04:24:16 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 10 04:22 README.md 04:24:16 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 10 04:22 RELEASE-NOTES.txt 04:24:16 drwxrwxr-x. 3 jenkins jenkins 58 Aug 10 04:22 .semver 04:24:16 drwxrwxr-x. 4 jenkins jenkins 54 Aug 10 04:22 snap 04:24:16 -rw-rw-r--. 1 jenkins jenkins 5 Aug 10 04:19 VERSION 04:24:16 -rw-rw-r--. 1 jenkins jenkins 222 Aug 10 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:24:16 OK: 142 MiB in 39 packages 04:24:16 + 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=5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 --label arch=amd64 --label version=0.0.0 . 04:24:17 Sending build context to Docker daemon 3.208MB 04:24:17 Step 1/23 : ARG BASE=golang:1.13-alpine 04:24:17 Step 2/23 : FROM ${BASE} AS builder 04:24:17 ---> 7db94e3a2fd4 04:24:17 Step 3/23 : ARG MAKE='make build' 04:24:17 ---> Running in 1ef9f843f353 04:24:17 Removing intermediate container 1ef9f843f353 04:24:17 ---> 98c068413fb7 04:24:17 Step 4/23 : WORKDIR /device-sdk-go 04:24:17 ---> Running in 46cbf2b375e9 04:24:17 Removing intermediate container cb99cfb7b4ef 04:24:17 ---> fd789b197f80 04:24:17 Step 8/23 : COPY . . 04:24:17 Removing intermediate container 46cbf2b375e9 04:24:17 ---> ec248c21fb4c 04:24:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:17 ---> Running in 91610b53fb3c 04:24:18 Removing intermediate container 91610b53fb3c 04:24:18 ---> 7c390874a0bb 04:24:18 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:18 ---> Running in 2fe90cac5f9f 04:24:19 Removing intermediate container 2fe90cac5f9f 04:24:19 ---> 4e98cb102e41 04:24:19 Step 7/23 : RUN apk add --update --no-cache make git 04:24:19 ---> Running in 6f03305d4fc6 04:24:19 ---> a6651c9345d6 04:24:19 Step 9/23 : RUN ${MAKE} 04:24:19 ---> Running in 00afee247967 04:24:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:24:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:24:20 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 04:24:20 OK: 166 MiB in 39 packages 04:24:21 Removing intermediate container 6f03305d4fc6 04:24:21 ---> 361890fb0490 04:24:21 Step 8/23 : COPY . . 04:24:22 ---> e475b0350bbe 04:24:22 Step 9/23 : RUN ${MAKE} 04:24:22 ---> Running in 62eb20ddb3bc 04:24:22 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 04:24:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:24:32 Removing intermediate container 62eb20ddb3bc 04:24:32 ---> 329a9c878760 04:24:32 Step 10/23 : FROM scratch 04:24:32 ---> 04:24:32 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:32 ---> Running in dc87a1b57b67 04:24:32 Removing intermediate container dc87a1b57b67 04:24:32 ---> 2647146a10da 04:24:32 Step 12/23 : ENV APP_PORT=49990 04:24:32 ---> Running in cc48429e4523 04:24:32 Removing intermediate container cc48429e4523 04:24:32 ---> d041576dfde3 04:24:32 Step 13/23 : EXPOSE $APP_PORT 04:24:32 ---> Running in 9b1ca3ea4de2 04:24:32 Removing intermediate container 9b1ca3ea4de2 04:24:32 ---> 603e98aafa6d 04:24:32 Step 14/23 : WORKDIR / 04:24:32 ---> Running in aedbb270d34e 04:24:32 Removing intermediate container aedbb270d34e 04:24:32 ---> 04f9ea0bf65d 04:24:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:24:33 ---> 79661459cc02 04:24:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:24:33 ---> 656b2806d9a4 04:24:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:24:33 ---> a8c337b12cd3 04:24:33 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:24:34 ---> d7b13d30f25b 04:24:34 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:24:34 ---> 3ad7c5ee6958 04:24:34 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:24:34 ---> Running in bd6a919522cc 04:24:34 Removing intermediate container bd6a919522cc 04:24:34 ---> 438ef89e9f61 04:24:34 Step 21/23 : LABEL arch=amd64 04:24:34 ---> Running in 6c4cd54dd989 04:24:34 Removing intermediate container 6c4cd54dd989 04:24:34 ---> 546f27af4291 04:24:34 Step 22/23 : LABEL git_sha=5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:24:34 ---> Running in eebacc1b240f 04:24:34 Removing intermediate container eebacc1b240f 04:24:34 ---> e84121df7d7c 04:24:34 Step 23/23 : LABEL version=0.0.0 04:24:34 ---> Running in 830d5526ff15 04:24:35 Removing intermediate container 830d5526ff15 04:24:35 ---> 5030937c87a9 04:24:35 [Warning] One or more build-args [ARCH] were not consumed 04:24:35 Successfully built 5030937c87a9 04:24:35 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] } 04:24:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:24:47 Removing intermediate container 00afee247967 04:24:47 ---> bf8befc10498 04:24:47 Step 10/23 : FROM scratch 04:24:47 ---> 04:24:47 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:47 ---> Running in cb3a75f8a6fd 04:24:47 Removing intermediate container cb3a75f8a6fd 04:24:47 ---> 2c3e19757c24 04:24:47 Step 12/23 : ENV APP_PORT=49990 04:24:47 ---> Running in 3c30a185b8a8 04:24:47 Removing intermediate container 3c30a185b8a8 04:24:47 ---> 8b7ff0cd5d6b 04:24:47 Step 13/23 : EXPOSE $APP_PORT 04:24:47 ---> Running in 78754d105b36 04:24:48 Removing intermediate container 78754d105b36 04:24:48 ---> 5bd2cb731878 04:24:48 Step 14/23 : WORKDIR / 04:24:48 ---> Running in 1d57a082735b 04:24:48 Removing intermediate container 1d57a082735b 04:24:48 ---> 51bfd1de494c 04:24:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:24:49 ---> ba36a106eabf 04:24:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:24:50 ---> 5f9d4a10f085 04:24:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:24:51 ---> c9c0d67d7245 04:24:51 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:24:52 ---> 3e8d9e053711 04:24:52 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:24:52 ---> 7f1effa5853f 04:24:52 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:24:53 ---> Running in 091d391b0b31 04:24:53 Removing intermediate container 091d391b0b31 04:24:53 ---> fcc94fd248cb 04:24:53 Step 21/23 : LABEL arch=arm64 04:24:53 ---> Running in 26a7ca2989ab 04:24:54 Removing intermediate container 26a7ca2989ab 04:24:54 ---> 2186b696f02d 04:24:54 Step 22/23 : LABEL git_sha=5dda1259fa79f7dace151ecb3b5e35d9f12dc3e0 04:24:54 ---> Running in 234d8622fccd 04:24:54 Removing intermediate container 234d8622fccd 04:24:54 ---> fa4c010cbf95 04:24:54 Step 23/23 : LABEL version=0.0.0 04:24:54 ---> Running in 00682f89369f 04:24:55 Removing intermediate container 00682f89369f 04:24:55 ---> 23f26e2c0fba 04:24:55 [Warning] One or more build-args [ARCH] were not consumed 04:24:55 Successfully built 23f26e2c0fba 04:24:55 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 04:24:56 provisioning config files... 04:24:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3249960578882459032tmp [Pipeline] { [Pipeline] sh 04:24:57 + curl -s https://codecov.io/bash 04:24:57 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3249960578882459032tmp [Pipeline] } 04:24:57 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 04:24:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:25:00 ---> package-listing.sh 04:25:00 ++ facter osfamily 04:25:00 ++ tr '[:upper:]' '[:lower:]' 04:25:00 + OS_FAMILY=redhat 04:25:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 04:25:00 + START_PACKAGES=/tmp/packages_start.txt 04:25:00 + END_PACKAGES=/tmp/packages_end.txt 04:25:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:25:00 + PACKAGES=/tmp/packages_start.txt 04:25:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 04:25:00 + PACKAGES=/tmp/packages_end.txt 04:25:00 + case "${OS_FAMILY}" in 04:25:00 + rpm -qa 04:25:00 + sort 04:25:04 + '[' -f /tmp/packages_start.txt ']' 04:25:04 + '[' -f /tmp/packages_end.txt ']' 04:25:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:25:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 04:25:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 04:25:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh 04:25:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:25:05 04:25:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:25:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:25:05 alpine: Pulling from edgex-lftools-log-publisher 04:25:05 c9b1b535fdd9: Pulling fs layer 04:25:05 2cc5ad85d9ab: Pulling fs layer 04:25:05 756a868c4378: Pulling fs layer 04:25:05 444b2fc9a129: Pulling fs layer 04:25:05 ea15f1150254: Pulling fs layer 04:25:05 41b27a9f41bf: Pulling fs layer 04:25:05 28c525ee5125: Pulling fs layer 04:25:05 094b1ea09ed8: Pulling fs layer 04:25:05 138eaada9080: Pulling fs layer 04:25:05 0622d0fa9048: Pulling fs layer 04:25:05 444b2fc9a129: Waiting 04:25:05 ea15f1150254: Waiting 04:25:05 41b27a9f41bf: Waiting 04:25:05 28c525ee5125: Waiting 04:25:05 094b1ea09ed8: Waiting 04:25:05 138eaada9080: Waiting 04:25:05 0622d0fa9048: Waiting 04:25:05 2cc5ad85d9ab: Verifying Checksum 04:25:05 2cc5ad85d9ab: Download complete 04:25:05 444b2fc9a129: Verifying Checksum 04:25:05 444b2fc9a129: Download complete 04:25:06 c9b1b535fdd9: Verifying Checksum 04:25:06 c9b1b535fdd9: Download complete 04:25:06 ea15f1150254: Verifying Checksum 04:25:06 ea15f1150254: Download complete 04:25:06 28c525ee5125: Verifying Checksum 04:25:06 28c525ee5125: Download complete 04:25:07 c9b1b535fdd9: Pull complete 04:25:07 2cc5ad85d9ab: Pull complete 04:25:07 756a868c4378: Verifying Checksum 04:25:07 756a868c4378: Download complete 04:25:08 138eaada9080: Verifying Checksum 04:25:08 138eaada9080: Download complete 04:25:08 0622d0fa9048: Verifying Checksum 04:25:08 0622d0fa9048: Download complete 04:25:08 094b1ea09ed8: Verifying Checksum 04:25:08 094b1ea09ed8: Download complete 04:25:09 41b27a9f41bf: Verifying Checksum 04:25:09 41b27a9f41bf: Download complete 04:25:11 756a868c4378: Pull complete 04:25:11 444b2fc9a129: Pull complete 04:25:11 ea15f1150254: Pull complete 04:25:16 41b27a9f41bf: Pull complete 04:25:16 28c525ee5125: Pull complete 04:25:19 094b1ea09ed8: Pull complete 04:25:19 138eaada9080: Pull complete 04:25:19 0622d0fa9048: Pull complete 04:25:19 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:25:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:25:20 prd-centos7-docker-4c-2g-3224 does not seem to be running inside a container 04:25: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-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 04:25:22 $ docker top 5ccc81400baf0bc23d3dbfc539b64aad31e81ec1edfdd022f66a16e3a41188a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:23 provisioning config files... 04:25:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config2904570160162394758tmp [Pipeline] { [Pipeline] echo 04:25:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:25:23 ---> create-netrc.sh [Pipeline] echo 04:25:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:25:23 ---> logs-deploy.sh 04:25:23 + ARCHIVE_ARTIFACTS= 04:25:23 + LOGS_SERVER=https://logs.edgexfoundry.org 04:25:23 + '[' https://logs.edgexfoundry.org == None ']' 04:25:23 + NEXUS_URL=https://nexus.edgexfoundry.org 04:25:23 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/10 04:25:23 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/10/ 04:25:23 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/10 /w/workspace/dgexfoundry_device-sdk-go_PR-549 04:25:25 Archives upload complete. 04:25:25 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/10/