Pull request #563 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 7a69a11030dc91ebff33a0a3de7422eba4b6131a+87d5476449a35cff438eb0cafa3131d50caefe7b (5039fcf44a47ce8fb0542194c343a92320419d38) 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-237 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [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-563 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # 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/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # 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 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 Commit message: "fix: update CommandExists to only check Device Commands" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:39:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:39:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:39:54 ========================================================= 06:39:54 EdgeX Global Pipelines Version Info 06:39:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 36e6fb5931ddfebac18a0f3c8bf43662636732ac # timeout=10 06:39:56 ------------------- 06:39:56 stable info: 06:39:56 ------------------- 06:39:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:56 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 06:39:56 Message: update stable to v1.0.106 06:39:57 ------------------- 06:39:57 experimental info: 06:39:57 ------------------- 06:39:57 Commited By: **** collab-it+edgex@linuxfoundation.org 06:39:57 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 06:39:57 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 06:39:59 + git log --format=format:%s -1 7a69a11030dc91ebff33a0a3de7422eba4b6131a [Pipeline] echo 06:39:59 GIT_COMMIT: 7a69a11030dc91ebff33a0a3de7422eba4b6131a, Commit Message: fix: update CommandExists to only check Device Commands [Pipeline] echo 06:39:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:00 06:40:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:40:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:00 latest: Pulling from edgex-devops/git-semver 06:40:00 31603596830f: Pulling fs layer 06:40:00 2a8b12db71e7: Pulling fs layer 06:40:00 6ca5941a6612: Pulling fs layer 06:40:00 ecc8261a40a4: Pulling fs layer 06:40:00 ecc8261a40a4: Waiting 06:40:00 2a8b12db71e7: Verifying Checksum 06:40:00 2a8b12db71e7: Download complete 06:40:00 31603596830f: Verifying Checksum 06:40:00 31603596830f: Download complete 06:40:00 ecc8261a40a4: Verifying Checksum 06:40:00 ecc8261a40a4: Download complete 06:40:00 6ca5941a6612: Verifying Checksum 06:40:00 6ca5941a6612: Download complete 06:40:01 31603596830f: Pull complete 06:40:01 2a8b12db71e7: Pull complete 06:40:02 6ca5941a6612: Pull complete 06:40:02 ecc8261a40a4: Pull complete 06:40:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:40:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:40:02 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 06:40:02 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-563 -v /w/workspace/dgexfoundry_device-sdk-go_PR-563:/w/workspace/dgexfoundry_device-sdk-go_PR-563:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-563@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 06:40:04 $ docker top 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:04 [ssh-agent] Looking for ssh-agent implementation... 06:40:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:04 $ docker exec 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent 06:40:05 SSH_AUTH_SOCK=/tmp/ssh-ubOZSn3SwYMw/agent.12 06:40:05 SSH_AGENT_PID=17 06:40:05 Running ssh-add (command line suppressed) 06:40:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7221909196945862086.key (/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7221909196945862086.key) 06:40:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:05 + git describe --exact-match --tags HEAD 06:40:05 fatal: No names found, cannot describe anything. [Pipeline] } 06:40:05 $ docker exec --env ******** --env ******** 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent -k 06:40:05 unset SSH_AUTH_SOCK; 06:40:05 unset SSH_AGENT_PID; 06:40:05 echo Agent pid 17 killed; 06:40:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:40:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:40:05 This usually means this commit has not been tagged. [Pipeline] sshagent 06:40:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:05 [ssh-agent] Looking for ssh-agent implementation... 06:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:06 $ docker exec 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent 06:40:06 SSH_AUTH_SOCK=/tmp/ssh-7azVNSZyeU4W/agent.45 06:40:06 SSH_AGENT_PID=50 06:40:06 Running ssh-add (command line suppressed) 06:40:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7387461432550971936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/private_key_7387461432550971936.key) 06:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:06 + git semver init 06:40:06 # -> Open(): unable to determine branch for HEAD 06:40:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-563/.git 06:40:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-563 06:40:06 # $SEMVER_REMOTE_NAME = origin 06:40:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:40:06 # $SEMVER_USER_NAME = edgex-jenkins 06:40:06 # $SEMVER_BRANCH = PR-563 06:40:06 # $SEMVER_TEMP = /tmp/semver-129585404 06:40:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:40:08 # '/tmp/semver-129585404' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-563/.semver' 06:40:08 # -> Force: false 06:40:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-563/.semver [Pipeline] } 06:40:08 $ docker exec --env ******** --env ******** 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef ssh-agent -k 06:40:08 unset SSH_AUTH_SOCK; 06:40:08 unset SSH_AGENT_PID; 06:40:08 echo Agent pid 50 killed; 06:40:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:08 + git semver [Pipeline] } 06:40:08 $ docker stop --time=1 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef 06:40:10 $ docker rm -f 9ebdf3675a1a1423b008277e9c08e1ba531ea62b96a1b046584e7108fcad83ef [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:40:11 Stashed 27 file(s) [Pipeline] echo 06:40:11 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 06:40:11 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 06:40:26 Still waiting to schedule task 06:40:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:40:26 Still waiting to schedule task 06:40:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:42:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-238 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [Pipeline] { [Pipeline] ws 06:42:22 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:42:27 using credential edgex-jenkins-ssh 06:42:27 Cloning the remote Git repository 06:42:27 Cloning with configured refspecs honoured and without tags 06:42:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:42:27 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:42:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:27 > git --version # timeout=10 06:42:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:28 Fetching without tags 06:42:29 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:42:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:28 > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # timeout=10 06:42:28 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:29 > git config core.sparsecheckout # timeout=10 06:42:29 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 06:42:29 > git remote # timeout=10 06:42:29 > git config --get remote.origin.url # timeout=10 06:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:29 > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 06:42:30 Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:42:30 Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) 06:42:30 > git rev-parse HEAD^{commit} # timeout=10 06:42:30 > git config core.sparsecheckout # timeout=10 06:42:30 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 06:42:34 Commit message: "fix: update CommandExists to only check Device Commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:35 ========================================================= 06:42:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:42:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:36 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 06:42:37 Sending build context to Docker daemon 3.056MB 06:42:37 Step 1/8 : ARG BASE=golang:1.13-alpine 06:42:37 Step 2/8 : FROM ${BASE} 06:42:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:42:38 b538f80385f9: Pulling fs layer 06:42:38 74f711af9a0d: Pulling fs layer 06:42:38 99f96fe45779: Pulling fs layer 06:42:38 fd7a069fd194: Pulling fs layer 06:42:38 66aa3694b03b: Pulling fs layer 06:42:38 170f70906a0f: Pulling fs layer 06:42:38 ad7c5574e4b9: Pulling fs layer 06:42:38 e772456be8f7: Pulling fs layer 06:42:38 c890913d741a: Pulling fs layer 06:42:38 2480fcc9aa5a: Pulling fs layer 06:42:38 09adf4765672: Pulling fs layer 06:42:38 fd7a069fd194: Waiting 06:42:38 66aa3694b03b: Waiting 06:42:38 170f70906a0f: Waiting 06:42:38 ad7c5574e4b9: Waiting 06:42:38 e772456be8f7: Waiting 06:42:38 c890913d741a: Waiting 06:42:38 2480fcc9aa5a: Waiting 06:42:38 09adf4765672: Waiting 06:42:38 99f96fe45779: Verifying Checksum 06:42:38 99f96fe45779: Download complete 06:42:38 74f711af9a0d: Verifying Checksum 06:42:38 74f711af9a0d: Download complete 06:42:38 66aa3694b03b: Verifying Checksum 06:42:38 66aa3694b03b: Download complete 06:42:38 170f70906a0f: Verifying Checksum 06:42:38 170f70906a0f: Download complete 06:42:38 b538f80385f9: Download complete 06:42:39 b538f80385f9: Pull complete 06:42:39 74f711af9a0d: Pull complete 06:42:40 Running on prd-centos7-docker-4c-2g-239 in /w/workspace/dgexfoundry_device-sdk-go_PR-563 [Pipeline] { 06:42:40 99f96fe45779: Pull complete [Pipeline] ws 06:42:40 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:42:42 ad7c5574e4b9: Verifying Checksum 06:42:42 ad7c5574e4b9: Download complete 06:42:42 c890913d741a: Verifying Checksum 06:42:42 c890913d741a: Download complete 06:42:42 e772456be8f7: Verifying Checksum 06:42:42 e772456be8f7: Download complete 06:42:42 09adf4765672: Verifying Checksum 06:42:42 09adf4765672: Download complete 06:42:43 2480fcc9aa5a: Verifying Checksum 06:42:43 2480fcc9aa5a: Download complete 06:42:43 fd7a069fd194: Verifying Checksum 06:42:43 fd7a069fd194: Download complete 06:42:46 using credential edgex-jenkins-ssh 06:42:46 Cloning the remote Git repository 06:42:46 Cloning with configured refspecs honoured and without tags 06:42:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:42:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:42:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:46 > git --version # timeout=10 06:42:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:47 Fetching without tags 06:42:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:47 > git config --add remote.origin.fetch +refs/pull/563/head:refs/remotes/origin/PR-563 # timeout=10 06:42:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:42:47 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:42:48 Merge succeeded, producing 7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:42:48 Checking out Revision 7a69a11030dc91ebff33a0a3de7422eba4b6131a (PR-563) 06:42:47 > git config core.sparsecheckout # timeout=10 06:42:47 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 06:42:48 > git remote # timeout=10 06:42:48 > git config --get remote.origin.url # timeout=10 06:42:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:48 > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 06:42:48 > git rev-parse HEAD^{commit} # timeout=10 06:42:48 > git config core.sparsecheckout # timeout=10 06:42:48 > git checkout -f 7a69a11030dc91ebff33a0a3de7422eba4b6131a # timeout=10 06:42:52 Commit message: "fix: update CommandExists to only check Device Commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:53 ========================================================= 06:42:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:42:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 06:42:55 Sending build context to Docker daemon 3.056MB 06:42:55 Step 1/8 : ARG BASE=golang:1.13-alpine 06:42:55 Step 2/8 : FROM ${BASE} 06:42:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:55 df20fa9351a1: Pulling fs layer 06:42:55 ed8968b2872e: Pulling fs layer 06:42:55 a92cc7c5fd73: Pulling fs layer 06:42:55 2dd03ba5bac4: Pulling fs layer 06:42:55 1e091d79d1de: Pulling fs layer 06:42:55 481702a1767f: Pulling fs layer 06:42:55 f64a6f60c768: Pulling fs layer 06:42:55 e78d2573fc39: Pulling fs layer 06:42:55 e876d2f968b6: Pulling fs layer 06:42:55 ce8a83651883: Pulling fs layer 06:42:55 07967f4d0e4b: Pulling fs layer 06:42:55 2dd03ba5bac4: Waiting 06:42:55 1e091d79d1de: Waiting 06:42:55 481702a1767f: Waiting 06:42:55 f64a6f60c768: Waiting 06:42:55 e78d2573fc39: Waiting 06:42:55 e876d2f968b6: Waiting 06:42:55 ce8a83651883: Waiting 06:42:55 07967f4d0e4b: Waiting 06:42:55 a92cc7c5fd73: Verifying Checksum 06:42:55 a92cc7c5fd73: Download complete 06:42:55 ed8968b2872e: Verifying Checksum 06:42:55 ed8968b2872e: Download complete 06:42:55 1e091d79d1de: Verifying Checksum 06:42:55 1e091d79d1de: Download complete 06:42:55 481702a1767f: Verifying Checksum 06:42:55 481702a1767f: Download complete 06:42:55 df20fa9351a1: Download complete 06:42:56 fd7a069fd194: Pull complete 06:42:56 66aa3694b03b: Pull complete 06:42:56 170f70906a0f: Pull complete 06:42:56 df20fa9351a1: Pull complete 06:42:56 ed8968b2872e: Pull complete 06:42:57 a92cc7c5fd73: Pull complete 06:42:58 ad7c5574e4b9: Pull complete 06:43:00 f64a6f60c768: Verifying Checksum 06:43:00 f64a6f60c768: Download complete 06:43:00 e876d2f968b6: Verifying Checksum 06:43:00 e876d2f968b6: Download complete 06:43:00 2dd03ba5bac4: Verifying Checksum 06:43:00 2dd03ba5bac4: Download complete 06:43:01 07967f4d0e4b: Verifying Checksum 06:43:01 07967f4d0e4b: Download complete 06:43:01 ce8a83651883: Verifying Checksum 06:43:01 ce8a83651883: Download complete 06:43:01 e78d2573fc39: Verifying Checksum 06:43:01 e78d2573fc39: Download complete 06:43:03 e772456be8f7: Pull complete 06:43:03 c890913d741a: Pull complete 06:43:05 2480fcc9aa5a: Pull complete 06:43:06 09adf4765672: Pull complete 06:43:06 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:43:06 ---> 2248a725d1cf 06:43:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:10 ---> Running in 673bff571334 06:43:10 Removing intermediate container 673bff571334 06:43:10 ---> e0b75de64b5d 06:43:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:11 ---> Running in de971877e382 06:43:11 2dd03ba5bac4: Pull complete 06:43:11 1e091d79d1de: Pull complete 06:43:11 481702a1767f: Pull complete 06:43:13 Removing intermediate container de971877e382 06:43:13 ---> e98f4e346362 06:43:13 Step 5/8 : RUN apk add --no-cache make git 06:43:13 ---> Running in e7934bfa83be 06:43:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:43:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:43:16 OK: 142 MiB in 39 packages 06:43:18 Removing intermediate container e7934bfa83be 06:43:18 ---> 8f3d75de9071 06:43:18 Step 6/8 : WORKDIR /device-sdk-go 06:43:18 ---> Running in 7276e30461c5 06:43:18 f64a6f60c768: Pull complete 06:43:18 Removing intermediate container 7276e30461c5 06:43:18 ---> 4cdf21f5ee24 06:43:18 Step 7/8 : COPY . . 06:43:20 ---> 377d9eb7eb81 06:43:20 Step 8/8 : RUN go mod download 06:43:20 ---> Running in af0642e7a9c8 06:43:22 e78d2573fc39: Pull complete 06:43:22 go: finding github.com/BurntSushi/toml v0.3.1 06:43:22 go: finding github.com/OneOfOne/xxhash v1.2.6 06:43:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:43:22 e876d2f968b6: Pull complete 06:43:23 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:43:23 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:43:23 go: finding github.com/bgentry/speakeasy v0.1.0 06:43:23 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:43:23 go: finding github.com/davecgh/go-spew v1.1.1 06:43:23 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 06:43:23 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:43:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:43:23 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:43:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:43:23 go: finding github.com/fatih/color v1.7.0 06:43:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:43:23 go: finding github.com/go-kit/kit v0.8.0 06:43:23 go: finding github.com/go-logfmt/logfmt v0.4.0 06:43:23 go: finding github.com/go-stack/stack v1.8.0 06:43:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:43:23 go: finding github.com/google/uuid v1.1.0 06:43:23 go: finding github.com/gorilla/mux v1.7.1 06:43:23 go: finding github.com/hashicorp/consul/api v1.1.0 06:43:23 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:43:23 go: finding github.com/hashicorp/errwrap v1.0.0 06:43:23 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:43:23 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:43:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:43:23 go: finding github.com/hashicorp/go-multierror v1.0.0 06:43:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:43:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:43:23 go: finding github.com/hashicorp/go-syslog v1.0.0 06:43:23 go: finding github.com/hashicorp/go-uuid v1.0.1 06:43:23 go: finding github.com/hashicorp/go.net v0.0.1 06:43:23 go: finding github.com/hashicorp/golang-lru v0.5.0 06:43:23 go: finding github.com/hashicorp/logutils v1.0.0 06:43:23 go: finding github.com/hashicorp/mdns v1.0.0 06:43:23 go: finding github.com/hashicorp/memberlist v0.1.3 06:43:23 go: finding github.com/hashicorp/serf v0.8.2 06:43:24 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:43:24 go: finding github.com/mattn/go-colorable v0.0.9 06:43:24 go: finding github.com/mattn/go-isatty v0.0.3 06:43:24 go: finding github.com/miekg/dns v1.0.14 06:43:24 go: finding github.com/mitchellh/cli v1.0.0 06:43:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:43:24 go: finding github.com/mitchellh/copystructure v1.0.0 06:43:24 go: finding github.com/mitchellh/go-homedir v1.0.0 06:43:24 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:43:24 go: finding github.com/mitchellh/gox v0.4.0 06:43:24 go: finding github.com/mitchellh/iochan v1.0.0 06:43:24 go: finding github.com/mitchellh/mapstructure v1.1.2 06:43:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:43:24 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:43:24 go: finding github.com/pelletier/go-toml v1.2.0 06:43:24 go: finding github.com/pkg/errors v0.8.1 06:43:24 go: finding github.com/pmezard/go-difflib v1.0.0 06:43:24 go: finding github.com/posener/complete v1.1.1 06:43:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:43:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:43:24 go: finding github.com/stretchr/objx v0.1.0 06:43:24 go: finding github.com/stretchr/testify v1.5.1 06:43:24 go: finding github.com/ugorji/go v1.1.4 06:43:24 go: finding github.com/x448/float16 v0.8.4 06:43:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:43:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:43:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:43:24 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:43:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:43:25 go: finding gopkg.in/yaml.v2 v2.2.8 06:43:25 ce8a83651883: Pull complete 06:43:25 07967f4d0e4b: Pull complete 06:43:25 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:43:25 ---> 5d7c900382c6 06:43:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:26 ---> Running in 13b5f695a282 06:43:26 Removing intermediate container 13b5f695a282 06:43:26 ---> 1a6cc977c9fd 06:43:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:26 ---> Running in 7b87d34959d9 06:43:27 Removing intermediate container 7b87d34959d9 06:43:27 ---> 5f681dd2ea98 06:43:27 Step 5/8 : RUN apk add --no-cache make git 06:43:28 ---> Running in 2a86499b8961 06:43:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:30 OK: 166 MiB in 39 packages 06:43:31 Removing intermediate container 2a86499b8961 06:43:31 ---> 7a0f27efb5e3 06:43:31 Step 6/8 : WORKDIR /device-sdk-go 06:43:31 ---> Running in d315f2962b51 06:43:31 Removing intermediate container d315f2962b51 06:43:31 ---> d9686aa6e911 06:43:31 Step 7/8 : COPY . . 06:43:32 ---> 11b4dd569aa9 06:43:32 Step 8/8 : RUN go mod download 06:43:32 ---> Running in 4e6ba9c6e706 06:43:34 go: finding github.com/BurntSushi/toml v0.3.1 06:43:34 go: finding github.com/OneOfOne/xxhash v1.2.6 06:43:34 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:43:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:43:34 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:43:34 go: finding github.com/bgentry/speakeasy v0.1.0 06:43:34 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:43:34 go: finding github.com/davecgh/go-spew v1.1.1 06:43:34 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 06:43:34 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:43:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:43:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:43:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:43:35 go: finding github.com/fatih/color v1.7.0 06:43:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:43:35 go: finding github.com/go-kit/kit v0.8.0 06:43:35 go: finding github.com/go-logfmt/logfmt v0.4.0 06:43:35 go: finding github.com/go-stack/stack v1.8.0 06:43:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:43:35 go: finding github.com/google/uuid v1.1.0 06:43:35 Removing intermediate container af0642e7a9c8 06:43:35 ---> 9d3a6bbc3a59 06:43:35 Successfully built 9d3a6bbc3a59 06:43:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:43:35 go: finding github.com/gorilla/mux v1.7.1 06:43:35 go: finding github.com/hashicorp/consul/api v1.1.0 06:43:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:43:35 go: finding github.com/hashicorp/errwrap v1.0.0 06:43:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:43:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:43:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:43:35 go: finding github.com/hashicorp/go-multierror v1.0.0 06:43:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:43:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:43:35 go: finding github.com/hashicorp/go-syslog v1.0.0 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:35 go: finding github.com/hashicorp/go-uuid v1.0.1 06:43:35 go: finding github.com/hashicorp/go.net v0.0.1 06:43:35 go: finding github.com/hashicorp/golang-lru v0.5.0 06:43:35 go: finding github.com/hashicorp/logutils v1.0.0 06:43:35 go: finding github.com/hashicorp/mdns v1.0.0 06:43:35 go: finding github.com/hashicorp/memberlist v0.1.3 06:43:35 go: finding github.com/hashicorp/serf v0.8.2 06:43:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:43:35 go: finding github.com/mattn/go-colorable v0.0.9 06:43:35 go: finding github.com/mattn/go-isatty v0.0.3 06:43:35 + docker inspect -f . ci-base-image-arm64 06:43:35 . [Pipeline] withDockerContainer 06:43:35 go: finding github.com/miekg/dns v1.0.14 06:43:35 go: finding github.com/mitchellh/cli v1.0.0 06:43:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:43:35 go: finding github.com/mitchellh/copystructure v1.0.0 06:43:35 go: finding github.com/mitchellh/go-homedir v1.0.0 06:43:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:43:35 go: finding github.com/mitchellh/gox v0.4.0 06:43:35 go: finding github.com/mitchellh/iochan v1.0.0 06:43:35 go: finding github.com/mitchellh/mapstructure v1.1.2 06:43:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:43:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:43:36 prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container 06:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:43:36 go: finding github.com/pelletier/go-toml v1.2.0 06:43:36 go: finding github.com/pkg/errors v0.8.1 06:43:36 go: finding github.com/pmezard/go-difflib v1.0.0 06:43:36 go: finding github.com/posener/complete v1.1.1 06:43:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:43:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:43:36 go: finding github.com/stretchr/objx v0.1.0 06:43:36 go: finding github.com/stretchr/testify v1.5.1 06:43:36 go: finding github.com/ugorji/go v1.1.4 06:43:36 go: finding github.com/x448/float16 v0.8.4 06:43:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:43:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:43:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:43:36 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:43:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:43:36 go: finding gopkg.in/yaml.v2 v2.2.8 06:43:38 $ docker top 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:39 + go version 06:43:39 go version go1.13.13 linux/arm64 [Pipeline] sh 06:43:40 + make test 06:43:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:43:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:43:46 Removing intermediate container 4e6ba9c6e706 06:43:46 ---> 7f653632b035 06:43:46 Successfully built 7f653632b035 06:43:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:47 + docker inspect -f . ci-base-image-x86_64 06:43:47 . [Pipeline] withDockerContainer 06:43:47 prd-centos7-docker-4c-2g-239 does not seem to be running inside a container 06:43:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:43:49 $ docker top 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:49 + go version 06:43:49 go version go1.13.13 linux/amd64 [Pipeline] sh 06:43:50 + make test 06:43:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:43:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:44:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:44:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:44:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:44:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements 06:44:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.120s coverage: 95.7% of statements 06:44:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:44:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:44:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:44:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 22.1% of statements 06:44:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.7% of statements 06:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.106s coverage: 11.6% of statements 06:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.7% of statements 06:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.626s coverage: 36.9% of statements 06:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.674s coverage: 65.2% of statements 06:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 06:44:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.127s coverage: 68.9% of statements 06:44:44 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:44:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:44:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.081s coverage: 11.6% of statements 06:44:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements 06:44:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:44:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 36.9% of statements 06:44:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:44:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.707s coverage: 65.2% of statements 06:44:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:44:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:44:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:44:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements 06:44:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 06:44:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:44:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:44:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:46 gofmt -l . 06:44:46 [ "`gofmt -l .`" = "" ] 06:44:46 ./bin/test-attribution-txt.sh 06:44:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:44:49 Stashed 1 file(s) [Pipeline] } 06:44:49 $ docker stop --time=1 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d 06:44:50 gofmt -l . 06:44:50 [ "`gofmt -l .`" = "" ] 06:44:50 ./bin/test-attribution-txt.sh 06:44:51 ./bin/test-go-mod-tidy.sh 06:44:51 $ docker rm -f 9d767c3cfedeb44f4065f685c7f8cb93a8b937da686d46bf8ff7fae3da0d255d [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } [Pipeline] // script 06:44:52 Warning: overwriting stash ‘coverage-report’ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 06:44:52 Stashed 1 file(s) [Pipeline] } 06:44:53 $ docker stop --time=1 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 06:44:55 $ docker rm -f 34fc21cb19fc70bfb6ae3c35aff8f54f450288ce89187f729e8c21e0692f87b0 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:44:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:56 + ls -al . 06:44:56 total 188 06:44:56 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 17 06:44 . 06:44:56 drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 06:42 .. 06:44:56 drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 06:42 bin 06:44:56 -rw-r--r--. 1 jenkins jenkins 110800 Aug 17 06:44 coverage.out 06:44:56 -rw-rw-r--. 1 jenkins jenkins 936 Aug 17 06:42 Dockerfile.build 06:44:56 -rw-rw-r--. 1 jenkins jenkins 140 Aug 17 06:42 .dockerignore 06:44:56 drwxrwxr-x. 4 jenkins jenkins 48 Aug 17 06:42 example 06:44:56 drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 06:42 .git 06:44:56 drwxrwxr-x. 2 jenkins jenkins 38 Aug 17 06:42 .github 06:44:56 -rw-rw-r--. 1 jenkins jenkins 138 Aug 17 06:42 .gitignore 06:44:56 -rw-r--r--. 1 jenkins jenkins 446 Aug 17 06:44 go.mod 06:44:56 -rw-r--r--. 1 jenkins jenkins 12179 Aug 17 06:44 go.sum 06:44:56 drwxrwxr-x. 13 jenkins jenkins 184 Aug 17 06:42 internal 06:44:56 -rw-rw-r--. 1 jenkins jenkins 808 Aug 17 06:42 Jenkinsfile 06:44:56 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 17 06:42 LICENSE 06:44:56 -rw-rw-r--. 1 jenkins jenkins 892 Aug 17 06:42 Makefile 06:44:56 drwxrwxr-x. 4 jenkins jenkins 26 Aug 17 06:42 openapi 06:44:56 drwxrwxr-x. 5 jenkins jenkins 50 Aug 17 06:42 pkg 06:44:56 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 17 06:42 README.md 06:44:56 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 17 06:42 RELEASE-NOTES.txt 06:44:56 drwxrwxr-x. 3 jenkins jenkins 58 Aug 17 06:42 .semver 06:44:56 drwxrwxr-x. 4 jenkins jenkins 54 Aug 17 06:42 snap 06:44:56 -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 06:40 VERSION 06:44:56 -rw-rw-r--. 1 jenkins jenkins 222 Aug 17 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:57 + 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=7a69a11030dc91ebff33a0a3de7422eba4b6131a --label arch=amd64 --label version=0.0.0 . 06:44:57 + ls -al . 06:44:57 total 228 06:44:57 drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 06:44 . 06:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 .. 06:44:57 -rw-rw-r-- 1 jenkins jenkins 140 Aug 17 06:42 .dockerignore 06:44:57 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 06:42 .git 06:44:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 06:42 .github 06:44:57 -rw-rw-r-- 1 jenkins jenkins 138 Aug 17 06:42 .gitignore 06:44:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 06:42 .semver 06:44:57 -rw-rw-r-- 1 jenkins jenkins 936 Aug 17 06:42 Dockerfile.build 06:44:57 -rw-rw-r-- 1 jenkins jenkins 808 Aug 17 06:42 Jenkinsfile 06:44:57 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 17 06:42 LICENSE 06:44:57 -rw-rw-r-- 1 jenkins jenkins 892 Aug 17 06:42 Makefile 06:44:57 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 17 06:42 README.md 06:44:57 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 17 06:42 RELEASE-NOTES.txt 06:44:57 -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 06:40 VERSION 06:44:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 06:42 bin 06:44:57 -rw-r--r-- 1 jenkins jenkins 110800 Aug 17 06:44 coverage.out 06:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 example 06:44:57 -rw-r--r-- 1 jenkins jenkins 446 Aug 17 06:44 go.mod 06:44:57 -rw-r--r-- 1 jenkins jenkins 12179 Aug 17 06:44 go.sum 06:44:57 drwxrwxr-x 13 jenkins jenkins 4096 Aug 17 06:42 internal 06:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 openapi 06:44:57 drwxrwxr-x 5 jenkins jenkins 4096 Aug 17 06:42 pkg 06:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 06:42 snap 06:44:57 -rw-rw-r-- 1 jenkins jenkins 222 Aug 17 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:57 Sending build context to Docker daemon 3.184MB 06:44:57 Step 1/23 : ARG BASE=golang:1.13-alpine 06:44:57 Step 2/23 : FROM ${BASE} AS builder 06:44:57 ---> 7f653632b035 06:44:57 Step 3/23 : ARG MAKE='make build' 06:44:57 + 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=7a69a11030dc91ebff33a0a3de7422eba4b6131a --label arch=arm64 --label version=0.0.0 . 06:44:57 ---> Running in c10075aa99d5 06:44:58 Removing intermediate container c10075aa99d5 06:44:58 ---> cfdff014b66e 06:44:58 Step 4/23 : WORKDIR /device-sdk-go 06:44:58 ---> Running in 6139b0a71cc9 06:44:58 Sending build context to Docker daemon 3.184MB 06:44:58 Step 1/23 : ARG BASE=golang:1.13-alpine 06:44:58 Step 2/23 : FROM ${BASE} AS builder 06:44:58 ---> 9d3a6bbc3a59 06:44:58 Step 3/23 : ARG MAKE='make build' 06:44:58 ---> Running in ca9bc736c4e8 06:44:58 Removing intermediate container 6139b0a71cc9 06:44:58 ---> a7ea14fa0131 06:44:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:58 ---> Running in d696533acbdb 06:44:58 Removing intermediate container ca9bc736c4e8 06:44:58 ---> a1270a3cd73c 06:44:58 Step 4/23 : WORKDIR /device-sdk-go 06:44:58 Removing intermediate container d696533acbdb 06:44:58 ---> 409f20e23588 06:44:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:59 ---> Running in a5f2e8b55203 06:44:59 ---> Running in 42437d66a793 06:44:59 Removing intermediate container a5f2e8b55203 06:44:59 ---> 3b076faadcb0 06:44:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:59 ---> Running in aa17c2347876 06:45:00 Removing intermediate container aa17c2347876 06:45:00 ---> c182e6d81f47 06:45:00 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:00 ---> Running in 0c2ffcc09171 06:45:00 Removing intermediate container 42437d66a793 06:45:00 ---> 99bcf26d95a9 06:45:00 Step 7/23 : RUN apk add --update --no-cache make git 06:45:00 ---> Running in 6363a4e0881d 06:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:45:02 Removing intermediate container 0c2ffcc09171 06:45:02 ---> 2451910bf4fb 06:45:02 Step 7/23 : RUN apk add --update --no-cache make git 06:45:02 ---> Running in 6318dec5f53b 06:45:03 OK: 166 MiB in 39 packages 06:45:03 Removing intermediate container 6363a4e0881d 06:45:03 ---> e25eb963fcfa 06:45:03 Step 8/23 : COPY . . 06:45:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:45:04 ---> e3a3e8c5ebc8 06:45:04 Step 9/23 : RUN ${MAKE} 06:45:04 ---> Running in 6acf563af7c6 06:45:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:45:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:45:05 OK: 142 MiB in 39 packages 06:45:07 Removing intermediate container 6318dec5f53b 06:45:07 ---> 69300a957845 06:45:07 Step 8/23 : COPY . . 06:45:08 ---> 6a551454ddc2 06:45:08 Step 9/23 : RUN ${MAKE} 06:45:08 ---> Running in 1ac5d8081437 06:45:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:45:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:45:21 Removing intermediate container 6acf563af7c6 06:45:21 ---> 532320881414 06:45:21 Step 10/23 : FROM scratch 06:45:21 ---> 06:45:21 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:45:21 ---> Running in 58865e1f20af 06:45:21 Removing intermediate container 58865e1f20af 06:45:21 ---> ad9965c36a19 06:45:21 Step 12/23 : ENV APP_PORT=49990 06:45:21 ---> Running in 0cd52d39f3f3 06:45:21 Removing intermediate container 0cd52d39f3f3 06:45:21 ---> 5905295e1163 06:45:21 Step 13/23 : EXPOSE $APP_PORT 06:45:21 ---> Running in 2d03e0acd2c5 06:45:21 Removing intermediate container 2d03e0acd2c5 06:45:21 ---> 90c60abaa899 06:45:21 Step 14/23 : WORKDIR / 06:45:21 ---> Running in 28a0f3633574 06:45:22 Removing intermediate container 28a0f3633574 06:45:22 ---> 347c5a65dcb9 06:45:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:45:22 ---> 170afe2cfc85 06:45:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:45:23 ---> 5637a8d5349e 06:45:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:45:23 ---> 63c3295bf018 06:45:23 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:45:23 ---> 4d96f7f62200 06:45:23 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:45:24 ---> eeb0677a84b4 06:45:24 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:24 ---> Running in 4b2591bef46f 06:45:24 Removing intermediate container 4b2591bef46f 06:45:24 ---> 5896e20c4b4e 06:45:24 Step 21/23 : LABEL arch=amd64 06:45:24 ---> Running in 3e2176d5e399 06:45:24 Removing intermediate container 3e2176d5e399 06:45:24 ---> e8730d12aae2 06:45:24 Step 22/23 : LABEL git_sha=7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:45:24 ---> Running in 74213236146f 06:45:25 Removing intermediate container 74213236146f 06:45:25 ---> 853a07338246 06:45:25 Step 23/23 : LABEL version=0.0.0 06:45:25 ---> Running in b0afa6f6b552 06:45:25 Removing intermediate container b0afa6f6b552 06:45:25 ---> 4b738f6b14d1 06:45:25 [Warning] One or more build-args [ARCH] were not consumed 06:45:25 Successfully built 4b738f6b14d1 06:45:25 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] } 06:45:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:45:36 Removing intermediate container 1ac5d8081437 06:45:36 ---> 9d221f1429a4 06:45:36 Step 10/23 : FROM scratch 06:45:36 ---> 06:45:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:45:36 ---> Running in 6f58d45c11c2 06:45:36 Removing intermediate container 6f58d45c11c2 06:45:36 ---> c231394b8ada 06:45:36 Step 12/23 : ENV APP_PORT=49990 06:45:36 ---> Running in 720ccb3dbfe6 06:45:37 Removing intermediate container 720ccb3dbfe6 06:45:37 ---> 85939549e0e3 06:45:37 Step 13/23 : EXPOSE $APP_PORT 06:45:37 ---> Running in 5aae7961e262 06:45:38 Removing intermediate container 5aae7961e262 06:45:38 ---> 00a438b10fd1 06:45:38 Step 14/23 : WORKDIR / 06:45:38 ---> Running in 71ccdaad3219 06:45:38 Removing intermediate container 71ccdaad3219 06:45:38 ---> 84c7090138dd 06:45:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:45:39 ---> b1f30daf4e35 06:45:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:45:40 ---> b7eb38a7ad01 06:45:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:45:41 ---> 237703626e95 06:45:41 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:45:41 ---> c643b76c2574 06:45:41 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:45:42 ---> 80deecab4c35 06:45:42 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:42 ---> Running in 31d5c136b74b 06:45:43 Removing intermediate container 31d5c136b74b 06:45:43 ---> 9aeb6403bb21 06:45:43 Step 21/23 : LABEL arch=arm64 06:45:43 ---> Running in d880c20f6e21 06:45:44 Removing intermediate container d880c20f6e21 06:45:44 ---> acc0de8a18f2 06:45:44 Step 22/23 : LABEL git_sha=7a69a11030dc91ebff33a0a3de7422eba4b6131a 06:45:44 ---> Running in 0bf059113b69 06:45:44 Removing intermediate container 0bf059113b69 06:45:44 ---> 8fe48b142271 06:45:44 Step 23/23 : LABEL version=0.0.0 06:45:44 ---> Running in f7de719b2ec8 06:45:45 Removing intermediate container f7de719b2ec8 06:45:45 ---> 1ae112bc2892 06:45:45 [Warning] One or more build-args [ARCH] were not consumed 06:45:45 Successfully built 1ae112bc2892 06:45:45 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:45:46 provisioning config files... 06:45:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config8238920063689794743tmp [Pipeline] { [Pipeline] sh 06:45:47 + curl -s https://codecov.io/bash 06:45:47 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config8238920063689794743tmp [Pipeline] } 06:45:47 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 06:45:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:45:49 ---> package-listing.sh 06:45:49 ++ facter osfamily 06:45:49 ++ tr '[:upper:]' '[:lower:]' 06:45:49 + OS_FAMILY=redhat 06:45:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-563 06:45:49 + START_PACKAGES=/tmp/packages_start.txt 06:45:49 + END_PACKAGES=/tmp/packages_end.txt 06:45:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:45:49 + PACKAGES=/tmp/packages_start.txt 06:45:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-563 ']' 06:45:49 + PACKAGES=/tmp/packages_end.txt 06:45:49 + case "${OS_FAMILY}" in 06:45:49 + rpm -qa 06:45:49 + sort 06:45:53 + '[' -f /tmp/packages_start.txt ']' 06:45:53 + '[' -f /tmp/packages_end.txt ']' 06:45:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:45:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-563 ']' 06:45:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-563/archives/ 06:45:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-563/archives/ [Pipeline] isUnix [Pipeline] sh 06:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:45:54 06:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:45:54 alpine: Pulling from edgex-lftools-log-publisher 06:45:54 c9b1b535fdd9: Pulling fs layer 06:45:54 2cc5ad85d9ab: Pulling fs layer 06:45:54 756a868c4378: Pulling fs layer 06:45:54 444b2fc9a129: Pulling fs layer 06:45:54 ea15f1150254: Pulling fs layer 06:45:54 41b27a9f41bf: Pulling fs layer 06:45:54 28c525ee5125: Pulling fs layer 06:45:54 094b1ea09ed8: Pulling fs layer 06:45:54 138eaada9080: Pulling fs layer 06:45:54 0622d0fa9048: Pulling fs layer 06:45:54 41b27a9f41bf: Waiting 06:45:54 28c525ee5125: Waiting 06:45:54 094b1ea09ed8: Waiting 06:45:54 0622d0fa9048: Waiting 06:45:54 138eaada9080: Waiting 06:45:54 444b2fc9a129: Waiting 06:45:54 ea15f1150254: Waiting 06:45:54 2cc5ad85d9ab: Download complete 06:45:54 444b2fc9a129: Verifying Checksum 06:45:54 444b2fc9a129: Download complete 06:45:54 c9b1b535fdd9: Verifying Checksum 06:45:54 ea15f1150254: Download complete 06:45:54 28c525ee5125: Verifying Checksum 06:45:54 28c525ee5125: Download complete 06:45:54 756a868c4378: Verifying Checksum 06:45:54 756a868c4378: Download complete 06:45:55 138eaada9080: Verifying Checksum 06:45:55 138eaada9080: Download complete 06:45:55 c9b1b535fdd9: Pull complete 06:45:55 0622d0fa9048: Verifying Checksum 06:45:55 0622d0fa9048: Download complete 06:45:55 094b1ea09ed8: Verifying Checksum 06:45:55 094b1ea09ed8: Download complete 06:45:55 2cc5ad85d9ab: Pull complete 06:45:55 41b27a9f41bf: Download complete 06:45:57 756a868c4378: Pull complete 06:45:57 444b2fc9a129: Pull complete 06:45:57 ea15f1150254: Pull complete 06:46:01 41b27a9f41bf: Pull complete 06:46:01 28c525ee5125: Pull complete 06:46:04 094b1ea09ed8: Pull complete 06:46:04 138eaada9080: Pull complete 06:46:04 0622d0fa9048: Pull complete 06:46:04 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:46:04 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 06:46:04 $ 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-563 -v /w/workspace/dgexfoundry_device-sdk-go_PR-563:/w/workspace/dgexfoundry_device-sdk-go_PR-563:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-563@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 06:46:07 $ docker top 5122cca7c25850924f9c07aa11bdde05e8dcfa688169a61b3bc4b7b963589ee0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:07 provisioning config files... 06:46:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-563@tmp/config2333621028923374230tmp [Pipeline] { [Pipeline] echo 06:46:07 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:46:07 ---> create-netrc.sh [Pipeline] echo 06:46:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:46:08 ---> logs-deploy.sh 06:46:08 + ARCHIVE_ARTIFACTS= 06:46:08 + LOGS_SERVER=https://logs.edgexfoundry.org 06:46:08 + '[' https://logs.edgexfoundry.org == None ']' 06:46:08 + NEXUS_URL=https://nexus.edgexfoundry.org 06:46:08 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 06:46:08 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-563/2/ 06:46:08 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 /w/workspace/dgexfoundry_device-sdk-go_PR-563 06:46:09 Archives upload complete. 06:46:09 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-563/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-563/2/