Pull request #551 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0721519c55a4570ccb179bbeb57ede010bfd7d32+052c3d8a66f112a94cad097afe431d6fab48a90e (9ffcde2955230560707deca2a4bd32338a306a52) Running in Durability level: MAX_SURVIVABILITY 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-551/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 > git --version # 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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-902 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [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-551 # 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/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # 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/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # 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 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 Commit message: "Update API doc for query parameters" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:21:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:21:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:21:48 ========================================================= 08:21:48 EdgeX Global Pipelines Version Info 08:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:21:50 ------------------- 08:21:50 stable info: 08:21:50 ------------------- 08:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:21:50 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 08:21:50 Message: update stable to v1.0.99 08:21:50 ------------------- 08:21:50 experimental info: 08:21:50 ------------------- 08:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:21:50 Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 08:21:50 Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:21:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:21:53 08:21:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:21:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:21:54 latest: Pulling from edgex-devops/git-semver 08:21:54 31603596830f: Pulling fs layer 08:21:54 2a8b12db71e7: Pulling fs layer 08:21:54 6ca5941a6612: Pulling fs layer 08:21:54 ecc8261a40a4: Pulling fs layer 08:21:54 ecc8261a40a4: Waiting 08:21:54 2a8b12db71e7: Download complete 08:21:54 31603596830f: Verifying Checksum 08:21:54 31603596830f: Download complete 08:21:54 ecc8261a40a4: Verifying Checksum 08:21:54 ecc8261a40a4: Download complete 08:21:54 6ca5941a6612: Verifying Checksum 08:21:54 6ca5941a6612: Download complete 08:21:54 31603596830f: Pull complete 08:21:54 2a8b12db71e7: Pull complete 08:21:55 6ca5941a6612: Pull complete 08:21:55 ecc8261a40a4: Pull complete 08:21:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:21:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:21:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:21:55 prd-centos7-docker-4c-2g-902 does not seem to be running inside a container 08:21:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-551 -v /w/workspace/dgexfoundry_device-sdk-go_PR-551:/w/workspace/dgexfoundry_device-sdk-go_PR-551:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-551@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:21:58 $ docker top c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:21:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:58 [ssh-agent] Looking for ssh-agent implementation... 08:21:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:58 $ docker exec c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent 08:21:58 SSH_AUTH_SOCK=/tmp/ssh-qrBPjCO8XXex/agent.12 08:21:58 SSH_AGENT_PID=17 08:21:58 Running ssh-add (command line suppressed) 08:21:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_6422968060173798122.key (/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_6422968060173798122.key) 08:21:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:21:59 + git describe --exact-match --tags HEAD 08:21:59 fatal: No names found, cannot describe anything. [Pipeline] } 08:21:59 $ docker exec --env ******** --env ******** c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent -k 08:21:59 unset SSH_AUTH_SOCK; 08:21:59 unset SSH_AGENT_PID; 08:21:59 echo Agent pid 17 killed; 08:21:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:21:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:21:59 This usually means this commit has not been tagged. [Pipeline] sshagent 08:22:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:00 [ssh-agent] Looking for ssh-agent implementation... 08:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:00 $ docker exec c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent 08:22:00 SSH_AUTH_SOCK=/tmp/ssh-yZwrZR79yemJ/agent.45 08:22:00 SSH_AGENT_PID=50 08:22:00 Running ssh-add (command line suppressed) 08:22:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_3354777203433741032.key (/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/private_key_3354777203433741032.key) 08:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:00 + git semver init 08:22:00 # -> Open(): unable to determine branch for HEAD 08:22:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-551/.git 08:22:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-551 08:22:00 # $SEMVER_REMOTE_NAME = origin 08:22:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:22:00 # $SEMVER_USER_NAME = edgex-jenkins 08:22:00 # $SEMVER_BRANCH = PR-551 08:22:00 # $SEMVER_TEMP = /tmp/semver-247312933 08:22:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:22:01 # '/tmp/semver-247312933' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-551/.semver' 08:22:01 # -> Force: false 08:22:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-551/.semver [Pipeline] } 08:22:01 $ docker exec --env ******** --env ******** c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 ssh-agent -k 08:22:01 unset SSH_AUTH_SOCK; 08:22:01 unset SSH_AGENT_PID; 08:22:01 echo Agent pid 50 killed; 08:22:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:22:02 + git semver [Pipeline] } 08:22:02 $ docker stop --time=1 c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 08:22:03 $ docker rm -f c016de5109a8e86dec998ea35d58c2cdae4c44f644baded21f7b7d80acfcb417 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:22:04 Stashed 73 file(s) [Pipeline] echo 08:22:04 [edgeXSemver] initialized semver on version 0.0.0 [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 08:22:20 Still waiting to schedule task 08:22:20 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-902’ 08:22:20 Still waiting to schedule task 08:22:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ is offline 08:23:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-903 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [Pipeline] { [Pipeline] ws 08:23:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:23:56 using credential edgex-jenkins-ssh 08:23:56 Cloning the remote Git repository 08:23:56 Cloning with configured refspecs honoured and without tags 08:23:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:23:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:23:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:23:56 > git --version # timeout=10 08:23:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:23:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:23:57 Fetching without tags 08:23:58 Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 08:23:58 Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 08:23:58 Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) 08:23:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:23:57 > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # timeout=10 08:23:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:23:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:23:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:23:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:23:58 > git config core.sparsecheckout # timeout=10 08:23:58 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 08:23:58 > git remote # timeout=10 08:23:58 > git config --get remote.origin.url # timeout=10 08:23:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:23:58 > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 08:23:58 > git rev-parse HEAD^{commit} # timeout=10 08:23:58 > git config core.sparsecheckout # timeout=10 08:23:58 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 08:24:02 Commit message: "Update API doc for query parameters" 08:24:03 > git --version # timeout=10 08:24:03 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:24:04 ========================================================= 08:24:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:24:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:24:05 + 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 . 08:24:06 Sending build context to Docker daemon 3.104MB 08:24:06 Step 1/8 : ARG BASE=golang:1.13-alpine 08:24:06 Step 2/8 : FROM ${BASE} 08:24:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:24:07 cde5963f3b93: Pulling fs layer 08:24:07 2a23fa8c16f7: Pulling fs layer 08:24:07 777b28850792: Pulling fs layer 08:24:07 8a11ddd9e578: Pulling fs layer 08:24:07 4cf88f913ddb: Pulling fs layer 08:24:07 1df406cf5192: Pulling fs layer 08:24:07 cd6300453558: Pulling fs layer 08:24:07 b9c365052c96: Pulling fs layer 08:24:07 a2d8cc88f415: Pulling fs layer 08:24:07 ea1d1ca13537: Pulling fs layer 08:24:07 3750a50a1c5e: Pulling fs layer 08:24:07 8a11ddd9e578: Waiting 08:24:07 4cf88f913ddb: Waiting 08:24:07 1df406cf5192: Waiting 08:24:07 cd6300453558: Waiting 08:24:07 b9c365052c96: Waiting 08:24:07 a2d8cc88f415: Waiting 08:24:07 ea1d1ca13537: Waiting 08:24:07 3750a50a1c5e: Waiting 08:24:07 777b28850792: Verifying Checksum 08:24:07 777b28850792: Download complete 08:24:07 2a23fa8c16f7: Verifying Checksum 08:24:07 2a23fa8c16f7: Download complete 08:24:07 4cf88f913ddb: Verifying Checksum 08:24:07 4cf88f913ddb: Download complete 08:24:07 1df406cf5192: Verifying Checksum 08:24:07 1df406cf5192: Download complete 08:24:07 cde5963f3b93: Verifying Checksum 08:24:08 cde5963f3b93: Pull complete 08:24:08 2a23fa8c16f7: Pull complete 08:24:09 777b28850792: Pull complete 08:24:09 cd6300453558: Verifying Checksum 08:24:09 cd6300453558: Download complete 08:24:09 a2d8cc88f415: Verifying Checksum 08:24:09 a2d8cc88f415: Download complete 08:24:11 ea1d1ca13537: Verifying Checksum 08:24:11 ea1d1ca13537: Download complete 08:24:11 3750a50a1c5e: Verifying Checksum 08:24:11 3750a50a1c5e: Download complete 08:24:11 b9c365052c96: Download complete 08:24:12 8a11ddd9e578: Verifying Checksum 08:24:12 8a11ddd9e578: Download complete 08:24:25 8a11ddd9e578: Pull complete 08:24:25 4cf88f913ddb: Pull complete 08:24:25 1df406cf5192: Pull complete 08:24:29 cd6300453558: Pull complete 08:24:33 b9c365052c96: Pull complete 08:24:34 Running on prd-centos7-docker-4c-2g-904 in /w/workspace/dgexfoundry_device-sdk-go_PR-551 [Pipeline] { 08:24:34 a2d8cc88f415: Pull complete [Pipeline] ws 08:24:34 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:24:36 ea1d1ca13537: Pull complete 08:24:36 3750a50a1c5e: Pull complete 08:24:36 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:24:36 ---> 78745c68409d 08:24:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:24:36 using credential edgex-jenkins-ssh 08:24:37 Cloning the remote Git repository 08:24:37 Cloning with configured refspecs honoured and without tags 08:24:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:24:37 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:24:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:24:37 > git --version # timeout=10 08:24:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:24:39 Fetching without tags 08:24:39 Merging remotes/origin/master commit 052c3d8a66f112a94cad097afe431d6fab48a90e into PR head commit 0721519c55a4570ccb179bbeb57ede010bfd7d32 08:24:39 Merge succeeded, producing 0721519c55a4570ccb179bbeb57ede010bfd7d32 08:24:39 Checking out Revision 0721519c55a4570ccb179bbeb57ede010bfd7d32 (PR-551) 08:24:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:24:39 > git config --add remote.origin.fetch +refs/pull/551/head:refs/remotes/origin/PR-551 # timeout=10 08:24:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:24:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:24:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:24:39 > git config core.sparsecheckout # timeout=10 08:24:39 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 08:24:39 > git remote # timeout=10 08:24:39 > git config --get remote.origin.url # timeout=10 08:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:24:39 > git merge 052c3d8a66f112a94cad097afe431d6fab48a90e # timeout=10 08:24:39 > git rev-parse HEAD^{commit} # timeout=10 08:24:39 > git config core.sparsecheckout # timeout=10 08:24:39 > git checkout -f 0721519c55a4570ccb179bbeb57ede010bfd7d32 # timeout=10 08:24:42 ---> Running in 19b3b7a3a925 08:24:42 Removing intermediate container 19b3b7a3a925 08:24:42 ---> 82448951d003 08:24:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:24:42 ---> Running in 6042afd3e4a8 08:24:43 Commit message: "Update API doc for query parameters" 08:24:43 > git --version # timeout=10 08:24:43 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:24:44 ========================================================= 08:24:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:24:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:24:44 Removing intermediate container 6042afd3e4a8 08:24:44 ---> d8e1053a0b60 08:24:44 Step 5/8 : RUN apk add --no-cache make git 08:24:44 ---> Running in 07d8e5682b9e 08:24:45 + 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 . 08:24:45 Sending build context to Docker daemon 3.104MB 08:24:45 Step 1/8 : ARG BASE=golang:1.13-alpine 08:24:45 Step 2/8 : FROM ${BASE} 08:24:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:24:45 e6b0cf9c0882: Pulling fs layer 08:24:45 2848faf0eed1: Pulling fs layer 08:24:45 0f37312ad70f: Pulling fs layer 08:24:45 5788d62ee057: Pulling fs layer 08:24:45 0e6b1d234666: Pulling fs layer 08:24:45 bf5d7aec512f: Pulling fs layer 08:24:45 34c802a77dc8: Pulling fs layer 08:24:45 9eb99e56ec68: Pulling fs layer 08:24:45 27c7a5d97fbd: Pulling fs layer 08:24:45 5c102a31e300: Pulling fs layer 08:24:45 dcfb455df0a1: Pulling fs layer 08:24:45 34c802a77dc8: Waiting 08:24:45 9eb99e56ec68: Waiting 08:24:45 27c7a5d97fbd: Waiting 08:24:45 dcfb455df0a1: Waiting 08:24:45 5c102a31e300: Waiting 08:24:45 0e6b1d234666: Waiting 08:24:45 5788d62ee057: Waiting 08:24:45 bf5d7aec512f: Waiting 08:24:45 0f37312ad70f: Verifying Checksum 08:24:45 0f37312ad70f: Download complete 08:24:45 2848faf0eed1: Verifying Checksum 08:24:45 2848faf0eed1: Download complete 08:24:45 0e6b1d234666: Verifying Checksum 08:24:45 0e6b1d234666: Download complete 08:24:45 bf5d7aec512f: Download complete 08:24:45 e6b0cf9c0882: Download complete 08:24:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:24:46 e6b0cf9c0882: Pull complete 08:24:46 34c802a77dc8: Verifying Checksum 08:24:46 34c802a77dc8: Download complete 08:24:46 27c7a5d97fbd: Verifying Checksum 08:24:46 27c7a5d97fbd: Download complete 08:24:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:24:46 OK: 125 MiB in 39 packages 08:24:47 5c102a31e300: Verifying Checksum 08:24:47 5c102a31e300: Download complete 08:24:47 dcfb455df0a1: Verifying Checksum 08:24:47 dcfb455df0a1: Download complete 08:24:47 9eb99e56ec68: Verifying Checksum 08:24:47 9eb99e56ec68: Download complete 08:24:47 5788d62ee057: Verifying Checksum 08:24:47 5788d62ee057: Download complete 08:24:48 Removing intermediate container 07d8e5682b9e 08:24:48 ---> 1054f8c4eec4 08:24:48 Step 6/8 : WORKDIR /device-sdk-go 08:24:48 ---> Running in 90480b338f9e 08:24:48 2848faf0eed1: Pull complete 08:24:48 0f37312ad70f: Pull complete 08:24:48 Removing intermediate container 90480b338f9e 08:24:48 ---> c0736e799e91 08:24:48 Step 7/8 : COPY . . 08:24:50 ---> 786a7ba5cdbe 08:24:50 Step 8/8 : RUN go mod download 08:24:50 ---> Running in 8f252c5311a9 08:24:53 go: finding github.com/BurntSushi/toml v0.3.1 08:24:53 go: finding github.com/OneOfOne/xxhash v1.2.6 08:24:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:24:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:24:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:24:53 go: finding github.com/bgentry/speakeasy v0.1.0 08:24:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:24:53 go: finding github.com/davecgh/go-spew v1.1.1 08:24:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:24:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:24:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:24:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:24:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:24:53 go: finding github.com/fatih/color v1.7.0 08:24:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:24:53 go: finding github.com/go-kit/kit v0.8.0 08:24:53 go: finding github.com/go-logfmt/logfmt v0.4.0 08:24:53 go: finding github.com/go-stack/stack v1.8.0 08:24:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:24:53 go: finding github.com/google/uuid v1.1.0 08:24:53 go: finding github.com/gorilla/mux v1.7.1 08:24:53 go: finding github.com/hashicorp/consul/api v1.1.0 08:24:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:24:53 go: finding github.com/hashicorp/errwrap v1.0.0 08:24:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:24:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:24:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:24:53 go: finding github.com/hashicorp/go-multierror v1.0.0 08:24:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:24:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:24:53 go: finding github.com/hashicorp/go-syslog v1.0.0 08:24:53 go: finding github.com/hashicorp/go-uuid v1.0.1 08:24:53 go: finding github.com/hashicorp/go.net v0.0.1 08:24:53 5788d62ee057: Pull complete 08:24:53 0e6b1d234666: Pull complete 08:24:53 bf5d7aec512f: Pull complete 08:24:53 go: finding github.com/hashicorp/golang-lru v0.5.0 08:24:53 go: finding github.com/hashicorp/logutils v1.0.0 08:24:53 go: finding github.com/hashicorp/mdns v1.0.0 08:24:53 go: finding github.com/hashicorp/memberlist v0.1.3 08:24:53 go: finding github.com/hashicorp/serf v0.8.2 08:24:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:24:53 go: finding github.com/mattn/go-colorable v0.0.9 08:24:53 go: finding github.com/mattn/go-isatty v0.0.3 08:24:54 go: finding github.com/miekg/dns v1.0.14 08:24:54 go: finding github.com/mitchellh/cli v1.0.0 08:24:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:24:54 go: finding github.com/mitchellh/copystructure v1.0.0 08:24:54 go: finding github.com/mitchellh/go-homedir v1.0.0 08:24:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:24:54 go: finding github.com/mitchellh/gox v0.4.0 08:24:54 go: finding github.com/mitchellh/iochan v1.0.0 08:24:54 go: finding github.com/mitchellh/mapstructure v1.1.2 08:24:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:24:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:24:54 go: finding github.com/pelletier/go-toml v1.2.0 08:24:54 go: finding github.com/pkg/errors v0.8.1 08:24:54 go: finding github.com/pmezard/go-difflib v1.0.0 08:24:54 go: finding github.com/posener/complete v1.1.1 08:24:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:24:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:24:54 go: finding github.com/stretchr/objx v0.1.0 08:24:54 go: finding github.com/stretchr/testify v1.5.1 08:24:54 go: finding github.com/ugorji/go v1.1.4 08:24:54 go: finding github.com/x448/float16 v0.8.4 08:24:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:24:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:24:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:24:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:24:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:24:54 go: finding gopkg.in/yaml.v2 v2.2.8 08:24:59 34c802a77dc8: Pull complete 08:25:02 9eb99e56ec68: Pull complete 08:25:02 27c7a5d97fbd: Pull complete 08:25:02 5c102a31e300: Pull complete 08:25:02 dcfb455df0a1: Pull complete 08:25:02 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:25:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:25:03 ---> 7c70fe431013 08:25:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:25:04 Removing intermediate container 8f252c5311a9 08:25:04 ---> 2660cb272d5c 08:25:04 Successfully built 2660cb272d5c 08:25:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 08:25:05 ---> Running in 17969497e7b1 08:25:05 Removing intermediate container 17969497e7b1 08:25:05 ---> 3661e2495fbe 08:25:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:05 ---> Running in 7d2cf586fb08 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:25:05 + docker inspect -f . ci-base-image-arm64 08:25:05 . [Pipeline] withDockerContainer 08:25:05 prd-ubuntu18.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 08:25:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 08:25:06 Removing intermediate container 7d2cf586fb08 08:25:06 ---> 522413af284f 08:25:06 Step 5/8 : RUN apk add --no-cache make git 08:25:06 ---> Running in 2e8d31f7e137 08:25:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:25:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:25:07 OK: 143 MiB in 39 packages 08:25:07 $ docker top 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 -eo pid,comm 08:25:08 Removing intermediate container 2e8d31f7e137 08:25:08 ---> 22fc1627d14f 08:25:08 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] { 08:25:08 ---> Running in d971a6a7c518 08:25:08 Removing intermediate container d971a6a7c518 08:25:08 ---> 0c995be5ffdd 08:25:08 Step 7/8 : COPY . . [Pipeline] sh 08:25:09 + go version 08:25:09 go version go1.13.5 linux/arm64 [Pipeline] sh 08:25:09 ---> 62b61b4a7be9 08:25:09 Step 8/8 : RUN go mod download 08:25:09 ---> Running in dcf89b6eee53 08:25:10 + make test 08:25:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:25:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:25:11 go: finding github.com/BurntSushi/toml v0.3.1 08:25:11 go: finding github.com/OneOfOne/xxhash v1.2.6 08:25:11 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:25:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:25:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:25:11 go: finding github.com/bgentry/speakeasy v0.1.0 08:25:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:25:11 go: finding github.com/davecgh/go-spew v1.1.1 08:25:11 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:25:11 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:25:11 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:25:11 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:25:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:25:11 go: finding github.com/fatih/color v1.7.0 08:25:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:25:11 go: finding github.com/go-kit/kit v0.8.0 08:25:11 go: finding github.com/go-logfmt/logfmt v0.4.0 08:25:11 go: finding github.com/go-stack/stack v1.8.0 08:25:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:25:12 go: finding github.com/google/uuid v1.1.0 08:25:12 go: finding github.com/gorilla/mux v1.7.1 08:25:12 go: finding github.com/hashicorp/consul/api v1.1.0 08:25:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:25:12 go: finding github.com/hashicorp/errwrap v1.0.0 08:25:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:25:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:25:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:25:12 go: finding github.com/hashicorp/go-multierror v1.0.0 08:25:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:25:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:25:12 go: finding github.com/hashicorp/go-syslog v1.0.0 08:25:12 go: finding github.com/hashicorp/go-uuid v1.0.1 08:25:12 go: finding github.com/hashicorp/go.net v0.0.1 08:25:12 go: finding github.com/hashicorp/golang-lru v0.5.0 08:25:12 go: finding github.com/hashicorp/logutils v1.0.0 08:25:12 go: finding github.com/hashicorp/mdns v1.0.0 08:25:12 go: finding github.com/hashicorp/memberlist v0.1.3 08:25:12 go: finding github.com/hashicorp/serf v0.8.2 08:25:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:25:12 go: finding github.com/mattn/go-colorable v0.0.9 08:25:12 go: finding github.com/mattn/go-isatty v0.0.3 08:25:12 go: finding github.com/miekg/dns v1.0.14 08:25:12 go: finding github.com/mitchellh/cli v1.0.0 08:25:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:25:12 go: finding github.com/mitchellh/copystructure v1.0.0 08:25:12 go: finding github.com/mitchellh/go-homedir v1.0.0 08:25:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:25:12 go: finding github.com/mitchellh/gox v0.4.0 08:25:12 go: finding github.com/mitchellh/iochan v1.0.0 08:25:12 go: finding github.com/mitchellh/mapstructure v1.1.2 08:25:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:25:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:25:12 go: finding github.com/pelletier/go-toml v1.2.0 08:25:12 go: finding github.com/pkg/errors v0.8.1 08:25:12 go: finding github.com/pmezard/go-difflib v1.0.0 08:25:13 go: finding github.com/posener/complete v1.1.1 08:25:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:25:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:25:13 go: finding github.com/stretchr/objx v0.1.0 08:25:13 go: finding github.com/stretchr/testify v1.5.1 08:25:13 go: finding github.com/ugorji/go v1.1.4 08:25:13 go: finding github.com/x448/float16 v0.8.4 08:25:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:25:13 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:25:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:25:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:25:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:25:13 go: finding gopkg.in/yaml.v2 v2.2.8 08:25:19 Removing intermediate container dcf89b6eee53 08:25:19 ---> 3f6f9d2d78ea 08:25:19 Successfully built 3f6f9d2d78ea 08:25:19 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 08:25:20 + docker inspect -f . ci-base-image-x86_64 08:25:20 . [Pipeline] withDockerContainer 08:25:20 prd-centos7-docker-4c-2g-904 does not seem to be running inside a container 08:25:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 08:25:21 $ docker top 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 -eo pid,comm [Pipeline] { [Pipeline] sh 08:25:22 + go version 08:25:22 go version go1.13.5 linux/amd64 [Pipeline] sh 08:25:22 + make test 08:25:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:25:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:25:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:25:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:25:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:25:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 08:25:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 08:25:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:25:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:25:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:25:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements 08:25:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.158s coverage: 95.8% of statements 08:26:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements 08:26:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 08:26:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:26:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.084s coverage: 36.9% of statements 08:26:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:26:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.301s coverage: 65.2% of statements 08:26:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:26:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:26:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:26:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 08:26:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements 08:26:07 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:26:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:26:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:26:07 gofmt -l . 08:26:07 [ "`gofmt -l .`" = "" ] 08:26:07 ./bin/test-attribution-txt.sh 08:26:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:26:08 Stashed 1 file(s) [Pipeline] } 08:26:08 $ docker stop --time=1 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 08:26:09 $ docker rm -f 42b8555627b783bee601fc3591ee62ee6e967af42b055dd517ffeb0f1306e155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:26:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:26:13 + ls -al . 08:26:13 total 184 08:26:13 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 08:26 . 08:26:13 drwxrwxr-x. 4 jenkins jenkins 28 Jul 16 08:24 .. 08:26:13 drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 08:24 api 08:26:13 drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 08:24 bin 08:26:13 -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 08:26 coverage.out 08:26:13 -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 08:24 Dockerfile.build 08:26:13 -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 08:24 .dockerignore 08:26:13 drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 08:24 example 08:26:13 drwxrwxr-x. 8 jenkins jenkins 179 Jul 16 08:24 .git 08:26:13 drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 08:24 .github 08:26:13 -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 08:24 .gitignore 08:26:13 -rw-r--r--. 1 jenkins jenkins 446 Jul 16 08:26 go.mod 08:26:13 -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 08:26 go.sum 08:26:13 drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 08:24 internal 08:26:13 -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 08:24 Jenkinsfile 08:26:13 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 08:24 LICENSE 08:26:13 -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 08:24 Makefile 08:26:13 drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 08:24 pkg 08:26:13 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 08:24 README.md 08:26:13 -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 08:24 RELEASE-NOTES.txt 08:26:13 drwxrwxr-x. 3 jenkins jenkins 58 Jul 16 08:24 .semver 08:26:13 drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 08:24 snap 08:26:13 -rw-rw-r--. 1 jenkins jenkins 5 Jul 16 08:22 VERSION 08:26:13 -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 08:24 version.go [Pipeline] isUnix [Pipeline] sh 08:26:13 + 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=0721519c55a4570ccb179bbeb57ede010bfd7d32 --label arch=amd64 --label version=0.0.0 . 08:26:13 Sending build context to Docker daemon 3.232MB 08:26:13 Step 1/23 : ARG BASE=golang:1.13-alpine 08:26:13 Step 2/23 : FROM ${BASE} AS builder 08:26:13 ---> 3f6f9d2d78ea 08:26:13 Step 3/23 : ARG MAKE='make build' 08:26:13 ---> Running in b81809db6352 08:26:14 Removing intermediate container b81809db6352 08:26:14 ---> 8632bf57d4d8 08:26:14 Step 4/23 : WORKDIR /device-sdk-go 08:26:14 ---> Running in 36ff066e421b 08:26:14 Removing intermediate container 36ff066e421b 08:26:14 ---> 7c62502a5d81 08:26:14 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:26:14 ---> Running in 507add734479 08:26:14 Removing intermediate container 507add734479 08:26:14 ---> df4349e303b5 08:26:14 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:26:14 ---> Running in 3dc29aa6314d 08:26:15 Removing intermediate container 3dc29aa6314d 08:26:15 ---> bfbe1907d150 08:26:15 Step 7/23 : RUN apk add --update --no-cache make git 08:26:15 ---> Running in 34abc27a21cb 08:26:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:26:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.045s coverage: 11.4% of statements 08:26:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements 08:26:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:26:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.167s coverage: 36.9% of statements 08:26:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:26:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.652s coverage: 65.2% of statements 08:26:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:26:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:26:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:26:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 08:26:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements 08:26:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:26:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:26:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:26:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:26:16 OK: 143 MiB in 39 packages 08:26:17 Removing intermediate container 34abc27a21cb 08:26:17 ---> f84fac7e1df0 08:26:17 Step 8/23 : COPY . . 08:26:18 ---> 5cd47216273a 08:26:18 Step 9/23 : RUN ${MAKE} 08:26:18 ---> Running in 1d540e54e037 08:26:18 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 08:26:19 gofmt -l . 08:26:19 [ "`gofmt -l .`" = "" ] 08:26:20 ./bin/test-attribution-txt.sh 08:26:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:26:21 Warning: overwriting stash ‘coverage-report’ 08:26:21 Stashed 1 file(s) [Pipeline] } 08:26:21 $ docker stop --time=1 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 08:26:23 $ docker rm -f 60a5c4924e117ec1d9791209bc0835ac1d97532533ee0fe990d8a1a866d798d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:26:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:26:25 + ls -al . 08:26:25 total 224 08:26:25 drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 08:26 . 08:26:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 .. 08:26:25 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 08:23 .dockerignore 08:26:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 08:24 .git 08:26:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 08:23 .github 08:26:25 -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 08:23 .gitignore 08:26:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 08:24 .semver 08:26:25 -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 08:23 Dockerfile.build 08:26:25 -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 08:23 Jenkinsfile 08:26:25 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 08:23 LICENSE 08:26:25 -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 08:23 Makefile 08:26:25 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 08:23 README.md 08:26:25 -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 08:23 RELEASE-NOTES.txt 08:26:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 08:22 VERSION 08:26:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 08:23 api 08:26:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 08:23 bin 08:26:25 -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 08:26 coverage.out 08:26:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 example 08:26:25 -rw-r--r-- 1 jenkins jenkins 446 Jul 16 08:26 go.mod 08:26:25 -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 08:26 go.sum 08:26:25 drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 08:23 internal 08:26:25 drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 08:23 pkg 08:26:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 08:23 snap 08:26:25 -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 08:23 version.go [Pipeline] isUnix [Pipeline] sh 08:26:25 + 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=0721519c55a4570ccb179bbeb57ede010bfd7d32 --label arch=arm64 --label version=0.0.0 . 08:26:26 Sending build context to Docker daemon 3.232MB 08:26:26 Step 1/23 : ARG BASE=golang:1.13-alpine 08:26:26 Step 2/23 : FROM ${BASE} AS builder 08:26:26 ---> 2660cb272d5c 08:26:26 Step 3/23 : ARG MAKE='make build' 08:26:26 ---> Running in a246916da613 08:26:27 Removing intermediate container a246916da613 08:26:27 ---> de00e28ca61b 08:26:27 Step 4/23 : WORKDIR /device-sdk-go 08:26:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:26:27 ---> Running in c194c1834609 08:26:27 Removing intermediate container c194c1834609 08:26:27 ---> a6abb541a338 08:26:27 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:26:27 ---> Running in 9590cbc8062e 08:26:28 Removing intermediate container 1d540e54e037 08:26:28 ---> cc73027bac32 08:26:28 Step 10/23 : FROM scratch 08:26:28 ---> 08:26:28 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:26:28 ---> Running in db9ba1d90b92 08:26:28 Removing intermediate container db9ba1d90b92 08:26:28 ---> e0013b4c4461 08:26:28 Step 12/23 : ENV APP_PORT=49990 08:26:28 ---> Running in 1369bb6eedda 08:26:28 Removing intermediate container 9590cbc8062e 08:26:28 ---> 5a2d65b32b90 08:26:28 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:26:28 ---> Running in 2ed32c9bc387 08:26:28 Removing intermediate container 1369bb6eedda 08:26:28 ---> 56263b7174af 08:26:28 Step 13/23 : EXPOSE $APP_PORT 08:26:28 ---> Running in a06c6248b564 08:26:29 Removing intermediate container a06c6248b564 08:26:29 ---> d17b04ae1745 08:26:29 Step 14/23 : WORKDIR / 08:26:29 ---> Running in 67f076846e93 08:26:29 Removing intermediate container 67f076846e93 08:26:29 ---> ebd5eb2750b6 08:26:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:26:29 ---> 41a53fc1ecff 08:26:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:26:30 ---> e4127981e2bf 08:26:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:26:30 ---> 8bb985369db1 08:26:30 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:26:30 ---> daeb022eb3e1 08:26:30 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:26:30 ---> 14ae6487be47 08:26:30 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:26:30 ---> Running in 978c62d52b0b 08:26:30 Removing intermediate container 2ed32c9bc387 08:26:30 ---> b2c11957d6cc 08:26:30 Step 7/23 : RUN apk add --update --no-cache make git 08:26:30 ---> Running in 700e7d5d82e8 08:26:31 Removing intermediate container 978c62d52b0b 08:26:31 ---> 0d14bdd5de8b 08:26:31 Step 21/23 : LABEL arch=amd64 08:26:31 ---> Running in e15ea3f7c2f2 08:26:31 Removing intermediate container e15ea3f7c2f2 08:26:31 ---> 8505371d98d5 08:26:31 Step 22/23 : LABEL git_sha=0721519c55a4570ccb179bbeb57ede010bfd7d32 08:26:31 ---> Running in 7b07ac400fd4 08:26:31 Removing intermediate container 7b07ac400fd4 08:26:31 ---> 1ff3c6a09213 08:26:31 Step 23/23 : LABEL version=0.0.0 08:26:31 ---> Running in 0cf8ecd193c0 08:26:31 Removing intermediate container 0cf8ecd193c0 08:26:31 ---> 675f49100eda 08:26:31 [Warning] One or more build-args [ARCH] were not consumed 08:26:31 Successfully built 675f49100eda 08:26:31 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] } 08:26:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 08:26:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [Pipeline] } 08:26:33 OK: 125 MiB in 39 packages 08:26:34 Removing intermediate container 700e7d5d82e8 08:26:34 ---> 082ea1baea5a 08:26:34 Step 8/23 : COPY . . 08:26:36 ---> d3ec422b43d7 08:26:36 Step 9/23 : RUN ${MAKE} 08:26:36 ---> Running in 8040b2a17791 08:26:37 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 08:27:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:27:04 Removing intermediate container 8040b2a17791 08:27:04 ---> 71e9b9c15405 08:27:04 Step 10/23 : FROM scratch 08:27:04 ---> 08:27:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:27:04 ---> Running in 7a17710e7211 08:27:04 Removing intermediate container 7a17710e7211 08:27:04 ---> d994249c9cf3 08:27:04 Step 12/23 : ENV APP_PORT=49990 08:27:04 ---> Running in 92e60fde6c45 08:27:04 Removing intermediate container 92e60fde6c45 08:27:04 ---> 4ff51e0fab10 08:27:04 Step 13/23 : EXPOSE $APP_PORT 08:27:04 ---> Running in 4b3c013844a0 08:27:04 Removing intermediate container 4b3c013844a0 08:27:04 ---> 228fda08e92e 08:27:04 Step 14/23 : WORKDIR / 08:27:04 ---> Running in cd85c8b47cec 08:27:05 Removing intermediate container cd85c8b47cec 08:27:05 ---> e5c49b6d9e46 08:27:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:27:06 ---> 181a5d2959b1 08:27:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:27:06 ---> 50168a560fd7 08:27:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:27:07 ---> 86f95dbcf61f 08:27:07 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:27:08 ---> 974c46d95ae6 08:27:08 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:27:08 ---> 33ed916b79ed 08:27:08 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:27:08 ---> Running in 19c6ecd52f4e 08:27:09 Removing intermediate container 19c6ecd52f4e 08:27:09 ---> 51a800015171 08:27:09 Step 21/23 : LABEL arch=arm64 08:27:09 ---> Running in 23bf09892d84 08:27:10 Removing intermediate container 23bf09892d84 08:27:10 ---> 989f3e67a530 08:27:10 Step 22/23 : LABEL git_sha=0721519c55a4570ccb179bbeb57ede010bfd7d32 08:27:10 ---> Running in 5b07a54c2d15 08:27:10 Removing intermediate container 5b07a54c2d15 08:27:10 ---> c33b164e75a6 08:27:10 Step 23/23 : LABEL version=0.0.0 08:27:10 ---> Running in 812199cf329c 08:27:10 Removing intermediate container 812199cf329c 08:27:10 ---> da558d46a00f 08:27:10 [Warning] One or more build-args [ARCH] were not consumed 08:27:11 Successfully built da558d46a00f 08:27:11 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 08:27:13 provisioning config files... 08:27:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4259479209873262130tmp [Pipeline] { [Pipeline] sh 08:27:13 + curl -s https://codecov.io/bash 08:27:13 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4259479209873262130tmp [Pipeline] } 08:27:13 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:27:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:27:16 ---> package-listing.sh 08:27:16 ++ facter osfamily 08:27:16 ++ tr '[:upper:]' '[:lower:]' 08:27:16 + OS_FAMILY=redhat 08:27:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-551 08:27:16 + START_PACKAGES=/tmp/packages_start.txt 08:27:16 + END_PACKAGES=/tmp/packages_end.txt 08:27:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:27:16 + PACKAGES=/tmp/packages_start.txt 08:27:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-551 ']' 08:27:16 + PACKAGES=/tmp/packages_end.txt 08:27:16 + case "${OS_FAMILY}" in 08:27:16 + rpm -qa 08:27:16 + sort 08:27:20 + '[' -f /tmp/packages_start.txt ']' 08:27:20 + '[' -f /tmp/packages_end.txt ']' 08:27:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:27:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-551 ']' 08:27:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-551/archives/ 08:27:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-551/archives/ [Pipeline] isUnix [Pipeline] sh 08:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:21 08:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:21 alpine: Pulling from edgex-lftools-log-publisher 08:27:21 c9b1b535fdd9: Pulling fs layer 08:27:21 2cc5ad85d9ab: Pulling fs layer 08:27:21 756a868c4378: Pulling fs layer 08:27:21 444b2fc9a129: Pulling fs layer 08:27:21 ea15f1150254: Pulling fs layer 08:27:21 41b27a9f41bf: Pulling fs layer 08:27:21 28c525ee5125: Pulling fs layer 08:27:21 094b1ea09ed8: Pulling fs layer 08:27:21 138eaada9080: Pulling fs layer 08:27:21 0622d0fa9048: Pulling fs layer 08:27:21 28c525ee5125: Waiting 08:27:21 138eaada9080: Waiting 08:27:21 0622d0fa9048: Waiting 08:27:21 094b1ea09ed8: Waiting 08:27:21 ea15f1150254: Waiting 08:27:21 41b27a9f41bf: Waiting 08:27:21 444b2fc9a129: Waiting 08:27:21 2cc5ad85d9ab: Verifying Checksum 08:27:21 2cc5ad85d9ab: Download complete 08:27:21 444b2fc9a129: Download complete 08:27:21 c9b1b535fdd9: Verifying Checksum 08:27:21 ea15f1150254: Verifying Checksum 08:27:21 ea15f1150254: Download complete 08:27:21 28c525ee5125: Verifying Checksum 08:27:21 28c525ee5125: Download complete 08:27:22 756a868c4378: Verifying Checksum 08:27:22 756a868c4378: Download complete 08:27:22 c9b1b535fdd9: Pull complete 08:27:22 138eaada9080: Verifying Checksum 08:27:22 138eaada9080: Download complete 08:27:22 094b1ea09ed8: Verifying Checksum 08:27:22 094b1ea09ed8: Download complete 08:27:22 0622d0fa9048: Verifying Checksum 08:27:22 0622d0fa9048: Download complete 08:27:22 2cc5ad85d9ab: Pull complete 08:27:22 41b27a9f41bf: Verifying Checksum 08:27:22 41b27a9f41bf: Download complete 08:27:24 756a868c4378: Pull complete 08:27:24 444b2fc9a129: Pull complete 08:27:24 ea15f1150254: Pull complete 08:27:28 41b27a9f41bf: Pull complete 08:27:28 28c525ee5125: Pull complete 08:27:31 094b1ea09ed8: Pull complete 08:27:31 138eaada9080: Pull complete 08:27:31 0622d0fa9048: Pull complete 08:27:31 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:27:32 prd-centos7-docker-4c-2g-902 does not seem to be running inside a container 08:27:32 $ 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-551 -v /w/workspace/dgexfoundry_device-sdk-go_PR-551:/w/workspace/dgexfoundry_device-sdk-go_PR-551:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-551@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:27:35 $ docker top e2367c03f2714a0f4afffd29d5ea26210cba08a1ececc4923c551c2ba343b970 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:35 provisioning config files... 08:27:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-551@tmp/config4026702113549608303tmp [Pipeline] { [Pipeline] echo 08:27:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:27:36 ---> create-netrc.sh [Pipeline] echo 08:27:36 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:27:36 ---> logs-deploy.sh 08:27:36 + ARCHIVE_ARTIFACTS= 08:27:36 + LOGS_SERVER=https://logs.edgexfoundry.org 08:27:36 + '[' https://logs.edgexfoundry.org == None ']' 08:27:36 + NEXUS_URL=https://nexus.edgexfoundry.org 08:27:36 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 08:27:36 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-551/1/ 08:27:36 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 /w/workspace/dgexfoundry_device-sdk-go_PR-551 08:27:38 Archives upload complete. 08:27:38 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-551/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-551/1/