Pull request #553 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) GitHub API Usage: Current quota has 3778 remaining (111 under budget). Next quota of 5000 in 54 min GitHub API Usage: Current quota has 3778 remaining (111 under budget). Next quota of 5000 in 54 min GitHub API Usage: Current quota has 3778 remaining (112 under budget). Next quota of 5000 in 54 min Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at f17d1be1b4849550bf30592997a90b8c252fbe34 rather than 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 Obtained Jenkinsfile from f17d1be1b4849550bf30592997a90b8c252fbe34 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1205 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 Merge succeeded, producing 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 Checking out Revision 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 Commit message: "refactor: Refactor processAsyncResults func to use goroutine" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:06:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:06:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:06:48 ========================================================= 03:06:48 EdgeX Global Pipelines Version Info 03:06:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 613581cbe05108dd36878c68c60f3a2934cd9965 # timeout=10 03:06:50 ------------------- 03:06:50 stable info: 03:06:50 ------------------- 03:06:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:06:50 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 03:06:50 Message: update stable to v1.0.106 03:06:50 ------------------- 03:06:50 experimental info: 03:06:50 ------------------- 03:06:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:06:50 Commit SHA: 30a0a69b1d8223a6590fc13400a32918a7eece87 03:06:50 Message: update experimental to v1.0.107 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:52 + git log --format=format:%s -1 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 [Pipeline] echo 03:06:52 GIT_COMMIT: 96c2a704fe5c7a0279e9f55a1acd17cbbe305576, Commit Message: refactor: Refactor processAsyncResults func to use goroutine [Pipeline] echo 03:06:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:06:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:53 03:06:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:06:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:54 latest: Pulling from edgex-devops/git-semver 03:06:54 31603596830f: Pulling fs layer 03:06:54 2a8b12db71e7: Pulling fs layer 03:06:54 6ca5941a6612: Pulling fs layer 03:06:54 ecc8261a40a4: Pulling fs layer 03:06:54 ecc8261a40a4: Waiting 03:06:54 2a8b12db71e7: Download complete 03:06:54 31603596830f: Verifying Checksum 03:06:54 31603596830f: Download complete 03:06:54 ecc8261a40a4: Verifying Checksum 03:06:54 ecc8261a40a4: Download complete 03:06:54 6ca5941a6612: Verifying Checksum 03:06:54 6ca5941a6612: Download complete 03:06:54 31603596830f: Pull complete 03:06:54 2a8b12db71e7: Pull complete 03:06:55 6ca5941a6612: Pull complete 03:06:55 ecc8261a40a4: Pull complete 03:06:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:06:55 prd-centos7-docker-4c-2g-1205 does not seem to be running inside a container 03:06:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:06:57 $ docker top 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:06:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:58 [ssh-agent] Looking for ssh-agent implementation... 03:06:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:58 $ docker exec 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 ssh-agent 03:06:58 SSH_AUTH_SOCK=/tmp/ssh-S92krzo5OA8Q/agent.11 03:06:58 SSH_AGENT_PID=16 03:06:58 Running ssh-add (command line suppressed) 03:06:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4086347729544797983.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_4086347729544797983.key) 03:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:06:58 + git describe --exact-match --tags HEAD 03:06:58 fatal: No names found, cannot describe anything. [Pipeline] } 03:06:58 $ docker exec --env ******** --env ******** 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 ssh-agent -k 03:06:59 unset SSH_AUTH_SOCK; 03:06:59 unset SSH_AGENT_PID; 03:06:59 echo Agent pid 16 killed; 03:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:06:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:06:59 This usually means this commit has not been tagged. [Pipeline] sshagent 03:06:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:59 [ssh-agent] Looking for ssh-agent implementation... 03:06:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:59 $ docker exec 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 ssh-agent 03:06:59 SSH_AUTH_SOCK=/tmp/ssh-IucjvoJpS9m8/agent.45 03:06:59 SSH_AGENT_PID=51 03:06:59 Running ssh-add (command line suppressed) 03:06:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_921907844680468247.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_921907844680468247.key) 03:06:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:00 + git semver init 03:07:00 # -> Open(): unable to determine branch for HEAD 03:07:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 03:07:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 03:07:00 # $SEMVER_REMOTE_NAME = origin 03:07:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:07:00 # $SEMVER_USER_NAME = edgex-jenkins 03:07:00 # $SEMVER_BRANCH = PR-553 03:07:00 # $SEMVER_TEMP = /tmp/semver-880351524 03:07:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:07:00 # '/tmp/semver-880351524' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 03:07:00 # -> Force: false 03:07:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 03:07:00 $ docker exec --env ******** --env ******** 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 ssh-agent -k 03:07:00 unset SSH_AUTH_SOCK; 03:07:00 unset SSH_AGENT_PID; 03:07:00 echo Agent pid 51 killed; 03:07:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:01 + git semver [Pipeline] } 03:07:01 $ docker stop --time=1 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 03:07:02 $ docker rm -f 502a8076ddd925647461e5f43c04e5631f0e8f63134f6a9356b410a6220e0e11 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:07:03 Stashed 24 file(s) [Pipeline] echo 03:07:03 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 03:07:03 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 03:07:19 Still waiting to schedule task 03:07:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:07:19 Still waiting to schedule task 03:07:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:09:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1206 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 03:09:00 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 03:09:05 using credential edgex-jenkins-ssh 03:09:05 Cloning the remote Git repository 03:09:05 Cloning with configured refspecs honoured and without tags 03:09:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:09:05 > git init /w/workspace/device-sdk-go/6 # timeout=10 03:09:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:05 > git --version # timeout=10 03:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:06 Fetching without tags 03:09:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:06 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 03:09:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:07 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:09:07 Merge succeeded, producing 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:09:07 Checking out Revision 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 (PR-553) 03:09:07 > git config core.sparsecheckout # timeout=10 03:09:07 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 03:09:07 > git remote # timeout=10 03:09:07 > git config --get remote.origin.url # timeout=10 03:09:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:07 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 03:09:07 > git rev-parse HEAD^{commit} # timeout=10 03:09:07 > git config core.sparsecheckout # timeout=10 03:09:07 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 03:09:11 Commit message: "refactor: Refactor processAsyncResults func to use goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:09:13 ========================================================= 03:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:09:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:09:14 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 03:09:15 Sending build context to Docker daemon 3.025MB 03:09:15 Step 1/8 : ARG BASE=golang:1.13-alpine 03:09:15 Step 2/8 : FROM ${BASE} 03:09:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:09:15 b538f80385f9: Pulling fs layer 03:09:15 74f711af9a0d: Pulling fs layer 03:09:15 99f96fe45779: Pulling fs layer 03:09:15 fd7a069fd194: Pulling fs layer 03:09:15 66aa3694b03b: Pulling fs layer 03:09:15 170f70906a0f: Pulling fs layer 03:09:15 ad7c5574e4b9: Pulling fs layer 03:09:15 e772456be8f7: Pulling fs layer 03:09:15 c890913d741a: Pulling fs layer 03:09:15 2480fcc9aa5a: Pulling fs layer 03:09:15 09adf4765672: Pulling fs layer 03:09:15 fd7a069fd194: Waiting 03:09:15 66aa3694b03b: Waiting 03:09:15 170f70906a0f: Waiting 03:09:15 ad7c5574e4b9: Waiting 03:09:15 e772456be8f7: Waiting 03:09:15 c890913d741a: Waiting 03:09:15 2480fcc9aa5a: Waiting 03:09:15 09adf4765672: Waiting 03:09:15 99f96fe45779: Verifying Checksum 03:09:15 99f96fe45779: Download complete 03:09:15 74f711af9a0d: Verifying Checksum 03:09:15 74f711af9a0d: Download complete 03:09:15 66aa3694b03b: Download complete 03:09:15 170f70906a0f: Verifying Checksum 03:09:15 170f70906a0f: Download complete 03:09:15 b538f80385f9: Verifying Checksum 03:09:15 b538f80385f9: Download complete 03:09:16 b538f80385f9: Pull complete 03:09:16 74f711af9a0d: Pull complete 03:09:17 99f96fe45779: Pull complete 03:09:18 ad7c5574e4b9: Verifying Checksum 03:09:18 ad7c5574e4b9: Download complete 03:09:18 c890913d741a: Verifying Checksum 03:09:18 c890913d741a: Download complete 03:09:20 2480fcc9aa5a: Verifying Checksum 03:09:20 2480fcc9aa5a: Download complete 03:09:20 09adf4765672: Download complete 03:09:21 fd7a069fd194: Verifying Checksum 03:09:21 fd7a069fd194: Download complete 03:09:21 e772456be8f7: Verifying Checksum 03:09:21 e772456be8f7: Download complete 03:09:31 Running on prd-centos7-docker-4c-2g-1207 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 03:09:31 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 03:09:33 fd7a069fd194: Pull complete 03:09:33 66aa3694b03b: Pull complete 03:09:33 170f70906a0f: Pull complete 03:09:33 using credential edgex-jenkins-ssh 03:09:34 Cloning the remote Git repository 03:09:34 Cloning with configured refspecs honoured and without tags 03:09:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:09:34 > git init /w/workspace/device-sdk-go/6 # timeout=10 03:09:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:34 > git --version # timeout=10 03:09:34 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:34 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 03:09:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:34 Fetching without tags 03:09:35 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:09:35 Merge succeeded, producing 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:09:35 Checking out Revision 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 (PR-553) 03:09:36 ad7c5574e4b9: Pull complete 03:09:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:09:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:09:34 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:09:35 > git config core.sparsecheckout # timeout=10 03:09:35 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 03:09:35 > git remote # timeout=10 03:09:35 > git config --get remote.origin.url # timeout=10 03:09:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:35 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 03:09:35 > git rev-parse HEAD^{commit} # timeout=10 03:09:35 > git config core.sparsecheckout # timeout=10 03:09:35 > git checkout -f 96c2a704fe5c7a0279e9f55a1acd17cbbe305576 # timeout=10 03:09:39 Commit message: "refactor: Refactor processAsyncResults func to use goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:09:39 ========================================================= 03:09:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:09:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:09:40 + 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 . 03:09:40 Sending build context to Docker daemon 3.024MB 03:09:40 Step 1/8 : ARG BASE=golang:1.13-alpine 03:09:40 Step 2/8 : FROM ${BASE} 03:09:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:09:40 df20fa9351a1: Pulling fs layer 03:09:40 ed8968b2872e: Pulling fs layer 03:09:40 a92cc7c5fd73: Pulling fs layer 03:09:40 2dd03ba5bac4: Pulling fs layer 03:09:40 1e091d79d1de: Pulling fs layer 03:09:40 481702a1767f: Pulling fs layer 03:09:40 f64a6f60c768: Pulling fs layer 03:09:40 e78d2573fc39: Pulling fs layer 03:09:40 e876d2f968b6: Pulling fs layer 03:09:40 ce8a83651883: Pulling fs layer 03:09:40 07967f4d0e4b: Pulling fs layer 03:09:40 f64a6f60c768: Waiting 03:09:40 e78d2573fc39: Waiting 03:09:40 e876d2f968b6: Waiting 03:09:40 2dd03ba5bac4: Waiting 03:09:40 1e091d79d1de: Waiting 03:09:40 ce8a83651883: Waiting 03:09:40 481702a1767f: Waiting 03:09:40 a92cc7c5fd73: Verifying Checksum 03:09:40 a92cc7c5fd73: Download complete 03:09:40 ed8968b2872e: Verifying Checksum 03:09:40 ed8968b2872e: Download complete 03:09:40 1e091d79d1de: Verifying Checksum 03:09:40 1e091d79d1de: Download complete 03:09:40 481702a1767f: Verifying Checksum 03:09:40 481702a1767f: Download complete 03:09:40 df20fa9351a1: Verifying Checksum 03:09:40 df20fa9351a1: Download complete 03:09:41 df20fa9351a1: Pull complete 03:09:41 e772456be8f7: Pull complete 03:09:41 c890913d741a: Pull complete 03:09:41 f64a6f60c768: Verifying Checksum 03:09:41 f64a6f60c768: Download complete 03:09:42 e876d2f968b6: Verifying Checksum 03:09:42 e876d2f968b6: Download complete 03:09:42 e78d2573fc39: Verifying Checksum 03:09:42 e78d2573fc39: Download complete 03:09:42 2dd03ba5bac4: Verifying Checksum 03:09:42 2dd03ba5bac4: Download complete 03:09:42 07967f4d0e4b: Verifying Checksum 03:09:42 07967f4d0e4b: Download complete 03:09:42 ce8a83651883: Download complete 03:09:43 2480fcc9aa5a: Pull complete 03:09:43 ed8968b2872e: Pull complete 03:09:43 09adf4765672: Pull complete 03:09:43 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:09:43 ---> 2248a725d1cf 03:09:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:09:43 a92cc7c5fd73: Pull complete 03:09:49 2dd03ba5bac4: Pull complete 03:09:49 ---> Running in 21e73998ad4d 03:09:49 1e091d79d1de: Pull complete 03:09:49 481702a1767f: Pull complete 03:09:49 Removing intermediate container 21e73998ad4d 03:09:49 ---> a2f702085f2d 03:09:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:09:49 ---> Running in 4cd849833a7f 03:09:52 Removing intermediate container 4cd849833a7f 03:09:52 ---> 70ddc77eac3b 03:09:52 Step 5/8 : RUN apk add --no-cache make git 03:09:52 ---> Running in f078f63a695c 03:09:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:09:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:09:55 OK: 142 MiB in 39 packages 03:09:55 f64a6f60c768: Pull complete 03:09:56 Removing intermediate container f078f63a695c 03:09:56 ---> caa338160230 03:09:56 Step 6/8 : WORKDIR /device-sdk-go 03:09:56 ---> Running in 8239d1d1d5d9 03:09:56 Removing intermediate container 8239d1d1d5d9 03:09:56 ---> 4ea45cbf5b64 03:09:56 Step 7/8 : COPY . . 03:09:58 ---> 0468190de3e6 03:09:58 Step 8/8 : RUN go mod download 03:09:58 ---> Running in 53c4a7bda617 03:09:58 e78d2573fc39: Pull complete 03:09:58 e876d2f968b6: Pull complete 03:09:59 ce8a83651883: Pull complete 03:10:00 07967f4d0e4b: Pull complete 03:10:00 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:10:00 ---> 5d7c900382c6 03:10:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:10:00 ---> Running in a35e75fec86c 03:10:00 go: finding github.com/BurntSushi/toml v0.3.1 03:10:00 go: finding github.com/OneOfOne/xxhash v1.2.6 03:10:00 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:10:00 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:10:00 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:10:00 go: finding github.com/bgentry/speakeasy v0.1.0 03:10:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:10:00 go: finding github.com/davecgh/go-spew v1.1.1 03:10:00 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:10:00 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:10:00 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:10:00 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:10:01 Removing intermediate container a35e75fec86c 03:10:01 ---> 59f4192c6a7f 03:10:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:01 ---> Running in c219cd79a2f4 03:10:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:10:01 go: finding github.com/fatih/color v1.7.0 03:10:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:10:01 go: finding github.com/go-kit/kit v0.8.0 03:10:01 go: finding github.com/go-logfmt/logfmt v0.4.0 03:10:01 go: finding github.com/go-stack/stack v1.8.0 03:10:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:10:01 go: finding github.com/google/uuid v1.1.0 03:10:01 go: finding github.com/gorilla/mux v1.7.1 03:10:01 go: finding github.com/hashicorp/consul/api v1.1.0 03:10:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:10:01 go: finding github.com/hashicorp/errwrap v1.0.0 03:10:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:10:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:10:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:10:01 go: finding github.com/hashicorp/go-multierror v1.0.0 03:10:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:10:01 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:10:01 go: finding github.com/hashicorp/go-syslog v1.0.0 03:10:01 go: finding github.com/hashicorp/go-uuid v1.0.1 03:10:01 go: finding github.com/hashicorp/go.net v0.0.1 03:10:01 go: finding github.com/hashicorp/golang-lru v0.5.0 03:10:01 go: finding github.com/hashicorp/logutils v1.0.0 03:10:01 go: finding github.com/hashicorp/mdns v1.0.0 03:10:01 go: finding github.com/hashicorp/memberlist v0.1.3 03:10:01 go: finding github.com/hashicorp/serf v0.8.2 03:10:01 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:10:01 go: finding github.com/mattn/go-colorable v0.0.9 03:10:01 go: finding github.com/mattn/go-isatty v0.0.3 03:10:01 go: finding github.com/miekg/dns v1.0.14 03:10:01 go: finding github.com/mitchellh/cli v1.0.0 03:10:01 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:10:01 go: finding github.com/mitchellh/copystructure v1.0.0 03:10:01 go: finding github.com/mitchellh/go-homedir v1.0.0 03:10:01 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:10:01 go: finding github.com/mitchellh/gox v0.4.0 03:10:01 go: finding github.com/mitchellh/iochan v1.0.0 03:10:01 go: finding github.com/mitchellh/mapstructure v1.1.2 03:10:01 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:10:01 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:10:01 go: finding github.com/pelletier/go-toml v1.2.0 03:10:01 Removing intermediate container c219cd79a2f4 03:10:01 ---> c9b78084d0b8 03:10:01 Step 5/8 : RUN apk add --no-cache make git 03:10:01 ---> Running in c28606bcca08 03:10:02 go: finding github.com/pkg/errors v0.8.1 03:10:02 go: finding github.com/pmezard/go-difflib v1.0.0 03:10:02 go: finding github.com/posener/complete v1.1.1 03:10:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:10:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:10:02 go: finding github.com/stretchr/objx v0.1.0 03:10:02 go: finding github.com/stretchr/testify v1.5.1 03:10:02 go: finding github.com/ugorji/go v1.1.4 03:10:02 go: finding github.com/x448/float16 v0.8.4 03:10:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:10:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:10:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:10:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:10:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:10:02 go: finding gopkg.in/yaml.v2 v2.2.8 03:10:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:10:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:10:03 OK: 166 MiB in 39 packages 03:10:04 Removing intermediate container c28606bcca08 03:10:04 ---> 421cacc77325 03:10:04 Step 6/8 : WORKDIR /device-sdk-go 03:10:04 ---> Running in 78caf012a95c 03:10:04 Removing intermediate container 78caf012a95c 03:10:04 ---> 74ebe26b316d 03:10:04 Step 7/8 : COPY . . 03:10:05 ---> bf9becb89e28 03:10:05 Step 8/8 : RUN go mod download 03:10:05 ---> Running in 69b88c6b8a44 03:10:07 go: finding github.com/BurntSushi/toml v0.3.1 03:10:07 go: finding github.com/OneOfOne/xxhash v1.2.6 03:10:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:10:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:10:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:10:07 go: finding github.com/bgentry/speakeasy v0.1.0 03:10:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:10:07 go: finding github.com/davecgh/go-spew v1.1.1 03:10:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:10:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:10:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:10:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:10:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:10:07 go: finding github.com/fatih/color v1.7.0 03:10:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:10:07 go: finding github.com/go-kit/kit v0.8.0 03:10:07 go: finding github.com/go-logfmt/logfmt v0.4.0 03:10:07 go: finding github.com/go-stack/stack v1.8.0 03:10:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:10:07 go: finding github.com/google/uuid v1.1.0 03:10:07 go: finding github.com/gorilla/mux v1.7.1 03:10:07 go: finding github.com/hashicorp/consul/api v1.1.0 03:10:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:10:07 go: finding github.com/hashicorp/errwrap v1.0.0 03:10:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:10:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:10:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:10:07 go: finding github.com/hashicorp/go-multierror v1.0.0 03:10:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:10:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:10:07 go: finding github.com/hashicorp/go-syslog v1.0.0 03:10:07 go: finding github.com/hashicorp/go-uuid v1.0.1 03:10:07 go: finding github.com/hashicorp/go.net v0.0.1 03:10:07 go: finding github.com/hashicorp/golang-lru v0.5.0 03:10:07 go: finding github.com/hashicorp/logutils v1.0.0 03:10:07 go: finding github.com/hashicorp/mdns v1.0.0 03:10:07 go: finding github.com/hashicorp/memberlist v0.1.3 03:10:08 go: finding github.com/hashicorp/serf v0.8.2 03:10:08 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:10:08 go: finding github.com/mattn/go-colorable v0.0.9 03:10:08 go: finding github.com/mattn/go-isatty v0.0.3 03:10:08 go: finding github.com/miekg/dns v1.0.14 03:10:08 go: finding github.com/mitchellh/cli v1.0.0 03:10:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:10:08 go: finding github.com/mitchellh/copystructure v1.0.0 03:10:08 go: finding github.com/mitchellh/go-homedir v1.0.0 03:10:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:10:08 go: finding github.com/mitchellh/gox v0.4.0 03:10:08 go: finding github.com/mitchellh/iochan v1.0.0 03:10:08 go: finding github.com/mitchellh/mapstructure v1.1.2 03:10:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:10:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:10:08 go: finding github.com/pelletier/go-toml v1.2.0 03:10:08 go: finding github.com/pkg/errors v0.8.1 03:10:08 go: finding github.com/pmezard/go-difflib v1.0.0 03:10:08 go: finding github.com/posener/complete v1.1.1 03:10:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:10:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:10:08 go: finding github.com/stretchr/objx v0.1.0 03:10:08 go: finding github.com/stretchr/testify v1.5.1 03:10:08 go: finding github.com/ugorji/go v1.1.4 03:10:08 go: finding github.com/x448/float16 v0.8.4 03:10:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:10:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:10:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:10:08 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:10:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:10:08 go: finding gopkg.in/yaml.v2 v2.2.8 03:10:12 Removing intermediate container 53c4a7bda617 03:10:12 ---> f12b7b5151af 03:10:12 Successfully built f12b7b5151af 03:10:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:10:13 + docker inspect -f . ci-base-image-arm64 03:10:13 . [Pipeline] withDockerContainer 03:10:13 prd-ubuntu18.04-docker-arm64-4c-16g-1206 does not seem to be running inside a container 03:10:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 03:10:15 $ docker top ade279bb1befc22512ffac99397004f0e044fd41c1eb62b4bac644fbe01bd8c0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:16 + go version 03:10:16 go version go1.13.13 linux/arm64 [Pipeline] sh 03:10:16 Removing intermediate container 69b88c6b8a44 03:10:16 ---> 633c485de138 03:10:16 Successfully built 633c485de138 03:10:16 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 03:10:17 + docker inspect -f . ci-base-image-x86_64 03:10:17 . [Pipeline] withDockerContainer 03:10:17 prd-centos7-docker-4c-2g-1207 does not seem to be running inside a container 03:10:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 03:10:17 + make test 03:10:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:10:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:10:18 $ docker top 49d38916fb66f301a6061a2b8e9b9c2f8a0eb51d6415d73aaf62255165fdd2c7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:19 + go version 03:10:19 go version go1.13.13 linux/amd64 [Pipeline] sh 03:10:19 + make test 03:10:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:10:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:10:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:10:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:10:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:10:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.1% of statements 03:10:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements 03:10:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:10:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:10:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:10:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements 03:10:50 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.159s coverage: 95.8% of statements 03:11:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 11.4% of statements 03:11:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 03:11:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:11:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.062s coverage: 36.9% of statements 03:11:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:11:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.337s coverage: 65.2% of statements 03:11:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:11:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:11:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:11:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements 03:11:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements 03:11:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:11:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:11:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:11:04 gofmt -l . 03:11:04 [ "`gofmt -l .`" = "" ] 03:11:04 ./bin/test-attribution-txt.sh 03:11:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:11:05 Stashed 1 file(s) [Pipeline] } 03:11:05 $ docker stop --time=1 49d38916fb66f301a6061a2b8e9b9c2f8a0eb51d6415d73aaf62255165fdd2c7 03:11:07 $ docker rm -f 49d38916fb66f301a6061a2b8e9b9c2f8a0eb51d6415d73aaf62255165fdd2c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:11:10 + ls -al . 03:11:10 total 188 03:11:10 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 28 03:11 . 03:11:10 drwxrwxr-x. 4 jenkins jenkins 28 Jul 28 03:09 .. 03:11:10 drwxrwxr-x. 3 jenkins jenkins 20 Jul 28 03:09 api 03:11:10 drwxrwxr-x. 2 jenkins jenkins 64 Jul 28 03:09 bin 03:11:10 -rw-r--r--. 1 jenkins jenkins 110877 Jul 28 03:11 coverage.out 03:11:10 -rw-rw-r--. 1 jenkins jenkins 936 Jul 28 03:09 Dockerfile.build 03:11:10 -rw-rw-r--. 1 jenkins jenkins 140 Jul 28 03:09 .dockerignore 03:11:10 drwxrwxr-x. 4 jenkins jenkins 48 Jul 28 03:09 example 03:11:10 drwxrwxr-x. 8 jenkins jenkins 179 Jul 28 03:09 .git 03:11:10 drwxrwxr-x. 2 jenkins jenkins 38 Jul 28 03:09 .github 03:11:10 -rw-rw-r--. 1 jenkins jenkins 138 Jul 28 03:09 .gitignore 03:11:10 -rw-r--r--. 1 jenkins jenkins 446 Jul 28 03:11 go.mod 03:11:10 -rw-r--r--. 1 jenkins jenkins 12179 Jul 28 03:11 go.sum 03:11:10 drwxrwxr-x. 13 jenkins jenkins 184 Jul 28 03:09 internal 03:11:10 -rw-rw-r--. 1 jenkins jenkins 808 Jul 28 03:09 Jenkinsfile 03:11:10 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 28 03:09 LICENSE 03:11:10 -rw-rw-r--. 1 jenkins jenkins 892 Jul 28 03:09 Makefile 03:11:10 drwxrwxr-x. 5 jenkins jenkins 50 Jul 28 03:09 pkg 03:11:10 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 28 03:09 README.md 03:11:10 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 28 03:09 RELEASE-NOTES.txt 03:11:10 drwxrwxr-x. 3 jenkins jenkins 58 Jul 28 03:09 .semver 03:11:10 drwxrwxr-x. 4 jenkins jenkins 54 Jul 28 03:09 snap 03:11:10 -rw-rw-r--. 1 jenkins jenkins 5 Jul 28 03:07 VERSION 03:11:10 -rw-rw-r--. 1 jenkins jenkins 222 Jul 28 03:09 version.go [Pipeline] isUnix [Pipeline] sh 03:11:10 + 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=96c2a704fe5c7a0279e9f55a1acd17cbbe305576 --label arch=amd64 --label version=0.0.0 . 03:11:10 Sending build context to Docker daemon 3.152MB 03:11:10 Step 1/23 : ARG BASE=golang:1.13-alpine 03:11:10 Step 2/23 : FROM ${BASE} AS builder 03:11:10 ---> 633c485de138 03:11:10 Step 3/23 : ARG MAKE='make build' 03:11:10 ---> Running in 563f9240ed9d 03:11:11 Removing intermediate container 563f9240ed9d 03:11:11 ---> bac7daaa76a3 03:11:11 Step 4/23 : WORKDIR /device-sdk-go 03:11:11 ---> Running in f3ee54a48136 03:11:11 Removing intermediate container f3ee54a48136 03:11:11 ---> bbb68781f470 03:11:11 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:11:11 ---> Running in 18e60db401ff 03:11:11 Removing intermediate container 18e60db401ff 03:11:11 ---> 187200623e63 03:11:11 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:11 ---> Running in ac942a64c549 03:11:12 Removing intermediate container ac942a64c549 03:11:12 ---> 2bc47436e04a 03:11:12 Step 7/23 : RUN apk add --update --no-cache make git 03:11:12 ---> Running in 1e8c42801635 03:11:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:11:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:11:19 OK: 166 MiB in 39 packages 03:11:20 Removing intermediate container 1e8c42801635 03:11:20 ---> 93a6a08cd6cb 03:11:20 Step 8/23 : COPY . . 03:11:21 ---> a7a2005ed043 03:11:21 Step 9/23 : RUN ${MAKE} 03:11:21 ---> Running in b9b907b174c6 03:11:21 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 03:11:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.089s coverage: 11.4% of statements 03:11:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.7% of statements 03:11:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:11:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.135s coverage: 36.9% of statements 03:11:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:11:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.584s coverage: 65.2% of statements 03:11:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:11:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:11:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:11:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 03:11:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 68.9% of statements 03:11:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:11:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:11:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:11:27 gofmt -l . 03:11:27 [ "`gofmt -l .`" = "" ] 03:11:27 ./bin/test-attribution-txt.sh 03:11:28 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:11:28 Warning: overwriting stash ‘coverage-report’ 03:11:29 Stashed 1 file(s) [Pipeline] } 03:11:29 $ docker stop --time=1 ade279bb1befc22512ffac99397004f0e044fd41c1eb62b4bac644fbe01bd8c0 03:11:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:11:30 Removing intermediate container b9b907b174c6 03:11:30 ---> 7355b612c42a 03:11:30 Step 10/23 : FROM scratch 03:11:30 ---> 03:11:30 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:11:30 ---> Running in 7d28c6ef87a1 03:11:31 Removing intermediate container 7d28c6ef87a1 03:11:31 ---> ea7b9c5c2296 03:11:31 Step 12/23 : ENV APP_PORT=49990 03:11:31 ---> Running in f7fd228de299 03:11:31 Removing intermediate container f7fd228de299 03:11:31 ---> 4766b5e4d9fa 03:11:31 Step 13/23 : EXPOSE $APP_PORT 03:11:31 ---> Running in 1b4ebd7a83de 03:11:31 Removing intermediate container 1b4ebd7a83de 03:11:31 ---> 46be47d54df0 03:11:31 Step 14/23 : WORKDIR / 03:11:31 ---> Running in 5cfb8b06bd76 03:11:31 $ docker rm -f ade279bb1befc22512ffac99397004f0e044fd41c1eb62b4bac644fbe01bd8c0 03:11:31 Removing intermediate container 5cfb8b06bd76 03:11:31 ---> 249db290b545 03:11:31 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 03:11:32 ---> 637313e2f984 03:11:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:11:32 ---> cabda9a054ff 03:11:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:32 ---> f03547b9bb60 03:11:32 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:11:32 + sudo chown -R jenkins:jenkins . 03:11:32 ---> d5af01d9e687 03:11:32 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] sh 03:11:33 ---> ebdfe6dfc88f 03:11:33 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:11:33 ---> Running in e8f6a317c223 03:11:33 Removing intermediate container e8f6a317c223 03:11:33 ---> 9587f3b60793 03:11:33 Step 21/23 : LABEL arch=amd64 03:11:33 + ls -al . 03:11:33 total 228 03:11:33 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 03:11 . 03:11:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 03:09 .. 03:11:33 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 03:09 .dockerignore 03:11:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 03:09 .git 03:11:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 03:09 .github 03:11:33 -rw-rw-r-- 1 jenkins jenkins 138 Jul 28 03:09 .gitignore 03:11:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 03:09 .semver 03:11:33 -rw-rw-r-- 1 jenkins jenkins 936 Jul 28 03:09 Dockerfile.build 03:11:33 -rw-rw-r-- 1 jenkins jenkins 808 Jul 28 03:09 Jenkinsfile 03:11:33 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 03:09 LICENSE 03:11:33 -rw-rw-r-- 1 jenkins jenkins 892 Jul 28 03:09 Makefile 03:11:33 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 28 03:09 README.md 03:11:33 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 28 03:09 RELEASE-NOTES.txt 03:11:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 03:07 VERSION 03:11:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 03:09 api 03:11:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 03:09 bin 03:11:33 -rw-r--r-- 1 jenkins jenkins 110877 Jul 28 03:11 coverage.out 03:11:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 03:09 example 03:11:33 -rw-r--r-- 1 jenkins jenkins 446 Jul 28 03:11 go.mod 03:11:33 -rw-r--r-- 1 jenkins jenkins 12179 Jul 28 03:11 go.sum 03:11:33 drwxrwxr-x 13 jenkins jenkins 4096 Jul 28 03:09 internal 03:11:33 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 03:09 pkg 03:11:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 03:09 snap 03:11:33 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 03:09 version.go [Pipeline] isUnix [Pipeline] sh 03:11:33 ---> Running in a996633194e2 03:11:33 Removing intermediate container a996633194e2 03:11:33 ---> 9fa3662d29c6 03:11:33 Step 22/23 : LABEL git_sha=96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:11:33 ---> Running in 8c0e20ebe23b 03:11:33 Removing intermediate container 8c0e20ebe23b 03:11:33 ---> 5c07ac7677ab 03:11:33 Step 23/23 : LABEL version=0.0.0 03:11:33 ---> Running in a963adac2bef 03:11:33 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=96c2a704fe5c7a0279e9f55a1acd17cbbe305576 --label arch=arm64 --label version=0.0.0 . 03:11:33 Removing intermediate container a963adac2bef 03:11:33 ---> 0002b1e27f90 03:11:33 [Warning] One or more build-args [ARCH] were not consumed 03:11:33 Successfully built 0002b1e27f90 03:11:33 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 03:11:33 Sending build context to Docker daemon 3.153MB [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 03:11:34 Step 1/23 : ARG BASE=golang:1.13-alpine 03:11:34 Step 2/23 : FROM ${BASE} AS builder 03:11:34 ---> f12b7b5151af 03:11:34 Step 3/23 : ARG MAKE='make build' 03:11:34 ---> Running in babc0c2e75af [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] } 03:11:34 Removing intermediate container babc0c2e75af 03:11:34 ---> c0743e7c6f5d 03:11:34 Step 4/23 : WORKDIR /device-sdk-go 03:11:34 ---> Running in e12c673b47fb [Pipeline] // stage [Pipeline] } 03:11:35 Removing intermediate container e12c673b47fb 03:11:35 ---> 4b637002fdf5 03:11:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:11:35 ---> Running in e5fe43e2e66f 03:11:35 Removing intermediate container e5fe43e2e66f 03:11:35 ---> c1e3c6919f4f 03:11:35 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:35 ---> Running in dce0d72401d6 03:11:38 Removing intermediate container dce0d72401d6 03:11:38 ---> 28730250783b 03:11:38 Step 7/23 : RUN apk add --update --no-cache make git 03:11:38 ---> Running in b04ef7713022 03:11:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:11:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:11:43 OK: 142 MiB in 39 packages 03:11:44 Removing intermediate container b04ef7713022 03:11:44 ---> b0b81855be0f 03:11:44 Step 8/23 : COPY . . 03:11:45 ---> d4fc2db22eb7 03:11:45 Step 9/23 : RUN ${MAKE} 03:11:45 ---> Running in 5bb2d77a2519 03:11:47 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 03:12:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:12:12 Removing intermediate container 5bb2d77a2519 03:12:12 ---> b831385bb4b1 03:12:12 Step 10/23 : FROM scratch 03:12:12 ---> 03:12:12 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:12:12 ---> Running in 69d5bbfacc39 03:12:12 Removing intermediate container 69d5bbfacc39 03:12:12 ---> a512f4396635 03:12:12 Step 12/23 : ENV APP_PORT=49990 03:12:12 ---> Running in e394bf40df71 03:12:13 Removing intermediate container e394bf40df71 03:12:13 ---> e13fe3aa413b 03:12:13 Step 13/23 : EXPOSE $APP_PORT 03:12:13 ---> Running in 0b2fd7672117 03:12:13 Removing intermediate container 0b2fd7672117 03:12:13 ---> 4a3db57b0759 03:12:13 Step 14/23 : WORKDIR / 03:12:13 ---> Running in 4c9a72f86fde 03:12:14 Removing intermediate container 4c9a72f86fde 03:12:14 ---> 95652bce2e41 03:12:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:12:15 ---> a46ff2b5d02b 03:12:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:12:16 ---> 29a96cdabac7 03:12:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:12:16 ---> 827c08e362c3 03:12:16 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:12:17 ---> e21b85cc99c9 03:12:17 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:12:18 ---> 15d34de17e7f 03:12:18 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:12:18 ---> Running in 8c338adba5b6 03:12:19 Removing intermediate container 8c338adba5b6 03:12:19 ---> 2441e2034a8b 03:12:19 Step 21/23 : LABEL arch=arm64 03:12:19 ---> Running in fce9f91ff12f 03:12:19 Removing intermediate container fce9f91ff12f 03:12:19 ---> 2ac933a1fccf 03:12:19 Step 22/23 : LABEL git_sha=96c2a704fe5c7a0279e9f55a1acd17cbbe305576 03:12:19 ---> Running in 7ac0294b52b9 03:12:19 Removing intermediate container 7ac0294b52b9 03:12:19 ---> 932b79e1a5ac 03:12:19 Step 23/23 : LABEL version=0.0.0 03:12:20 ---> Running in 78686bc3f99d 03:12:20 Removing intermediate container 78686bc3f99d 03:12:20 ---> bf66e92e93dc 03:12:20 [Warning] One or more build-args [ARCH] were not consumed 03:12:20 Successfully built bf66e92e93dc 03:12:20 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 03:12:22 provisioning config files... 03:12:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5214900383104919788tmp [Pipeline] { [Pipeline] sh 03:12:22 + curl -s https://codecov.io/bash 03:12:22 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5214900383104919788tmp [Pipeline] } 03:12:22 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 03:12:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:12:25 ---> package-listing.sh 03:12:25 ++ facter osfamily 03:12:25 ++ tr '[:upper:]' '[:lower:]' 03:12:25 + OS_FAMILY=redhat 03:12:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 03:12:25 + START_PACKAGES=/tmp/packages_start.txt 03:12:25 + END_PACKAGES=/tmp/packages_end.txt 03:12:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:12:25 + PACKAGES=/tmp/packages_start.txt 03:12:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 03:12:25 + PACKAGES=/tmp/packages_end.txt 03:12:25 + case "${OS_FAMILY}" in 03:12:25 + rpm -qa 03:12:25 + sort 03:12:28 + '[' -f /tmp/packages_start.txt ']' 03:12:28 + '[' -f /tmp/packages_end.txt ']' 03:12:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:12:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 03:12:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 03:12:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh 03:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:12:28 03:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:12:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:12:29 alpine: Pulling from edgex-lftools-log-publisher 03:12:29 c9b1b535fdd9: Pulling fs layer 03:12:29 2cc5ad85d9ab: Pulling fs layer 03:12:29 756a868c4378: Pulling fs layer 03:12:29 444b2fc9a129: Pulling fs layer 03:12:29 ea15f1150254: Pulling fs layer 03:12:29 41b27a9f41bf: Pulling fs layer 03:12:29 28c525ee5125: Pulling fs layer 03:12:29 094b1ea09ed8: Pulling fs layer 03:12:29 138eaada9080: Pulling fs layer 03:12:29 0622d0fa9048: Pulling fs layer 03:12:29 41b27a9f41bf: Waiting 03:12:29 28c525ee5125: Waiting 03:12:29 444b2fc9a129: Waiting 03:12:29 ea15f1150254: Waiting 03:12:29 094b1ea09ed8: Waiting 03:12:29 0622d0fa9048: Waiting 03:12:29 138eaada9080: Waiting 03:12:29 2cc5ad85d9ab: Verifying Checksum 03:12:29 2cc5ad85d9ab: Download complete 03:12:29 444b2fc9a129: Verifying Checksum 03:12:29 444b2fc9a129: Download complete 03:12:29 c9b1b535fdd9: Download complete 03:12:29 ea15f1150254: Verifying Checksum 03:12:29 ea15f1150254: Download complete 03:12:29 28c525ee5125: Verifying Checksum 03:12:29 28c525ee5125: Download complete 03:12:29 756a868c4378: Verifying Checksum 03:12:29 756a868c4378: Download complete 03:12:29 138eaada9080: Verifying Checksum 03:12:29 138eaada9080: Download complete 03:12:29 094b1ea09ed8: Verifying Checksum 03:12:29 094b1ea09ed8: Download complete 03:12:29 c9b1b535fdd9: Pull complete 03:12:29 0622d0fa9048: Verifying Checksum 03:12:29 0622d0fa9048: Download complete 03:12:30 2cc5ad85d9ab: Pull complete 03:12:30 41b27a9f41bf: Download complete 03:12:31 756a868c4378: Pull complete 03:12:31 444b2fc9a129: Pull complete 03:12:32 ea15f1150254: Pull complete 03:12:36 41b27a9f41bf: Pull complete 03:12:36 28c525ee5125: Pull complete 03:12:38 094b1ea09ed8: Pull complete 03:12:38 138eaada9080: Pull complete 03:12:39 0622d0fa9048: Pull complete 03:12:39 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:12:39 prd-centos7-docker-4c-2g-1205 does not seem to be running inside a container 03:12:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:12:43 $ docker top f469aeb1c487b94e07181b4efc9212248fd2a41a0c9c4f4ed120646d59ebf72f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:43 provisioning config files... 03:12:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5104748295088171535tmp [Pipeline] { [Pipeline] echo 03:12:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:12:43 ---> create-netrc.sh [Pipeline] echo 03:12:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:12:44 ---> logs-deploy.sh 03:12:44 + ARCHIVE_ARTIFACTS= 03:12:44 + LOGS_SERVER=https://logs.edgexfoundry.org 03:12:44 + '[' https://logs.edgexfoundry.org == None ']' 03:12:44 + NEXUS_URL=https://nexus.edgexfoundry.org 03:12:44 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/6 03:12:44 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/6/ 03:12:44 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/6 /w/workspace/dgexfoundry_device-sdk-go_PR-553 03:12:45 Archives upload complete. 03:12:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/6/