Pull request #461 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than 855d649bafbc37363bcd18f874dc5d1b5990fa3e Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-83 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [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-461 # 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/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # 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/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 Commit message: "Update commit message guideline URL" First time build. Skipping changelog. > git rev-list --no-walk 2ad704c6b9b7f4f681c222abe4755802de3cc221 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:32 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 09:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:34 09:07:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:07:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:34 latest: Pulling from edgex-devops/git-semver 09:07:34 9123ac7c32f7: Pulling fs layer 09:07:34 b8cc5d1170e3: Pulling fs layer 09:07:34 2924cbbf6a41: Pulling fs layer 09:07:34 93b08a4f1073: Pulling fs layer 09:07:34 93b08a4f1073: Waiting 09:07:34 b8cc5d1170e3: Download complete 09:07:35 9123ac7c32f7: Verifying Checksum 09:07:35 9123ac7c32f7: Download complete 09:07:35 2924cbbf6a41: Verifying Checksum 09:07:35 2924cbbf6a41: Download complete 09:07:35 93b08a4f1073: Verifying Checksum 09:07:35 93b08a4f1073: Download complete 09:07:35 9123ac7c32f7: Pull complete 09:07:35 b8cc5d1170e3: Pull complete 09:07:36 2924cbbf6a41: Pull complete 09:07:36 93b08a4f1073: Pull complete 09:07:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:07:37 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 09:07:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-461 -v /w/workspace/dgexfoundry_device-sdk-go_PR-461:/w/workspace/dgexfoundry_device-sdk-go_PR-461:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-461@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 09:07:37 $ docker top 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:38 [ssh-agent] Looking for ssh-agent implementation... 09:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:38 $ docker exec 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent 09:07:38 SSH_AUTH_SOCK=/tmp/ssh-GepAPnLblpsc/agent.15 09:07:38 SSH_AGENT_PID=22 09:07:38 Running ssh-add (command line suppressed) 09:07:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_382022169168316387.key (/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_382022169168316387.key) 09:07:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:39 + git describe --exact-match --tags HEAD 09:07:39 fatal: No names found, cannot describe anything. [Pipeline] } 09:07:39 $ docker exec --env ******** --env ******** 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent -k 09:07:39 unset SSH_AUTH_SOCK; 09:07:39 unset SSH_AGENT_PID; 09:07:39 echo Agent pid 22 killed; 09:07:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:07:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:07:39 This usually means this commit has not been tagged. [Pipeline] sshagent 09:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:39 [ssh-agent] Looking for ssh-agent implementation... 09:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:39 $ docker exec 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent 09:07:40 SSH_AUTH_SOCK=/tmp/ssh-DbdGjMXlC9n2/agent.55 09:07:40 SSH_AGENT_PID=62 09:07:40 Running ssh-add (command line suppressed) 09:07:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_6436675743569913801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/private_key_6436675743569913801.key) 09:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:40 + git semver init 09:07:40 # -> Open(): unable to determine branch for HEAD 09:07:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-461/.git 09:07:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-461 09:07:40 # $SEMVER_REMOTE_NAME = origin 09:07:40 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:07:40 # $SEMVER_USER_NAME = jenkins 09:07:40 # $SEMVER_BRANCH = PR-461 09:07:40 # $SEMVER_TEMP = /tmp/semver-466256869 09:07:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:07:41 # '/tmp/semver-466256869' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-461/.semver' 09:07:41 # -> Force: false 09:07:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-461/.semver [Pipeline] } 09:07:41 $ docker exec --env ******** --env ******** 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 ssh-agent -k 09:07:41 unset SSH_AUTH_SOCK; 09:07:41 unset SSH_AGENT_PID; 09:07:41 echo Agent pid 62 killed; 09:07:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:41 + git semver [Pipeline] } 09:07:41 $ docker stop --time=1 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 09:07:43 $ docker rm -f 8468857c59059d5736338c4ff78e9d44852dee9ed27a4d58f8b83d3315e0b272 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:07:44 Stashed 31 file(s) [Pipeline] echo 09:07:44 [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 09:07:59 Still waiting to schedule task 09:07:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:07:59 Still waiting to schedule task 09:07:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:10:06 Running on prd-centos7-docker-4c-2g-84 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [Pipeline] { [Pipeline] ws 09:10:07 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:10:09 using credential edgex-jenkins-ssh 09:10:09 Cloning the remote Git repository 09:10:09 Cloning with configured refspecs honoured and without tags 09:10:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:10:08 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:10:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:09 > git --version # timeout=10 09:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:10:09 Fetching without tags 09:10:10 Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:10:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:09 > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # timeout=10 09:10:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:10:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:10:10 > git config core.sparsecheckout # timeout=10 09:10:10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 09:10:10 Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:10:10 Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) 09:10:10 > git remote # timeout=10 09:10:10 > git config --get remote.origin.url # timeout=10 09:10:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:10 > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 09:10:10 > git rev-parse HEAD^{commit} # timeout=10 09:10:10 > git config core.sparsecheckout # timeout=10 09:10:10 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 09:10:15 Commit message: "Update commit message guideline URL" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:10:15 ========================================================= 09:10:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:10:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:10:16 + 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 . 09:10:16 Sending build context to Docker daemon 2.674MB 09:10:16 Step 1/8 : ARG BASE=golang:1.13-alpine 09:10:16 Step 2/8 : FROM ${BASE} 09:10:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:10:17 e6b0cf9c0882: Pulling fs layer 09:10:17 2848faf0eed1: Pulling fs layer 09:10:17 0f37312ad70f: Pulling fs layer 09:10:17 5788d62ee057: Pulling fs layer 09:10:17 0e6b1d234666: Pulling fs layer 09:10:17 bf5d7aec512f: Pulling fs layer 09:10:17 34c802a77dc8: Pulling fs layer 09:10:17 9eb99e56ec68: Pulling fs layer 09:10:17 27c7a5d97fbd: Pulling fs layer 09:10:17 5c102a31e300: Pulling fs layer 09:10:17 dcfb455df0a1: Pulling fs layer 09:10:17 34c802a77dc8: Waiting 09:10:17 9eb99e56ec68: Waiting 09:10:17 27c7a5d97fbd: Waiting 09:10:17 5c102a31e300: Waiting 09:10:17 dcfb455df0a1: Waiting 09:10:17 5788d62ee057: Waiting 09:10:17 0e6b1d234666: Waiting 09:10:17 bf5d7aec512f: Waiting 09:10:17 0f37312ad70f: Verifying Checksum 09:10:17 0f37312ad70f: Download complete 09:10:17 2848faf0eed1: Download complete 09:10:17 0e6b1d234666: Verifying Checksum 09:10:17 0e6b1d234666: Download complete 09:10:17 bf5d7aec512f: Verifying Checksum 09:10:17 bf5d7aec512f: Download complete 09:10:17 e6b0cf9c0882: Verifying Checksum 09:10:17 e6b0cf9c0882: Pull complete 09:10:18 34c802a77dc8: Verifying Checksum 09:10:18 34c802a77dc8: Download complete 09:10:18 27c7a5d97fbd: Verifying Checksum 09:10:18 27c7a5d97fbd: Download complete 09:10:18 5c102a31e300: Verifying Checksum 09:10:18 5c102a31e300: Download complete 09:10:18 dcfb455df0a1: Verifying Checksum 09:10:18 dcfb455df0a1: Download complete 09:10:18 5788d62ee057: Verifying Checksum 09:10:18 5788d62ee057: Download complete 09:10:18 9eb99e56ec68: Verifying Checksum 09:10:18 9eb99e56ec68: Download complete 09:10:19 2848faf0eed1: Pull complete 09:10:20 0f37312ad70f: Pull complete 09:10:26 5788d62ee057: Pull complete 09:10:26 0e6b1d234666: Pull complete 09:10:26 bf5d7aec512f: Pull complete 09:10:30 34c802a77dc8: Pull complete 09:10:34 9eb99e56ec68: Pull complete 09:10:34 27c7a5d97fbd: Pull complete 09:10:35 5c102a31e300: Pull complete 09:10:35 dcfb455df0a1: Pull complete 09:10:35 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:10:35 ---> 7c70fe431013 09:10:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:35 ---> Running in ccbc16983012 09:10:35 Removing intermediate container ccbc16983012 09:10:35 ---> 53980fdfeb55 09:10:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:35 ---> Running in c08a6f60a9a6 09:10:36 Removing intermediate container c08a6f60a9a6 09:10:36 ---> 6d27c8fb5bf0 09:10:36 Step 5/8 : RUN apk add --no-cache make git 09:10:36 ---> Running in 56992be79841 09:10:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:10:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:10:38 OK: 143 MiB in 39 packages 09:10:38 Removing intermediate container 56992be79841 09:10:38 ---> 6429e103a53c 09:10:38 Step 6/8 : WORKDIR /device-sdk-go 09:10:38 ---> Running in 12ad815436d1 09:10:38 Removing intermediate container 12ad815436d1 09:10:38 ---> 212fc0cd2fda 09:10:38 Step 7/8 : COPY . . 09:10:39 ---> 43865c7b1f87 09:10:39 Step 8/8 : RUN go mod download 09:10:39 ---> Running in 124788ac588d 09:10:41 go: finding github.com/BurntSushi/toml v0.3.1 09:10:41 go: finding github.com/OneOfOne/xxhash v1.2.6 09:10:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:10:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:10:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:10:41 go: finding github.com/bgentry/speakeasy v0.1.0 09:10:41 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:10:41 go: finding github.com/davecgh/go-spew v1.1.1 09:10:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:10:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:10:41 go: finding github.com/fatih/color v1.7.0 09:10:41 go: finding github.com/go-kit/kit v0.8.0 09:10:41 go: finding github.com/go-logfmt/logfmt v0.4.0 09:10:41 go: finding github.com/go-stack/stack v1.8.0 09:10:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:10:41 go: finding github.com/google/uuid v1.1.0 09:10:41 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:10:41 go: finding github.com/gorilla/mux v1.6.2 09:10:41 go: finding github.com/hashicorp/consul v1.4.2 09:10:41 go: finding github.com/hashicorp/errwrap v1.0.0 09:10:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:10:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:10:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:10:41 go: finding github.com/hashicorp/go-multierror v1.0.0 09:10:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:10:41 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:10:41 go: finding github.com/hashicorp/go-syslog v1.0.0 09:10:41 go: finding github.com/hashicorp/go-uuid v1.0.1 09:10:41 go: finding github.com/hashicorp/go.net v0.0.1 09:10:41 go: finding github.com/hashicorp/golang-lru v0.5.0 09:10:41 go: finding github.com/hashicorp/logutils v1.0.0 09:10:41 go: finding github.com/hashicorp/mdns v1.0.0 09:10:41 go: finding github.com/hashicorp/memberlist v0.1.3 09:10:41 go: finding github.com/hashicorp/serf v0.8.2 09:10:41 go: finding github.com/jessevdk/go-flags v1.4.0 09:10:41 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:10:41 go: finding github.com/mattn/go-colorable v0.0.9 09:10:41 go: finding github.com/mattn/go-isatty v0.0.3 09:10:41 go: finding github.com/miekg/dns v1.0.14 09:10:41 go: finding github.com/mitchellh/cli v1.0.0 09:10:41 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:10:41 go: finding github.com/mitchellh/copystructure v1.0.0 09:10:41 go: finding github.com/mitchellh/go-homedir v1.0.0 09:10:41 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:10:41 go: finding github.com/mitchellh/gox v0.4.0 09:10:41 go: finding github.com/mitchellh/iochan v1.0.0 09:10:41 go: finding github.com/mitchellh/mapstructure v1.1.2 09:10:41 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:10:41 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:10:41 go: finding github.com/pelletier/go-toml v1.2.0 09:10:41 go: finding github.com/pkg/errors v0.8.1 09:10:41 go: finding github.com/pmezard/go-difflib v1.0.0 09:10:41 go: finding github.com/posener/complete v1.1.1 09:10:41 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:10:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:10:41 go: finding github.com/stretchr/objx v0.1.0 09:10:41 go: finding github.com/stretchr/testify v1.3.0 09:10:41 go: finding github.com/ugorji/go v1.1.4 09:10:41 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:10:41 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:10:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:10:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:10:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:10:41 go: finding gopkg.in/yaml.v2 v2.2.2 09:10:49 Removing intermediate container 124788ac588d 09:10:49 ---> d6e5c322665c 09:10:49 Successfully built d6e5c322665c 09:10:49 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 09:10:50 + docker inspect -f . ci-base-image-x86_64 09:10:50 . [Pipeline] withDockerContainer 09:10:50 prd-centos7-docker-4c-2g-84 does not seem to be running inside a container 09:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:10:51 $ docker top 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:51 + go version 09:10:51 go version go1.13.5 linux/amd64 [Pipeline] sh 09:10:51 + make test 09:10:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:11:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:11:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:11:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements 09:11:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 09:11:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.032s coverage: 12.7% of statements 09:11:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 25.6% of statements 09:11:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-85 in /w/workspace/dgexfoundry_device-sdk-go_PR-461 [Pipeline] { [Pipeline] ws 09:11:12 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:11:18 using credential edgex-jenkins-ssh 09:11:18 Cloning the remote Git repository 09:11:18 Cloning with configured refspecs honoured and without tags 09:11:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:11:18 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:11:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:11:18 > git --version # timeout=10 09:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:19 Fetching without tags 09:11:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:11:19 > git config --add remote.origin.fetch +refs/pull/461/head:refs/remotes/origin/PR-461 # timeout=10 09:11:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:11:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:20 Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:11:20 Merge succeeded, producing 855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:11:20 Checking out Revision 855d649bafbc37363bcd18f874dc5d1b5990fa3e (PR-461) 09:11:20 > git config core.sparsecheckout # timeout=10 09:11:20 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 09:11:20 > git remote # timeout=10 09:11:20 > git config --get remote.origin.url # timeout=10 09:11:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:20 > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 09:11:20 > git rev-parse HEAD^{commit} # timeout=10 09:11:20 > git config core.sparsecheckout # timeout=10 09:11:20 > git checkout -f 855d649bafbc37363bcd18f874dc5d1b5990fa3e # timeout=10 09:11:25 Commit message: "Update commit message guideline URL" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:11:26 ========================================================= 09:11:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:11:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:11:28 + 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 . 09:11:29 Sending build context to Docker daemon 2.677MB 09:11:29 Step 1/8 : ARG BASE=golang:1.13-alpine 09:11:29 Step 2/8 : FROM ${BASE} 09:11:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:11:29 cde5963f3b93: Pulling fs layer 09:11:29 2a23fa8c16f7: Pulling fs layer 09:11:29 777b28850792: Pulling fs layer 09:11:29 8a11ddd9e578: Pulling fs layer 09:11:29 4cf88f913ddb: Pulling fs layer 09:11:29 1df406cf5192: Pulling fs layer 09:11:29 cd6300453558: Pulling fs layer 09:11:29 b9c365052c96: Pulling fs layer 09:11:29 a2d8cc88f415: Pulling fs layer 09:11:29 ea1d1ca13537: Pulling fs layer 09:11:29 3750a50a1c5e: Pulling fs layer 09:11:29 b9c365052c96: Waiting 09:11:29 8a11ddd9e578: Waiting 09:11:29 4cf88f913ddb: Waiting 09:11:29 1df406cf5192: Waiting 09:11:29 a2d8cc88f415: Waiting 09:11:29 ea1d1ca13537: Waiting 09:11:29 cd6300453558: Waiting 09:11:29 777b28850792: Verifying Checksum 09:11:29 777b28850792: Download complete 09:11:29 2a23fa8c16f7: Download complete 09:11:29 4cf88f913ddb: Download complete 09:11:29 1df406cf5192: Download complete 09:11:30 cde5963f3b93: Verifying Checksum 09:11:30 cde5963f3b93: Download complete 09:11:31 cde5963f3b93: Pull complete 09:11:32 2a23fa8c16f7: Pull complete 09:11:32 777b28850792: Pull complete 09:11:34 cd6300453558: Verifying Checksum 09:11:34 cd6300453558: Download complete 09:11:34 a2d8cc88f415: Download complete 09:11:37 ea1d1ca13537: Verifying Checksum 09:11:37 ea1d1ca13537: Download complete 09:11:37 3750a50a1c5e: Verifying Checksum 09:11:37 3750a50a1c5e: Download complete 09:11:40 b9c365052c96: Verifying Checksum 09:11:40 b9c365052c96: Download complete 09:11:41 8a11ddd9e578: Verifying Checksum 09:11:41 8a11ddd9e578: Download complete 09:11:43 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements 09:11:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.283s coverage: 42.3% of statements 09:11:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:11:43 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:11:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.271s coverage: 79.5% of statements 09:11:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:11:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:11:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:11:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements 09:11:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 76.1% of statements 09:11:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:11:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:11:43 gofmt -l . 09:11:43 [ "`gofmt -l .`" = "" ] 09:11:43 ./bin/test-attribution-txt.sh 09:11:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:11:43 Stashed 1 file(s) [Pipeline] } 09:11:43 $ docker stop --time=1 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 09:11:45 $ docker rm -f 42603ee53e1f71856f73f9f87107911687f9940800f35c04a6d23becca2d22d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:11:46 + ls -al . 09:11:46 total 200 09:11:46 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 09:11 . 09:11:46 drwxrwxr-x. 4 jenkins jenkins 28 Mar 11 09:10 .. 09:11:46 drwxrwxr-x. 3 jenkins jenkins 20 Mar 11 09:10 api 09:11:46 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 11 09:10 async.go 09:11:46 drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 09:10 bin 09:11:46 -rw-r--r--. 1 jenkins jenkins 100201 Mar 11 09:11 coverage.out 09:11:46 -rw-rw-r--. 1 jenkins jenkins 936 Mar 11 09:10 Dockerfile.build 09:11:46 -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 09:10 .dockerignore 09:11:46 drwxrwxr-x. 4 jenkins jenkins 31 Mar 11 09:10 example 09:11:46 drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 09:10 .git 09:11:46 drwxrwxr-x. 2 jenkins jenkins 38 Mar 11 09:10 .github 09:11:46 -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 09:10 .gitignore 09:11:46 -rw-r--r--. 1 jenkins jenkins 536 Mar 11 09:11 go.mod 09:11:46 -rw-r--r--. 1 jenkins jenkins 11140 Mar 11 09:11 go.sum 09:11:46 drwxrwxr-x. 13 jenkins jenkins 176 Mar 11 09:10 internal 09:11:46 -rw-rw-r--. 1 jenkins jenkins 808 Mar 11 09:10 Jenkinsfile 09:11:46 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 09:10 LICENSE 09:11:46 -rw-rw-r--. 1 jenkins jenkins 892 Mar 11 09:10 Makefile 09:11:46 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 11 09:10 manageddevices.go 09:11:46 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 11 09:10 managedprofiles.go 09:11:46 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 11 09:10 managedwatchers.go 09:11:46 drwxrwxr-x. 4 jenkins jenkins 35 Mar 11 09:10 pkg 09:11:46 -rw-rw-r--. 1 jenkins jenkins 761 Mar 11 09:10 README.md 09:11:46 drwxrwxr-x. 3 jenkins jenkins 58 Mar 11 09:10 .semver 09:11:46 -rw-rw-r--. 1 jenkins jenkins 9817 Mar 11 09:10 service.go 09:11:46 drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 09:10 snap 09:11:46 -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 09:07 VERSION 09:11:46 -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 09:10 version.go [Pipeline] isUnix [Pipeline] sh 09:11:47 + 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=855d649bafbc37363bcd18f874dc5d1b5990fa3e --label arch=amd64 --label version=0.0.0 . 09:11:47 Sending build context to Docker daemon 2.8MB 09:11:47 Step 1/20 : ARG BASE=golang:1.13-alpine 09:11:47 Step 2/20 : FROM ${BASE} AS builder 09:11:47 ---> d6e5c322665c 09:11:47 Step 3/20 : ARG MAKE='make build' 09:11:47 ---> Running in f0d23993f3bc 09:11:47 Removing intermediate container f0d23993f3bc 09:11:47 ---> 893f7cebcc7c 09:11:47 Step 4/20 : WORKDIR /device-sdk-go 09:11:47 ---> Running in 7405d639561b 09:11:47 Removing intermediate container 7405d639561b 09:11:47 ---> 6af6cd46f16a 09:11:47 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:11:47 ---> Running in 2fe0c553334b 09:11:47 Removing intermediate container 2fe0c553334b 09:11:47 ---> 135551ce1931 09:11:47 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:47 ---> Running in 836057a681c5 09:11:48 Removing intermediate container 836057a681c5 09:11:48 ---> 5fc0a563ee27 09:11:48 Step 7/20 : RUN apk add --update --no-cache make git 09:11:48 ---> Running in 41459c897fbe 09:11:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:11:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:11:49 OK: 143 MiB in 39 packages 09:11:50 Removing intermediate container 41459c897fbe 09:11:50 ---> 348cb4f2bb86 09:11:50 Step 8/20 : COPY . . 09:11:50 ---> c9fd3091fde0 09:11:50 Step 9/20 : RUN ${MAKE} 09:11:50 ---> Running in 206348fe7bcd 09:11:50 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 09:11:54 8a11ddd9e578: Pull complete 09:11:54 4cf88f913ddb: Pull complete 09:11:54 1df406cf5192: Pull complete 09:11:57 cd6300453558: Pull complete 09:12:03 b9c365052c96: Pull complete 09:12:03 a2d8cc88f415: Pull complete 09:12:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:12:05 ea1d1ca13537: Pull complete 09:12:05 3750a50a1c5e: Pull complete 09:12:05 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:12:05 ---> 78745c68409d 09:12:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:12:08 Removing intermediate container 206348fe7bcd 09:12:08 ---> af44dfca1685 09:12:08 Step 10/20 : FROM scratch 09:12:08 ---> 09:12:08 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:12:08 ---> Running in b914cd40caf0 09:12:08 Removing intermediate container b914cd40caf0 09:12:08 ---> 398efa54a199 09:12:08 Step 12/20 : ENV APP_PORT=49990 09:12:08 ---> Running in c2c6fe1bff3d 09:12:08 Removing intermediate container c2c6fe1bff3d 09:12:08 ---> 999803f8b324 09:12:08 Step 13/20 : EXPOSE $APP_PORT 09:12:08 ---> Running in 5b76d8723480 09:12:09 Removing intermediate container 5b76d8723480 09:12:09 ---> 3c9d09433642 09:12:09 Step 14/20 : WORKDIR / 09:12:09 ---> Running in 929a989c1c14 09:12:09 Removing intermediate container 929a989c1c14 09:12:09 ---> 1040b468283d 09:12:09 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:12:09 ---> d8b695028d39 09:12:09 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:12:09 ---> 54371680caf7 09:12:09 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:12:09 ---> Running in c6e9667441de 09:12:09 Removing intermediate container c6e9667441de 09:12:09 ---> e299e09579fe 09:12:09 Step 18/20 : LABEL arch=amd64 09:12:10 ---> Running in 05448c828f18 09:12:10 Removing intermediate container 05448c828f18 09:12:10 ---> a0b19be97b3f 09:12:10 Step 19/20 : LABEL git_sha=855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:12:10 ---> Running in 8046f3b8b7cc 09:12:10 Removing intermediate container 8046f3b8b7cc 09:12:10 ---> a6fbea055921 09:12:10 Step 20/20 : LABEL version=0.0.0 09:12:10 ---> Running in 319e06f3fd54 09:12:10 Removing intermediate container 319e06f3fd54 09:12:10 ---> 5ba5a07c8c49 09:12:10 [Warning] One or more build-args [ARCH] were not consumed 09:12:10 ---> Running in a7c7c10fbaae 09:12:10 Removing intermediate container a7c7c10fbaae 09:12:10 ---> 50d0e5feb372 09:12:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:10 ---> Running in a84de08ff112 09:12:10 Successfully built 5ba5a07c8c49 09:12:10 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] } 09:12:12 Removing intermediate container a84de08ff112 09:12:12 ---> 1663e55a425c 09:12:12 Step 5/8 : RUN apk add --no-cache make git 09:12:12 ---> Running in 72466a0d8faf 09:12:13 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:12:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:12:15 OK: 125 MiB in 39 packages 09:12:16 Removing intermediate container 72466a0d8faf 09:12:16 ---> e135c76f3733 09:12:16 Step 6/8 : WORKDIR /device-sdk-go 09:12:16 ---> Running in ea3d001071f9 09:12:16 Removing intermediate container ea3d001071f9 09:12:16 ---> f7eab1ea46ca 09:12:16 Step 7/8 : COPY . . 09:12:18 ---> 61f36d4a861d 09:12:18 Step 8/8 : RUN go mod download 09:12:18 ---> Running in 1cf3a7b7d7be 09:12:20 go: finding github.com/BurntSushi/toml v0.3.1 09:12:20 go: finding github.com/OneOfOne/xxhash v1.2.6 09:12:20 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:12:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:12:20 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:12:20 go: finding github.com/bgentry/speakeasy v0.1.0 09:12:20 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:12:20 go: finding github.com/davecgh/go-spew v1.1.1 09:12:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:12:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:12:20 go: finding github.com/fatih/color v1.7.0 09:12:20 go: finding github.com/go-kit/kit v0.8.0 09:12:20 go: finding github.com/go-logfmt/logfmt v0.4.0 09:12:20 go: finding github.com/go-stack/stack v1.8.0 09:12:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:12:20 go: finding github.com/google/uuid v1.1.0 09:12:20 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:12:20 go: finding github.com/gorilla/mux v1.6.2 09:12:20 go: finding github.com/hashicorp/consul v1.4.2 09:12:20 go: finding github.com/hashicorp/errwrap v1.0.0 09:12:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:12:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:12:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:12:20 go: finding github.com/hashicorp/go-multierror v1.0.0 09:12:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:12:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:12:20 go: finding github.com/hashicorp/go-syslog v1.0.0 09:12:20 go: finding github.com/hashicorp/go-uuid v1.0.1 09:12:20 go: finding github.com/hashicorp/go.net v0.0.1 09:12:20 go: finding github.com/hashicorp/golang-lru v0.5.0 09:12:20 go: finding github.com/hashicorp/logutils v1.0.0 09:12:20 go: finding github.com/hashicorp/mdns v1.0.0 09:12:20 go: finding github.com/hashicorp/memberlist v0.1.3 09:12:20 go: finding github.com/hashicorp/serf v0.8.2 09:12:20 go: finding github.com/jessevdk/go-flags v1.4.0 09:12:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:12:20 go: finding github.com/mattn/go-colorable v0.0.9 09:12:20 go: finding github.com/mattn/go-isatty v0.0.3 09:12:20 go: finding github.com/miekg/dns v1.0.14 09:12:20 go: finding github.com/mitchellh/cli v1.0.0 09:12:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:12:20 go: finding github.com/mitchellh/copystructure v1.0.0 09:12:20 go: finding github.com/mitchellh/go-homedir v1.0.0 09:12:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:12:20 go: finding github.com/mitchellh/gox v0.4.0 09:12:20 go: finding github.com/mitchellh/iochan v1.0.0 09:12:20 go: finding github.com/mitchellh/mapstructure v1.1.2 09:12:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:12:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:12:20 go: finding github.com/pelletier/go-toml v1.2.0 09:12:20 go: finding github.com/pkg/errors v0.8.1 09:12:20 go: finding github.com/pmezard/go-difflib v1.0.0 09:12:20 go: finding github.com/posener/complete v1.1.1 09:12:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:12:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:12:20 go: finding github.com/stretchr/objx v0.1.0 09:12:20 go: finding github.com/stretchr/testify v1.3.0 09:12:20 go: finding github.com/ugorji/go v1.1.4 09:12:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:12:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:12:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:12:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:12:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:12:20 go: finding gopkg.in/yaml.v2 v2.2.2 09:12:38 Removing intermediate container 1cf3a7b7d7be 09:12:38 ---> 382b15f4d24c 09:12:38 Successfully built 382b15f4d24c 09:12:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:12:39 + docker inspect -f . ci-base-image-arm64 09:12:39 . [Pipeline] withDockerContainer 09:12:40 prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container 09:12:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat 09:12:41 $ docker top baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:43 + go version 09:12:43 go version go1.13.5 linux/arm64 [Pipeline] sh 09:12:43 + make test 09:12:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:13:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:13:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:13:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:13:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 23.1% of statements 09:13:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.170s coverage: 95.8% of statements 09:13:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.186s coverage: 12.7% of statements 09:13:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 25.6% of statements 09:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.078s coverage: 30.0% of statements 09:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.392s coverage: 42.3% of statements 09:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.824s coverage: 79.5% of statements 09:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:14:02 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:14:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.090s coverage: 52.6% of statements 09:14:02 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 76.1% of statements 09:14:02 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:14:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:14:11 gofmt -l . 09:14:11 [ "`gofmt -l .`" = "" ] 09:14:12 ./bin/test-attribution-txt.sh 09:14:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:14:13 Warning: overwriting stash ‘coverage-report’ 09:14:13 Stashed 1 file(s) [Pipeline] } 09:14:13 $ docker stop --time=1 baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 09:14:16 $ docker rm -f baa0cee24c11f464b639810f5ad3f3b444a262773173be8ca8884a81e0ecac31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:14:17 + ls -al . 09:14:17 total 240 09:14:17 drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 09:14 . 09:14:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 .. 09:14:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 09:11 .dockerignore 09:14:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:11 .git 09:14:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:11 .github 09:14:17 -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 09:11 .gitignore 09:14:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:11 .semver 09:14:17 -rw-rw-r-- 1 jenkins jenkins 936 Mar 11 09:11 Dockerfile.build 09:14:17 -rw-rw-r-- 1 jenkins jenkins 808 Mar 11 09:11 Jenkinsfile 09:14:17 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 09:11 LICENSE 09:14:17 -rw-rw-r-- 1 jenkins jenkins 892 Mar 11 09:11 Makefile 09:14:17 -rw-rw-r-- 1 jenkins jenkins 761 Mar 11 09:11 README.md 09:14:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 09:07 VERSION 09:14:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:11 api 09:14:17 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 11 09:11 async.go 09:14:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:11 bin 09:14:17 -rw-r--r-- 1 jenkins jenkins 100201 Mar 11 09:14 coverage.out 09:14:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 example 09:14:17 -rw-r--r-- 1 jenkins jenkins 536 Mar 11 09:14 go.mod 09:14:17 -rw-r--r-- 1 jenkins jenkins 11140 Mar 11 09:14 go.sum 09:14:17 drwxrwxr-x 13 jenkins jenkins 4096 Mar 11 09:11 internal 09:14:17 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 11 09:11 manageddevices.go 09:14:17 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 11 09:11 managedprofiles.go 09:14:17 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 11 09:11 managedwatchers.go 09:14:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 pkg 09:14:17 -rw-rw-r-- 1 jenkins jenkins 9817 Mar 11 09:11 service.go 09:14:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:11 snap 09:14:17 -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 09:11 version.go [Pipeline] isUnix [Pipeline] sh 09:14:18 + 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=855d649bafbc37363bcd18f874dc5d1b5990fa3e --label arch=arm64 --label version=0.0.0 . 09:14:18 Sending build context to Docker daemon 2.803MB 09:14:18 Step 1/20 : ARG BASE=golang:1.13-alpine 09:14:18 Step 2/20 : FROM ${BASE} AS builder 09:14:18 ---> 382b15f4d24c 09:14:18 Step 3/20 : ARG MAKE='make build' 09:14:18 ---> Running in 9412501ad522 09:14:19 Removing intermediate container 9412501ad522 09:14:19 ---> edc5bf6449e3 09:14:19 Step 4/20 : WORKDIR /device-sdk-go 09:14:19 ---> Running in c2f5da3b2cbb 09:14:19 Removing intermediate container c2f5da3b2cbb 09:14:19 ---> 4eeee7b2bca0 09:14:19 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:14:20 ---> Running in 5ef3e7e8a7ca 09:14:20 Removing intermediate container 5ef3e7e8a7ca 09:14:20 ---> a04508acdce7 09:14:20 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:20 ---> Running in 4ca45160a4ba 09:14:22 Removing intermediate container 4ca45160a4ba 09:14:22 ---> bbb3f82cf305 09:14:22 Step 7/20 : RUN apk add --update --no-cache make git 09:14:22 ---> Running in ffd444745a68 09:14:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:14:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:14:24 OK: 125 MiB in 39 packages 09:14:25 Removing intermediate container ffd444745a68 09:14:25 ---> 152b4e464288 09:14:25 Step 8/20 : COPY . . 09:14:26 ---> f68919209513 09:14:26 Step 9/20 : RUN ${MAKE} 09:14:26 ---> Running in b5e72952a3b0 09:14:27 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 09:15:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:15:21 Removing intermediate container b5e72952a3b0 09:15:21 ---> e9cc3e912a1a 09:15:21 Step 10/20 : FROM scratch 09:15:21 ---> 09:15:21 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:15:21 ---> Running in 51cd07782628 09:15:21 Removing intermediate container 51cd07782628 09:15:21 ---> 2ce7af2bf41d 09:15:21 Step 12/20 : ENV APP_PORT=49990 09:15:21 ---> Running in a7a7b60dd9ee 09:15:22 Removing intermediate container a7a7b60dd9ee 09:15:22 ---> f500b86fb87d 09:15:22 Step 13/20 : EXPOSE $APP_PORT 09:15:22 ---> Running in 93b65aeed43a 09:15:22 Removing intermediate container 93b65aeed43a 09:15:22 ---> 42bb2834b300 09:15:22 Step 14/20 : WORKDIR / 09:15:22 ---> Running in 070feef03c5b 09:15:22 Removing intermediate container 070feef03c5b 09:15:22 ---> 0e5244d91927 09:15:22 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:15:24 ---> ae6cd698a539 09:15:24 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:15:24 ---> be3b424deb15 09:15:24 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:15:24 ---> Running in aa9db3d08ca5 09:15:25 Removing intermediate container aa9db3d08ca5 09:15:25 ---> bdc089b591b6 09:15:25 Step 18/20 : LABEL arch=arm64 09:15:25 ---> Running in 914433cf085b 09:15:25 Removing intermediate container 914433cf085b 09:15:25 ---> b38a81d55d88 09:15:25 Step 19/20 : LABEL git_sha=855d649bafbc37363bcd18f874dc5d1b5990fa3e 09:15:25 ---> Running in fdccecaad04e 09:15:26 Removing intermediate container fdccecaad04e 09:15:26 ---> a0153966f2b6 09:15:26 Step 20/20 : LABEL version=0.0.0 09:15:26 ---> Running in f7fd224487a0 09:15:26 Removing intermediate container f7fd224487a0 09:15:26 ---> 41a6cef76e4d 09:15:26 [Warning] One or more build-args [ARCH] were not consumed 09:15:26 Successfully built 41a6cef76e4d 09:15:26 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 09:15:27 provisioning config files... 09:15:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config2796840213093432833tmp [Pipeline] { [Pipeline] sh 09:15:27 + curl -s https://codecov.io/bash 09:15:27 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config2796840213093432833tmp 09:15:28 09:15:28 _____ _ 09:15:28 / ____| | | 09:15:28 | | ___ __| | ___ ___ _____ __ 09:15:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:15:28 | |___| (_) | (_| | __/ (_| (_) \ V / 09:15:28 \_____\___/ \__,_|\___|\___\___/ \_/ 09:15:28 Bash-20200303-bc4d7e6 09:15:28 09:15:28 09:15:28 ==> Jenkins CI detected. 09:15:28 project root: . 09:15:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:15:28 ==> Running gcov in . (disable via -X gcov) 09:15:28 ==> Python coveragepy not found 09:15:28 ==> Searching for coverage reports in: 09:15:28 + . 09:15:28 -> Found 1 reports 09:15:28 ==> Detecting git/mercurial file structure 09:15:28 ==> Reading reports 09:15:28 + ./coverage.out bytes=100201 09:15:28 ==> Appending adjustments 09:15:28 http://docs.codecov.io/docs/fixing-reports 09:15:28 + Found adjustments 09:15:28 ==> Gzipping contents 09:15:28 ==> Uploading reports 09:15:28 url: https://codecov.io 09:15:28 query: branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= 09:15:28 -> Pinging Codecov 09:15:28 https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= 09:17:50 -> Uploading 09:17:50 X> Failed to upload 09:17:50 -> Sleeping for 30s and trying again... 09:18:08 -> Pinging Codecov 09:18:08 https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-461&commit=855d649bafbc37363bcd18f874dc5d1b5990fa3e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-461%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=461&job= 09:18:08 -> Uploading 09:18:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/855d649bafbc37363bcd18f874dc5d1b5990fa3e [Pipeline] } 09:18:08 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 09:18:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:18:10 ---> package-listing.sh 09:18:10 ++ facter osfamily 09:18:10 ++ tr '[:upper:]' '[:lower:]' 09:18:10 + OS_FAMILY=redhat 09:18:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-461 09:18:10 + START_PACKAGES=/tmp/packages_start.txt 09:18:10 + END_PACKAGES=/tmp/packages_end.txt 09:18:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:18:10 + PACKAGES=/tmp/packages_start.txt 09:18:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-461 ']' 09:18:10 + PACKAGES=/tmp/packages_end.txt 09:18:10 + case "${OS_FAMILY}" in 09:18:10 + rpm -qa 09:18:10 + sort 09:18:13 + '[' -f /tmp/packages_start.txt ']' 09:18:13 + '[' -f /tmp/packages_end.txt ']' 09:18:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:18:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-461 ']' 09:18:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-461/archives/ 09:18:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-461/archives/ [Pipeline] isUnix [Pipeline] sh 09:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:18:14 09:18:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:18:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:18:14 alpine: Pulling from edgex-lftools-log-publisher 09:18:14 c9b1b535fdd9: Pulling fs layer 09:18:14 2cc5ad85d9ab: Pulling fs layer 09:18:14 756a868c4378: Pulling fs layer 09:18:14 444b2fc9a129: Pulling fs layer 09:18:14 ea15f1150254: Pulling fs layer 09:18:14 41b27a9f41bf: Pulling fs layer 09:18:14 28c525ee5125: Pulling fs layer 09:18:14 094b1ea09ed8: Pulling fs layer 09:18:14 138eaada9080: Pulling fs layer 09:18:14 0622d0fa9048: Pulling fs layer 09:18:14 444b2fc9a129: Waiting 09:18:14 ea15f1150254: Waiting 09:18:14 41b27a9f41bf: Waiting 09:18:14 28c525ee5125: Waiting 09:18:14 094b1ea09ed8: Waiting 09:18:14 138eaada9080: Waiting 09:18:14 0622d0fa9048: Waiting 09:18:14 2cc5ad85d9ab: Download complete 09:18:14 444b2fc9a129: Download complete 09:18:14 c9b1b535fdd9: Download complete 09:18:14 ea15f1150254: Verifying Checksum 09:18:14 ea15f1150254: Download complete 09:18:14 28c525ee5125: Verifying Checksum 09:18:14 28c525ee5125: Download complete 09:18:14 c9b1b535fdd9: Pull complete 09:18:14 756a868c4378: Verifying Checksum 09:18:14 756a868c4378: Download complete 09:18:15 2cc5ad85d9ab: Pull complete 09:18:15 138eaada9080: Verifying Checksum 09:18:15 138eaada9080: Download complete 09:18:15 0622d0fa9048: Verifying Checksum 09:18:15 0622d0fa9048: Download complete 09:18:15 094b1ea09ed8: Verifying Checksum 09:18:15 094b1ea09ed8: Download complete 09:18:15 41b27a9f41bf: Verifying Checksum 09:18:15 41b27a9f41bf: Download complete 09:18:17 756a868c4378: Pull complete 09:18:17 444b2fc9a129: Pull complete 09:18:17 ea15f1150254: Pull complete 09:18:21 41b27a9f41bf: Pull complete 09:18:21 28c525ee5125: Pull complete 09:18:24 094b1ea09ed8: Pull complete 09:18:24 138eaada9080: Pull complete 09:18:24 0622d0fa9048: Pull complete 09:18:24 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:18:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:18:24 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 09:18:24 $ 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-461 -v /w/workspace/dgexfoundry_device-sdk-go_PR-461:/w/workspace/dgexfoundry_device-sdk-go_PR-461:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-461@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 09:18:25 $ docker top a1bfe0c0da5dbf1577f23c625a6049b5b2e23cfd2762222d0a899d55b5bfc609 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:18:26 provisioning config files... 09:18:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-461@tmp/config8706714948167096042tmp [Pipeline] { [Pipeline] echo 09:18:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:18:26 ---> create-netrc.sh [Pipeline] echo 09:18:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:18:26 ---> logs-deploy.sh 09:18:26 + ARCHIVE_ARTIFACTS= 09:18:26 + LOGS_SERVER=https://logs.edgexfoundry.org 09:18:26 + '[' https://logs.edgexfoundry.org == None ']' 09:18:26 + NEXUS_URL=https://nexus.edgexfoundry.org 09:18:26 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 09:18:26 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-461/3/ 09:18:26 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 /w/workspace/dgexfoundry_device-sdk-go_PR-461 09:18:28 Archives upload complete. 09:18:28 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-461/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-461/3/