Pull request #473 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 79a40a317d1b6800d1816ffd538dea299a9d4c8b rather than 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c Obtained Jenkinsfile from 79a40a317d1b6800d1816ffd538dea299a9d4c8b Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 [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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2751 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [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-473 # 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/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c Merge succeeded, producing 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c Checking out Revision 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c (PR-473) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/473/head:refs/remotes/origin/PR-473 # 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/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # 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 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 Commit message: "Switch CBOR library for better security" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 0cc523f12fa4c81f48bba7f52516e3822f53c794 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:57:58 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 04:58:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:58:00 04:58:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:58:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:58:00 latest: Pulling from edgex-devops/git-semver 04:58:00 9123ac7c32f7: Pulling fs layer 04:58:00 b8cc5d1170e3: Pulling fs layer 04:58:00 2924cbbf6a41: Pulling fs layer 04:58:00 93b08a4f1073: Pulling fs layer 04:58:00 93b08a4f1073: Waiting 04:58:00 b8cc5d1170e3: Download complete 04:58:00 9123ac7c32f7: Verifying Checksum 04:58:00 9123ac7c32f7: Download complete 04:58:00 93b08a4f1073: Verifying Checksum 04:58:00 93b08a4f1073: Download complete 04:58:00 2924cbbf6a41: Verifying Checksum 04:58:00 2924cbbf6a41: Download complete 04:58:01 9123ac7c32f7: Pull complete 04:58:01 b8cc5d1170e3: Pull complete 04:58:02 2924cbbf6a41: Pull complete 04:58:02 93b08a4f1073: Pull complete 04:58:02 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:58:02 prd-centos7-docker-4c-2g-2751 does not seem to be running inside a container 04:58:02 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-473 -v /w/workspace/dgexfoundry_device-sdk-go_PR-473:/w/workspace/dgexfoundry_device-sdk-go_PR-473:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-473@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 04:58:03 $ docker top faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:03 [ssh-agent] Looking for ssh-agent implementation... 04:58:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:03 $ docker exec faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf ssh-agent 04:58:03 SSH_AUTH_SOCK=/tmp/ssh-sKiyRDc69Mb7/agent.15 04:58:03 SSH_AGENT_PID=22 04:58:03 Running ssh-add (command line suppressed) 04:58:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_6080509543411141466.key (/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_6080509543411141466.key) 04:58:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:04 + git describe --exact-match --tags HEAD 04:58:04 fatal: No names found, cannot describe anything. [Pipeline] } 04:58:04 $ docker exec --env ******** --env ******** faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf ssh-agent -k 04:58:04 unset SSH_AUTH_SOCK; 04:58:04 unset SSH_AGENT_PID; 04:58:04 echo Agent pid 22 killed; 04:58:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:58:04 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:58:04 This usually means this commit has not been tagged. [Pipeline] sshagent 04:58:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:04 [ssh-agent] Looking for ssh-agent implementation... 04:58:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:05 $ docker exec faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf ssh-agent 04:58:05 SSH_AUTH_SOCK=/tmp/ssh-IX9XkTJIbBCL/agent.58 04:58:05 SSH_AGENT_PID=65 04:58:05 Running ssh-add (command line suppressed) 04:58:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_1893342929269427034.key (/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_1893342929269427034.key) 04:58:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:06 + git semver init 04:58:06 # -> Open(): unable to determine branch for HEAD 04:58:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-473/.git 04:58:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-473 04:58:06 # $SEMVER_REMOTE_NAME = origin 04:58:06 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:58:06 # $SEMVER_USER_NAME = jenkins 04:58:06 # $SEMVER_BRANCH = PR-473 04:58:06 # $SEMVER_TEMP = /tmp/semver-031244185 04:58:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:58:06 # '/tmp/semver-031244185' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-473/.semver' 04:58:06 # -> Force: false 04:58:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-473/.semver [Pipeline] } 04:58:06 $ docker exec --env ******** --env ******** faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf ssh-agent -k 04:58:06 unset SSH_AUTH_SOCK; 04:58:06 unset SSH_AGENT_PID; 04:58:06 echo Agent pid 65 killed; 04:58:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:07 + git semver [Pipeline] } 04:58:07 $ docker stop --time=1 faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf 04:58:08 $ docker rm -f faefa15fddabf785d52c8ca7ed7cf5047a0651dc3f273753aa29aeacb8489ecf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:58:09 Stashed 36 file(s) [Pipeline] echo 04:58:09 [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 04:58:24 Still waiting to schedule task 04:58:24 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2751’ 04:58:24 Still waiting to schedule task 04:58:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:01:05 Running on prd-centos7-docker-4c-2g-2753 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [Pipeline] { [Pipeline] ws 05:01:05 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:01:07 using credential edgex-jenkins-ssh 05:01:07 Cloning the remote Git repository 05:01:07 Cloning with configured refspecs honoured and without tags 05:01:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:01:06 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:01:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:06 > git --version # timeout=10 05:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:08 Fetching without tags 05:01:08 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:01:08 Merge succeeded, producing 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:01:08 Checking out Revision 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c (PR-473) 05:01:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:07 > git config --add remote.origin.fetch +refs/pull/473/head:refs/remotes/origin/PR-473 # timeout=10 05:01:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:07 > git config core.sparsecheckout # timeout=10 05:01:07 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 05:01:07 > git remote # timeout=10 05:01:07 > git config --get remote.origin.url # timeout=10 05:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:07 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 05:01:07 > git rev-parse HEAD^{commit} # timeout=10 05:01:07 > git config core.sparsecheckout # timeout=10 05:01:07 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 05:01:12 Commit message: "Switch CBOR library for better security" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:01:13 ========================================================= 05:01:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:01:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:01:14 + 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 . 05:01:14 Sending build context to Docker daemon 2.805MB 05:01:14 Step 1/8 : ARG BASE=golang:1.13-alpine 05:01:14 Step 2/8 : FROM ${BASE} 05:01:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:01:14 e6b0cf9c0882: Pulling fs layer 05:01:14 2848faf0eed1: Pulling fs layer 05:01:14 0f37312ad70f: Pulling fs layer 05:01:14 5788d62ee057: Pulling fs layer 05:01:14 0e6b1d234666: Pulling fs layer 05:01:14 bf5d7aec512f: Pulling fs layer 05:01:14 34c802a77dc8: Pulling fs layer 05:01:14 9eb99e56ec68: Pulling fs layer 05:01:14 27c7a5d97fbd: Pulling fs layer 05:01:14 5c102a31e300: Pulling fs layer 05:01:14 dcfb455df0a1: Pulling fs layer 05:01:14 0e6b1d234666: Waiting 05:01:14 bf5d7aec512f: Waiting 05:01:14 34c802a77dc8: Waiting 05:01:14 5c102a31e300: Waiting 05:01:14 9eb99e56ec68: Waiting 05:01:14 27c7a5d97fbd: Waiting 05:01:14 dcfb455df0a1: Waiting 05:01:14 5788d62ee057: Waiting 05:01:14 0f37312ad70f: Verifying Checksum 05:01:14 0f37312ad70f: Download complete 05:01:14 2848faf0eed1: Download complete 05:01:14 0e6b1d234666: Verifying Checksum 05:01:14 0e6b1d234666: Download complete 05:01:14 bf5d7aec512f: Verifying Checksum 05:01:14 bf5d7aec512f: Download complete 05:01:14 e6b0cf9c0882: Verifying Checksum 05:01:14 e6b0cf9c0882: Download complete 05:01:14 e6b0cf9c0882: Pull complete 05:01:14 2848faf0eed1: Pull complete 05:01:14 0f37312ad70f: Pull complete 05:01:15 34c802a77dc8: Verifying Checksum 05:01:15 34c802a77dc8: Download complete 05:01:15 27c7a5d97fbd: Verifying Checksum 05:01:15 27c7a5d97fbd: Download complete 05:01:15 5c102a31e300: Verifying Checksum 05:01:15 5c102a31e300: Download complete 05:01:15 dcfb455df0a1: Verifying Checksum 05:01:15 dcfb455df0a1: Download complete 05:01:16 9eb99e56ec68: Verifying Checksum 05:01:16 9eb99e56ec68: Download complete 05:01:16 5788d62ee057: Verifying Checksum 05:01:16 5788d62ee057: Download complete 05:01:21 5788d62ee057: Pull complete 05:01:21 0e6b1d234666: Pull complete 05:01:21 bf5d7aec512f: Pull complete 05:01:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2752 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [Pipeline] { [Pipeline] ws 05:01:24 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:01:28 34c802a77dc8: Pull complete 05:01:30 9eb99e56ec68: Pull complete 05:01:30 27c7a5d97fbd: Pull complete 05:01:30 5c102a31e300: Pull complete 05:01:31 dcfb455df0a1: Pull complete 05:01:31 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:01:31 ---> 7c70fe431013 05:01:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:01:31 ---> Running in 37959873a048 05:01:31 using credential edgex-jenkins-ssh 05:01:31 Cloning the remote Git repository 05:01:31 Cloning with configured refspecs honoured and without tags 05:01:31 Removing intermediate container 37959873a048 05:01:31 ---> 29f11915cca2 05:01:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:31 ---> Running in c5cd12fb8958 05:01:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:01:31 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:01:32 Removing intermediate container c5cd12fb8958 05:01:32 ---> 81e8b937aed5 05:01:32 Step 5/8 : RUN apk add --no-cache make git 05:01:32 ---> Running in c1eb4f4bf2ca 05:01:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:31 > git --version # timeout=10 05:01:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:32 Fetching without tags 05:01:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:01:33 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:01:33 Merge succeeded, producing 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:01:33 Checking out Revision 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c (PR-473) 05:01:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:32 > git config --add remote.origin.fetch +refs/pull/473/head:refs/remotes/origin/PR-473 # timeout=10 05:01:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:33 > git config core.sparsecheckout # timeout=10 05:01:33 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 05:01:33 > git remote # timeout=10 05:01:33 > git config --get remote.origin.url # timeout=10 05:01:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:33 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 05:01:33 > git rev-parse HEAD^{commit} # timeout=10 05:01:33 > git config core.sparsecheckout # timeout=10 05:01:33 > git checkout -f 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 05:01:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:01:35 OK: 143 MiB in 39 packages 05:01:35 Removing intermediate container c1eb4f4bf2ca 05:01:35 ---> 6cb697ad27d1 05:01:35 Step 6/8 : WORKDIR /device-sdk-go 05:01:35 ---> Running in ce5af5cfa0ca 05:01:35 Removing intermediate container ce5af5cfa0ca 05:01:35 ---> f38f9268884a 05:01:35 Step 7/8 : COPY . . 05:01:36 ---> 1bf669ad8769 05:01:36 Step 8/8 : RUN go mod download 05:01:36 ---> Running in 6495aadb88da 05:01:38 Commit message: "Switch CBOR library for better security" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:01:38 go: finding github.com/BurntSushi/toml v0.3.1 05:01:38 go: finding github.com/OneOfOne/xxhash v1.2.6 05:01:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:01:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:01:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:01:38 go: finding github.com/bgentry/speakeasy v0.1.0 05:01:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:01:38 go: finding github.com/davecgh/go-spew v1.1.1 05:01:39 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 05:01:39 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:01:39 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 05:01:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:01:39 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:01:39 go: finding github.com/fatih/color v1.7.0 05:01:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:01:39 go: finding github.com/go-kit/kit v0.8.0 05:01:39 go: finding github.com/go-logfmt/logfmt v0.4.0 05:01:39 go: finding github.com/go-stack/stack v1.8.0 05:01:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:01:39 go: finding github.com/google/uuid v1.1.0 05:01:39 go: finding github.com/gorilla/mux v1.7.1 05:01:39 go: finding github.com/hashicorp/consul/api v1.1.0 [Pipeline] echo 05:01:39 ========================================================= 05:01:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:01:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:01:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:01:39 go: finding github.com/hashicorp/errwrap v1.0.0 05:01:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:01:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:01:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:01:39 go: finding github.com/hashicorp/go-multierror v1.0.0 05:01:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:01:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:01:39 go: finding github.com/hashicorp/go-syslog v1.0.0 05:01:39 go: finding github.com/hashicorp/go-uuid v1.0.1 05:01:39 go: finding github.com/hashicorp/go.net v0.0.1 05:01:39 go: finding github.com/hashicorp/golang-lru v0.5.0 05:01:39 go: finding github.com/hashicorp/logutils v1.0.0 05:01:39 go: finding github.com/hashicorp/mdns v1.0.0 05:01:40 go: finding github.com/hashicorp/memberlist v0.1.3 05:01:40 go: finding github.com/hashicorp/serf v0.8.2 05:01:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:01:40 go: finding github.com/mattn/go-colorable v0.0.9 05:01:40 go: finding github.com/mattn/go-isatty v0.0.3 05:01:40 go: finding github.com/miekg/dns v1.0.14 05:01:40 go: finding github.com/mitchellh/cli v1.0.0 05:01:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:01:40 go: finding github.com/mitchellh/copystructure v1.0.0 05:01:40 go: finding github.com/mitchellh/go-homedir v1.0.0 05:01:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:01:40 go: finding github.com/mitchellh/gox v0.4.0 05:01:40 go: finding github.com/mitchellh/iochan v1.0.0 05:01:40 go: finding github.com/mitchellh/mapstructure v1.1.2 05:01:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:01:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:01:40 go: finding github.com/pelletier/go-toml v1.2.0 05:01:40 go: finding github.com/pkg/errors v0.8.1 05:01:40 go: finding github.com/pmezard/go-difflib v1.0.0 05:01:40 go: finding github.com/posener/complete v1.1.1 05:01:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:01:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:01:40 + 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 . 05:01:40 go: finding github.com/stretchr/objx v0.1.0 05:01:40 go: finding github.com/stretchr/testify v1.5.1 05:01:40 go: finding github.com/ugorji/go v1.1.4 05:01:40 go: finding github.com/x448/float16 v0.8.4 05:01:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:01:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:01:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:01:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:01:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:01:41 go: finding gopkg.in/yaml.v2 v2.2.8 05:01:41 Sending build context to Docker daemon 2.805MB 05:01:41 Step 1/8 : ARG BASE=golang:1.13-alpine 05:01:41 Step 2/8 : FROM ${BASE} 05:01:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:01:41 cde5963f3b93: Pulling fs layer 05:01:41 2a23fa8c16f7: Pulling fs layer 05:01:41 777b28850792: Pulling fs layer 05:01:41 8a11ddd9e578: Pulling fs layer 05:01:41 4cf88f913ddb: Pulling fs layer 05:01:41 1df406cf5192: Pulling fs layer 05:01:41 cd6300453558: Pulling fs layer 05:01:41 b9c365052c96: Pulling fs layer 05:01:41 a2d8cc88f415: Pulling fs layer 05:01:41 ea1d1ca13537: Pulling fs layer 05:01:41 3750a50a1c5e: Pulling fs layer 05:01:41 8a11ddd9e578: Waiting 05:01:41 4cf88f913ddb: Waiting 05:01:41 1df406cf5192: Waiting 05:01:41 cd6300453558: Waiting 05:01:41 b9c365052c96: Waiting 05:01:41 a2d8cc88f415: Waiting 05:01:41 ea1d1ca13537: Waiting 05:01:41 3750a50a1c5e: Waiting 05:01:41 777b28850792: Download complete 05:01:41 2a23fa8c16f7: Verifying Checksum 05:01:41 2a23fa8c16f7: Download complete 05:01:42 4cf88f913ddb: Verifying Checksum 05:01:42 4cf88f913ddb: Download complete 05:01:42 1df406cf5192: Verifying Checksum 05:01:42 1df406cf5192: Download complete 05:01:42 cde5963f3b93: Verifying Checksum 05:01:43 cde5963f3b93: Pull complete 05:01:43 2a23fa8c16f7: Pull complete 05:01:43 777b28850792: Pull complete 05:01:45 Removing intermediate container 6495aadb88da 05:01:45 ---> a7a494c8809c 05:01:45 Successfully built a7a494c8809c 05:01:45 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 05:01:45 + docker inspect -f . ci-base-image-x86_64 05:01:45 . [Pipeline] withDockerContainer 05:01:45 prd-centos7-docker-4c-2g-2753 does not seem to be running inside a container 05:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:01:46 cd6300453558: Verifying Checksum 05:01:46 cd6300453558: Download complete 05:01:46 a2d8cc88f415: Verifying Checksum 05:01:46 a2d8cc88f415: Download complete 05:01:46 $ docker top 599a15b608da34105005b0ebbb9f05dcd1a04e41f00931fc07f2295cc548a392 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:47 + go version 05:01:47 go version go1.13.5 linux/amd64 [Pipeline] sh 05:01:47 + make test 05:01:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:01:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:01:48 ea1d1ca13537: Verifying Checksum 05:01:48 ea1d1ca13537: Download complete 05:01:48 3750a50a1c5e: Verifying Checksum 05:01:48 3750a50a1c5e: Download complete 05:01:52 b9c365052c96: Verifying Checksum 05:01:52 b9c365052c96: Download complete 05:01:53 8a11ddd9e578: Verifying Checksum 05:01:53 8a11ddd9e578: Download complete 05:02:05 8a11ddd9e578: Pull complete 05:02:05 4cf88f913ddb: Pull complete 05:02:05 1df406cf5192: Pull complete 05:02:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.6% of statements 05:02:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.064s coverage: 95.8% of statements 05:02:09 cd6300453558: Pull complete 05:02:14 b9c365052c96: Pull complete 05:02:14 a2d8cc88f415: Pull complete 05:02:16 ea1d1ca13537: Pull complete 05:02:16 3750a50a1c5e: Pull complete 05:02:16 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:02:16 ---> 78745c68409d 05:02:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:02:22 ---> Running in bb8280694c7f 05:02:22 Removing intermediate container bb8280694c7f 05:02:22 ---> c9b62095597d 05:02:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:22 ---> Running in ce2ca1090fef 05:02:24 Removing intermediate container ce2ca1090fef 05:02:24 ---> bc59e14dd9d0 05:02:24 Step 5/8 : RUN apk add --no-cache make git 05:02:24 ---> Running in c19889189a66 05:02:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:02:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:02:27 OK: 125 MiB in 39 packages 05:02:28 Removing intermediate container c19889189a66 05:02:28 ---> 288028cde10a 05:02:28 Step 6/8 : WORKDIR /device-sdk-go 05:02:28 ---> Running in 854c21730ef6 05:02:28 Removing intermediate container 854c21730ef6 05:02:28 ---> 170c4bde3c84 05:02:28 Step 7/8 : COPY . . 05:02:29 ---> c0c5bdd67b55 05:02:29 Step 8/8 : RUN go mod download 05:02:29 ---> Running in 28143d432c17 05:02:32 go: finding github.com/BurntSushi/toml v0.3.1 05:02:32 go: finding github.com/OneOfOne/xxhash v1.2.6 05:02:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:02:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:02:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:02:32 go: finding github.com/bgentry/speakeasy v0.1.0 05:02:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:02:32 go: finding github.com/davecgh/go-spew v1.1.1 05:02:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 05:02:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:02:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 05:02:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:02:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:02:32 go: finding github.com/fatih/color v1.7.0 05:02:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:02:32 go: finding github.com/go-kit/kit v0.8.0 05:02:32 go: finding github.com/go-logfmt/logfmt v0.4.0 05:02:32 go: finding github.com/go-stack/stack v1.8.0 05:02:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:02:32 go: finding github.com/google/uuid v1.1.0 05:02:32 go: finding github.com/gorilla/mux v1.7.1 05:02:32 go: finding github.com/hashicorp/consul/api v1.1.0 05:02:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:02:32 go: finding github.com/hashicorp/errwrap v1.0.0 05:02:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:02:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:02:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:02:32 go: finding github.com/hashicorp/go-multierror v1.0.0 05:02:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:02:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:02:32 go: finding github.com/hashicorp/go-syslog v1.0.0 05:02:32 go: finding github.com/hashicorp/go-uuid v1.0.1 05:02:32 go: finding github.com/hashicorp/go.net v0.0.1 05:02:32 go: finding github.com/hashicorp/golang-lru v0.5.0 05:02:33 go: finding github.com/hashicorp/logutils v1.0.0 05:02:33 go: finding github.com/hashicorp/mdns v1.0.0 05:02:33 go: finding github.com/hashicorp/memberlist v0.1.3 05:02:33 go: finding github.com/hashicorp/serf v0.8.2 05:02:33 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:02:33 go: finding github.com/mattn/go-colorable v0.0.9 05:02:33 go: finding github.com/mattn/go-isatty v0.0.3 05:02:33 go: finding github.com/miekg/dns v1.0.14 05:02:33 go: finding github.com/mitchellh/cli v1.0.0 05:02:33 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:02:33 go: finding github.com/mitchellh/copystructure v1.0.0 05:02:33 go: finding github.com/mitchellh/go-homedir v1.0.0 05:02:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:02:33 go: finding github.com/mitchellh/gox v0.4.0 05:02:33 go: finding github.com/mitchellh/iochan v1.0.0 05:02:33 go: finding github.com/mitchellh/mapstructure v1.1.2 05:02:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:02:33 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:02:33 go: finding github.com/pelletier/go-toml v1.2.0 05:02:33 go: finding github.com/pkg/errors v0.8.1 05:02:33 go: finding github.com/pmezard/go-difflib v1.0.0 05:02:33 go: finding github.com/posener/complete v1.1.1 05:02:33 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:02:33 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:02:33 go: finding github.com/stretchr/objx v0.1.0 05:02:33 go: finding github.com/stretchr/testify v1.5.1 05:02:33 go: finding github.com/ugorji/go v1.1.4 05:02:33 go: finding github.com/x448/float16 v0.8.4 05:02:33 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:02:33 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:02:33 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:02:33 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:02:33 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:02:33 go: finding gopkg.in/yaml.v2 v2.2.8 05:02:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 7.7% of statements 05:02:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.040s coverage: 22.7% of statements 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:02:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.144s coverage: 38.5% of statements 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:02:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.350s coverage: 79.9% of statements 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:02:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:02:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 05:02:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 76.1% of statements 05:02:38 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:02:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:02:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:02:38 gofmt -l . 05:02:38 [ "`gofmt -l .`" = "" ] 05:02:38 ./bin/test-attribution-txt.sh 05:02:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:02:39 Stashed 1 file(s) [Pipeline] } 05:02:39 $ docker stop --time=1 599a15b608da34105005b0ebbb9f05dcd1a04e41f00931fc07f2295cc548a392 05:02:40 $ docker rm -f 599a15b608da34105005b0ebbb9f05dcd1a04e41f00931fc07f2295cc548a392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:42 + ls -al . 05:02:42 total 160 05:02:42 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 05:02 . 05:02:42 drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 05:01 .. 05:02:42 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 05:01 api 05:02:42 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 05:01 bin 05:02:42 -rw-r--r--. 1 jenkins jenkins 94906 Apr 8 05:02 coverage.out 05:02:42 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 05:01 Dockerfile.build 05:02:42 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 05:01 .dockerignore 05:02:42 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 05:01 example 05:02:42 drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 05:01 .git 05:02:42 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 05:01 .github 05:02:42 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 05:01 .gitignore 05:02:42 -rw-r--r--. 1 jenkins jenkins 446 Apr 8 05:02 go.mod 05:02:42 -rw-r--r--. 1 jenkins jenkins 12152 Apr 8 05:02 go.sum 05:02:42 drwxrwxr-x. 13 jenkins jenkins 179 Apr 8 05:01 internal 05:02:42 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 05:01 Jenkinsfile 05:02:42 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 05:01 LICENSE 05:02:42 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 05:01 Makefile 05:02:42 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 05:01 pkg 05:02:42 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 05:01 README.md 05:02:42 drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 05:01 .semver 05:02:42 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 05:01 snap 05:02:42 -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 04:58 VERSION 05:02:42 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:02:42 + 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=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c --label arch=amd64 --label version=0.0.0 . 05:02:42 Sending build context to Docker daemon 2.921MB 05:02:42 Step 1/20 : ARG BASE=golang:1.13-alpine 05:02:42 Step 2/20 : FROM ${BASE} AS builder 05:02:42 ---> a7a494c8809c 05:02:42 Step 3/20 : ARG MAKE='make build' 05:02:42 ---> Running in 2ee0cbaa7022 05:02:42 Removing intermediate container 2ee0cbaa7022 05:02:42 ---> 7f382f5c5cb5 05:02:42 Step 4/20 : WORKDIR /device-sdk-go 05:02:42 ---> Running in 011fe111004f 05:02:43 Removing intermediate container 011fe111004f 05:02:43 ---> b7b636e63c45 05:02:43 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:02:43 ---> Running in 1c91b1ebb1a7 05:02:43 Removing intermediate container 1c91b1ebb1a7 05:02:43 ---> 1ecd7a271237 05:02:43 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:43 ---> Running in 75c782a0c3c4 05:02:43 Removing intermediate container 28143d432c17 05:02:43 ---> 9a1f0149da02 05:02:43 Successfully built 9a1f0149da02 05:02:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:02:44 Removing intermediate container 75c782a0c3c4 05:02:44 ---> b739985a3533 05:02:44 Step 7/20 : RUN apk add --update --no-cache make git 05:02:44 ---> Running in dab954883542 05:02:44 + docker inspect -f . ci-base-image-arm64 05:02:44 . [Pipeline] withDockerContainer 05:02:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:02:44 prd-ubuntu18.04-docker-arm64-4c-16g-2752 does not seem to be running inside a container 05:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:02:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:02:46 OK: 143 MiB in 39 packages 05:02:46 Removing intermediate container dab954883542 05:02:46 ---> 7e1d2b7cada4 05:02:46 Step 8/20 : COPY . . 05:02:46 $ docker top 24abc8bc4d26aeb348d1bff1f6927d2a84862e5ec5491023e716420520f0558b -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:47 ---> 5a49d781c16a 05:02:47 Step 9/20 : RUN ${MAKE} 05:02:47 ---> Running in d3fc1449512f 05:02:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:02:47 + go version 05:02:47 go version go1.13.5 linux/arm64 [Pipeline] sh 05:02:48 + make test 05:02:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:02:49 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:02:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:02:59 Removing intermediate container d3fc1449512f 05:02:59 ---> 727fbb4a7387 05:02:59 Step 10/20 : FROM scratch 05:02:59 ---> 05:02:59 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:02:59 ---> Running in 5e24a3af0209 05:02:59 Removing intermediate container 5e24a3af0209 05:02:59 ---> d8513763ba58 05:02:59 Step 12/20 : ENV APP_PORT=49990 05:02:59 ---> Running in c30c3b155a25 05:02:59 Removing intermediate container c30c3b155a25 05:02:59 ---> fd047aa0a63d 05:02:59 Step 13/20 : EXPOSE $APP_PORT 05:02:59 ---> Running in 44f8956caeda 05:02:59 Removing intermediate container 44f8956caeda 05:02:59 ---> 9049a579ecc2 05:02:59 Step 14/20 : WORKDIR / 05:02:59 ---> Running in 9eb6274ca30b 05:03:00 Removing intermediate container 9eb6274ca30b 05:03:00 ---> 078902270fa7 05:03:00 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:03:00 ---> 7d6f2cf11984 05:03:00 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 05:03:00 ---> 2dfa9e94cc14 05:03:00 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 05:03:00 ---> Running in 2b9ccf0b322b 05:03:00 Removing intermediate container 2b9ccf0b322b 05:03:00 ---> d4f42c3809ca 05:03:00 Step 18/20 : LABEL arch=amd64 05:03:00 ---> Running in 9b3f9481c078 05:03:00 Removing intermediate container 9b3f9481c078 05:03:00 ---> 00e0a7273b57 05:03:00 Step 19/20 : LABEL git_sha=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:03:01 ---> Running in 84bc1491e616 05:03:01 Removing intermediate container 84bc1491e616 05:03:01 ---> 3390bbbae8db 05:03:01 Step 20/20 : LABEL version=0.0.0 05:03:01 ---> Running in 5ca229da6ddb 05:03:01 Removing intermediate container 5ca229da6ddb 05:03:01 ---> 3bee606faa59 05:03:01 [Warning] One or more build-args [ARCH] were not consumed 05:03:01 Successfully built 3bee606faa59 05:03:01 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] } 05:03:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:03:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:03:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.023s coverage: 22.6% of statements 05:03:36 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.267s coverage: 95.8% of statements 05:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.127s coverage: 7.7% of statements 05:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 22.7% of statements 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.300s coverage: 38.5% of statements 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.322s coverage: 79.9% of statements 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:04:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:04:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.053s coverage: 52.6% of statements 05:04:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.344s coverage: 76.1% of statements 05:04:02 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:04:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:04:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:04:11 gofmt -l . 05:04:11 [ "`gofmt -l .`" = "" ] 05:04:11 ./bin/test-attribution-txt.sh 05:04:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:04:11 Warning: overwriting stash ‘coverage-report’ 05:04:12 Stashed 1 file(s) [Pipeline] } 05:04:12 $ docker stop --time=1 24abc8bc4d26aeb348d1bff1f6927d2a84862e5ec5491023e716420520f0558b 05:04:14 $ docker rm -f 24abc8bc4d26aeb348d1bff1f6927d2a84862e5ec5491023e716420520f0558b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:16 + ls -al . 05:04:16 total 200 05:04:16 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 05:04 . 05:04:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:01 .. 05:04:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 05:01 .dockerignore 05:04:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 05:01 .git 05:04:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 05:01 .github 05:04:16 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 05:01 .gitignore 05:04:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 05:01 .semver 05:04:16 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 05:01 Dockerfile.build 05:04:16 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 05:01 Jenkinsfile 05:04:16 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 05:01 LICENSE 05:04:16 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 05:01 Makefile 05:04:16 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 05:01 README.md 05:04:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 04:58 VERSION 05:04:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 05:01 api 05:04:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 05:01 bin 05:04:16 -rw-r--r-- 1 jenkins jenkins 94906 Apr 8 05:04 coverage.out 05:04:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:01 example 05:04:16 -rw-r--r-- 1 jenkins jenkins 446 Apr 8 05:04 go.mod 05:04:16 -rw-r--r-- 1 jenkins jenkins 12152 Apr 8 05:04 go.sum 05:04:16 drwxrwxr-x 13 jenkins jenkins 4096 Apr 8 05:01 internal 05:04:16 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 05:01 pkg 05:04:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:01 snap 05:04:16 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:04:16 + 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=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c --label arch=arm64 --label version=0.0.0 . 05:04:17 Sending build context to Docker daemon 2.921MB 05:04:17 Step 1/20 : ARG BASE=golang:1.13-alpine 05:04:17 Step 2/20 : FROM ${BASE} AS builder 05:04:17 ---> 9a1f0149da02 05:04:17 Step 3/20 : ARG MAKE='make build' 05:04:17 ---> Running in d8cb893bfabf 05:04:18 Removing intermediate container d8cb893bfabf 05:04:18 ---> 58939dbbe6ef 05:04:18 Step 4/20 : WORKDIR /device-sdk-go 05:04:18 ---> Running in 1b922575c90d 05:04:18 Removing intermediate container 1b922575c90d 05:04:18 ---> 14abfb9f651b 05:04:18 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:04:18 ---> Running in 3a0c87ffc4ee 05:04:19 Removing intermediate container 3a0c87ffc4ee 05:04:19 ---> e528d2cc9d6b 05:04:19 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:19 ---> Running in 8cb2e832b4d9 05:04:21 Removing intermediate container 8cb2e832b4d9 05:04:21 ---> 2a1593f32195 05:04:21 Step 7/20 : RUN apk add --update --no-cache make git 05:04:21 ---> Running in d7daff142fa3 05:04:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:04:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:04:23 OK: 125 MiB in 39 packages 05:04:24 Removing intermediate container d7daff142fa3 05:04:24 ---> d4b675abf272 05:04:24 Step 8/20 : COPY . . 05:04:25 ---> 7a198099265d 05:04:25 Step 9/20 : RUN ${MAKE} 05:04:26 ---> Running in aa3efd422a36 05:04:26 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 05:05:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:05:07 Removing intermediate container aa3efd422a36 05:05:07 ---> 2caf921c9ea0 05:05:07 Step 10/20 : FROM scratch 05:05:07 ---> 05:05:07 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:05:07 ---> Running in 100dbaac6ac6 05:05:07 Removing intermediate container 100dbaac6ac6 05:05:07 ---> f38cf1dea9dd 05:05:07 Step 12/20 : ENV APP_PORT=49990 05:05:07 ---> Running in a53030a5d95a 05:05:08 Removing intermediate container a53030a5d95a 05:05:08 ---> c3fe17b29100 05:05:08 Step 13/20 : EXPOSE $APP_PORT 05:05:08 ---> Running in df94e7890f22 05:05:08 Removing intermediate container df94e7890f22 05:05:08 ---> 89288237999a 05:05:08 Step 14/20 : WORKDIR / 05:05:08 ---> Running in ab9f690a9910 05:05:09 Removing intermediate container ab9f690a9910 05:05:09 ---> 53125d714c9d 05:05:09 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:05:10 ---> c6f4b374807e 05:05:10 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 05:05:10 ---> 3ca83b2aea59 05:05:10 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 05:05:10 ---> Running in 61ba9999639f 05:05:11 Removing intermediate container 61ba9999639f 05:05:11 ---> a14c175f67db 05:05:11 Step 18/20 : LABEL arch=arm64 05:05:11 ---> Running in 5be04f3f17d8 05:05:11 Removing intermediate container 5be04f3f17d8 05:05:11 ---> fb5e44671c45 05:05:11 Step 19/20 : LABEL git_sha=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c 05:05:11 ---> Running in 3311f50cf579 05:05:12 Removing intermediate container 3311f50cf579 05:05:12 ---> c15fea804999 05:05:12 Step 20/20 : LABEL version=0.0.0 05:05:12 ---> Running in fe4885f78634 05:05:12 Removing intermediate container fe4885f78634 05:05:12 ---> af251ead0be8 05:05:12 [Warning] One or more build-args [ARCH] were not consumed 05:05:12 Successfully built af251ead0be8 05:05:12 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 05:05:13 provisioning config files... 05:05:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config8035198748050510249tmp [Pipeline] { [Pipeline] sh 05:05:14 + curl -s https://codecov.io/bash 05:05:14 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config8035198748050510249tmp 05:05:14 05:05:14 _____ _ 05:05:14 / ____| | | 05:05:14 | | ___ __| | ___ ___ _____ __ 05:05:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:05:14 | |___| (_) | (_| | __/ (_| (_) \ V / 05:05:14 \_____\___/ \__,_|\___|\___\___/ \_/ 05:05:14 Bash-tbd 05:05:14 05:05:14 05:05:14 ==> Jenkins CI detected. 05:05:14 project root: . 05:05:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:05:14 ==> Running gcov in . (disable via -X gcov) 05:05:14 ==> Python coveragepy not found 05:05:14 ==> Searching for coverage reports in: 05:05:14 + . 05:05:14 -> Found 1 reports 05:05:14 ==> Detecting git/mercurial file structure 05:05:14 ==> Reading reports 05:05:14 + ./coverage.out bytes=94906 05:05:14 ==> Appending adjustments 05:05:14 http://docs.codecov.io/docs/fixing-reports 05:05:14 + Found adjustments 05:05:14 ==> Gzipping contents 05:05:14 ==> Uploading reports 05:05:14 url: https://codecov.io 05:05:14 query: branch=PR-473&commit=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-473%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=473&job= 05:05:14 -> Pinging Codecov 05:05:14 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-473&commit=6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-473%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=473&job= 05:05:15 -> Uploading 05:05:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c [Pipeline] } 05:05:15 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 05:05:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:17 ---> package-listing.sh 05:05:17 ++ facter osfamily 05:05:17 ++ tr '[:upper:]' '[:lower:]' 05:05:17 + OS_FAMILY=redhat 05:05:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-473 05:05:17 + START_PACKAGES=/tmp/packages_start.txt 05:05:17 + END_PACKAGES=/tmp/packages_end.txt 05:05:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:17 + PACKAGES=/tmp/packages_start.txt 05:05:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-473 ']' 05:05:17 + PACKAGES=/tmp/packages_end.txt 05:05:17 + case "${OS_FAMILY}" in 05:05:17 + rpm -qa 05:05:17 + sort 05:05:21 + '[' -f /tmp/packages_start.txt ']' 05:05:21 + '[' -f /tmp/packages_end.txt ']' 05:05:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-473 ']' 05:05:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-473/archives/ 05:05:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-473/archives/ [Pipeline] isUnix [Pipeline] sh 05:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:05:21 05:05:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:05:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:05:22 alpine: Pulling from edgex-lftools-log-publisher 05:05:22 c9b1b535fdd9: Pulling fs layer 05:05:22 2cc5ad85d9ab: Pulling fs layer 05:05:22 756a868c4378: Pulling fs layer 05:05:22 444b2fc9a129: Pulling fs layer 05:05:22 ea15f1150254: Pulling fs layer 05:05:22 41b27a9f41bf: Pulling fs layer 05:05:22 28c525ee5125: Pulling fs layer 05:05:22 094b1ea09ed8: Pulling fs layer 05:05:22 138eaada9080: Pulling fs layer 05:05:22 0622d0fa9048: Pulling fs layer 05:05:22 ea15f1150254: Waiting 05:05:22 41b27a9f41bf: Waiting 05:05:22 28c525ee5125: Waiting 05:05:22 094b1ea09ed8: Waiting 05:05:22 138eaada9080: Waiting 05:05:22 444b2fc9a129: Waiting 05:05:22 2cc5ad85d9ab: Verifying Checksum 05:05:22 2cc5ad85d9ab: Download complete 05:05:22 444b2fc9a129: Verifying Checksum 05:05:22 444b2fc9a129: Download complete 05:05:22 c9b1b535fdd9: Verifying Checksum 05:05:22 c9b1b535fdd9: Download complete 05:05:22 ea15f1150254: Download complete 05:05:22 28c525ee5125: Verifying Checksum 05:05:22 28c525ee5125: Download complete 05:05:22 756a868c4378: Verifying Checksum 05:05:22 756a868c4378: Download complete 05:05:22 c9b1b535fdd9: Pull complete 05:05:22 094b1ea09ed8: Verifying Checksum 05:05:22 094b1ea09ed8: Download complete 05:05:22 138eaada9080: Verifying Checksum 05:05:22 138eaada9080: Download complete 05:05:22 0622d0fa9048: Verifying Checksum 05:05:22 0622d0fa9048: Download complete 05:05:23 2cc5ad85d9ab: Pull complete 05:05:23 41b27a9f41bf: Verifying Checksum 05:05:23 41b27a9f41bf: Download complete 05:05:24 756a868c4378: Pull complete 05:05:24 444b2fc9a129: Pull complete 05:05:24 ea15f1150254: Pull complete 05:05:28 41b27a9f41bf: Pull complete 05:05:28 28c525ee5125: Pull complete 05:05:30 094b1ea09ed8: Pull complete 05:05:30 138eaada9080: Pull complete 05:05:30 0622d0fa9048: Pull complete 05:05:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:05:31 prd-centos7-docker-4c-2g-2751 does not seem to be running inside a container 05:05:31 $ 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-473 -v /w/workspace/dgexfoundry_device-sdk-go_PR-473:/w/workspace/dgexfoundry_device-sdk-go_PR-473:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-473@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 05:05:32 $ docker top e8712ee88b4cc0eca4964c9b17fffb7b35eb46adaf6acc1e7e63ef52d8e2edeb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:05:32 provisioning config files... 05:05:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config5129256285997701371tmp [Pipeline] { [Pipeline] echo 05:05:32 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:32 ---> create-netrc.sh [Pipeline] echo 05:05:32 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:33 ---> logs-deploy.sh 05:05:33 + ARCHIVE_ARTIFACTS= 05:05:33 + LOGS_SERVER=https://logs.edgexfoundry.org 05:05:33 + '[' https://logs.edgexfoundry.org == None ']' 05:05:33 + NEXUS_URL=https://nexus.edgexfoundry.org 05:05:33 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/2 05:05:33 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-473/2/ 05:05:33 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/2 /w/workspace/dgexfoundry_device-sdk-go_PR-473 05:05:34 Archives upload complete. 05:05:34 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-473/2/