Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 rather than 1f491d42246a75cc09508320851612dec61855a7 Obtained Jenkinsfile from fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3336 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # timeout=10 Fetching without tags Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 1f491d42246a75cc09508320851612dec61855a7 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 Merge succeeded, producing f68b0ceb16f55af31286ab16d0b17e84c0743190 Checking out Revision f68b0ceb16f55af31286ab16d0b17e84c0743190 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # 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 fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f68b0ceb16f55af31286ab16d0b17e84c0743190 # timeout=10 Commit message: "Merge commit 'fefa48ab3c6640cefc89d86fa7501fc0a6c292e3' into HEAD" > git rev-list --no-walk 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:29 ========================================================= 02:42:29 EdgeX Global Pipelines Version Info 02:42:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:30 ------------------- 02:42:30 stable info: 02:42:30 ------------------- 02:42:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:30 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 02:42:30 Message: update stable to v1.0.106 02:42:31 ------------------- 02:42:31 experimental info: 02:42:31 ------------------- 02:42:31 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:31 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 02:42:31 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 02:42:33 + git log --format=format:%s -1 f68b0ceb16f55af31286ab16d0b17e84c0743190 [Pipeline] echo 02:42:33 GIT_COMMIT: f68b0ceb16f55af31286ab16d0b17e84c0743190, Commit Message: Merge commit 'fefa48ab3c6640cefc89d86fa7501fc0a6c292e3' into HEAD [Pipeline] echo 02:42:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:34 02:42:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:35 latest: Pulling from edgex-devops/git-semver 02:42:35 31603596830f: Pulling fs layer 02:42:35 2a8b12db71e7: Pulling fs layer 02:42:35 6ca5941a6612: Pulling fs layer 02:42:35 ecc8261a40a4: Pulling fs layer 02:42:35 ecc8261a40a4: Waiting 02:42:35 2a8b12db71e7: Verifying Checksum 02:42:35 2a8b12db71e7: Download complete 02:42:35 31603596830f: Verifying Checksum 02:42:35 31603596830f: Download complete 02:42:35 ecc8261a40a4: Verifying Checksum 02:42:35 ecc8261a40a4: Download complete 02:42:35 6ca5941a6612: Verifying Checksum 02:42:35 6ca5941a6612: Download complete 02:42:35 31603596830f: Pull complete 02:42:35 2a8b12db71e7: Pull complete 02:42:36 6ca5941a6612: Pull complete 02:42:37 ecc8261a40a4: Pull complete 02:42:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:37 prd-centos7-docker-4c-2g-3336 does not seem to be running inside a container 02:42:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:39 $ docker top 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:39 [ssh-agent] Looking for ssh-agent implementation... 02:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:40 $ docker exec 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 ssh-agent 02:42:40 SSH_AUTH_SOCK=/tmp/ssh-ZXHkB6U7zJ0d/agent.11 02:42:40 SSH_AGENT_PID=16 02:42:40 Running ssh-add (command line suppressed) 02:42:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6906925988587628666.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_6906925988587628666.key) 02:42:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:40 + git describe --exact-match --tags HEAD 02:42:40 fatal: No names found, cannot describe anything. [Pipeline] } 02:42:40 $ docker exec --env ******** --env ******** 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 ssh-agent -k 02:42:40 unset SSH_AUTH_SOCK; 02:42:40 unset SSH_AGENT_PID; 02:42:40 echo Agent pid 16 killed; 02:42:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:42:41 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:42:41 This usually means this commit has not been tagged. [Pipeline] sshagent 02:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:41 [ssh-agent] Looking for ssh-agent implementation... 02:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:41 $ docker exec 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 ssh-agent 02:42:41 SSH_AUTH_SOCK=/tmp/ssh-BgPbGFUcEYSD/agent.45 02:42:41 SSH_AGENT_PID=50 02:42:41 Running ssh-add (command line suppressed) 02:42:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1564563614468292217.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1564563614468292217.key) 02:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:41 + git semver init 02:42:41 # -> Open(): unable to determine branch for HEAD 02:42:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 02:42:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:42:41 # $SEMVER_REMOTE_NAME = origin 02:42:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:41 # $SEMVER_USER_NAME = edgex-jenkins 02:42:41 # $SEMVER_BRANCH = PR-553 02:42:41 # $SEMVER_TEMP = /tmp/semver-736553829 02:42:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:42 # '/tmp/semver-736553829' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 02:42:42 # -> Force: false 02:42:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 02:42:42 $ docker exec --env ******** --env ******** 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 ssh-agent -k 02:42:42 unset SSH_AUTH_SOCK; 02:42:42 unset SSH_AGENT_PID; 02:42:42 echo Agent pid 50 killed; 02:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:43 + git semver [Pipeline] } 02:42:43 $ docker stop --time=1 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 02:42:44 $ docker rm -f 33cdc28f6b76cf8d672448b1de47257cd7277f5d1856c3db04f15c9475b6b3c8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:42:45 Stashed 26 file(s) [Pipeline] echo 02:42:45 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 02:42:45 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:00 Still waiting to schedule task 02:43:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:00 Still waiting to schedule task 02:43:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3338 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:45:58 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:46:03 using credential edgex-jenkins-ssh 02:46:03 Cloning the remote Git repository 02:46:03 Cloning with configured refspecs honoured and without tags 02:46:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 > git --version # timeout=10 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:05 Fetching without tags 02:46:05 Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 1f491d42246a75cc09508320851612dec61855a7 02:46:06 Merge succeeded, producing 8a85048d7af25e0fb761ce0534536735dca42935 02:46:06 Checking out Revision 8a85048d7af25e0fb761ce0534536735dca42935 (PR-553) 02:46:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:05 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:46:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:05 > git config core.sparsecheckout # timeout=10 02:46:05 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 02:46:06 > git remote # timeout=10 02:46:06 > git config --get remote.origin.url # timeout=10 02:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:06 > git merge fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 02:46:06 > git rev-parse HEAD^{commit} # timeout=10 02:46:06 > git config core.sparsecheckout # timeout=10 02:46:06 > git checkout -f 8a85048d7af25e0fb761ce0534536735dca42935 # timeout=10 02:46:07 Running on prd-centos7-docker-4c-2g-3339 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 02:46:07 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:46:10 Commit message: "Merge commit 'fefa48ab3c6640cefc89d86fa7501fc0a6c292e3' into HEAD" 02:46:10 > git rev-list --no-walk 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:12 ========================================================= 02:46:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:46:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 02:46:14 Sending build context to Docker daemon 3.071MB 02:46:14 Step 1/8 : ARG BASE=golang:1.13-alpine 02:46:14 Step 2/8 : FROM ${BASE} 02:46:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:14 b538f80385f9: Pulling fs layer 02:46:14 74f711af9a0d: Pulling fs layer 02:46:14 99f96fe45779: Pulling fs layer 02:46:14 fd7a069fd194: Pulling fs layer 02:46:14 66aa3694b03b: Pulling fs layer 02:46:14 170f70906a0f: Pulling fs layer 02:46:14 fd7a069fd194: Waiting 02:46:14 66aa3694b03b: Waiting 02:46:14 ad7c5574e4b9: Pulling fs layer 02:46:14 e772456be8f7: Pulling fs layer 02:46:14 c890913d741a: Pulling fs layer 02:46:14 2480fcc9aa5a: Pulling fs layer 02:46:14 09adf4765672: Pulling fs layer 02:46:14 170f70906a0f: Waiting 02:46:14 ad7c5574e4b9: Waiting 02:46:14 2480fcc9aa5a: Waiting 02:46:14 e772456be8f7: Waiting 02:46:14 09adf4765672: Waiting 02:46:14 c890913d741a: Waiting 02:46:14 99f96fe45779: Verifying Checksum 02:46:14 99f96fe45779: Download complete 02:46:14 74f711af9a0d: Verifying Checksum 02:46:14 74f711af9a0d: Download complete 02:46:14 66aa3694b03b: Download complete 02:46:14 170f70906a0f: Verifying Checksum 02:46:14 170f70906a0f: Download complete 02:46:14 b538f80385f9: Verifying Checksum 02:46:14 b538f80385f9: Download complete 02:46:15 b538f80385f9: Pull complete 02:46:15 74f711af9a0d: Pull complete 02:46:16 99f96fe45779: Pull complete 02:46:17 ad7c5574e4b9: Verifying Checksum 02:46:17 ad7c5574e4b9: Download complete 02:46:17 c890913d741a: Verifying Checksum 02:46:17 c890913d741a: Download complete 02:46:18 using credential edgex-jenkins-ssh 02:46:18 Cloning the remote Git repository 02:46:18 Cloning with configured refspecs honoured and without tags 02:46:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:18 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:46:19 2480fcc9aa5a: Verifying Checksum 02:46:19 2480fcc9aa5a: Download complete 02:46:19 09adf4765672: Verifying Checksum 02:46:19 09adf4765672: Download complete 02:46:19 e772456be8f7: Verifying Checksum 02:46:19 e772456be8f7: Download complete 02:46:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:19 > git --version # timeout=10 02:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:20 fd7a069fd194: Verifying Checksum 02:46:20 fd7a069fd194: Download complete 02:46:20 Fetching without tags 02:46:21 Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 1f491d42246a75cc09508320851612dec61855a7 02:46:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:20 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 02:46:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:21 > git config core.sparsecheckout # timeout=10 02:46:21 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 02:46:21 > git remote # timeout=10 02:46:21 > git config --get remote.origin.url # timeout=10 02:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:22 Merge succeeded, producing 71b72e080e4613aad4b2f4d40bf80b1f363903cb 02:46:22 Checking out Revision 71b72e080e4613aad4b2f4d40bf80b1f363903cb (PR-553) 02:46:21 > git merge fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 02:46:22 > git rev-parse HEAD^{commit} # timeout=10 02:46:22 > git config core.sparsecheckout # timeout=10 02:46:22 > git checkout -f 71b72e080e4613aad4b2f4d40bf80b1f363903cb # timeout=10 02:46:27 Commit message: "Merge commit 'fefa48ab3c6640cefc89d86fa7501fc0a6c292e3' into HEAD" 02:46:27 > git rev-list --no-walk 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:29 ========================================================= 02:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:46:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 02:46:32 Sending build context to Docker daemon 3.069MB 02:46:32 Step 1/8 : ARG BASE=golang:1.13-alpine 02:46:32 Step 2/8 : FROM ${BASE} 02:46:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:32 df20fa9351a1: Pulling fs layer 02:46:32 ed8968b2872e: Pulling fs layer 02:46:32 a92cc7c5fd73: Pulling fs layer 02:46:32 2dd03ba5bac4: Pulling fs layer 02:46:32 1e091d79d1de: Pulling fs layer 02:46:32 481702a1767f: Pulling fs layer 02:46:32 f64a6f60c768: Pulling fs layer 02:46:32 e78d2573fc39: Pulling fs layer 02:46:32 e876d2f968b6: Pulling fs layer 02:46:32 ce8a83651883: Pulling fs layer 02:46:32 07967f4d0e4b: Pulling fs layer 02:46:32 f64a6f60c768: Waiting 02:46:32 e78d2573fc39: Waiting 02:46:32 e876d2f968b6: Waiting 02:46:32 ce8a83651883: Waiting 02:46:32 07967f4d0e4b: Waiting 02:46:32 2dd03ba5bac4: Waiting 02:46:32 1e091d79d1de: Waiting 02:46:32 481702a1767f: Waiting 02:46:32 a92cc7c5fd73: Verifying Checksum 02:46:32 a92cc7c5fd73: Download complete 02:46:32 ed8968b2872e: Verifying Checksum 02:46:32 ed8968b2872e: Download complete 02:46:32 1e091d79d1de: Download complete 02:46:32 fd7a069fd194: Pull complete 02:46:32 66aa3694b03b: Pull complete 02:46:32 170f70906a0f: Pull complete 02:46:32 481702a1767f: Verifying Checksum 02:46:32 481702a1767f: Download complete 02:46:32 df20fa9351a1: Verifying Checksum 02:46:32 df20fa9351a1: Download complete 02:46:33 df20fa9351a1: Pull complete 02:46:34 ed8968b2872e: Pull complete 02:46:35 a92cc7c5fd73: Pull complete 02:46:36 ad7c5574e4b9: Pull complete 02:46:37 2dd03ba5bac4: Verifying Checksum 02:46:37 2dd03ba5bac4: Download complete 02:46:37 f64a6f60c768: Verifying Checksum 02:46:37 f64a6f60c768: Download complete 02:46:37 e876d2f968b6: Verifying Checksum 02:46:37 e876d2f968b6: Download complete 02:46:37 07967f4d0e4b: Verifying Checksum 02:46:37 07967f4d0e4b: Download complete 02:46:37 e78d2573fc39: Verifying Checksum 02:46:37 e78d2573fc39: Download complete 02:46:38 ce8a83651883: Verifying Checksum 02:46:38 ce8a83651883: Download complete 02:46:40 e772456be8f7: Pull complete 02:46:40 c890913d741a: Pull complete 02:46:43 2480fcc9aa5a: Pull complete 02:46:43 09adf4765672: Pull complete 02:46:43 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 02:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:46:43 ---> 2248a725d1cf 02:46:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:48 2dd03ba5bac4: Pull complete 02:46:48 1e091d79d1de: Pull complete 02:46:48 481702a1767f: Pull complete 02:46:48 ---> Running in caeb64622927 02:46:48 Removing intermediate container caeb64622927 02:46:48 ---> b386ce65c367 02:46:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:48 ---> Running in c7e85f9ec733 02:46:51 Removing intermediate container c7e85f9ec733 02:46:51 ---> 49355651b54d 02:46:51 Step 5/8 : RUN apk add --no-cache make git 02:46:51 ---> Running in f94ee6a8949b 02:46:52 f64a6f60c768: Pull complete 02:46:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:55 OK: 142 MiB in 39 packages 02:46:56 e78d2573fc39: Pull complete 02:46:56 Removing intermediate container f94ee6a8949b 02:46:56 ---> c62b86879e0b 02:46:56 Step 6/8 : WORKDIR /device-sdk-go 02:46:56 ---> Running in a4697cd2286c 02:46:56 e876d2f968b6: Pull complete 02:46:57 Removing intermediate container a4697cd2286c 02:46:57 ---> 9980740bb852 02:46:57 Step 7/8 : COPY . . 02:46:58 ---> 155a1eaaa451 02:46:58 Step 8/8 : RUN go mod download 02:46:58 ---> Running in dbbebb42a5b6 02:46:58 ce8a83651883: Pull complete 02:46:58 07967f4d0e4b: Pull complete 02:46:58 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 02:46:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:46:58 ---> 5d7c900382c6 02:46:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:00 ---> Running in 5f80cee2ad14 02:47:00 Removing intermediate container 5f80cee2ad14 02:47:00 ---> cdbd2a9184cb 02:47:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:00 ---> Running in 5860c42f8eaf 02:47:01 go: finding github.com/BurntSushi/toml v0.3.1 02:47:01 go: finding github.com/OneOfOne/xxhash v1.2.6 02:47:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:47:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:47:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:47:01 go: finding github.com/bgentry/speakeasy v0.1.0 02:47:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:47:01 go: finding github.com/davecgh/go-spew v1.1.1 02:47:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 02:47:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:47:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:47:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:47:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:47:01 go: finding github.com/fatih/color v1.7.0 02:47:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:47:01 go: finding github.com/go-kit/kit v0.8.0 02:47:01 go: finding github.com/go-logfmt/logfmt v0.4.0 02:47:01 go: finding github.com/go-stack/stack v1.8.0 02:47:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:47:01 go: finding github.com/google/uuid v1.1.0 02:47:01 go: finding github.com/gorilla/mux v1.7.1 02:47:01 go: finding github.com/hashicorp/consul/api v1.1.0 02:47:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:47:01 go: finding github.com/hashicorp/errwrap v1.0.0 02:47:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:47:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:47:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:47:01 go: finding github.com/hashicorp/go-multierror v1.0.0 02:47:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:47:01 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:47:01 go: finding github.com/hashicorp/go-syslog v1.0.0 02:47:02 go: finding github.com/hashicorp/go-uuid v1.0.1 02:47:02 go: finding github.com/hashicorp/go.net v0.0.1 02:47:02 go: finding github.com/hashicorp/golang-lru v0.5.0 02:47:02 go: finding github.com/hashicorp/logutils v1.0.0 02:47:02 go: finding github.com/hashicorp/mdns v1.0.0 02:47:02 go: finding github.com/hashicorp/memberlist v0.1.3 02:47:02 go: finding github.com/hashicorp/serf v0.8.2 02:47:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:47:02 go: finding github.com/mattn/go-colorable v0.0.9 02:47:02 Removing intermediate container 5860c42f8eaf 02:47:02 ---> add1758f0399 02:47:02 Step 5/8 : RUN apk add --no-cache make git 02:47:02 ---> Running in eeb5db269db5 02:47:02 go: finding github.com/mattn/go-isatty v0.0.3 02:47:02 go: finding github.com/miekg/dns v1.0.14 02:47:02 go: finding github.com/mitchellh/cli v1.0.0 02:47:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:47:02 go: finding github.com/mitchellh/copystructure v1.0.0 02:47:02 go: finding github.com/mitchellh/go-homedir v1.0.0 02:47:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:47:02 go: finding github.com/mitchellh/gox v0.4.0 02:47:02 go: finding github.com/mitchellh/iochan v1.0.0 02:47:02 go: finding github.com/mitchellh/mapstructure v1.1.2 02:47:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:47:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:47:02 go: finding github.com/pelletier/go-toml v1.2.0 02:47:02 go: finding github.com/pkg/errors v0.8.1 02:47:02 go: finding github.com/pmezard/go-difflib v1.0.0 02:47:02 go: finding github.com/posener/complete v1.1.1 02:47:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:47:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:47:02 go: finding github.com/stretchr/objx v0.1.0 02:47:02 go: finding github.com/stretchr/testify v1.5.1 02:47:02 go: finding github.com/ugorji/go v1.1.4 02:47:02 go: finding github.com/x448/float16 v0.8.4 02:47:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:47:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:47:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:47:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:47:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:47:02 go: finding gopkg.in/yaml.v2 v2.2.8 02:47:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:05 OK: 166 MiB in 39 packages 02:47:05 Removing intermediate container eeb5db269db5 02:47:05 ---> aec5642f6322 02:47:05 Step 6/8 : WORKDIR /device-sdk-go 02:47:05 ---> Running in 0e469a4f0dd0 02:47:06 Removing intermediate container 0e469a4f0dd0 02:47:06 ---> c7cd32281142 02:47:06 Step 7/8 : COPY . . 02:47:07 ---> 55a3e145a22a 02:47:07 Step 8/8 : RUN go mod download 02:47:07 ---> Running in e0c19ee59a5d 02:47:10 go: finding github.com/BurntSushi/toml v0.3.1 02:47:10 go: finding github.com/OneOfOne/xxhash v1.2.6 02:47:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:47:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:47:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:47:10 go: finding github.com/bgentry/speakeasy v0.1.0 02:47:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:47:10 go: finding github.com/davecgh/go-spew v1.1.1 02:47:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 02:47:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:47:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:47:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:47:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:47:10 go: finding github.com/fatih/color v1.7.0 02:47:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:47:10 go: finding github.com/go-kit/kit v0.8.0 02:47:10 go: finding github.com/go-logfmt/logfmt v0.4.0 02:47:10 go: finding github.com/go-stack/stack v1.8.0 02:47:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:47:10 go: finding github.com/google/uuid v1.1.0 02:47:10 go: finding github.com/gorilla/mux v1.7.1 02:47:10 go: finding github.com/hashicorp/consul/api v1.1.0 02:47:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:47:10 go: finding github.com/hashicorp/errwrap v1.0.0 02:47:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:47:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:47:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:47:10 go: finding github.com/hashicorp/go-multierror v1.0.0 02:47:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:47:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:47:10 go: finding github.com/hashicorp/go-syslog v1.0.0 02:47:10 go: finding github.com/hashicorp/go-uuid v1.0.1 02:47:10 go: finding github.com/hashicorp/go.net v0.0.1 02:47:10 go: finding github.com/hashicorp/golang-lru v0.5.0 02:47:11 go: finding github.com/hashicorp/logutils v1.0.0 02:47:11 go: finding github.com/hashicorp/mdns v1.0.0 02:47:11 go: finding github.com/hashicorp/memberlist v0.1.3 02:47:11 go: finding github.com/hashicorp/serf v0.8.2 02:47:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:47:11 go: finding github.com/mattn/go-colorable v0.0.9 02:47:11 go: finding github.com/mattn/go-isatty v0.0.3 02:47:11 go: finding github.com/miekg/dns v1.0.14 02:47:11 go: finding github.com/mitchellh/cli v1.0.0 02:47:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:47:11 go: finding github.com/mitchellh/copystructure v1.0.0 02:47:11 go: finding github.com/mitchellh/go-homedir v1.0.0 02:47:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:47:11 go: finding github.com/mitchellh/gox v0.4.0 02:47:11 go: finding github.com/mitchellh/iochan v1.0.0 02:47:11 go: finding github.com/mitchellh/mapstructure v1.1.2 02:47:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:47:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:47:11 go: finding github.com/pelletier/go-toml v1.2.0 02:47:11 go: finding github.com/pkg/errors v0.8.1 02:47:11 go: finding github.com/pmezard/go-difflib v1.0.0 02:47:11 go: finding github.com/posener/complete v1.1.1 02:47:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:47:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:47:11 go: finding github.com/stretchr/objx v0.1.0 02:47:11 go: finding github.com/stretchr/testify v1.5.1 02:47:11 go: finding github.com/ugorji/go v1.1.4 02:47:11 go: finding github.com/x448/float16 v0.8.4 02:47:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:47:11 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:47:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:47:11 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:47:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:47:11 go: finding gopkg.in/yaml.v2 v2.2.8 02:47:13 Removing intermediate container dbbebb42a5b6 02:47:13 ---> b79f50933ea0 02:47:13 Successfully built b79f50933ea0 02:47:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:13 + docker inspect -f . ci-base-image-arm64 02:47:13 . [Pipeline] withDockerContainer 02:47:14 prd-ubuntu18.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container 02:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:16 $ docker top 870b5c8086ec5b30f6265f844f81676b7429108276b152c59d90f2a720f20f83 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:17 + go version 02:47:17 go version go1.13.13 linux/arm64 [Pipeline] sh 02:47:18 + make test 02:47:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:47:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:20 Removing intermediate container e0c19ee59a5d 02:47:20 ---> 678017b76478 02:47:20 Successfully built 678017b76478 02:47:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:21 + docker inspect -f . ci-base-image-x86_64 02:47:21 . [Pipeline] withDockerContainer 02:47:21 prd-centos7-docker-4c-2g-3339 does not seem to be running inside a container 02:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:23 $ docker top 3e1b0907297b6672b9bd03796076cbedee5261aa3c1b6c2d4e2310b90620adbc -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:23 + go version 02:47:24 go version go1.13.13 linux/amd64 [Pipeline] sh 02:47:24 + make test 02:47:24 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:47:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 22.1% of statements 02:47:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 95.8% of statements 02:47:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 22.1% of statements 02:47:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.8% of statements 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.6% of statements 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.178s coverage: 36.9% of statements 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.724s coverage: 65.2% of statements 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements 02:48:15 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.117s coverage: 68.9% of statements 02:48:15 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:48:15 gofmt -l . 02:48:15 [ "`gofmt -l .`" = "" ] 02:48:16 ./bin/test-attribution-txt.sh 02:48:17 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:48:18 Stashed 1 file(s) [Pipeline] } 02:48:18 $ docker stop --time=1 3e1b0907297b6672b9bd03796076cbedee5261aa3c1b6c2d4e2310b90620adbc 02:48:20 $ docker rm -f 3e1b0907297b6672b9bd03796076cbedee5261aa3c1b6c2d4e2310b90620adbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:21 + ls -al . 02:48:21 total 188 02:48:21 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 11 02:48 . 02:48:21 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 02:46 .. 02:48:21 drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 02:46 bin 02:48:21 -rw-r--r--. 1 jenkins jenkins 110880 Aug 11 02:48 coverage.out 02:48:21 -rw-rw-r--. 1 jenkins jenkins 936 Aug 11 02:46 Dockerfile.build 02:48:21 -rw-rw-r--. 1 jenkins jenkins 140 Aug 11 02:46 .dockerignore 02:48:21 drwxrwxr-x. 4 jenkins jenkins 48 Aug 11 02:46 example 02:48:21 drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 02:46 .git 02:48:21 drwxrwxr-x. 2 jenkins jenkins 38 Aug 11 02:46 .github 02:48:21 -rw-rw-r--. 1 jenkins jenkins 138 Aug 11 02:46 .gitignore 02:48:21 -rw-r--r--. 1 jenkins jenkins 446 Aug 11 02:48 go.mod 02:48:21 -rw-r--r--. 1 jenkins jenkins 12179 Aug 11 02:48 go.sum 02:48:21 drwxrwxr-x. 13 jenkins jenkins 184 Aug 11 02:46 internal 02:48:21 -rw-rw-r--. 1 jenkins jenkins 808 Aug 11 02:46 Jenkinsfile 02:48:21 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 11 02:46 LICENSE 02:48:21 -rw-rw-r--. 1 jenkins jenkins 892 Aug 11 02:46 Makefile 02:48:21 drwxrwxr-x. 4 jenkins jenkins 26 Aug 11 02:46 openapi 02:48:21 drwxrwxr-x. 5 jenkins jenkins 50 Aug 11 02:46 pkg 02:48:21 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 11 02:46 README.md 02:48:21 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 11 02:46 RELEASE-NOTES.txt 02:48:21 drwxrwxr-x. 3 jenkins jenkins 58 Aug 11 02:46 .semver 02:48:21 drwxrwxr-x. 4 jenkins jenkins 54 Aug 11 02:46 snap 02:48:21 -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 02:42 VERSION 02:48:21 -rw-rw-r--. 1 jenkins jenkins 222 Aug 11 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:22 + 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=f68b0ceb16f55af31286ab16d0b17e84c0743190 --label arch=amd64 --label version=0.0.0 . 02:48:22 Sending build context to Docker daemon 3.197MB 02:48:22 Step 1/23 : ARG BASE=golang:1.13-alpine 02:48:22 Step 2/23 : FROM ${BASE} AS builder 02:48:22 ---> 678017b76478 02:48:22 Step 3/23 : ARG MAKE='make build' 02:48:22 ---> Running in b0fdfa44f99c 02:48:22 Removing intermediate container b0fdfa44f99c 02:48:22 ---> 3b1da1f59f51 02:48:22 Step 4/23 : WORKDIR /device-sdk-go 02:48:23 ---> Running in 4dd389ccbf3f 02:48:23 Removing intermediate container 4dd389ccbf3f 02:48:23 ---> ddb5c9cf9dd8 02:48:23 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:23 ---> Running in 184307887c1d 02:48:23 Removing intermediate container 184307887c1d 02:48:23 ---> 6f1a24d226d5 02:48:23 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.6% of statements 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.164s coverage: 36.9% of statements 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 65.2% of statements 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements 02:48:23 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.355s coverage: 68.9% of statements 02:48:23 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:48:23 ---> Running in 0f6a1c93ea6e 02:48:24 Removing intermediate container 0f6a1c93ea6e 02:48:24 ---> 0bb6e5ec77d6 02:48:24 Step 7/23 : RUN apk add --update --no-cache make git 02:48:25 ---> Running in 7ee0401ab4d9 02:48:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:27 gofmt -l . 02:48:27 [ "`gofmt -l .`" = "" ] 02:48:27 OK: 166 MiB in 39 packages 02:48:27 ./bin/test-attribution-txt.sh 02:48:27 ./bin/test-go-mod-tidy.sh 02:48:28 Removing intermediate container 7ee0401ab4d9 02:48:28 ---> f5783e84fff0 02:48:28 Step 8/23 : COPY . . [Pipeline] stash 02:48:28 Warning: overwriting stash ‘coverage-report’ 02:48:29 ---> 3fab7d7fb1a9 02:48:29 Step 9/23 : RUN ${MAKE} 02:48:29 ---> Running in 980e64e621bb 02:48:29 Stashed 1 file(s) [Pipeline] } 02:48:29 $ docker stop --time=1 870b5c8086ec5b30f6265f844f81676b7429108276b152c59d90f2a720f20f83 02:48:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:31 $ docker rm -f 870b5c8086ec5b30f6265f844f81676b7429108276b152c59d90f2a720f20f83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:33 + ls -al . 02:48:33 total 228 02:48:33 drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 02:48 . 02:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 02:46 .. 02:48:33 -rw-rw-r-- 1 jenkins jenkins 140 Aug 11 02:46 .dockerignore 02:48:33 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 02:46 .git 02:48:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 02:46 .github 02:48:33 -rw-rw-r-- 1 jenkins jenkins 138 Aug 11 02:46 .gitignore 02:48:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 02:46 .semver 02:48:33 -rw-rw-r-- 1 jenkins jenkins 936 Aug 11 02:46 Dockerfile.build 02:48:33 -rw-rw-r-- 1 jenkins jenkins 808 Aug 11 02:46 Jenkinsfile 02:48:33 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 11 02:46 LICENSE 02:48:33 -rw-rw-r-- 1 jenkins jenkins 892 Aug 11 02:46 Makefile 02:48:33 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 11 02:46 README.md 02:48:33 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 11 02:46 RELEASE-NOTES.txt 02:48:33 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 02:42 VERSION 02:48:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 02:46 bin 02:48:33 -rw-r--r-- 1 jenkins jenkins 110880 Aug 11 02:48 coverage.out 02:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 02:46 example 02:48:33 -rw-r--r-- 1 jenkins jenkins 446 Aug 11 02:48 go.mod 02:48:33 -rw-r--r-- 1 jenkins jenkins 12179 Aug 11 02:48 go.sum 02:48:33 drwxrwxr-x 13 jenkins jenkins 4096 Aug 11 02:46 internal 02:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 02:46 openapi 02:48:33 drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 02:46 pkg 02:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 02:46 snap 02:48:33 -rw-rw-r-- 1 jenkins jenkins 222 Aug 11 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48: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=f68b0ceb16f55af31286ab16d0b17e84c0743190 --label arch=arm64 --label version=0.0.0 . 02:48:33 Sending build context to Docker daemon 3.199MB 02:48:34 Step 1/23 : ARG BASE=golang:1.13-alpine 02:48:34 Step 2/23 : FROM ${BASE} AS builder 02:48:34 ---> b79f50933ea0 02:48:34 Step 3/23 : ARG MAKE='make build' 02:48:34 ---> Running in dc93c012a935 02:48:34 Removing intermediate container dc93c012a935 02:48:34 ---> da4390f5dd67 02:48:34 Step 4/23 : WORKDIR /device-sdk-go 02:48:35 ---> Running in be5ebf9edd36 02:48:35 Removing intermediate container be5ebf9edd36 02:48:35 ---> 1ce04e017fbb 02:48:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:35 ---> Running in 7b5be80ed409 02:48:35 Removing intermediate container 7b5be80ed409 02:48:35 ---> 4a9806256463 02:48:35 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:36 ---> Running in 0428154d29cf 02:48:38 Removing intermediate container 0428154d29cf 02:48:38 ---> 58d25b772577 02:48:38 Step 7/23 : RUN apk add --update --no-cache make git 02:48:38 ---> Running in 8a9ef9088d96 02:48:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:41 OK: 142 MiB in 39 packages 02:48:43 Removing intermediate container 8a9ef9088d96 02:48:43 ---> 83f94a950f4b 02:48:43 Step 8/23 : COPY . . 02:48:44 ---> 1a99a5ae741e 02:48:44 Step 9/23 : RUN ${MAKE} 02:48:44 ---> Running in d34e7a1d6bf7 02:48:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:48 Removing intermediate container 980e64e621bb 02:48:48 ---> fa7fe936b774 02:48:48 Step 10/23 : FROM scratch 02:48:48 ---> 02:48:48 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:48 ---> Running in 1e9ea700a576 02:48:48 Removing intermediate container 1e9ea700a576 02:48:48 ---> 65b760d48711 02:48:48 Step 12/23 : ENV APP_PORT=49990 02:48:48 ---> Running in 93165a590fb7 02:48:48 Removing intermediate container 93165a590fb7 02:48:48 ---> 3a8829b0f43a 02:48:48 Step 13/23 : EXPOSE $APP_PORT 02:48:48 ---> Running in a862d364ab2e 02:48:48 Removing intermediate container a862d364ab2e 02:48:48 ---> 4cdb641bdcb4 02:48:48 Step 14/23 : WORKDIR / 02:48:48 ---> Running in 72030893ac9d 02:48:48 Removing intermediate container 72030893ac9d 02:48:48 ---> 3bda8e1849bb 02:48:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:49 ---> ced05c23c2bf 02:48:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:49 ---> 715b795562e0 02:48:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:49 ---> f7952875d11e 02:48:49 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:50 ---> d91530d2c30a 02:48:50 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:50 ---> bc7470b7101f 02:48:50 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:50 ---> Running in de554ff5a755 02:48:51 Removing intermediate container de554ff5a755 02:48:51 ---> f5cb6974def0 02:48:51 Step 21/23 : LABEL arch=amd64 02:48:51 ---> Running in 9805d6ca6878 02:48:51 Removing intermediate container 9805d6ca6878 02:48:51 ---> bcf033db5f28 02:48:51 Step 22/23 : LABEL git_sha=f68b0ceb16f55af31286ab16d0b17e84c0743190 02:48:51 ---> Running in a69fb58f4895 02:48:51 Removing intermediate container a69fb58f4895 02:48:51 ---> 9f5f6169521b 02:48:51 Step 23/23 : LABEL version=0.0.0 02:48:51 ---> Running in d50e858b4a41 02:48:52 Removing intermediate container d50e858b4a41 02:48:52 ---> e46760738d91 02:48:52 [Warning] One or more build-args [ARCH] were not consumed 02:48:52 Successfully built e46760738d91 02:48:52 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:11 Removing intermediate container d34e7a1d6bf7 02:49:11 ---> b1d97c5b3b8d 02:49:11 Step 10/23 : FROM scratch 02:49:11 ---> 02:49:11 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:11 ---> Running in 79917ba1d00b 02:49:11 Removing intermediate container 79917ba1d00b 02:49:11 ---> 6d19f0849d65 02:49:11 Step 12/23 : ENV APP_PORT=49990 02:49:11 ---> Running in 7c84d257d889 02:49:11 Removing intermediate container 7c84d257d889 02:49:11 ---> 724084cd49b1 02:49:11 Step 13/23 : EXPOSE $APP_PORT 02:49:11 ---> Running in 9d193eceec3d 02:49:12 Removing intermediate container 9d193eceec3d 02:49:12 ---> 3fd2633e800b 02:49:12 Step 14/23 : WORKDIR / 02:49:12 ---> Running in 2549c3c1b027 02:49:13 Removing intermediate container 2549c3c1b027 02:49:13 ---> 70ee99c9f827 02:49:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:14 ---> e3641b6c6d0b 02:49:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:14 ---> 8b8b3b32e5e2 02:49:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:15 ---> 6e6dcc4aed6f 02:49:15 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:16 ---> 442eb8999f0f 02:49:16 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:17 ---> 2c42db105a16 02:49:17 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:17 ---> Running in 270cac6cdf2a 02:49:17 Removing intermediate container 270cac6cdf2a 02:49:17 ---> 9130d5b7fc46 02:49:17 Step 21/23 : LABEL arch=arm64 02:49:17 ---> Running in cf240fcdee0c 02:49:18 Removing intermediate container cf240fcdee0c 02:49:18 ---> c66bcc2ee328 02:49:18 Step 22/23 : LABEL git_sha=f68b0ceb16f55af31286ab16d0b17e84c0743190 02:49:18 ---> Running in 0deea5f915cb 02:49:19 Removing intermediate container 0deea5f915cb 02:49:19 ---> a944b11b946f 02:49:19 Step 23/23 : LABEL version=0.0.0 02:49:19 ---> Running in 8477bb665d70 02:49:19 Removing intermediate container 8477bb665d70 02:49:19 ---> c52b104cbcaf 02:49:19 [Warning] One or more build-args [ARCH] were not consumed 02:49:19 Successfully built c52b104cbcaf 02:49:19 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:49:21 provisioning config files... 02:49:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6209480019920989669tmp [Pipeline] { [Pipeline] sh 02:49:21 + curl -s https://codecov.io/bash 02:49:21 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config6209480019920989669tmp [Pipeline] } 02:49:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:49:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:24 ---> package-listing.sh 02:49:24 ++ facter osfamily 02:49:24 ++ tr '[:upper:]' '[:lower:]' 02:49:24 + OS_FAMILY=redhat 02:49:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 02:49:24 + START_PACKAGES=/tmp/packages_start.txt 02:49:24 + END_PACKAGES=/tmp/packages_end.txt 02:49:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:24 + PACKAGES=/tmp/packages_start.txt 02:49:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:49:24 + PACKAGES=/tmp/packages_end.txt 02:49:24 + case "${OS_FAMILY}" in 02:49:24 + rpm -qa 02:49:24 + sort 02:49:28 + '[' -f /tmp/packages_start.txt ']' 02:49:28 + '[' -f /tmp/packages_end.txt ']' 02:49:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 02:49:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 02:49: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 02:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:28 02:49:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:49:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:29 alpine: Pulling from edgex-lftools-log-publisher 02:49:29 c9b1b535fdd9: Pulling fs layer 02:49:29 2cc5ad85d9ab: Pulling fs layer 02:49:29 756a868c4378: Pulling fs layer 02:49:29 444b2fc9a129: Pulling fs layer 02:49:29 ea15f1150254: Pulling fs layer 02:49:29 41b27a9f41bf: Pulling fs layer 02:49:29 28c525ee5125: Pulling fs layer 02:49:29 094b1ea09ed8: Pulling fs layer 02:49:29 138eaada9080: Pulling fs layer 02:49:29 0622d0fa9048: Pulling fs layer 02:49:29 41b27a9f41bf: Waiting 02:49:29 28c525ee5125: Waiting 02:49:29 094b1ea09ed8: Waiting 02:49:29 138eaada9080: Waiting 02:49:29 0622d0fa9048: Waiting 02:49:29 444b2fc9a129: Waiting 02:49:29 ea15f1150254: Waiting 02:49:29 2cc5ad85d9ab: Verifying Checksum 02:49:29 2cc5ad85d9ab: Download complete 02:49:29 444b2fc9a129: Verifying Checksum 02:49:29 444b2fc9a129: Download complete 02:49:29 c9b1b535fdd9: Verifying Checksum 02:49:29 c9b1b535fdd9: Download complete 02:49:29 ea15f1150254: Verifying Checksum 02:49:29 ea15f1150254: Download complete 02:49:29 28c525ee5125: Verifying Checksum 02:49:29 28c525ee5125: Download complete 02:49:29 756a868c4378: Verifying Checksum 02:49:29 756a868c4378: Download complete 02:49:29 c9b1b535fdd9: Pull complete 02:49:29 138eaada9080: Verifying Checksum 02:49:29 138eaada9080: Download complete 02:49:29 0622d0fa9048: Verifying Checksum 02:49:29 0622d0fa9048: Download complete 02:49:29 094b1ea09ed8: Verifying Checksum 02:49:29 094b1ea09ed8: Download complete 02:49:30 2cc5ad85d9ab: Pull complete 02:49:30 41b27a9f41bf: Verifying Checksum 02:49:30 41b27a9f41bf: Download complete 02:49:31 756a868c4378: Pull complete 02:49:31 444b2fc9a129: Pull complete 02:49:31 ea15f1150254: Pull complete 02:49:36 41b27a9f41bf: Pull complete 02:49:36 28c525ee5125: Pull complete 02:49:38 094b1ea09ed8: Pull complete 02:49:38 138eaada9080: Pull complete 02:49:39 0622d0fa9048: Pull complete 02:49:39 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:39 prd-centos7-docker-4c-2g-3336 does not seem to be running inside a container 02:49: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 02:49:43 $ docker top 073b8c3a9e72cada43752e87b0dfabe12e64ba900519d317028b225ed6e65738 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:43 provisioning config files... 02:49:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2049788322819993073tmp [Pipeline] { [Pipeline] echo 02:49:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:44 ---> create-netrc.sh [Pipeline] echo 02:49:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:44 ---> logs-deploy.sh 02:49:44 + ARCHIVE_ARTIFACTS= 02:49:44 + LOGS_SERVER=https://logs.edgexfoundry.org 02:49:44 + '[' https://logs.edgexfoundry.org == None ']' 02:49:44 + NEXUS_URL=https://nexus.edgexfoundry.org 02:49:44 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/9 02:49:44 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/9/ 02:49:44 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/9 /w/workspace/dgexfoundry_device-sdk-go_PR-553 02:49:45 Archives upload complete. 02:49:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/9/