Pull request #481 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 a9438bce074fd10ddc43b1964bbe4ebc23b312af+6d36f33b612300ee79929b7f99b8ffab79cfcdbd (7f6b21a3d900fa7ffefcad0fbbdf2eb2b0d694e0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-481/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3217 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-481 # 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/481/head:refs/remotes/origin/PR-481 +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/481/head:refs/remotes/origin/PR-481 # 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/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit a9438bce074fd10ddc43b1964bbe4ebc23b312af Merge succeeded, producing a9438bce074fd10ddc43b1964bbe4ebc23b312af Checking out Revision a9438bce074fd10ddc43b1964bbe4ebc23b312af (PR-481) > git config core.sparsecheckout # timeout=10 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # 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 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # timeout=10 Commit message: "Check device profile from metadata" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:16 07:08:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:08:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:16 latest: Pulling from edgex-devops/git-semver 07:08:16 9123ac7c32f7: Pulling fs layer 07:08:16 b8cc5d1170e3: Pulling fs layer 07:08:16 2924cbbf6a41: Pulling fs layer 07:08:16 93b08a4f1073: Pulling fs layer 07:08:16 93b08a4f1073: Waiting 07:08:16 b8cc5d1170e3: Verifying Checksum 07:08:16 b8cc5d1170e3: Download complete 07:08:17 9123ac7c32f7: Verifying Checksum 07:08:17 9123ac7c32f7: Download complete 07:08:17 93b08a4f1073: Verifying Checksum 07:08:17 93b08a4f1073: Download complete 07:08:17 2924cbbf6a41: Download complete 07:08:17 9123ac7c32f7: Pull complete 07:08:17 b8cc5d1170e3: Pull complete 07:08:18 2924cbbf6a41: Pull complete 07:08:18 93b08a4f1073: Pull complete 07:08:18 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:08:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:08:18 prd-centos7-docker-4c-2g-3217 does not seem to be running inside a container 07:08:18 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:08:19 $ docker top 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:19 [ssh-agent] Looking for ssh-agent implementation... 07:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:19 $ docker exec 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 ssh-agent 07:08:19 SSH_AUTH_SOCK=/tmp/ssh-Nl28KNPrygJD/agent.15 07:08:19 SSH_AGENT_PID=22 07:08:19 Running ssh-add (command line suppressed) 07:08:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_2154668120360855767.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_2154668120360855767.key) 07:08:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:20 + git describe --exact-match --tags HEAD 07:08:20 fatal: No names found, cannot describe anything. [Pipeline] } 07:08:20 $ docker exec --env ******** --env ******** 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 ssh-agent -k 07:08:20 unset SSH_AUTH_SOCK; 07:08:20 unset SSH_AGENT_PID; 07:08:20 echo Agent pid 22 killed; 07:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:08:20 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:08:20 This usually means this commit has not been tagged. [Pipeline] sshagent 07:08:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:20 [ssh-agent] Looking for ssh-agent implementation... 07:08:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:21 $ docker exec 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 ssh-agent 07:08:21 SSH_AUTH_SOCK=/tmp/ssh-01udeoEwP4V5/agent.55 07:08:21 SSH_AGENT_PID=62 07:08:21 Running ssh-add (command line suppressed) 07:08:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_2809100971728074962.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_2809100971728074962.key) 07:08:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:21 + git semver init 07:08:21 # -> Open(): unable to determine branch for HEAD 07:08:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.git 07:08:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-481 07:08:21 # $SEMVER_REMOTE_NAME = origin 07:08:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:08:21 # $SEMVER_USER_NAME = edgex-jenkins 07:08:21 # $SEMVER_BRANCH = PR-481 07:08:21 # $SEMVER_TEMP = /tmp/semver-975185036 07:08:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:08:22 # '/tmp/semver-975185036' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver' 07:08:22 # -> Force: false 07:08:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver [Pipeline] } 07:08:22 $ docker exec --env ******** --env ******** 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 ssh-agent -k 07:08:22 unset SSH_AUTH_SOCK; 07:08:22 unset SSH_AGENT_PID; 07:08:22 echo Agent pid 62 killed; 07:08:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:23 + git semver [Pipeline] } 07:08:23 $ docker stop --time=1 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 07:08:24 $ docker rm -f 6d666a7190cc16088f64d3160430c16135238d60e1b943d5dabb6640da9b9f15 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:08:25 Stashed 39 file(s) [Pipeline] echo 07:08:25 [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 07:08:41 Still waiting to schedule task 07:08:41 ‘prd-centos7-builder-2c-1g-3214’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3211’ is offline; ‘prd-centos7-docker-4c-2g-3215’ is offline; ‘prd-centos7-docker-4c-2g-3218’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3212’ doesn’t have label ‘centos7-docker-4c-2g’ 07:08:41 Still waiting to schedule task 07:08:41 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:11:27 Running on prd-centos7-docker-4c-2g-3220 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws 07:11:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:11:29 using credential edgex-jenkins-ssh 07:11:30 Cloning the remote Git repository 07:11:30 Cloning with configured refspecs honoured and without tags 07:11:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:11:30 Fetching without tags 07:11:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:11:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:29 > git --version # timeout=10 07:11:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:30 > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 07:11:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:31 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:11:31 Merge succeeded, producing a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:11:31 Checking out Revision a9438bce074fd10ddc43b1964bbe4ebc23b312af (PR-481) 07:11:30 > git config core.sparsecheckout # timeout=10 07:11:30 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # timeout=10 07:11:30 > git remote # timeout=10 07:11:30 > git config --get remote.origin.url # timeout=10 07:11:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:30 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 07:11:30 > git rev-parse HEAD^{commit} # timeout=10 07:11:30 > git config core.sparsecheckout # timeout=10 07:11:30 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # timeout=10 07:11:34 Commit message: "Check device profile from metadata" 07:11:34 > git --version # timeout=10 07:11:34 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:11:36 ========================================================= 07:11:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:11:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:36 + 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 . 07:11:36 Sending build context to Docker daemon 2.851MB 07:11:36 Step 1/8 : ARG BASE=golang:1.13-alpine 07:11:36 Step 2/8 : FROM ${BASE} 07:11:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:36 e6b0cf9c0882: Pulling fs layer 07:11:36 2848faf0eed1: Pulling fs layer 07:11:36 0f37312ad70f: Pulling fs layer 07:11:36 5788d62ee057: Pulling fs layer 07:11:36 0e6b1d234666: Pulling fs layer 07:11:36 bf5d7aec512f: Pulling fs layer 07:11:36 34c802a77dc8: Pulling fs layer 07:11:36 9eb99e56ec68: Pulling fs layer 07:11:36 27c7a5d97fbd: Pulling fs layer 07:11:36 5c102a31e300: Pulling fs layer 07:11:36 dcfb455df0a1: Pulling fs layer 07:11:36 34c802a77dc8: Waiting 07:11:36 9eb99e56ec68: Waiting 07:11:36 27c7a5d97fbd: Waiting 07:11:36 5788d62ee057: Waiting 07:11:36 bf5d7aec512f: Waiting 07:11:36 0e6b1d234666: Waiting 07:11:36 dcfb455df0a1: Waiting 07:11:36 5c102a31e300: Waiting 07:11:36 0f37312ad70f: Verifying Checksum 07:11:36 0f37312ad70f: Download complete 07:11:36 2848faf0eed1: Verifying Checksum 07:11:36 2848faf0eed1: Download complete 07:11:36 0e6b1d234666: Verifying Checksum 07:11:36 0e6b1d234666: Download complete 07:11:36 bf5d7aec512f: Verifying Checksum 07:11:36 bf5d7aec512f: Download complete 07:11:36 e6b0cf9c0882: Verifying Checksum 07:11:36 e6b0cf9c0882: Download complete 07:11:37 e6b0cf9c0882: Pull complete 07:11:37 2848faf0eed1: Pull complete 07:11:37 0f37312ad70f: Pull complete 07:11:37 34c802a77dc8: Verifying Checksum 07:11:37 34c802a77dc8: Download complete 07:11:37 27c7a5d97fbd: Verifying Checksum 07:11:37 27c7a5d97fbd: Download complete 07:11:38 5c102a31e300: Verifying Checksum 07:11:38 5c102a31e300: Download complete 07:11:38 dcfb455df0a1: Verifying Checksum 07:11:38 dcfb455df0a1: Download complete 07:11:38 9eb99e56ec68: Verifying Checksum 07:11:38 9eb99e56ec68: Download complete 07:11:39 5788d62ee057: Verifying Checksum 07:11:39 5788d62ee057: Download complete 07:11:45 5788d62ee057: Pull complete 07:11:45 0e6b1d234666: Pull complete 07:11:45 bf5d7aec512f: Pull complete 07:11:52 34c802a77dc8: Pull complete 07:11:54 9eb99e56ec68: Pull complete 07:11:54 27c7a5d97fbd: Pull complete 07:11:55 5c102a31e300: Pull complete 07:11:55 dcfb455df0a1: Pull complete 07:11:55 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:11:55 ---> 7c70fe431013 07:11:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:55 ---> Running in eb6a04a7fc55 07:11:55 Removing intermediate container eb6a04a7fc55 07:11:55 ---> 44f25eb9ed79 07:11:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:56 ---> Running in f21e91c8768e 07:11:56 Removing intermediate container f21e91c8768e 07:11:56 ---> 0150be7bdbe4 07:11:56 Step 5/8 : RUN apk add --no-cache make git 07:11:56 ---> Running in 268d347bb8e3 07:11:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:11:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:11:59 OK: 143 MiB in 39 packages 07:11:59 Removing intermediate container 268d347bb8e3 07:11:59 ---> 12a4f095bf3c 07:11:59 Step 6/8 : WORKDIR /device-sdk-go 07:11:59 ---> Running in b175c4e5200f 07:11:59 Removing intermediate container b175c4e5200f 07:11:59 ---> 1a7d4a7e8fc3 07:11:59 Step 7/8 : COPY . . 07:12:00 ---> 580225eb83b1 07:12:00 Step 8/8 : RUN go mod download 07:12:00 ---> Running in 71089328ea33 07:12:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3219 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws 07:12:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:12:16 using credential edgex-jenkins-ssh 07:12:16 Cloning the remote Git repository 07:12:16 Cloning with configured refspecs honoured and without tags 07:12:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:12:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:12:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:17 > git --version # timeout=10 07:12:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:18 Fetching without tags 07:12:18 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:12:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:18 > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 07:12:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:19 Merge succeeded, producing a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:12:19 Checking out Revision a9438bce074fd10ddc43b1964bbe4ebc23b312af (PR-481) 07:12:18 > git config core.sparsecheckout # timeout=10 07:12:18 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # timeout=10 07:12:19 > git remote # timeout=10 07:12:19 > git config --get remote.origin.url # timeout=10 07:12:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:19 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 07:12:19 > git rev-parse HEAD^{commit} # timeout=10 07:12:19 > git config core.sparsecheckout # timeout=10 07:12:19 > git checkout -f a9438bce074fd10ddc43b1964bbe4ebc23b312af # timeout=10 07:12:23 Commit message: "Check device profile from metadata" 07:12:23 > git --version # timeout=10 07:12:23 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:12:24 ========================================================= 07:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:12:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:12:26 + 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 . 07:12:27 Sending build context to Docker daemon 2.849MB 07:12:27 Step 1/8 : ARG BASE=golang:1.13-alpine 07:12:27 Step 2/8 : FROM ${BASE} 07:12:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:12:27 cde5963f3b93: Pulling fs layer 07:12:27 2a23fa8c16f7: Pulling fs layer 07:12:27 777b28850792: Pulling fs layer 07:12:27 8a11ddd9e578: Pulling fs layer 07:12:27 4cf88f913ddb: Pulling fs layer 07:12:27 1df406cf5192: Pulling fs layer 07:12:27 cd6300453558: Pulling fs layer 07:12:27 b9c365052c96: Pulling fs layer 07:12:27 a2d8cc88f415: Pulling fs layer 07:12:27 ea1d1ca13537: Pulling fs layer 07:12:27 3750a50a1c5e: Pulling fs layer 07:12:27 4cf88f913ddb: Waiting 07:12:27 1df406cf5192: Waiting 07:12:27 cd6300453558: Waiting 07:12:27 b9c365052c96: Waiting 07:12:27 a2d8cc88f415: Waiting 07:12:27 ea1d1ca13537: Waiting 07:12:27 3750a50a1c5e: Waiting 07:12:27 8a11ddd9e578: Waiting 07:12:27 777b28850792: Verifying Checksum 07:12:27 777b28850792: Download complete 07:12:27 2a23fa8c16f7: Verifying Checksum 07:12:27 2a23fa8c16f7: Download complete 07:12:27 4cf88f913ddb: Verifying Checksum 07:12:27 4cf88f913ddb: Download complete 07:12:27 1df406cf5192: Verifying Checksum 07:12:27 1df406cf5192: Download complete 07:12:27 cde5963f3b93: Verifying Checksum 07:12:28 cde5963f3b93: Pull complete 07:12:29 2a23fa8c16f7: Pull complete 07:12:29 777b28850792: Pull complete 07:12:31 cd6300453558: Verifying Checksum 07:12:31 cd6300453558: Download complete 07:12:31 a2d8cc88f415: Verifying Checksum 07:12:31 a2d8cc88f415: Download complete 07:12:33 ea1d1ca13537: Verifying Checksum 07:12:33 ea1d1ca13537: Download complete 07:12:34 3750a50a1c5e: Verifying Checksum 07:12:34 3750a50a1c5e: Download complete 07:12:36 b9c365052c96: Verifying Checksum 07:12:36 b9c365052c96: Download complete 07:12:38 8a11ddd9e578: Verifying Checksum 07:12:38 8a11ddd9e578: Download complete 07:12:51 8a11ddd9e578: Pull complete 07:12:51 4cf88f913ddb: Pull complete 07:12:51 1df406cf5192: Pull complete 07:12:55 cd6300453558: Pull complete 07:13:00 b9c365052c96: Pull complete 07:13:00 a2d8cc88f415: Pull complete 07:13:02 ea1d1ca13537: Pull complete 07:13:03 3750a50a1c5e: Pull complete 07:13:03 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:13:03 ---> 78745c68409d 07:13:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:07 ---> Running in efade5ce9614 07:13:07 go: finding github.com/BurntSushi/toml v0.3.1 07:13:07 go: finding github.com/OneOfOne/xxhash v1.2.6 07:13:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:13:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:13:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:13:07 go: finding github.com/bgentry/speakeasy v0.1.0 07:13:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:13:07 go: finding github.com/davecgh/go-spew v1.1.1 07:13:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:13:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:13:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:13:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:13:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:13:07 go: finding github.com/fatih/color v1.7.0 07:13:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:13:07 go: finding github.com/go-kit/kit v0.8.0 07:13:07 go: finding github.com/go-logfmt/logfmt v0.4.0 07:13:07 go: finding github.com/go-stack/stack v1.8.0 07:13:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:13:07 go: finding github.com/google/uuid v1.1.0 07:13:07 go: finding github.com/gorilla/mux v1.7.1 07:13:07 go: finding github.com/hashicorp/consul/api v1.1.0 07:13:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:13:07 go: finding github.com/hashicorp/errwrap v1.0.0 07:13:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:13:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:13:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:13:07 go: finding github.com/hashicorp/go-multierror v1.0.0 07:13:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:13:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:13:07 go: finding github.com/hashicorp/go-syslog v1.0.0 07:13:07 go: finding github.com/hashicorp/go-uuid v1.0.1 07:13:07 go: finding github.com/hashicorp/go.net v0.0.1 07:13:07 go: finding github.com/hashicorp/golang-lru v0.5.0 07:13:07 go: finding github.com/hashicorp/logutils v1.0.0 07:13:07 go: finding github.com/hashicorp/mdns v1.0.0 07:13:07 go: finding github.com/hashicorp/memberlist v0.1.3 07:13:07 go: finding github.com/hashicorp/serf v0.8.2 07:13:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:13:07 go: finding github.com/mattn/go-colorable v0.0.9 07:13:07 go: finding github.com/mattn/go-isatty v0.0.3 07:13:07 go: finding github.com/miekg/dns v1.0.14 07:13:07 go: finding github.com/mitchellh/cli v1.0.0 07:13:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:13:07 go: finding github.com/mitchellh/copystructure v1.0.0 07:13:07 go: finding github.com/mitchellh/go-homedir v1.0.0 07:13:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:13:07 go: finding github.com/mitchellh/gox v0.4.0 07:13:07 go: finding github.com/mitchellh/iochan v1.0.0 07:13:07 go: finding github.com/mitchellh/mapstructure v1.1.2 07:13:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:13:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:13:07 go: finding github.com/pelletier/go-toml v1.2.0 07:13:07 go: finding github.com/pkg/errors v0.8.1 07:13:07 go: finding github.com/pmezard/go-difflib v1.0.0 07:13:07 go: finding github.com/posener/complete v1.1.1 07:13:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:13:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:13:07 go: finding github.com/stretchr/objx v0.1.0 07:13:07 go: finding github.com/stretchr/testify v1.5.1 07:13:07 go: finding github.com/ugorji/go v1.1.4 07:13:07 go: finding github.com/x448/float16 v0.8.4 07:13:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:13:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:13:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:13:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:13:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:13:07 go: finding gopkg.in/yaml.v2 v2.2.8 07:13:08 Removing intermediate container efade5ce9614 07:13:08 ---> 1cbbe7e0ba99 07:13:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:08 ---> Running in 2df52c39d7f4 07:13:09 Removing intermediate container 2df52c39d7f4 07:13:09 ---> a02da8c8c2d6 07:13:09 Step 5/8 : RUN apk add --no-cache make git 07:13:10 ---> Running in 55c5a915432e 07:13:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:13:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:13:12 Removing intermediate container 71089328ea33 07:13:12 ---> 033c8e6f27f5 07:13:12 Successfully built 033c8e6f27f5 07:13:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 07:13:12 OK: 125 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:12 + docker inspect -f . ci-base-image-x86_64 07:13:12 . [Pipeline] withDockerContainer 07:13:13 prd-centos7-docker-4c-2g-3220 does not seem to be running inside a container 07:13:13 $ 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 ******** ci-base-image-x86_64 cat 07:13:13 $ docker top 306b5db45425018474077342a9992f20c563a30675767b020e4595282fc61378 -eo pid,comm 07:13:13 Removing intermediate container 55c5a915432e 07:13:13 ---> da99cee54d1d 07:13:13 Step 6/8 : WORKDIR /device-sdk-go 07:13:13 ---> Running in cb273231e118 [Pipeline] { [Pipeline] sh 07:13:14 Removing intermediate container cb273231e118 07:13:14 ---> 77f8d7cf25a3 07:13:14 Step 7/8 : COPY . . 07:13:14 + go version 07:13:14 go version go1.13.5 linux/amd64 [Pipeline] sh 07:13:14 + make test 07:13:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:13:15 ---> 189748642f14 07:13:15 Step 8/8 : RUN go mod download 07:13:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:13:15 ---> Running in 19070a581f16 07:13:18 go: finding github.com/BurntSushi/toml v0.3.1 07:13:18 go: finding github.com/OneOfOne/xxhash v1.2.6 07:13:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:13:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:13:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:13:18 go: finding github.com/bgentry/speakeasy v0.1.0 07:13:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:13:18 go: finding github.com/davecgh/go-spew v1.1.1 07:13:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:13:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:13:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:13:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:13:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:13:18 go: finding github.com/fatih/color v1.7.0 07:13:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:13:18 go: finding github.com/go-kit/kit v0.8.0 07:13:18 go: finding github.com/go-logfmt/logfmt v0.4.0 07:13:18 go: finding github.com/go-stack/stack v1.8.0 07:13:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:13:18 go: finding github.com/google/uuid v1.1.0 07:13:19 go: finding github.com/gorilla/mux v1.7.1 07:13:19 go: finding github.com/hashicorp/consul/api v1.1.0 07:13:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:13:19 go: finding github.com/hashicorp/errwrap v1.0.0 07:13:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:13:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:13:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:13:19 go: finding github.com/hashicorp/go-multierror v1.0.0 07:13:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:13:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:13:19 go: finding github.com/hashicorp/go-syslog v1.0.0 07:13:19 go: finding github.com/hashicorp/go-uuid v1.0.1 07:13:19 go: finding github.com/hashicorp/go.net v0.0.1 07:13:19 go: finding github.com/hashicorp/golang-lru v0.5.0 07:13:19 go: finding github.com/hashicorp/logutils v1.0.0 07:13:19 go: finding github.com/hashicorp/mdns v1.0.0 07:13:19 go: finding github.com/hashicorp/memberlist v0.1.3 07:13:19 go: finding github.com/hashicorp/serf v0.8.2 07:13:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:13:19 go: finding github.com/mattn/go-colorable v0.0.9 07:13:19 go: finding github.com/mattn/go-isatty v0.0.3 07:13:19 go: finding github.com/miekg/dns v1.0.14 07:13:19 go: finding github.com/mitchellh/cli v1.0.0 07:13:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:13:19 go: finding github.com/mitchellh/copystructure v1.0.0 07:13:20 go: finding github.com/mitchellh/go-homedir v1.0.0 07:13:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:13:20 go: finding github.com/mitchellh/gox v0.4.0 07:13:20 go: finding github.com/mitchellh/iochan v1.0.0 07:13:20 go: finding github.com/mitchellh/mapstructure v1.1.2 07:13:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:13:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:13:20 go: finding github.com/pelletier/go-toml v1.2.0 07:13:20 go: finding github.com/pkg/errors v0.8.1 07:13:20 go: finding github.com/pmezard/go-difflib v1.0.0 07:13:20 go: finding github.com/posener/complete v1.1.1 07:13:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:13:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:13:20 go: finding github.com/stretchr/objx v0.1.0 07:13:20 go: finding github.com/stretchr/testify v1.5.1 07:13:20 go: finding github.com/ugorji/go v1.1.4 07:13:20 go: finding github.com/x448/float16 v0.8.4 07:13:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:13:21 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:13:21 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:13:21 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:13:21 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:13:21 go: finding gopkg.in/yaml.v2 v2.2.8 07:13:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:13:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:13:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.036s coverage: 22.1% of statements 07:13:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.057s coverage: 95.8% of statements 07:13:31 Removing intermediate container 19070a581f16 07:13:31 ---> 674daf68cf34 07:13:31 Successfully built 674daf68cf34 07:13:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:32 + docker inspect -f . ci-base-image-arm64 07:13:32 . [Pipeline] withDockerContainer 07:13:32 prd-ubuntu18.04-docker-arm64-4c-16g-3219 does not seem to be running inside a container 07:13:32 $ 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 ******** ci-base-image-arm64 cat 07:13:34 $ docker top b20cc029ee9f70969fbbfe1c4e2c24e44001ef343487912fe063146b807ded37 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:35 + go version 07:13:35 go version go1.13.5 linux/arm64 [Pipeline] sh 07:13:36 + make test 07:13:36 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:13:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 11.4% of statements 07:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.7% of statements 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.075s coverage: 38.5% of statements 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.460s coverage: 79.8% of statements 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 07:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:14:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.090s coverage: 76.1% of statements 07:14:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:14:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:14:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:14:02 gofmt -l . 07:14:02 [ "`gofmt -l .`" = "" ] 07:14:02 ./bin/test-attribution-txt.sh 07:14:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:14:03 Stashed 1 file(s) [Pipeline] } 07:14:03 $ docker stop --time=1 306b5db45425018474077342a9992f20c563a30675767b020e4595282fc61378 07:14:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:14:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:14:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements 07:14:05 $ docker rm -f 306b5db45425018474077342a9992f20c563a30675767b020e4595282fc61378 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:06 + ls -al . 07:14:06 total 160 07:14:06 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 07:14 . 07:14:06 drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 07:11 .. 07:14:06 drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 07:11 api 07:14:06 drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 07:11 bin 07:14:06 -rw-r--r--. 1 jenkins jenkins 94997 Apr 10 07:14 coverage.out 07:14:06 -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 07:11 Dockerfile.build 07:14:06 -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 07:11 .dockerignore 07:14:06 drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 07:11 example 07:14:06 drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 07:11 .git 07:14:06 drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 07:11 .github 07:14:06 -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 07:11 .gitignore 07:14:06 -rw-r--r--. 1 jenkins jenkins 446 Apr 10 07:14 go.mod 07:14:06 -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 07:14 go.sum 07:14:06 drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 07:11 internal 07:14:06 -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 07:11 Jenkinsfile 07:14:06 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 07:11 LICENSE 07:14:06 -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 07:11 Makefile 07:14:06 drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 07:11 pkg 07:14:06 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 07:11 README.md 07:14:06 drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 07:11 .semver 07:14:06 drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 07:11 snap 07:14:06 -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 07:08 VERSION 07:14:06 -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:14:07 + 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=a9438bce074fd10ddc43b1964bbe4ebc23b312af --label arch=amd64 --label version=0.0.0 . 07:14:07 Sending build context to Docker daemon 2.967MB 07:14:07 Step 1/20 : ARG BASE=golang:1.13-alpine 07:14:07 Step 2/20 : FROM ${BASE} AS builder 07:14:07 ---> 033c8e6f27f5 07:14:07 Step 3/20 : ARG MAKE='make build' 07:14:07 ---> Running in 4b1d00361a25 07:14:07 Removing intermediate container 4b1d00361a25 07:14:07 ---> df5c43f60617 07:14:07 Step 4/20 : WORKDIR /device-sdk-go 07:14:07 ---> Running in f3f4fbb7d7a7 07:14:07 Removing intermediate container f3f4fbb7d7a7 07:14:07 ---> a8774aabf613 07:14:07 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:07 ---> Running in 273a71e4235f 07:14:08 Removing intermediate container 273a71e4235f 07:14:08 ---> c5e3afa2d1d0 07:14:08 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:08 ---> Running in 5f738c50b5f6 07:14:08 Removing intermediate container 5f738c50b5f6 07:14:08 ---> 785b8bd47c7b 07:14:08 Step 7/20 : RUN apk add --update --no-cache make git 07:14:08 ---> Running in b7c4acfa1e18 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.197s coverage: 95.8% of statements 07:14:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:14:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:14:10 OK: 143 MiB in 39 packages 07:14:10 Removing intermediate container b7c4acfa1e18 07:14:10 ---> aa9d3532be59 07:14:10 Step 8/20 : COPY . . 07:14:10 ---> b0f0d6f6d7ea 07:14:10 Step 9/20 : RUN ${MAKE} 07:14:11 ---> Running in 99fd6f2e7728 07:14:11 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 07:14:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:14:19 Removing intermediate container 99fd6f2e7728 07:14:19 ---> 0cad952b7388 07:14:19 Step 10/20 : FROM scratch 07:14:19 ---> 07:14:19 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:19 ---> Running in 50e8718c2f4e 07:14:19 Removing intermediate container 50e8718c2f4e 07:14:19 ---> c5ea29dd7d1b 07:14:19 Step 12/20 : ENV APP_PORT=49990 07:14:19 ---> Running in 93b302f06b1a 07:14:20 Removing intermediate container 93b302f06b1a 07:14:20 ---> ad2a7aad5b15 07:14:20 Step 13/20 : EXPOSE $APP_PORT 07:14:20 ---> Running in d6689ba4bb59 07:14:20 Removing intermediate container d6689ba4bb59 07:14:20 ---> cd14a75ae2b4 07:14:20 Step 14/20 : WORKDIR / 07:14:20 ---> Running in e14985593711 07:14:20 Removing intermediate container e14985593711 07:14:20 ---> 8c12c9c98e0d 07:14:20 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:14:20 ---> b7cdd8e5c95b 07:14:20 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:14:20 ---> 0940e24fa78c 07:14:20 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:14:20 ---> Running in b8851c40fab7 07:14:21 Removing intermediate container b8851c40fab7 07:14:21 ---> bd2744417263 07:14:21 Step 18/20 : LABEL arch=amd64 07:14:21 ---> Running in 48cf410171a7 07:14:21 Removing intermediate container 48cf410171a7 07:14:21 ---> 1ac9e51c9f63 07:14:21 Step 19/20 : LABEL git_sha=a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:14:21 ---> Running in da73c4083eaa 07:14:21 Removing intermediate container da73c4083eaa 07:14:21 ---> 63a50a599022 07:14:21 Step 20/20 : LABEL version=0.0.0 07:14:21 ---> Running in d46377467cf7 07:14:21 Removing intermediate container d46377467cf7 07:14:21 ---> 8bfe8a9c11bf 07:14:21 [Warning] One or more build-args [ARCH] were not consumed 07:14:21 Successfully built 8bfe8a9c11bf 07:14:21 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:14:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 11.4% of statements 07:14:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 22.7% of statements 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:14:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.183s coverage: 38.5% of statements 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:14:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.770s coverage: 79.8% of statements 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:14:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.053s coverage: 52.6% of statements 07:14:40 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:14:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 76.1% of statements 07:14:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:14:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:14:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:14:43 gofmt -l . 07:14:43 [ "`gofmt -l .`" = "" ] 07:14:44 ./bin/test-attribution-txt.sh 07:14:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:14:45 Warning: overwriting stash ‘coverage-report’ 07:14:45 Stashed 1 file(s) [Pipeline] } 07:14:45 $ docker stop --time=1 b20cc029ee9f70969fbbfe1c4e2c24e44001ef343487912fe063146b807ded37 07:14:47 $ docker rm -f b20cc029ee9f70969fbbfe1c4e2c24e44001ef343487912fe063146b807ded37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:49 + ls -al . 07:14:49 total 200 07:14:49 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 07:14 . 07:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 07:12 .. 07:14:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 07:12 .dockerignore 07:14:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 07:12 .git 07:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 07:12 .github 07:14:49 -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 07:12 .gitignore 07:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 07:12 .semver 07:14:49 -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 07:12 Dockerfile.build 07:14:49 -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 07:12 Jenkinsfile 07:14:49 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 07:12 LICENSE 07:14:49 -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 07:12 Makefile 07:14:49 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 07:12 README.md 07:14:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 07:08 VERSION 07:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 07:12 api 07:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 07:12 bin 07:14:49 -rw-r--r-- 1 jenkins jenkins 94997 Apr 10 07:14 coverage.out 07:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 07:12 example 07:14:49 -rw-r--r-- 1 jenkins jenkins 446 Apr 10 07:14 go.mod 07:14:49 -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 07:14 go.sum 07:14:49 drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 07:12 internal 07:14:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 07:12 pkg 07:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 07:12 snap 07:14:49 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:14:50 + 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=a9438bce074fd10ddc43b1964bbe4ebc23b312af --label arch=arm64 --label version=0.0.0 . 07:14:50 Sending build context to Docker daemon 2.965MB 07:14:50 Step 1/20 : ARG BASE=golang:1.13-alpine 07:14:50 Step 2/20 : FROM ${BASE} AS builder 07:14:50 ---> 674daf68cf34 07:14:50 Step 3/20 : ARG MAKE='make build' 07:14:50 ---> Running in 79381a917964 07:14:51 Removing intermediate container 79381a917964 07:14:51 ---> 16678269f6d7 07:14:51 Step 4/20 : WORKDIR /device-sdk-go 07:14:51 ---> Running in 10d38c05d170 07:14:51 Removing intermediate container 10d38c05d170 07:14:51 ---> f10767ee5e4b 07:14:51 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:51 ---> Running in fb8d6cbf8329 07:14:52 Removing intermediate container fb8d6cbf8329 07:14:52 ---> bd536e5f44ce 07:14:52 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:52 ---> Running in c8b2f3b49db2 07:14:54 Removing intermediate container c8b2f3b49db2 07:14:54 ---> 40e0aa6ebef9 07:14:54 Step 7/20 : RUN apk add --update --no-cache make git 07:14:54 ---> Running in 4a9b200d1a65 07:14:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:14:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:14:56 OK: 125 MiB in 39 packages 07:14:57 Removing intermediate container 4a9b200d1a65 07:14:57 ---> 7d7876dcbcb5 07:14:57 Step 8/20 : COPY . . 07:14:58 ---> 23751331ae59 07:14:58 Step 9/20 : RUN ${MAKE} 07:14:58 ---> Running in 0b72046ce8a1 07:14:59 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 07:15:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:15:26 Removing intermediate container 0b72046ce8a1 07:15:26 ---> bf4671a67783 07:15:26 Step 10/20 : FROM scratch 07:15:26 ---> 07:15:26 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:15:26 ---> Running in df1c3f544c3b 07:15:26 Removing intermediate container df1c3f544c3b 07:15:26 ---> 18fc74115073 07:15:26 Step 12/20 : ENV APP_PORT=49990 07:15:26 ---> Running in 3f67d6e55712 07:15:26 Removing intermediate container 3f67d6e55712 07:15:26 ---> a8426172ef82 07:15:26 Step 13/20 : EXPOSE $APP_PORT 07:15:26 ---> Running in 48a69263a86a 07:15:26 Removing intermediate container 48a69263a86a 07:15:26 ---> de6b705ab392 07:15:26 Step 14/20 : WORKDIR / 07:15:26 ---> Running in 6cb2fa636df0 07:15:26 Removing intermediate container 6cb2fa636df0 07:15:26 ---> 17df39c90f2b 07:15:26 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:15:27 ---> 79fdb231122e 07:15:27 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:15:28 ---> cbb882777a5a 07:15:28 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:15:28 ---> Running in 51b39992aa9b 07:15:28 Removing intermediate container 51b39992aa9b 07:15:28 ---> 914347597db1 07:15:28 Step 18/20 : LABEL arch=arm64 07:15:28 ---> Running in 0ed1c998f3d1 07:15:29 Removing intermediate container 0ed1c998f3d1 07:15:29 ---> 2952eaf5132a 07:15:29 Step 19/20 : LABEL git_sha=a9438bce074fd10ddc43b1964bbe4ebc23b312af 07:15:29 ---> Running in 858d6a1c4839 07:15:29 Removing intermediate container 858d6a1c4839 07:15:29 ---> 6cb9fb00ab30 07:15:29 Step 20/20 : LABEL version=0.0.0 07:15:29 ---> Running in 39ac66568aa8 07:15:30 Removing intermediate container 39ac66568aa8 07:15:30 ---> 367c84a88a58 07:15:30 [Warning] One or more build-args [ARCH] were not consumed 07:15:30 Successfully built 367c84a88a58 07:15:30 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] } [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 07:15:31 provisioning config files... 07:15:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config1676166245557240082tmp [Pipeline] { [Pipeline] sh 07:15:32 + curl -s https://codecov.io/bash 07:15:32 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config1676166245557240082tmp 07:15:32 07:15:32 _____ _ 07:15:32 / ____| | | 07:15:32 | | ___ __| | ___ ___ _____ __ 07:15:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:15:32 | |___| (_) | (_| | __/ (_| (_) \ V / 07:15:32 \_____\___/ \__,_|\___|\___\___/ \_/ 07:15:32 Bash-tbd 07:15:32 07:15:32 07:15:32 ==> Jenkins CI detected. 07:15:32 project root: . 07:15:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:15:32 ==> Running gcov in . (disable via -X gcov) 07:15:32 ==> Python coveragepy not found 07:15:32 ==> Searching for coverage reports in: 07:15:32 + . 07:15:32 -> Found 1 reports 07:15:32 ==> Detecting git/mercurial file structure 07:15:32 ==> Reading reports 07:15:32 + ./coverage.out bytes=94997 07:15:32 ==> Appending adjustments 07:15:32 http://docs.codecov.io/docs/fixing-reports 07:15:32 + Found adjustments 07:15:33 ==> Gzipping contents 07:15:33 ==> Uploading reports 07:15:33 url: https://codecov.io 07:15:33 query: branch=PR-481&commit=a9438bce074fd10ddc43b1964bbe4ebc23b312af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= 07:15:33 -> Pinging Codecov 07:15:33 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-481&commit=a9438bce074fd10ddc43b1964bbe4ebc23b312af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= 07:15:33 -> Uploading 07:15:34 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a9438bce074fd10ddc43b1964bbe4ebc23b312af [Pipeline] } 07:15:34 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 07:15:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:15:36 ---> package-listing.sh 07:15:36 ++ facter osfamily 07:15:36 ++ tr '[:upper:]' '[:lower:]' 07:15:36 + OS_FAMILY=redhat 07:15:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-481 07:15:36 + START_PACKAGES=/tmp/packages_start.txt 07:15:36 + END_PACKAGES=/tmp/packages_end.txt 07:15:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:15:36 + PACKAGES=/tmp/packages_start.txt 07:15:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' 07:15:36 + PACKAGES=/tmp/packages_end.txt 07:15:36 + case "${OS_FAMILY}" in 07:15:36 + rpm -qa 07:15:36 + sort 07:15:40 + '[' -f /tmp/packages_start.txt ']' 07:15:40 + '[' -f /tmp/packages_end.txt ']' 07:15:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:15:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' 07:15:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ 07:15:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ [Pipeline] isUnix [Pipeline] sh 07:15:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:40 07:15:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:15:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:41 alpine: Pulling from edgex-lftools-log-publisher 07:15:41 c9b1b535fdd9: Pulling fs layer 07:15:41 2cc5ad85d9ab: Pulling fs layer 07:15:41 756a868c4378: Pulling fs layer 07:15:41 444b2fc9a129: Pulling fs layer 07:15:41 ea15f1150254: Pulling fs layer 07:15:41 41b27a9f41bf: Pulling fs layer 07:15:41 28c525ee5125: Pulling fs layer 07:15:41 094b1ea09ed8: Pulling fs layer 07:15:41 138eaada9080: Pulling fs layer 07:15:41 0622d0fa9048: Pulling fs layer 07:15:41 ea15f1150254: Waiting 07:15:41 41b27a9f41bf: Waiting 07:15:41 094b1ea09ed8: Waiting 07:15:41 138eaada9080: Waiting 07:15:41 0622d0fa9048: Waiting 07:15:41 444b2fc9a129: Waiting 07:15:41 2cc5ad85d9ab: Download complete 07:15:41 444b2fc9a129: Verifying Checksum 07:15:41 444b2fc9a129: Download complete 07:15:41 c9b1b535fdd9: Download complete 07:15:41 ea15f1150254: Verifying Checksum 07:15:41 ea15f1150254: Download complete 07:15:41 28c525ee5125: Verifying Checksum 07:15:41 28c525ee5125: Download complete 07:15:41 c9b1b535fdd9: Pull complete 07:15:41 756a868c4378: Verifying Checksum 07:15:41 756a868c4378: Download complete 07:15:41 138eaada9080: Verifying Checksum 07:15:41 138eaada9080: Download complete 07:15:41 2cc5ad85d9ab: Pull complete 07:15:41 0622d0fa9048: Verifying Checksum 07:15:41 0622d0fa9048: Download complete 07:15:41 094b1ea09ed8: Verifying Checksum 07:15:41 094b1ea09ed8: Download complete 07:15:42 41b27a9f41bf: Verifying Checksum 07:15:42 41b27a9f41bf: Download complete 07:15:43 756a868c4378: Pull complete 07:15:43 444b2fc9a129: Pull complete 07:15:43 ea15f1150254: Pull complete 07:15:47 41b27a9f41bf: Pull complete 07:15:47 28c525ee5125: Pull complete 07:15:49 094b1ea09ed8: Pull complete 07:15:49 138eaada9080: Pull complete 07:15:49 0622d0fa9048: Pull complete 07:15:49 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:15:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:15:49 prd-centos7-docker-4c-2g-3217 does not seem to be running inside a container 07:15:49 $ 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-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:15:50 $ docker top f16ee23bbae56d3bf6fd2956fd03310560507b5cf73599f2a2808803fb664f66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:51 provisioning config files... 07:15:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config751086417447642788tmp [Pipeline] { [Pipeline] echo 07:15:51 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:15:51 ---> create-netrc.sh [Pipeline] echo 07:15:51 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:15:52 ---> logs-deploy.sh 07:15:52 + ARCHIVE_ARTIFACTS= 07:15:52 + LOGS_SERVER=https://logs.edgexfoundry.org 07:15:52 + '[' https://logs.edgexfoundry.org == None ']' 07:15:52 + NEXUS_URL=https://nexus.edgexfoundry.org 07:15:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/1 07:15:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/1/ 07:15:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/1 /w/workspace/dgexfoundry_device-sdk-go_PR-481 07:15:53 Archives upload complete. 07:15:53 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/1/ 07:15:54 ---> uname -a: 07:15:54 Linux f16ee23bbae5 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 07:15:54 07:15:54 07:15:54 ---> lscpu: 07:15:54 Architecture: x86_64 07:15:54 CPU op-mode(s): 32-bit, 64-bit 07:15:54 Byte Order: Little Endian 07:15:54 Address sizes: 40 bits physical, 48 bits virtual 07:15:54 CPU(s): 4 07:15:54 On-line CPU(s) list: 0-3 07:15:54 Thread(s) per core: 1 07:15:54 Core(s) per socket: 1 07:15:54 Socket(s): 4 07:15:54 NUMA node(s): 1 07:15:54 Vendor ID: GenuineIntel 07:15:54 CPU family: 6 07:15:54 Model: 44 07:15:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:15:54 Stepping: 1 07:15:54 CPU MHz: 2933.438 07:15:54 BogoMIPS: 5866.87 07:15:54 Virtualization: VT-x 07:15:54 Hypervisor vendor: KVM 07:15:54 Virtualization type: full 07:15:54 L1d cache: 128 KiB 07:15:54 L1i cache: 128 KiB 07:15:54 L2 cache: 16 MiB 07:15:54 L3 cache: 64 MiB 07:15:54 NUMA node0 CPU(s): 0-3 07:15:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 07:15:54 Vulnerability Meltdown: Mitigation; PTI 07:15:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:15:54 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 07:15:54 Vulnerability Spectre v2: Mitigation; Full retpoline 07:15:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:15:54 07:15:54 07:15:54 ---> nproc: 07:15:54 4 07:15:54 07:15:54 07:15:54 ---> df -h: 07:15:54 Filesystem Size Used Available Use% Mounted on 07:15:54 overlay 50.0G 6.3G 43.7G 13% / 07:15:54 tmpfs 64.0M 0 64.0M 0% /dev 07:15:54 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 07:15:54 shm 64.0M 0 64.0M 0% /dev/shm 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 07:15:54 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-481 07:15:54 07:15:54 07:15:54 ---> free -m: 07:15:54 total used free shared buff/cache available 07:15:54 Mem: 1838 594 71 0 1172 1139 07:15:54 Swap: 1023 1 1022 07:15:54 07:15:54