Pull request #464 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (35864d00d7bb854b2309560fb90b808e21af9a55) 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 ‘prd-centos7-docker-4c-2g-931’ Running on prd-centos7-docker-4c-2g-934 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. > git rev-list --no-walk 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:49:21 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 18:49:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:49:24 18:49:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:49:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:49:24 latest: Pulling from edgex-devops/git-semver 18:49:24 9123ac7c32f7: Pulling fs layer 18:49:24 b8cc5d1170e3: Pulling fs layer 18:49:24 2924cbbf6a41: Pulling fs layer 18:49:24 93b08a4f1073: Pulling fs layer 18:49:24 93b08a4f1073: Waiting 18:49:24 b8cc5d1170e3: Verifying Checksum 18:49:24 b8cc5d1170e3: Download complete 18:49:24 9123ac7c32f7: Download complete 18:49:24 93b08a4f1073: Verifying Checksum 18:49:24 93b08a4f1073: Download complete 18:49:24 2924cbbf6a41: Verifying Checksum 18:49:24 2924cbbf6a41: Download complete 18:49:25 9123ac7c32f7: Pull complete 18:49:25 b8cc5d1170e3: Pull complete 18:49:26 2924cbbf6a41: Pull complete 18:49:26 93b08a4f1073: Pull complete 18:49:26 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:49:26 prd-centos7-docker-4c-2g-934 does not seem to be running inside a container 18:49:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:49:27 $ docker top 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:49:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:27 [ssh-agent] Looking for ssh-agent implementation... 18:49:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:27 $ docker exec 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent 18:49:27 SSH_AUTH_SOCK=/tmp/ssh-bEVz2ZRfhOmb/agent.15 18:49:27 SSH_AGENT_PID=22 18:49:27 Running ssh-add (command line suppressed) 18:49:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8848018292694173246.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8848018292694173246.key) 18:49:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:28 + git describe --exact-match --tags HEAD 18:49:28 fatal: No names found, cannot describe anything. [Pipeline] } 18:49:28 $ docker exec --env ******** --env ******** 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent -k 18:49:28 unset SSH_AUTH_SOCK; 18:49:28 unset SSH_AGENT_PID; 18:49:28 echo Agent pid 22 killed; 18:49:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:49:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:49:28 This usually means this commit has not been tagged. [Pipeline] sshagent 18:49:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:28 [ssh-agent] Looking for ssh-agent implementation... 18:49:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:29 $ docker exec 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent 18:49:29 SSH_AUTH_SOCK=/tmp/ssh-vo1CpUU9abJK/agent.57 18:49:29 SSH_AGENT_PID=64 18:49:29 Running ssh-add (command line suppressed) 18:49:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3514526736555828572.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3514526736555828572.key) 18:49:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:29 + git semver init 18:49:29 # -> Open(): unable to determine branch for HEAD 18:49:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 18:49:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 18:49:29 # $SEMVER_REMOTE_NAME = origin 18:49:29 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 18:49:29 # $SEMVER_USER_NAME = jenkins 18:49:29 # $SEMVER_BRANCH = PR-464 18:49:29 # $SEMVER_TEMP = /tmp/semver-265595835 18:49:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:49:30 # '/tmp/semver-265595835' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 18:49:30 # -> Force: false 18:49:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 18:49:30 $ docker exec --env ******** --env ******** 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 ssh-agent -k 18:49:30 unset SSH_AUTH_SOCK; 18:49:30 unset SSH_AGENT_PID; 18:49:30 echo Agent pid 64 killed; 18:49:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:49:31 + git semver [Pipeline] } 18:49:31 $ docker stop --time=1 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 18:49:32 $ docker rm -f 351180fb516a6b12446d518ed4b1de367849a516118d99075e28e1dfc1b31761 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:49:33 Stashed 32 file(s) [Pipeline] echo 18:49:33 [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 18:49:48 Still waiting to schedule task 18:49:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:49:48 Still waiting to schedule task 18:49:48 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-932’ 18:51:40 Running on prd-centos7-docker-4c-2g-935 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 18:51:40 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 18:51:43 using credential edgex-jenkins-ssh 18:51:43 Cloning the remote Git repository 18:51:43 Cloning with configured refspecs honoured and without tags 18:51:44 Fetching without tags 18:51:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:51:43 > git init /w/workspace/device-sdk-go/9 # timeout=10 18:51:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:51:43 > git --version # timeout=10 18:51:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:51:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:51:43 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 18:51:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:51:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:51:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:51:44 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:51:44 Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:51:44 Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) 18:51:44 > git config core.sparsecheckout # timeout=10 18:51:44 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 18:51:44 > git remote # timeout=10 18:51:44 > git config --get remote.origin.url # timeout=10 18:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:44 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 18:51:44 > git rev-parse HEAD^{commit} # timeout=10 18:51:44 > git config core.sparsecheckout # timeout=10 18:51:44 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 18:51:48 Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:51:49 ========================================================= 18:51:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:51:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:51:50 + 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 . 18:51:50 Sending build context to Docker daemon 2.702MB 18:51:50 Step 1/8 : ARG BASE=golang:1.13-alpine 18:51:50 Step 2/8 : FROM ${BASE} 18:51:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:50 e6b0cf9c0882: Pulling fs layer 18:51:50 2848faf0eed1: Pulling fs layer 18:51:50 0f37312ad70f: Pulling fs layer 18:51:50 5788d62ee057: Pulling fs layer 18:51:50 0e6b1d234666: Pulling fs layer 18:51:50 bf5d7aec512f: Pulling fs layer 18:51:50 34c802a77dc8: Pulling fs layer 18:51:50 9eb99e56ec68: Pulling fs layer 18:51:50 27c7a5d97fbd: Pulling fs layer 18:51:50 5c102a31e300: Pulling fs layer 18:51:50 dcfb455df0a1: Pulling fs layer 18:51:50 34c802a77dc8: Waiting 18:51:50 9eb99e56ec68: Waiting 18:51:50 27c7a5d97fbd: Waiting 18:51:50 5c102a31e300: Waiting 18:51:50 dcfb455df0a1: Waiting 18:51:50 5788d62ee057: Waiting 18:51:50 0e6b1d234666: Waiting 18:51:50 bf5d7aec512f: Waiting 18:51:50 0f37312ad70f: Verifying Checksum 18:51:50 0f37312ad70f: Download complete 18:51:50 2848faf0eed1: Verifying Checksum 18:51:50 2848faf0eed1: Download complete 18:51:50 0e6b1d234666: Verifying Checksum 18:51:50 0e6b1d234666: Download complete 18:51:50 bf5d7aec512f: Verifying Checksum 18:51:50 bf5d7aec512f: Download complete 18:51:50 e6b0cf9c0882: Verifying Checksum 18:51:50 e6b0cf9c0882: Download complete 18:51:51 e6b0cf9c0882: Pull complete 18:51:51 2848faf0eed1: Pull complete 18:51:51 0f37312ad70f: Pull complete 18:51:51 34c802a77dc8: Verifying Checksum 18:51:51 34c802a77dc8: Download complete 18:51:51 27c7a5d97fbd: Verifying Checksum 18:51:51 27c7a5d97fbd: Download complete 18:51:52 5c102a31e300: Verifying Checksum 18:51:52 5c102a31e300: Download complete 18:51:52 dcfb455df0a1: Verifying Checksum 18:51:52 dcfb455df0a1: Download complete 18:51:52 5788d62ee057: Verifying Checksum 18:51:52 5788d62ee057: Download complete 18:51:52 9eb99e56ec68: Verifying Checksum 18:51:52 9eb99e56ec68: Download complete 18:51:59 5788d62ee057: Pull complete 18:51:59 0e6b1d234666: Pull complete 18:51:59 bf5d7aec512f: Pull complete 18:52:04 34c802a77dc8: Pull complete 18:52:08 9eb99e56ec68: Pull complete 18:52:08 27c7a5d97fbd: Pull complete 18:52:09 5c102a31e300: Pull complete 18:52:09 dcfb455df0a1: Pull complete 18:52:09 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:52:09 ---> 7c70fe431013 18:52:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:09 ---> Running in cb0fc88222b5 18:52:09 Removing intermediate container cb0fc88222b5 18:52:09 ---> f70017a637e1 18:52:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:09 ---> Running in 817afb15cfa4 18:52:10 Removing intermediate container 817afb15cfa4 18:52:10 ---> f86d1f7d58c6 18:52:10 Step 5/8 : RUN apk add --no-cache make git 18:52:10 ---> Running in 94d75847ae16 18:52:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:52:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:52:13 OK: 143 MiB in 39 packages 18:52:13 Removing intermediate container 94d75847ae16 18:52:13 ---> 90c01969884b 18:52:13 Step 6/8 : WORKDIR /device-sdk-go 18:52:13 ---> Running in 8c615dc4d23f 18:52:13 Removing intermediate container 8c615dc4d23f 18:52:13 ---> 1766ff730865 18:52:13 Step 7/8 : COPY . . 18:52:14 ---> 8658267f4521 18:52:14 Step 8/8 : RUN go mod download 18:52:14 ---> Running in e67efc2348cf 18:52:16 go: finding github.com/BurntSushi/toml v0.3.1 18:52:16 go: finding github.com/OneOfOne/xxhash v1.2.6 18:52:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:52:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:52:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:52:16 go: finding github.com/bgentry/speakeasy v0.1.0 18:52:16 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:52:16 go: finding github.com/davecgh/go-spew v1.1.1 18:52:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 18:52:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:52:16 go: finding github.com/fatih/color v1.7.0 18:52:16 go: finding github.com/go-kit/kit v0.8.0 18:52:16 go: finding github.com/go-logfmt/logfmt v0.4.0 18:52:16 go: finding github.com/go-stack/stack v1.8.0 18:52:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:52:16 go: finding github.com/google/uuid v1.1.0 18:52:16 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:52:16 go: finding github.com/gorilla/mux v1.6.2 18:52:16 go: finding github.com/hashicorp/consul v1.4.2 18:52:16 go: finding github.com/hashicorp/errwrap v1.0.0 18:52:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:52:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:52:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:52:16 go: finding github.com/hashicorp/go-multierror v1.0.0 18:52:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:52:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:52:16 go: finding github.com/hashicorp/go-syslog v1.0.0 18:52:16 go: finding github.com/hashicorp/go-uuid v1.0.1 18:52:16 go: finding github.com/hashicorp/go.net v0.0.1 18:52:16 go: finding github.com/hashicorp/golang-lru v0.5.0 18:52:16 go: finding github.com/hashicorp/logutils v1.0.0 18:52:16 go: finding github.com/hashicorp/mdns v1.0.0 18:52:16 go: finding github.com/hashicorp/memberlist v0.1.3 18:52:16 go: finding github.com/hashicorp/serf v0.8.2 18:52:16 go: finding github.com/jessevdk/go-flags v1.4.0 18:52:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:52:16 go: finding github.com/mattn/go-colorable v0.0.9 18:52:16 go: finding github.com/mattn/go-isatty v0.0.3 18:52:16 go: finding github.com/miekg/dns v1.0.14 18:52:16 go: finding github.com/mitchellh/cli v1.0.0 18:52:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:52:16 go: finding github.com/mitchellh/copystructure v1.0.0 18:52:16 go: finding github.com/mitchellh/go-homedir v1.0.0 18:52:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:52:16 go: finding github.com/mitchellh/gox v0.4.0 18:52:16 go: finding github.com/mitchellh/iochan v1.0.0 18:52:16 go: finding github.com/mitchellh/mapstructure v1.1.2 18:52:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:52:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:52:16 go: finding github.com/pelletier/go-toml v1.2.0 18:52:16 go: finding github.com/pkg/errors v0.8.1 18:52:16 go: finding github.com/pmezard/go-difflib v1.0.0 18:52:16 go: finding github.com/posener/complete v1.1.1 18:52:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:52:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:52:16 go: finding github.com/stretchr/objx v0.1.0 18:52:16 go: finding github.com/stretchr/testify v1.3.0 18:52:16 go: finding github.com/ugorji/go v1.1.4 18:52:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:52:17 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:52:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:52:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:52:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:52:17 go: finding gopkg.in/yaml.v2 v2.2.2 18:52:25 Removing intermediate container e67efc2348cf 18:52:25 ---> 2a258bf46dd8 18:52:25 Successfully built 2a258bf46dd8 18:52:25 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 18:52:26 + docker inspect -f . ci-base-image-x86_64 18:52:26 . [Pipeline] withDockerContainer 18:52:26 prd-centos7-docker-4c-2g-935 does not seem to be running inside a container 18:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:52:26 $ docker top 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:27 + go version 18:52:27 go version go1.13.5 linux/amd64 [Pipeline] sh 18:52:27 + make test 18:52:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:52:46 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:52:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:52:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:52:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 23.1% of statements 18:52:50 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.062s coverage: 95.8% of statements 18:52:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.048s coverage: 12.7% of statements 18:52:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 20.5% of statements 18:53:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-936 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 18:53:16 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 18:53:22 using credential edgex-jenkins-ssh 18:53:22 Cloning the remote Git repository 18:53:22 Cloning with configured refspecs honoured and without tags 18:53:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:53:23 Fetching without tags 18:53:22 > git init /w/workspace/device-sdk-go/9 # timeout=10 18:53:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:53:22 > git --version # timeout=10 18:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:53:23 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 18:53:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:53:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:53:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:24 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:53:24 Merge succeeded, producing 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:53:24 Checking out Revision 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce (PR-464) 18:53:24 > git config core.sparsecheckout # timeout=10 18:53:24 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 18:53:24 > git remote # timeout=10 18:53:24 > git config --get remote.origin.url # timeout=10 18:53:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:24 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 18:53:24 > git rev-parse HEAD^{commit} # timeout=10 18:53:24 > git config core.sparsecheckout # timeout=10 18:53:24 > git checkout -f 9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce # timeout=10 18:53:26 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.020s coverage: 30.0% of statements 18:53:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.430s coverage: 42.3% of statements 18:53:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:53:26 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 18:53:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.717s coverage: 77.7% of statements 18:53:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:53:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:53:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:53:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements 18:53:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 76.1% of statements 18:53:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:53:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:53:26 gofmt -l . 18:53:26 [ "`gofmt -l .`" = "" ] 18:53:26 ./bin/test-attribution-txt.sh 18:53:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:53:28 Stashed 1 file(s) [Pipeline] } 18:53:28 $ docker stop --time=1 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b 18:53:29 Commit message: "Fix the Content Header-related issue with CBOR." 18:53:29 $ docker rm -f 8efacaefba278af96734fe853166583508fedd3b35b2537b539d024657b31a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash 18:53:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:31 + ls -al . 18:53:31 total 200 18:53:31 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 17 18:53 . 18:53:31 drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 18:51 .. 18:53:31 drwxrwxr-x. 3 jenkins jenkins 20 Mar 17 18:51 api 18:53:31 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 17 18:51 async.go 18:53:31 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 18:51 bin 18:53:31 -rw-r--r--. 1 jenkins jenkins 102163 Mar 17 18:53 coverage.out 18:53:31 -rw-rw-r--. 1 jenkins jenkins 936 Mar 17 18:51 Dockerfile.build 18:53:31 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 18:51 .dockerignore 18:53:31 drwxrwxr-x. 4 jenkins jenkins 31 Mar 17 18:51 example 18:53:31 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 18:51 .git 18:53:31 drwxrwxr-x. 2 jenkins jenkins 38 Mar 17 18:51 .github 18:53:31 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 18:51 .gitignore 18:53:31 -rw-r--r--. 1 jenkins jenkins 536 Mar 17 18:53 go.mod 18:53:31 -rw-r--r--. 1 jenkins jenkins 11140 Mar 17 18:53 go.sum 18:53:31 drwxrwxr-x. 13 jenkins jenkins 176 Mar 17 18:51 internal 18:53:31 -rw-rw-r--. 1 jenkins jenkins 808 Mar 17 18:51 Jenkinsfile 18:53:31 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 18:51 LICENSE 18:53:31 -rw-rw-r--. 1 jenkins jenkins 892 Mar 17 18:51 Makefile 18:53:31 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 17 18:51 manageddevices.go 18:53:31 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 17 18:51 managedprofiles.go 18:53:31 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 17 18:51 managedwatchers.go 18:53:31 drwxrwxr-x. 4 jenkins jenkins 35 Mar 17 18:51 pkg 18:53:31 -rw-rw-r--. 1 jenkins jenkins 761 Mar 17 18:51 README.md 18:53:31 drwxrwxr-x. 3 jenkins jenkins 58 Mar 17 18:51 .semver 18:53:31 -rw-rw-r--. 1 jenkins jenkins 9817 Mar 17 18:51 service.go 18:53:31 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 18:51 snap 18:53:31 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 18:49 VERSION 18:53:31 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 18:51 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 18:53:31 ========================================================= 18:53:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:53:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:53:31 + 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=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce --label arch=amd64 --label version=0.0.0 . 18:53:32 Sending build context to Docker daemon 2.829MB 18:53:32 Step 1/20 : ARG BASE=golang:1.13-alpine 18:53:32 Step 2/20 : FROM ${BASE} AS builder 18:53:32 ---> 2a258bf46dd8 18:53:32 Step 3/20 : ARG MAKE='make build' 18:53:32 ---> Running in 9001abc51437 18:53:32 Removing intermediate container 9001abc51437 18:53:32 ---> 766fd19bda22 18:53:32 Step 4/20 : WORKDIR /device-sdk-go 18:53:32 ---> Running in fd312fceb9bb 18:53:32 Removing intermediate container fd312fceb9bb 18:53:32 ---> 357009647405 18:53:32 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:32 ---> Running in 815be120e525 18:53:32 Removing intermediate container 815be120e525 18:53:32 ---> bf2294e1a240 18:53:32 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:53:32 ---> Running in a5608129c3aa 18:53:32 + 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 . 18:53:33 Removing intermediate container a5608129c3aa 18:53:33 ---> 73b8c42ce377 18:53:33 Step 7/20 : RUN apk add --update --no-cache make git 18:53:33 ---> Running in cefcefc5f0e1 18:53:33 Sending build context to Docker daemon 2.702MB 18:53:33 Step 1/8 : ARG BASE=golang:1.13-alpine 18:53:33 Step 2/8 : FROM ${BASE} 18:53:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:53:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:53:33 cde5963f3b93: Pulling fs layer 18:53:33 2a23fa8c16f7: Pulling fs layer 18:53:33 777b28850792: Pulling fs layer 18:53:33 8a11ddd9e578: Pulling fs layer 18:53:33 4cf88f913ddb: Pulling fs layer 18:53:33 1df406cf5192: Pulling fs layer 18:53:33 cd6300453558: Pulling fs layer 18:53:33 b9c365052c96: Pulling fs layer 18:53:33 a2d8cc88f415: Pulling fs layer 18:53:33 ea1d1ca13537: Pulling fs layer 18:53:33 3750a50a1c5e: Pulling fs layer 18:53:33 cd6300453558: Waiting 18:53:33 b9c365052c96: Waiting 18:53:33 a2d8cc88f415: Waiting 18:53:33 ea1d1ca13537: Waiting 18:53:33 3750a50a1c5e: Waiting 18:53:33 8a11ddd9e578: Waiting 18:53:33 4cf88f913ddb: Waiting 18:53:33 1df406cf5192: Waiting 18:53:33 777b28850792: Verifying Checksum 18:53:33 777b28850792: Download complete 18:53:33 2a23fa8c16f7: Download complete 18:53:33 4cf88f913ddb: Verifying Checksum 18:53:33 4cf88f913ddb: Download complete 18:53:34 1df406cf5192: Verifying Checksum 18:53:34 1df406cf5192: Download complete 18:53:34 cde5963f3b93: Download complete 18:53:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:53:35 cde5963f3b93: Pull complete 18:53:35 2a23fa8c16f7: Pull complete 18:53:35 777b28850792: Pull complete 18:53:36 OK: 143 MiB in 39 packages 18:53:36 Removing intermediate container cefcefc5f0e1 18:53:36 ---> 52f498458f6f 18:53:36 Step 8/20 : COPY . . 18:53:36 ---> 6744306a6e27 18:53:36 Step 9/20 : RUN ${MAKE} 18:53:36 ---> Running in a9f380fdd8af 18:53:36 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 18:53:38 cd6300453558: Verifying Checksum 18:53:38 cd6300453558: Download complete 18:53:38 a2d8cc88f415: Verifying Checksum 18:53:38 a2d8cc88f415: Download complete 18:53:41 ea1d1ca13537: Verifying Checksum 18:53:41 ea1d1ca13537: Download complete 18:53:41 3750a50a1c5e: Verifying Checksum 18:53:41 3750a50a1c5e: Download complete 18:53:43 b9c365052c96: Verifying Checksum 18:53:43 b9c365052c96: Download complete 18:53:45 8a11ddd9e578: Verifying Checksum 18:53:45 8a11ddd9e578: Download complete 18:53:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:53:56 Removing intermediate container a9f380fdd8af 18:53:56 ---> bb30d637c0c4 18:53:56 Step 10/20 : FROM scratch 18:53:56 ---> 18:53:56 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:56 ---> Running in 6dec751848c9 18:53:56 Removing intermediate container 6dec751848c9 18:53:56 ---> 7a199cd2cac5 18:53:56 Step 12/20 : ENV APP_PORT=49990 18:53:56 ---> Running in 539be93b07d7 18:53:56 Removing intermediate container 539be93b07d7 18:53:56 ---> e1a149d74153 18:53:56 Step 13/20 : EXPOSE $APP_PORT 18:53:56 ---> Running in 797957bfcda3 18:53:56 Removing intermediate container 797957bfcda3 18:53:56 ---> abf60583d414 18:53:56 Step 14/20 : WORKDIR / 18:53:56 ---> Running in 423bcbda1d7d 18:53:56 Removing intermediate container 423bcbda1d7d 18:53:56 ---> d342eb8d5f5c 18:53:56 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:53:57 ---> 1ae1f9885d73 18:53:57 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 18:53:57 ---> afc0119ff8a3 18:53:57 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 18:53:57 ---> Running in dbd157b0c87c 18:53:57 Removing intermediate container dbd157b0c87c 18:53:57 ---> d326c84bddda 18:53:57 Step 18/20 : LABEL arch=amd64 18:53:57 ---> Running in d8ca09f67d93 18:53:57 Removing intermediate container d8ca09f67d93 18:53:57 ---> 4cbcfabc4b7f 18:53:57 Step 19/20 : LABEL git_sha=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:53:57 ---> Running in 83b13b41bc08 18:53:58 8a11ddd9e578: Pull complete 18:53:58 4cf88f913ddb: Pull complete 18:53:58 1df406cf5192: Pull complete 18:53:58 Removing intermediate container 83b13b41bc08 18:53:58 ---> de383b4eb6a5 18:53:58 Step 20/20 : LABEL version=0.0.0 18:53:58 ---> Running in 5d915b188842 18:53:58 Removing intermediate container 5d915b188842 18:53:58 ---> e7e29b8fd6c0 18:53:58 [Warning] One or more build-args [ARCH] were not consumed 18:53:58 Successfully built e7e29b8fd6c0 18:53:58 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] } 18:54:02 cd6300453558: Pull complete 18:54:07 b9c365052c96: Pull complete 18:54:07 a2d8cc88f415: Pull complete 18:54:09 ea1d1ca13537: Pull complete 18:54:09 3750a50a1c5e: Pull complete 18:54:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:54:09 ---> 78745c68409d 18:54:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:54:13 ---> Running in b675b376cf2e 18:54:14 Removing intermediate container b675b376cf2e 18:54:14 ---> 834461939367 18:54:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:54:14 ---> Running in 83f777782e11 18:54:16 Removing intermediate container 83f777782e11 18:54:16 ---> b86faa83982b 18:54:16 Step 5/8 : RUN apk add --no-cache make git 18:54:16 ---> Running in 0199d240bfa7 18:54:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:54:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:54:19 OK: 125 MiB in 39 packages 18:54:20 Removing intermediate container 0199d240bfa7 18:54:20 ---> 7b87470f41c8 18:54:20 Step 6/8 : WORKDIR /device-sdk-go 18:54:21 ---> Running in 8da455ad0354 18:54:21 Removing intermediate container 8da455ad0354 18:54:21 ---> 5f90f3bbcc5f 18:54:21 Step 7/8 : COPY . . 18:54:23 ---> b8731f6774bd 18:54:23 Step 8/8 : RUN go mod download 18:54:23 ---> Running in 1f7d88ac1c86 18:54:26 go: finding github.com/BurntSushi/toml v0.3.1 18:54:26 go: finding github.com/OneOfOne/xxhash v1.2.6 18:54:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:54:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:54:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:54:26 go: finding github.com/bgentry/speakeasy v0.1.0 18:54:26 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:54:26 go: finding github.com/davecgh/go-spew v1.1.1 18:54:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 18:54:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:54:26 go: finding github.com/fatih/color v1.7.0 18:54:26 go: finding github.com/go-kit/kit v0.8.0 18:54:26 go: finding github.com/go-logfmt/logfmt v0.4.0 18:54:26 go: finding github.com/go-stack/stack v1.8.0 18:54:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:54:26 go: finding github.com/google/uuid v1.1.0 18:54:26 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:54:26 go: finding github.com/gorilla/mux v1.6.2 18:54:26 go: finding github.com/hashicorp/consul v1.4.2 18:54:26 go: finding github.com/hashicorp/errwrap v1.0.0 18:54:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:54:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:54:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:54:26 go: finding github.com/hashicorp/go-multierror v1.0.0 18:54:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:54:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:54:26 go: finding github.com/hashicorp/go-syslog v1.0.0 18:54:26 go: finding github.com/hashicorp/go-uuid v1.0.1 18:54:26 go: finding github.com/hashicorp/go.net v0.0.1 18:54:26 go: finding github.com/hashicorp/golang-lru v0.5.0 18:54:26 go: finding github.com/hashicorp/logutils v1.0.0 18:54:26 go: finding github.com/hashicorp/mdns v1.0.0 18:54:26 go: finding github.com/hashicorp/memberlist v0.1.3 18:54:26 go: finding github.com/hashicorp/serf v0.8.2 18:54:26 go: finding github.com/jessevdk/go-flags v1.4.0 18:54:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:54:27 go: finding github.com/mattn/go-colorable v0.0.9 18:54:27 go: finding github.com/mattn/go-isatty v0.0.3 18:54:27 go: finding github.com/miekg/dns v1.0.14 18:54:27 go: finding github.com/mitchellh/cli v1.0.0 18:54:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:54:27 go: finding github.com/mitchellh/copystructure v1.0.0 18:54:27 go: finding github.com/mitchellh/go-homedir v1.0.0 18:54:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:54:27 go: finding github.com/mitchellh/gox v0.4.0 18:54:27 go: finding github.com/mitchellh/iochan v1.0.0 18:54:27 go: finding github.com/mitchellh/mapstructure v1.1.2 18:54:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:54:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:54:27 go: finding github.com/pelletier/go-toml v1.2.0 18:54:27 go: finding github.com/pkg/errors v0.8.1 18:54:27 go: finding github.com/pmezard/go-difflib v1.0.0 18:54:27 go: finding github.com/posener/complete v1.1.1 18:54:27 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:54:27 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:54:27 go: finding github.com/stretchr/objx v0.1.0 18:54:27 go: finding github.com/stretchr/testify v1.3.0 18:54:27 go: finding github.com/ugorji/go v1.1.4 18:54:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:54:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:54:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:54:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:54:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:54:27 go: finding gopkg.in/yaml.v2 v2.2.2 18:54:45 Removing intermediate container 1f7d88ac1c86 18:54:45 ---> c9031c91b7a1 18:54:45 Successfully built c9031c91b7a1 18:54:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:54:46 + docker inspect -f . ci-base-image-arm64 18:54:46 . [Pipeline] withDockerContainer 18:54:46 prd-ubuntu18.04-docker-arm64-4c-16g-936 does not seem to be running inside a container 18:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:54:48 $ docker top 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:49 + go version 18:54:49 go version go1.13.5 linux/arm64 [Pipeline] sh 18:54:50 + make test 18:54:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:55:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:55:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:55:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:55:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 23.1% of statements 18:55:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.164s coverage: 95.8% of statements 18:55:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.054s coverage: 12.7% of statements 18:55:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 20.5% of statements 18:56:09 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.038s coverage: 30.0% of statements 18:56:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.472s coverage: 42.3% of statements 18:56:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:56:09 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 18:56:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.689s coverage: 77.7% of statements 18:56:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:56:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:56:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:56:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.113s coverage: 52.6% of statements 18:56:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.357s coverage: 76.1% of statements 18:56:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:56:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:56:17 gofmt -l . 18:56:18 [ "`gofmt -l .`" = "" ] 18:56:18 ./bin/test-attribution-txt.sh 18:56:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:56:19 Warning: overwriting stash ‘coverage-report’ 18:56:20 Stashed 1 file(s) [Pipeline] } 18:56:20 $ docker stop --time=1 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe 18:56:22 $ docker rm -f 123bd9f8af3d66d752b4b94a7adee1442fdbce8df5c53c6cf79a9e376e9cbabe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:23 + ls -al . 18:56:23 total 240 18:56:23 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 18:56 . 18:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 .. 18:56:23 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 18:53 .dockerignore 18:56:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 18:53 .git 18:56:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:53 .github 18:56:23 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 18:53 .gitignore 18:56:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:53 .semver 18:56:23 -rw-rw-r-- 1 jenkins jenkins 936 Mar 17 18:53 Dockerfile.build 18:56:23 -rw-rw-r-- 1 jenkins jenkins 808 Mar 17 18:53 Jenkinsfile 18:56:23 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 18:53 LICENSE 18:56:23 -rw-rw-r-- 1 jenkins jenkins 892 Mar 17 18:53 Makefile 18:56:23 -rw-rw-r-- 1 jenkins jenkins 761 Mar 17 18:53 README.md 18:56:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 18:49 VERSION 18:56:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:53 api 18:56:23 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 17 18:53 async.go 18:56:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:53 bin 18:56:23 -rw-r--r-- 1 jenkins jenkins 102163 Mar 17 18:56 coverage.out 18:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 example 18:56:23 -rw-r--r-- 1 jenkins jenkins 536 Mar 17 18:56 go.mod 18:56:23 -rw-r--r-- 1 jenkins jenkins 11140 Mar 17 18:56 go.sum 18:56:23 drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 18:53 internal 18:56:23 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 17 18:53 manageddevices.go 18:56:23 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 17 18:53 managedprofiles.go 18:56:23 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 17 18:53 managedwatchers.go 18:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 pkg 18:56:23 -rw-rw-r-- 1 jenkins jenkins 9817 Mar 17 18:53 service.go 18:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:53 snap 18:56:23 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 18:53 version.go [Pipeline] isUnix [Pipeline] sh 18:56:24 + 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=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce --label arch=arm64 --label version=0.0.0 . 18:56:24 Sending build context to Docker daemon 2.829MB 18:56:24 Step 1/20 : ARG BASE=golang:1.13-alpine 18:56:24 Step 2/20 : FROM ${BASE} AS builder 18:56:24 ---> c9031c91b7a1 18:56:24 Step 3/20 : ARG MAKE='make build' 18:56:24 ---> Running in 96c1dc54e718 18:56:25 Removing intermediate container 96c1dc54e718 18:56:25 ---> 495d27a7495f 18:56:25 Step 4/20 : WORKDIR /device-sdk-go 18:56:25 ---> Running in a34b3967e8ac 18:56:25 Removing intermediate container a34b3967e8ac 18:56:25 ---> 1396abf5be0d 18:56:25 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:56:25 ---> Running in 09aefb53d2b0 18:56:26 Removing intermediate container 09aefb53d2b0 18:56:26 ---> dd93862ae859 18:56:26 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:56:26 ---> Running in 0309dff66641 18:56:28 Removing intermediate container 0309dff66641 18:56:28 ---> 0ad58e4d36a9 18:56:28 Step 7/20 : RUN apk add --update --no-cache make git 18:56:28 ---> Running in 42be0090f9e2 18:56:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:56:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:56:30 OK: 125 MiB in 39 packages 18:56:31 Removing intermediate container 42be0090f9e2 18:56:31 ---> 9a5cfa61cccd 18:56:31 Step 8/20 : COPY . . 18:56:32 ---> b0f6d2b37881 18:56:32 Step 9/20 : RUN ${MAKE} 18:56:32 ---> Running in 94ed825d7611 18:56:33 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 18:57:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:57:24 Removing intermediate container 94ed825d7611 18:57:24 ---> c2ad059a387b 18:57:24 Step 10/20 : FROM scratch 18:57:24 ---> 18:57:24 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:57:24 ---> Running in 75d543406986 18:57:24 Removing intermediate container 75d543406986 18:57:24 ---> 8169d9a452b8 18:57:24 Step 12/20 : ENV APP_PORT=49990 18:57:24 ---> Running in 6d823ab9de69 18:57:24 Removing intermediate container 6d823ab9de69 18:57:24 ---> 9c47a8982654 18:57:24 Step 13/20 : EXPOSE $APP_PORT 18:57:24 ---> Running in d77a2904eb20 18:57:24 Removing intermediate container d77a2904eb20 18:57:24 ---> 3acdcede978d 18:57:24 Step 14/20 : WORKDIR / 18:57:24 ---> Running in eeabae2e1dfe 18:57:24 Removing intermediate container eeabae2e1dfe 18:57:24 ---> 0c79d8512b7e 18:57:24 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:57:25 ---> 8c56d04d3fc6 18:57:25 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 18:57:26 ---> abac9d972858 18:57:26 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 18:57:26 ---> Running in 8eabb18c74b8 18:57:26 Removing intermediate container 8eabb18c74b8 18:57:26 ---> 13ca844a7709 18:57:26 Step 18/20 : LABEL arch=arm64 18:57:26 ---> Running in 9a18ecfd7e83 18:57:26 Removing intermediate container 9a18ecfd7e83 18:57:26 ---> f8f546c609d4 18:57:26 Step 19/20 : LABEL git_sha=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce 18:57:26 ---> Running in ba1d4ff481a2 18:57:27 Removing intermediate container ba1d4ff481a2 18:57:27 ---> bae656462a61 18:57:27 Step 20/20 : LABEL version=0.0.0 18:57:27 ---> Running in a2b0887a19d1 18:57:27 Removing intermediate container a2b0887a19d1 18:57:27 ---> 4c9cfea797c5 18:57:27 [Warning] One or more build-args [ARCH] were not consumed 18:57:27 Successfully built 4c9cfea797c5 18:57:27 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 18:57:28 provisioning config files... 18:57:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2106337116867289917tmp [Pipeline] { [Pipeline] sh 18:57:29 + curl -s https://codecov.io/bash 18:57:29 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2106337116867289917tmp 18:57:29 18:57:29 _____ _ 18:57:29 / ____| | | 18:57:29 | | ___ __| | ___ ___ _____ __ 18:57:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:57:29 | |___| (_) | (_| | __/ (_| (_) \ V / 18:57:29 \_____\___/ \__,_|\___|\___\___/ \_/ 18:57:29 Bash-20200316-40b1c41 18:57:29 18:57:29 18:57:29 ==> Jenkins CI detected. 18:57:29 project root: . 18:57:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:57:29 ==> Running gcov in . (disable via -X gcov) 18:57:29 ==> Python coveragepy not found 18:57:29 ==> Searching for coverage reports in: 18:57:29 + . 18:57:29 -> Found 1 reports 18:57:29 ==> Detecting git/mercurial file structure 18:57:29 ==> Reading reports 18:57:29 + ./coverage.out bytes=102163 18:57:29 ==> Appending adjustments 18:57:29 http://docs.codecov.io/docs/fixing-reports 18:57:29 + Found adjustments 18:57:29 ==> Gzipping contents 18:57:29 ==> Uploading reports 18:57:29 url: https://codecov.io 18:57:29 query: branch=PR-464&commit=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 18:57:29 -> Pinging Codecov 18:57:29 https://codecov.io/upload/v4?package=bash-20200316-40b1c41&token=secret&branch=PR-464&commit=9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 18:57:30 -> Uploading 18:57:30 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9dc7c52aaae2bc179433c3e4ab4b5c7f213db5ce [Pipeline] } 18:57:30 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 18:57:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:32 ---> package-listing.sh 18:57:32 ++ facter osfamily 18:57:32 ++ tr '[:upper:]' '[:lower:]' 18:57:32 + OS_FAMILY=redhat 18:57:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 18:57:32 + START_PACKAGES=/tmp/packages_start.txt 18:57:32 + END_PACKAGES=/tmp/packages_end.txt 18:57:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:32 + PACKAGES=/tmp/packages_start.txt 18:57:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 18:57:32 + PACKAGES=/tmp/packages_end.txt 18:57:32 + case "${OS_FAMILY}" in 18:57:32 + rpm -qa 18:57:32 + sort 18:57:36 + '[' -f /tmp/packages_start.txt ']' 18:57:36 + '[' -f /tmp/packages_end.txt ']' 18:57:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 18:57:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 18:57:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh 18:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:57:37 18:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:57:37 alpine: Pulling from edgex-lftools-log-publisher 18:57:37 c9b1b535fdd9: Pulling fs layer 18:57:37 2cc5ad85d9ab: Pulling fs layer 18:57:37 756a868c4378: Pulling fs layer 18:57:37 444b2fc9a129: Pulling fs layer 18:57:37 ea15f1150254: Pulling fs layer 18:57:37 41b27a9f41bf: Pulling fs layer 18:57:37 28c525ee5125: Pulling fs layer 18:57:37 094b1ea09ed8: Pulling fs layer 18:57:37 138eaada9080: Pulling fs layer 18:57:37 0622d0fa9048: Pulling fs layer 18:57:37 444b2fc9a129: Waiting 18:57:37 41b27a9f41bf: Waiting 18:57:37 094b1ea09ed8: Waiting 18:57:37 138eaada9080: Waiting 18:57:37 0622d0fa9048: Waiting 18:57:37 28c525ee5125: Waiting 18:57:37 ea15f1150254: Waiting 18:57:37 2cc5ad85d9ab: Verifying Checksum 18:57:37 2cc5ad85d9ab: Download complete 18:57:37 444b2fc9a129: Verifying Checksum 18:57:37 444b2fc9a129: Download complete 18:57:37 c9b1b535fdd9: Verifying Checksum 18:57:37 c9b1b535fdd9: Download complete 18:57:37 ea15f1150254: Download complete 18:57:37 28c525ee5125: Verifying Checksum 18:57:37 28c525ee5125: Download complete 18:57:37 756a868c4378: Download complete 18:57:37 c9b1b535fdd9: Pull complete 18:57:37 138eaada9080: Verifying Checksum 18:57:37 138eaada9080: Download complete 18:57:37 0622d0fa9048: Verifying Checksum 18:57:37 0622d0fa9048: Download complete 18:57:37 094b1ea09ed8: Verifying Checksum 18:57:37 094b1ea09ed8: Download complete 18:57:38 2cc5ad85d9ab: Pull complete 18:57:38 41b27a9f41bf: Verifying Checksum 18:57:38 41b27a9f41bf: Download complete 18:57:39 756a868c4378: Pull complete 18:57:39 444b2fc9a129: Pull complete 18:57:39 ea15f1150254: Pull complete 18:57:43 41b27a9f41bf: Pull complete 18:57:43 28c525ee5125: Pull complete 18:57:45 094b1ea09ed8: Pull complete 18:57:45 138eaada9080: Pull complete 18:57:45 0622d0fa9048: Pull complete 18:57:45 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:57:45 prd-centos7-docker-4c-2g-934 does not seem to be running inside a container 18:57:45 $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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:10003/edgex-lftools-log-publisher:alpine cat 18:57:46 $ docker top 12dc47de4cb78eea3dd692567e2fe262fd48085ff5dd9ccd62a52d11013efa27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:57:47 provisioning config files... 18:57:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config289604215123546085tmp [Pipeline] { [Pipeline] echo 18:57:47 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:47 ---> create-netrc.sh [Pipeline] echo 18:57:47 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:47 ---> logs-deploy.sh 18:57:47 + ARCHIVE_ARTIFACTS= 18:57:47 + LOGS_SERVER=https://logs.edgexfoundry.org 18:57:47 + '[' https://logs.edgexfoundry.org == None ']' 18:57:47 + NEXUS_URL=https://nexus.edgexfoundry.org 18:57:47 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 18:57:47 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/9/ 18:57:47 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 /w/workspace/dgexfoundry_device-sdk-go_PR-464 18:57:49 Archives upload complete. 18:57:49 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/9/