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 a3da746885b618801d51f6bc1cee5348ded01924+b92b1a498a210f23e11ab247bf48f6be566a37ca (f6ba8637e4cc2a5904de540ed78c2934c78465b0) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2892 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 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 Fetching without tags Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:41:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 8501529d56152bfbb8a5eb942bc5d469c19f880c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:41:48 16:41:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:41:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:41:48 latest: Pulling from edgex-devops/git-semver 16:41:48 9123ac7c32f7: Pulling fs layer 16:41:48 b8cc5d1170e3: Pulling fs layer 16:41:48 2924cbbf6a41: Pulling fs layer 16:41:48 93b08a4f1073: Pulling fs layer 16:41:48 93b08a4f1073: Waiting 16:41:48 b8cc5d1170e3: Verifying Checksum 16:41:48 b8cc5d1170e3: Download complete 16:41:48 9123ac7c32f7: Download complete 16:41:48 93b08a4f1073: Verifying Checksum 16:41:48 93b08a4f1073: Download complete 16:41:48 2924cbbf6a41: Download complete 16:41:49 9123ac7c32f7: Pull complete 16:41:49 b8cc5d1170e3: Pull complete 16:41:50 2924cbbf6a41: Pull complete 16:41:50 93b08a4f1073: Pull complete 16:41:50 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:41:50 prd-centos7-docker-4c-2g-2892 does not seem to be running inside a container 16:41:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:41:50 $ docker top 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:41:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:41:51 [ssh-agent] Looking for ssh-agent implementation... 16:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:41:51 $ docker exec 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent 16:41:51 SSH_AUTH_SOCK=/tmp/ssh-epfep2vf6rvO/agent.15 16:41:51 SSH_AGENT_PID=21 16:41:51 Running ssh-add (command line suppressed) 16:41:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3291907150661225673.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3291907150661225673.key) 16:41:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:41:52 + git describe --exact-match --tags HEAD 16:41:52 fatal: No names found, cannot describe anything. [Pipeline] } 16:41:52 $ docker exec --env ******** --env ******** 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent -k 16:41:52 unset SSH_AUTH_SOCK; 16:41:52 unset SSH_AGENT_PID; 16:41:52 echo Agent pid 21 killed; 16:41:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:41:52 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:41:52 This usually means this commit has not been tagged. [Pipeline] sshagent 16:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:41:52 [ssh-agent] Looking for ssh-agent implementation... 16:41:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:41:52 $ docker exec 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent 16:41:52 SSH_AUTH_SOCK=/tmp/ssh-3iUkBELricly/agent.56 16:41:52 SSH_AGENT_PID=62 16:41:52 Running ssh-add (command line suppressed) 16:41:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6789105670714528036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6789105670714528036.key) 16:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:41:53 + git semver init 16:41:53 # -> Open(): unable to determine branch for HEAD 16:41:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 16:41:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 16:41:53 # $SEMVER_REMOTE_NAME = origin 16:41:53 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:41:53 # $SEMVER_USER_NAME = jenkins 16:41:53 # $SEMVER_BRANCH = PR-464 16:41:53 # $SEMVER_TEMP = /tmp/semver-333920069 16:41:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:41:54 # '/tmp/semver-333920069' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 16:41:54 # -> Force: false 16:41:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 16:41:54 $ docker exec --env ******** --env ******** 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a ssh-agent -k 16:41:54 unset SSH_AUTH_SOCK; 16:41:54 unset SSH_AGENT_PID; 16:41:54 echo Agent pid 62 killed; 16:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:41:54 + git semver [Pipeline] } 16:41:54 $ docker stop --time=1 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a 16:41:56 $ docker rm -f 4e2703933512f191634e86a397b364119f555a31f58e64544cf76132c0b1bb3a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:41:56 Stashed 38 file(s) [Pipeline] echo 16:41:56 [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 16:42:12 Still waiting to schedule task 16:42:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:42:12 Still waiting to schedule task 16:42:12 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:43:38 Running on prd-centos7-docker-4c-2g-2893 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 16:43:38 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 16:43:40 using credential edgex-jenkins-ssh 16:43:40 Cloning the remote Git repository 16:43:40 Cloning with configured refspecs honoured and without tags 16:43:41 Fetching without tags 16:43:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:43:40 > git init /w/workspace/device-sdk-go/12 # timeout=10 16:43:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:43:40 > git --version # timeout=10 16:43:40 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:40 > 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 16:43:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:43:41 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 16:43:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:43:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:43:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:43:41 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:41 > 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 16:43:41 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 16:43:41 Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 16:43:41 Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) 16:43:41 > git config core.sparsecheckout # timeout=10 16:43:41 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 16:43:41 > git remote # timeout=10 16:43:41 > git config --get remote.origin.url # timeout=10 16:43:41 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:41 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 16:43:41 > git rev-parse HEAD^{commit} # timeout=10 16:43:41 > git config core.sparsecheckout # timeout=10 16:43:41 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 16:43:45 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 16:43:46 ========================================================= 16:43:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:43:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:43:47 + 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 . 16:43:47 Sending build context to Docker daemon 2.853MB 16:43:47 Step 1/8 : ARG BASE=golang:1.13-alpine 16:43:47 Step 2/8 : FROM ${BASE} 16:43:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:43:47 e6b0cf9c0882: Pulling fs layer 16:43:47 2848faf0eed1: Pulling fs layer 16:43:47 0f37312ad70f: Pulling fs layer 16:43:47 5788d62ee057: Pulling fs layer 16:43:47 0e6b1d234666: Pulling fs layer 16:43:47 bf5d7aec512f: Pulling fs layer 16:43:47 34c802a77dc8: Pulling fs layer 16:43:47 9eb99e56ec68: Pulling fs layer 16:43:47 27c7a5d97fbd: Pulling fs layer 16:43:47 5c102a31e300: Pulling fs layer 16:43:47 dcfb455df0a1: Pulling fs layer 16:43:47 bf5d7aec512f: Waiting 16:43:47 34c802a77dc8: Waiting 16:43:47 9eb99e56ec68: Waiting 16:43:47 27c7a5d97fbd: Waiting 16:43:47 5c102a31e300: Waiting 16:43:47 dcfb455df0a1: Waiting 16:43:47 5788d62ee057: Waiting 16:43:47 0e6b1d234666: Waiting 16:43:47 0f37312ad70f: Download complete 16:43:47 2848faf0eed1: Download complete 16:43:47 0e6b1d234666: Download complete 16:43:47 bf5d7aec512f: Verifying Checksum 16:43:47 bf5d7aec512f: Download complete 16:43:47 e6b0cf9c0882: Verifying Checksum 16:43:47 e6b0cf9c0882: Download complete 16:43:48 e6b0cf9c0882: Pull complete 16:43:48 2848faf0eed1: Pull complete 16:43:48 34c802a77dc8: Verifying Checksum 16:43:48 34c802a77dc8: Download complete 16:43:48 27c7a5d97fbd: Verifying Checksum 16:43:48 27c7a5d97fbd: Download complete 16:43:49 5c102a31e300: Verifying Checksum 16:43:49 5c102a31e300: Download complete 16:43:49 dcfb455df0a1: Verifying Checksum 16:43:49 dcfb455df0a1: Download complete 16:43:49 9eb99e56ec68: Verifying Checksum 16:43:49 9eb99e56ec68: Download complete 16:43:49 5788d62ee057: Verifying Checksum 16:43:49 5788d62ee057: Download complete 16:43:50 0f37312ad70f: Pull complete 16:43:55 5788d62ee057: Pull complete 16:43:55 0e6b1d234666: Pull complete 16:43:55 bf5d7aec512f: Pull complete 16:44:05 34c802a77dc8: Pull complete 16:44:07 9eb99e56ec68: Pull complete 16:44:07 27c7a5d97fbd: Pull complete 16:44:08 5c102a31e300: Pull complete 16:44:08 dcfb455df0a1: Pull complete 16:44:08 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:44:08 ---> 7c70fe431013 16:44:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:44:08 ---> Running in 7d32e177e6e9 16:44:09 Removing intermediate container 7d32e177e6e9 16:44:09 ---> a93e3a26f326 16:44:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:09 ---> Running in 1033b4e84e70 16:44:09 Removing intermediate container 1033b4e84e70 16:44:09 ---> 4f0fb314f45a 16:44:09 Step 5/8 : RUN apk add --no-cache make git 16:44:09 ---> Running in aca948c949e6 16:44:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:44:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:44:12 OK: 143 MiB in 39 packages 16:44:12 Removing intermediate container aca948c949e6 16:44:12 ---> 88d5636ed93f 16:44:12 Step 6/8 : WORKDIR /device-sdk-go 16:44:12 ---> Running in cd052172198e 16:44:12 Removing intermediate container cd052172198e 16:44:12 ---> 853cea0381f6 16:44:12 Step 7/8 : COPY . . 16:44:12 ---> 6493f26a974d 16:44:12 Step 8/8 : RUN go mod download 16:44:13 ---> Running in 770aa7e4bcc5 16:44:14 go: finding github.com/BurntSushi/toml v0.3.1 16:44:14 go: finding github.com/OneOfOne/xxhash v1.2.6 16:44:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:44:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:44:14 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:44:14 go: finding github.com/bgentry/speakeasy v0.1.0 16:44:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:44:14 go: finding github.com/davecgh/go-spew v1.1.1 16:44:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 16:44:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:44:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:44:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:44:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:44:14 go: finding github.com/fatih/color v1.7.0 16:44:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:44:14 go: finding github.com/go-kit/kit v0.8.0 16:44:14 go: finding github.com/go-logfmt/logfmt v0.4.0 16:44:14 go: finding github.com/go-stack/stack v1.8.0 16:44:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:44:14 go: finding github.com/google/uuid v1.1.0 16:44:14 go: finding github.com/gorilla/mux v1.7.1 16:44:14 go: finding github.com/hashicorp/consul/api v1.1.0 16:44:14 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:44:14 go: finding github.com/hashicorp/errwrap v1.0.0 16:44:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:44:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:44:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:44:14 go: finding github.com/hashicorp/go-multierror v1.0.0 16:44:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:44:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:44:14 go: finding github.com/hashicorp/go-syslog v1.0.0 16:44:14 go: finding github.com/hashicorp/go-uuid v1.0.1 16:44:14 go: finding github.com/hashicorp/go.net v0.0.1 16:44:14 go: finding github.com/hashicorp/golang-lru v0.5.0 16:44:14 go: finding github.com/hashicorp/logutils v1.0.0 16:44:14 go: finding github.com/hashicorp/mdns v1.0.0 16:44:14 go: finding github.com/hashicorp/memberlist v0.1.3 16:44:14 go: finding github.com/hashicorp/serf v0.8.2 16:44:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:44:14 go: finding github.com/mattn/go-colorable v0.0.9 16:44:14 go: finding github.com/mattn/go-isatty v0.0.3 16:44:14 go: finding github.com/miekg/dns v1.0.14 16:44:14 go: finding github.com/mitchellh/cli v1.0.0 16:44:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:44:14 go: finding github.com/mitchellh/copystructure v1.0.0 16:44:14 go: finding github.com/mitchellh/go-homedir v1.0.0 16:44:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:44:14 go: finding github.com/mitchellh/gox v0.4.0 16:44:14 go: finding github.com/mitchellh/iochan v1.0.0 16:44:14 go: finding github.com/mitchellh/mapstructure v1.1.2 16:44:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:44:15 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:44:15 go: finding github.com/pelletier/go-toml v1.2.0 16:44:15 go: finding github.com/pkg/errors v0.8.1 16:44:15 go: finding github.com/pmezard/go-difflib v1.0.0 16:44:15 go: finding github.com/posener/complete v1.1.1 16:44:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:44:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:44:15 go: finding github.com/stretchr/objx v0.1.0 16:44:15 go: finding github.com/stretchr/testify v1.5.1 16:44:15 go: finding github.com/ugorji/go v1.1.4 16:44:15 go: finding github.com/x448/float16 v0.8.4 16:44:15 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:44:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:44:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:44:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:44:15 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:44:15 go: finding gopkg.in/yaml.v2 v2.2.8 16:44:19 Removing intermediate container 770aa7e4bcc5 16:44:19 ---> 5acd6b7f0974 16:44:19 Successfully built 5acd6b7f0974 16:44:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:20 + docker inspect -f . ci-base-image-x86_64 16:44:20 . [Pipeline] withDockerContainer 16:44:20 prd-centos7-docker-4c-2g-2893 does not seem to be running inside a container 16:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 16:44:20 $ docker top 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:21 + go version 16:44:21 go version go1.13.5 linux/amd64 [Pipeline] sh 16:44:21 + make test 16:44:21 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:44:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:44:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:44:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 22.6% of statements 16:44:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 16:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.028s coverage: 11.4% of statements 16:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 22.7% of statements 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 38.5% of statements 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.485s coverage: 78.4% of statements 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 16:45:12 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:45:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 76.1% of statements 16:45:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:45:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:45:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:45:13 gofmt -l . 16:45:13 [ "`gofmt -l .`" = "" ] 16:45:13 ./bin/test-attribution-txt.sh 16:45:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:45:14 Stashed 1 file(s) [Pipeline] } 16:45:14 $ docker stop --time=1 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 16:45:15 $ docker rm -f 0071eee806562119d5747f52113ad8236c9ca5cd9fea20f16db67d833e42af02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:17 + ls -al . 16:45:17 total 160 16:45:17 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 16:45 . 16:45:17 drwxrwxr-x. 4 jenkins jenkins 30 Apr 8 16:43 .. 16:45:17 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 16:43 api 16:45:17 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 16:43 bin 16:45:17 -rw-r--r--. 1 jenkins jenkins 95252 Apr 8 16:45 coverage.out 16:45:17 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 16:43 Dockerfile.build 16:45:17 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 16:43 .dockerignore 16:45:17 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 16:43 example 16:45:17 drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 16:43 .git 16:45:17 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 16:43 .github 16:45:17 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 16:43 .gitignore 16:45:17 -rw-r--r--. 1 jenkins jenkins 475 Apr 8 16:45 go.mod 16:45:17 -rw-r--r--. 1 jenkins jenkins 12152 Apr 8 16:45 go.sum 16:45:17 drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 16:43 internal 16:45:17 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 16:43 Jenkinsfile 16:45:17 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 16:43 LICENSE 16:45:17 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 16:43 Makefile 16:45:17 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 16:43 pkg 16:45:17 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 16:43 README.md 16:45:17 drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 16:43 .semver 16:45:17 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 16:43 snap 16:45:17 -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 16:41 VERSION 16:45:17 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 16:43 version.go [Pipeline] isUnix [Pipeline] sh 16:45:17 + 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=a3da746885b618801d51f6bc1cee5348ded01924 --label arch=amd64 --label version=0.0.0 . 16:45:17 Sending build context to Docker daemon 2.969MB 16:45:17 Step 1/20 : ARG BASE=golang:1.13-alpine 16:45:17 Step 2/20 : FROM ${BASE} AS builder 16:45:17 ---> 5acd6b7f0974 16:45:17 Step 3/20 : ARG MAKE='make build' 16:45:18 ---> Running in 56b6afde9e88 16:45:18 Removing intermediate container 56b6afde9e88 16:45:18 ---> d38270493357 16:45:18 Step 4/20 : WORKDIR /device-sdk-go 16:45:18 ---> Running in 1b0267d43a9d 16:45:18 Removing intermediate container 1b0267d43a9d 16:45:18 ---> ac9efa971e0c 16:45:18 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:45:18 ---> Running in d6f5ae82fadb 16:45:18 Removing intermediate container d6f5ae82fadb 16:45:18 ---> d9a38db7bd70 16:45:18 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:45:18 ---> Running in 00598140d494 16:45:19 Removing intermediate container 00598140d494 16:45:19 ---> 17986718de9b 16:45:19 Step 7/20 : RUN apk add --update --no-cache make git 16:45:19 ---> Running in 1f1ca4e60140 16:45:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:45:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:45:20 OK: 143 MiB in 39 packages 16:45:21 Removing intermediate container 1f1ca4e60140 16:45:21 ---> 982692920870 16:45:21 Step 8/20 : COPY . . 16:45:21 ---> 5e4f0bc738fc 16:45:21 Step 9/20 : RUN ${MAKE} 16:45:21 ---> Running in ebe58c4ed663 16:45:22 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 16:45:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:45:35 Removing intermediate container ebe58c4ed663 16:45:35 ---> 2e49f957a487 16:45:35 Step 10/20 : FROM scratch 16:45:35 ---> 16:45:35 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:45:35 ---> Running in af474687d772 16:45:35 Removing intermediate container af474687d772 16:45:35 ---> ebf96d7d884c 16:45:35 Step 12/20 : ENV APP_PORT=49990 16:45:36 ---> Running in 325b92a2575e 16:45:36 Removing intermediate container 325b92a2575e 16:45:36 ---> 57930b9ab0a4 16:45:36 Step 13/20 : EXPOSE $APP_PORT 16:45:36 ---> Running in 410ec0e194ba 16:45:36 Removing intermediate container 410ec0e194ba 16:45:36 ---> ed52163ad5ef 16:45:36 Step 14/20 : WORKDIR / 16:45:36 ---> Running in 5a2cd0c4d4e2 16:45:36 Removing intermediate container 5a2cd0c4d4e2 16:45:36 ---> 7a1270c6e01b 16:45:36 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:45:36 ---> c5af25af5e52 16:45:36 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 16:45:36 ---> e902ceb1d488 16:45:36 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 16:45:37 ---> Running in 0c5c61d58b21 16:45:37 Removing intermediate container 0c5c61d58b21 16:45:37 ---> 923cb8fb2924 16:45:37 Step 18/20 : LABEL arch=amd64 16:45:37 ---> Running in 4794694f147e 16:45:37 Removing intermediate container 4794694f147e 16:45:37 ---> 41be22900480 16:45:37 Step 19/20 : LABEL git_sha=a3da746885b618801d51f6bc1cee5348ded01924 16:45:37 ---> Running in e1beba3be946 16:45:37 Removing intermediate container e1beba3be946 16:45:37 ---> 593700ac4ed9 16:45:37 Step 20/20 : LABEL version=0.0.0 16:45:37 ---> Running in 43856cff0fd4 16:45:37 Removing intermediate container 43856cff0fd4 16:45:37 ---> f61293af68fd 16:45:37 [Warning] One or more build-args [ARCH] were not consumed 16:45:37 Successfully built f61293af68fd 16:45:37 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] } 16:45:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2894 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 16:45:58 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 16:46:04 using credential edgex-jenkins-ssh 16:46:04 Cloning the remote Git repository 16:46:04 Cloning with configured refspecs honoured and without tags 16:46:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:46:04 > git init /w/workspace/device-sdk-go/12 # timeout=10 16:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:46:04 > git --version # timeout=10 16:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:46:05 > 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 16:46:06 Fetching without tags 16:46:06 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit a3da746885b618801d51f6bc1cee5348ded01924 16:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:46:06 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 16:46:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:46:06 > 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 16:46:06 > git config core.sparsecheckout # timeout=10 16:46:06 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 16:46:06 > git remote # timeout=10 16:46:07 > git config --get remote.origin.url # timeout=10 16:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:46:07 Merge succeeded, producing a3da746885b618801d51f6bc1cee5348ded01924 16:46:07 Checking out Revision a3da746885b618801d51f6bc1cee5348ded01924 (PR-464) 16:46:07 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 16:46:07 > git rev-parse HEAD^{commit} # timeout=10 16:46:07 > git config core.sparsecheckout # timeout=10 16:46:07 > git checkout -f a3da746885b618801d51f6bc1cee5348ded01924 # timeout=10 16:46:11 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 16:46:13 ========================================================= 16:46:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:46:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:46:15 + 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 . 16:46:15 Sending build context to Docker daemon 2.849MB 16:46:15 Step 1/8 : ARG BASE=golang:1.13-alpine 16:46:15 Step 2/8 : FROM ${BASE} 16:46:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:46:16 cde5963f3b93: Pulling fs layer 16:46:16 2a23fa8c16f7: Pulling fs layer 16:46:16 777b28850792: Pulling fs layer 16:46:16 8a11ddd9e578: Pulling fs layer 16:46:16 4cf88f913ddb: Pulling fs layer 16:46:16 1df406cf5192: Pulling fs layer 16:46:16 cd6300453558: Pulling fs layer 16:46:16 b9c365052c96: Pulling fs layer 16:46:16 a2d8cc88f415: Pulling fs layer 16:46:16 ea1d1ca13537: Pulling fs layer 16:46:16 3750a50a1c5e: Pulling fs layer 16:46:16 cd6300453558: Waiting 16:46:16 b9c365052c96: Waiting 16:46:16 a2d8cc88f415: Waiting 16:46:16 ea1d1ca13537: Waiting 16:46:16 3750a50a1c5e: Waiting 16:46:16 8a11ddd9e578: Waiting 16:46:16 4cf88f913ddb: Waiting 16:46:16 1df406cf5192: Waiting 16:46:16 777b28850792: Verifying Checksum 16:46:16 777b28850792: Download complete 16:46:16 2a23fa8c16f7: Verifying Checksum 16:46:16 2a23fa8c16f7: Download complete 16:46:16 4cf88f913ddb: Download complete 16:46:16 1df406cf5192: Verifying Checksum 16:46:16 1df406cf5192: Download complete 16:46:16 cde5963f3b93: Verifying Checksum 16:46:16 cde5963f3b93: Download complete 16:46:17 cde5963f3b93: Pull complete 16:46:18 2a23fa8c16f7: Pull complete 16:46:18 777b28850792: Pull complete 16:46:21 cd6300453558: Verifying Checksum 16:46:21 cd6300453558: Download complete 16:46:21 a2d8cc88f415: Verifying Checksum 16:46:21 a2d8cc88f415: Download complete 16:46:23 ea1d1ca13537: Verifying Checksum 16:46:23 ea1d1ca13537: Download complete 16:46:23 3750a50a1c5e: Verifying Checksum 16:46:26 b9c365052c96: Verifying Checksum 16:46:26 b9c365052c96: Download complete 16:46:27 8a11ddd9e578: Verifying Checksum 16:46:27 8a11ddd9e578: Download complete 16:46:40 8a11ddd9e578: Pull complete 16:46:40 4cf88f913ddb: Pull complete 16:46:40 1df406cf5192: Pull complete 16:46:43 cd6300453558: Pull complete 16:46:48 b9c365052c96: Pull complete 16:46:48 a2d8cc88f415: Pull complete 16:46:50 ea1d1ca13537: Pull complete 16:46:51 3750a50a1c5e: Pull complete 16:46:51 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:46:51 ---> 78745c68409d 16:46:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:46:56 ---> Running in 29d7902e9532 16:46:56 Removing intermediate container 29d7902e9532 16:46:56 ---> 5d44fe933343 16:46:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:56 ---> Running in 830e540ad81c 16:46:58 Removing intermediate container 830e540ad81c 16:46:58 ---> d07baeca11d4 16:46:58 Step 5/8 : RUN apk add --no-cache make git 16:46:58 ---> Running in 83f9478adb7c 16:46:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:46:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:47:00 OK: 125 MiB in 39 packages 16:47:01 Removing intermediate container 83f9478adb7c 16:47:01 ---> 1b49497506b3 16:47:01 Step 6/8 : WORKDIR /device-sdk-go 16:47:01 ---> Running in c5c1d107926f 16:47:02 Removing intermediate container c5c1d107926f 16:47:02 ---> 52e6ea9cb951 16:47:02 Step 7/8 : COPY . . 16:47:03 ---> 915187f37f0a 16:47:03 Step 8/8 : RUN go mod download 16:47:03 ---> Running in ce318e62eb85 16:47:05 go: finding github.com/BurntSushi/toml v0.3.1 16:47:05 go: finding github.com/OneOfOne/xxhash v1.2.6 16:47:05 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:47:05 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:47:05 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:47:05 go: finding github.com/bgentry/speakeasy v0.1.0 16:47:05 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:47:05 go: finding github.com/davecgh/go-spew v1.1.1 16:47:05 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 16:47:05 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:47:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:47:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:47:05 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:47:05 go: finding github.com/fatih/color v1.7.0 16:47:05 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:47:05 go: finding github.com/go-kit/kit v0.8.0 16:47:05 go: finding github.com/go-logfmt/logfmt v0.4.0 16:47:05 go: finding github.com/go-stack/stack v1.8.0 16:47:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:47:05 go: finding github.com/google/uuid v1.1.0 16:47:05 go: finding github.com/gorilla/mux v1.7.1 16:47:05 go: finding github.com/hashicorp/consul/api v1.1.0 16:47:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:47:05 go: finding github.com/hashicorp/errwrap v1.0.0 16:47:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:47:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:47:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:47:05 go: finding github.com/hashicorp/go-multierror v1.0.0 16:47:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:47:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:47:05 go: finding github.com/hashicorp/go-syslog v1.0.0 16:47:05 go: finding github.com/hashicorp/go-uuid v1.0.1 16:47:05 go: finding github.com/hashicorp/go.net v0.0.1 16:47:05 go: finding github.com/hashicorp/golang-lru v0.5.0 16:47:05 go: finding github.com/hashicorp/logutils v1.0.0 16:47:05 go: finding github.com/hashicorp/mdns v1.0.0 16:47:05 go: finding github.com/hashicorp/memberlist v0.1.3 16:47:05 go: finding github.com/hashicorp/serf v0.8.2 16:47:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:47:05 go: finding github.com/mattn/go-colorable v0.0.9 16:47:05 go: finding github.com/mattn/go-isatty v0.0.3 16:47:05 go: finding github.com/miekg/dns v1.0.14 16:47:05 go: finding github.com/mitchellh/cli v1.0.0 16:47:05 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:47:05 go: finding github.com/mitchellh/copystructure v1.0.0 16:47:05 go: finding github.com/mitchellh/go-homedir v1.0.0 16:47:05 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:47:05 go: finding github.com/mitchellh/gox v0.4.0 16:47:05 go: finding github.com/mitchellh/iochan v1.0.0 16:47:05 go: finding github.com/mitchellh/mapstructure v1.1.2 16:47:05 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:47:05 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:47:05 go: finding github.com/pelletier/go-toml v1.2.0 16:47:05 go: finding github.com/pkg/errors v0.8.1 16:47:05 go: finding github.com/pmezard/go-difflib v1.0.0 16:47:05 go: finding github.com/posener/complete v1.1.1 16:47:05 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:47:05 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:47:05 go: finding github.com/stretchr/objx v0.1.0 16:47:05 go: finding github.com/stretchr/testify v1.5.1 16:47:05 go: finding github.com/ugorji/go v1.1.4 16:47:05 go: finding github.com/x448/float16 v0.8.4 16:47:05 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:47:05 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:47:05 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:47:05 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:47:05 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:47:05 go: finding gopkg.in/yaml.v2 v2.2.8 16:47:16 Removing intermediate container ce318e62eb85 16:47:16 ---> 6aae043d6680 16:47:16 Successfully built 6aae043d6680 16:47:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:47:16 + docker inspect -f . ci-base-image-arm64 16:47:16 . [Pipeline] withDockerContainer 16:47:17 prd-ubuntu18.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container 16:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 16:47:18 $ docker top 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:19 + go version 16:47:19 go version go1.13.5 linux/arm64 [Pipeline] sh 16:47:20 + make test 16:47:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:47:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:48:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:48:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:48:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.6% of statements 16:48:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.241s coverage: 95.8% of statements 16:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 11.4% of statements 16:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 22.7% of statements 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.137s coverage: 38.5% of statements 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.524s coverage: 78.4% of statements 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements 16:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:48:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.372s coverage: 76.1% of statements 16:48:28 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:48:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:48:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:48:35 gofmt -l . 16:48:35 [ "`gofmt -l .`" = "" ] 16:48:35 ./bin/test-attribution-txt.sh 16:48:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:48:37 Warning: overwriting stash ‘coverage-report’ 16:48:37 Stashed 1 file(s) [Pipeline] } 16:48:37 $ docker stop --time=1 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 16:48:40 $ docker rm -f 6a0d742c41a1fefd0ac1cbae98bdd3a820bc8af39ca6be52cb93200aa9f3c330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:48:42 + ls -al . 16:48:42 total 200 16:48:42 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 16:48 . 16:48:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 .. 16:48:42 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 16:46 .dockerignore 16:48:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 16:46 .git 16:48:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 16:46 .github 16:48:42 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 16:46 .gitignore 16:48:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 16:46 .semver 16:48:42 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 16:46 Dockerfile.build 16:48:42 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 16:46 Jenkinsfile 16:48:42 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 16:46 LICENSE 16:48:42 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 16:46 Makefile 16:48:42 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 16:46 README.md 16:48:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 16:41 VERSION 16:48:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 16:46 api 16:48:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 16:46 bin 16:48:42 -rw-r--r-- 1 jenkins jenkins 95252 Apr 8 16:48 coverage.out 16:48:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 example 16:48:42 -rw-r--r-- 1 jenkins jenkins 475 Apr 8 16:48 go.mod 16:48:42 -rw-r--r-- 1 jenkins jenkins 12152 Apr 8 16:48 go.sum 16:48:42 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 16:46 internal 16:48:42 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 16:46 pkg 16:48:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 16:46 snap 16:48:42 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 16:46 version.go [Pipeline] isUnix [Pipeline] sh 16:48:42 + 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=a3da746885b618801d51f6bc1cee5348ded01924 --label arch=arm64 --label version=0.0.0 . 16:48:42 Sending build context to Docker daemon 2.964MB 16:48:42 Step 1/20 : ARG BASE=golang:1.13-alpine 16:48:42 Step 2/20 : FROM ${BASE} AS builder 16:48:42 ---> 6aae043d6680 16:48:42 Step 3/20 : ARG MAKE='make build' 16:48:43 ---> Running in 289dbe90372c 16:48:44 Removing intermediate container 289dbe90372c 16:48:44 ---> 6b999941d9d6 16:48:44 Step 4/20 : WORKDIR /device-sdk-go 16:48:44 ---> Running in 9f32f8060e92 16:48:44 Removing intermediate container 9f32f8060e92 16:48:44 ---> b33dfa79378f 16:48:44 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:48:44 ---> Running in 0ba2a59c64eb 16:48:45 Removing intermediate container 0ba2a59c64eb 16:48:45 ---> 264b72eff8d6 16:48:45 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:45 ---> Running in 09d0b4de5d66 16:48:48 Removing intermediate container 09d0b4de5d66 16:48:48 ---> 06f076373034 16:48:48 Step 7/20 : RUN apk add --update --no-cache make git 16:48:48 ---> Running in 6c0132b03b21 16:48:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:48:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:48:50 OK: 125 MiB in 39 packages 16:48:52 Removing intermediate container 6c0132b03b21 16:48:52 ---> 4b86b0c5e06f 16:48:52 Step 8/20 : COPY . . 16:48:53 ---> 7fc37c253729 16:48:53 Step 9/20 : RUN ${MAKE} 16:48:53 ---> Running in 04d69a6a08dd 16:48:54 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 16:49:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:49:34 Removing intermediate container 04d69a6a08dd 16:49:34 ---> 7dfc98d90d29 16:49:34 Step 10/20 : FROM scratch 16:49:34 ---> 16:49:34 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:49:34 ---> Running in 9057a711e0e2 16:49:35 Removing intermediate container 9057a711e0e2 16:49:35 ---> 1ca896843832 16:49:35 Step 12/20 : ENV APP_PORT=49990 16:49:35 ---> Running in 4c786887fd22 16:49:35 Removing intermediate container 4c786887fd22 16:49:35 ---> bcba9a4933aa 16:49:35 Step 13/20 : EXPOSE $APP_PORT 16:49:35 ---> Running in baf9d330a7f8 16:49:36 Removing intermediate container baf9d330a7f8 16:49:36 ---> 86400c5b0b56 16:49:36 Step 14/20 : WORKDIR / 16:49:36 ---> Running in 901cce53594f 16:49:36 Removing intermediate container 901cce53594f 16:49:36 ---> 558a98d59b6e 16:49:36 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:49:38 ---> 356369c6e4ca 16:49:38 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 16:49:38 ---> 3c95379f6229 16:49:38 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 16:49:38 ---> Running in 83385442b66a 16:49:38 Removing intermediate container 83385442b66a 16:49:38 ---> a79601a0a988 16:49:38 Step 18/20 : LABEL arch=arm64 16:49:38 ---> Running in 62666accd2eb 16:49:39 Removing intermediate container 62666accd2eb 16:49:39 ---> 942b73ab85a7 16:49:39 Step 19/20 : LABEL git_sha=a3da746885b618801d51f6bc1cee5348ded01924 16:49:39 ---> Running in 67124e86ab02 16:49:39 Removing intermediate container 67124e86ab02 16:49:39 ---> 418a1449b84d 16:49:39 Step 20/20 : LABEL version=0.0.0 16:49:39 ---> Running in 1080e036e084 16:49:40 Removing intermediate container 1080e036e084 16:49:40 ---> 5bd73c1db9d7 16:49:40 [Warning] One or more build-args [ARCH] were not consumed 16:49:40 Successfully built 5bd73c1db9d7 16:49:40 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 16:49:41 provisioning config files... 16:49:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7008390805166445008tmp [Pipeline] { [Pipeline] sh 16:49:41 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7008390805166445008tmp 16:49:41 + curl -s https://codecov.io/bash 16:49:41 16:49:41 _____ _ 16:49:41 / ____| | | 16:49:41 | | ___ __| | ___ ___ _____ __ 16:49:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:49:41 | |___| (_) | (_| | __/ (_| (_) \ V / 16:49:41 \_____\___/ \__,_|\___|\___\___/ \_/ 16:49:41 Bash-tbd 16:49:41 16:49:41 16:49:41 ==> Jenkins CI detected. 16:49:41 project root: . 16:49:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:49:41 ==> Running gcov in . (disable via -X gcov) 16:49:41 ==> Python coveragepy not found 16:49:41 ==> Searching for coverage reports in: 16:49:41 + . 16:49:41 -> Found 1 reports 16:49:41 ==> Detecting git/mercurial file structure 16:49:41 ==> Reading reports 16:49:41 + ./coverage.out bytes=95252 16:49:41 ==> Appending adjustments 16:49:41 http://docs.codecov.io/docs/fixing-reports 16:49:42 + Found adjustments 16:49:42 ==> Gzipping contents 16:49:42 ==> Uploading reports 16:49:42 url: https://codecov.io 16:49:42 query: branch=PR-464&commit=a3da746885b618801d51f6bc1cee5348ded01924&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 16:49:42 -> Pinging Codecov 16:49:42 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-464&commit=a3da746885b618801d51f6bc1cee5348ded01924&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 16:49:42 -> Uploading 16:49:42 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a3da746885b618801d51f6bc1cee5348ded01924 [Pipeline] } 16:49:42 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 16:49:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:49:44 ---> package-listing.sh 16:49:44 ++ facter osfamily 16:49:44 ++ tr '[:upper:]' '[:lower:]' 16:49:44 + OS_FAMILY=redhat 16:49:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 16:49:44 + START_PACKAGES=/tmp/packages_start.txt 16:49:44 + END_PACKAGES=/tmp/packages_end.txt 16:49:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:49:44 + PACKAGES=/tmp/packages_start.txt 16:49:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 16:49:44 + PACKAGES=/tmp/packages_end.txt 16:49:44 + case "${OS_FAMILY}" in 16:49:44 + rpm -qa 16:49:44 + sort 16:49:48 + '[' -f /tmp/packages_start.txt ']' 16:49:48 + '[' -f /tmp/packages_end.txt ']' 16:49:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:49:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 16:49:48 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 16:49:48 + 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 16:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:49:49 16:49:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:49:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:49:49 alpine: Pulling from edgex-lftools-log-publisher 16:49:49 c9b1b535fdd9: Pulling fs layer 16:49:49 2cc5ad85d9ab: Pulling fs layer 16:49:49 756a868c4378: Pulling fs layer 16:49:49 444b2fc9a129: Pulling fs layer 16:49:49 ea15f1150254: Pulling fs layer 16:49:49 41b27a9f41bf: Pulling fs layer 16:49:49 28c525ee5125: Pulling fs layer 16:49:49 094b1ea09ed8: Pulling fs layer 16:49:49 138eaada9080: Pulling fs layer 16:49:49 0622d0fa9048: Pulling fs layer 16:49:49 444b2fc9a129: Waiting 16:49:49 ea15f1150254: Waiting 16:49:49 41b27a9f41bf: Waiting 16:49:49 28c525ee5125: Waiting 16:49:49 094b1ea09ed8: Waiting 16:49:49 138eaada9080: Waiting 16:49:49 0622d0fa9048: Waiting 16:49:49 2cc5ad85d9ab: Verifying Checksum 16:49:49 2cc5ad85d9ab: Download complete 16:49:49 444b2fc9a129: Verifying Checksum 16:49:49 444b2fc9a129: Download complete 16:49:49 c9b1b535fdd9: Verifying Checksum 16:49:49 c9b1b535fdd9: Download complete 16:49:49 ea15f1150254: Verifying Checksum 16:49:49 ea15f1150254: Download complete 16:49:49 28c525ee5125: Verifying Checksum 16:49:49 28c525ee5125: Download complete 16:49:49 756a868c4378: Verifying Checksum 16:49:49 756a868c4378: Download complete 16:49:49 c9b1b535fdd9: Pull complete 16:49:50 138eaada9080: Verifying Checksum 16:49:50 138eaada9080: Download complete 16:49:50 0622d0fa9048: Verifying Checksum 16:49:50 0622d0fa9048: Download complete 16:49:50 094b1ea09ed8: Verifying Checksum 16:49:50 094b1ea09ed8: Download complete 16:49:50 2cc5ad85d9ab: Pull complete 16:49:50 41b27a9f41bf: Verifying Checksum 16:49:50 41b27a9f41bf: Download complete 16:49:51 756a868c4378: Pull complete 16:49:52 444b2fc9a129: Pull complete 16:49:52 ea15f1150254: Pull complete 16:49:55 41b27a9f41bf: Pull complete 16:49:55 28c525ee5125: Pull complete 16:49:57 094b1ea09ed8: Pull complete 16:49:57 138eaada9080: Pull complete 16:49:58 0622d0fa9048: Pull complete 16:49:58 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:49:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:49:58 prd-centos7-docker-4c-2g-2892 does not seem to be running inside a container 16:49:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:49:59 $ docker top a9462fb050b4f639930ed8e8a0564ae3ba1c69dfe5aa876789461cc38b46c0a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:49:59 provisioning config files... 16:49:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config6541825536331575089tmp [Pipeline] { [Pipeline] echo 16:49:59 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:49:59 ---> create-netrc.sh [Pipeline] echo 16:49:59 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:50:00 ---> logs-deploy.sh 16:50:00 + ARCHIVE_ARTIFACTS= 16:50:00 + LOGS_SERVER=https://logs.edgexfoundry.org 16:50:00 + '[' https://logs.edgexfoundry.org == None ']' 16:50:00 + NEXUS_URL=https://nexus.edgexfoundry.org 16:50:00 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 16:50:00 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/12/ 16:50:00 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 /w/workspace/dgexfoundry_device-sdk-go_PR-464 16:50:01 Archives upload complete. 16:50:01 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/12/