Pull request #447 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 brandonforster for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 rather than 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 Obtained Jenkinsfile from 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-566 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [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-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 Merge succeeded, producing 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 Checking out Revision 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 (PR-447) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # 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 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # timeout=10 Commit message: "#446: Rebased and updated contracts version." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:39:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 41d84a604b83fd20e23b3a03571ebc8ac038bd7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:39:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:41 14:39:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:39:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:41 latest: Pulling from edgex-devops/git-semver 14:39:41 9123ac7c32f7: Pulling fs layer 14:39:41 b8cc5d1170e3: Pulling fs layer 14:39:41 2924cbbf6a41: Pulling fs layer 14:39:41 93b08a4f1073: Pulling fs layer 14:39:41 b8cc5d1170e3: Download complete 14:39:41 9123ac7c32f7: Verifying Checksum 14:39:41 9123ac7c32f7: Download complete 14:39:41 93b08a4f1073: Verifying Checksum 14:39:41 93b08a4f1073: Download complete 14:39:41 2924cbbf6a41: Verifying Checksum 14:39:41 2924cbbf6a41: Download complete 14:39:42 9123ac7c32f7: Pull complete 14:39:42 b8cc5d1170e3: Pull complete 14:39:42 2924cbbf6a41: Pull complete 14:39:43 93b08a4f1073: Pull complete 14:39:43 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:39:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:39:43 prd-centos7-docker-4c-2g-566 does not seem to be running inside a container 14:39:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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 14:39:43 $ docker top 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:39:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:44 [ssh-agent] Looking for ssh-agent implementation... 14:39:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:44 $ docker exec 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 ssh-agent 14:39:44 SSH_AUTH_SOCK=/tmp/ssh-WuUje5q8Sab0/agent.15 14:39:44 SSH_AGENT_PID=22 14:39:44 Running ssh-add (command line suppressed) 14:39:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_7393645470334546006.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_7393645470334546006.key) 14:39:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:44 + git describe --exact-match --tags HEAD 14:39:44 fatal: No names found, cannot describe anything. [Pipeline] } 14:39:44 $ docker exec --env ******** --env ******** 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 ssh-agent -k 14:39:45 unset SSH_AUTH_SOCK; 14:39:45 unset SSH_AGENT_PID; 14:39:45 echo Agent pid 22 killed; 14:39:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:39:45 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:39:45 This usually means this commit has not been tagged. [Pipeline] sshagent 14:39:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:45 [ssh-agent] Looking for ssh-agent implementation... 14:39:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:45 $ docker exec 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 ssh-agent 14:39:45 SSH_AUTH_SOCK=/tmp/ssh-bp8UJ6koIhdn/agent.55 14:39:45 SSH_AGENT_PID=62 14:39:45 Running ssh-add (command line suppressed) 14:39:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_338989231685404235.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_338989231685404235.key) 14:39:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:46 + git semver init 14:39:46 # -> Open(): unable to determine branch for HEAD 14:39:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git 14:39:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 14:39:46 # $SEMVER_REMOTE_NAME = origin 14:39:46 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 14:39:46 # $SEMVER_USER_NAME = jenkins 14:39:46 # $SEMVER_BRANCH = PR-447 14:39:46 # $SEMVER_TEMP = /tmp/semver-045843868 14:39:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:39:47 # '/tmp/semver-045843868' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' 14:39:47 # -> Force: false 14:39:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } 14:39:47 $ docker exec --env ******** --env ******** 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 ssh-agent -k 14:39:47 unset SSH_AUTH_SOCK; 14:39:47 unset SSH_AGENT_PID; 14:39:47 echo Agent pid 62 killed; 14:39:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:39:47 + git semver [Pipeline] } 14:39:47 $ docker stop --time=1 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 14:39:49 $ docker rm -f 90b2f98c51b7261805cd110bdd6217e7ee28750996ff268df7068b3bbc8e9a51 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:39:49 Stashed 32 file(s) [Pipeline] echo 14:39:49 [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 14:40:05 Still waiting to schedule task 14:40:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:40:05 Still waiting to schedule task 14:40:05 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-565’ 14:43:01 Running on prd-centos7-docker-4c-2g-567 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 14:43:01 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 14:43:08 using credential edgex-jenkins-ssh 14:43:08 Cloning the remote Git repository 14:43:08 Cloning with configured refspecs honoured and without tags 14:43:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:43:09 > git init /w/workspace/device-sdk-go/9 # timeout=10 14:43:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:43:09 > git --version # timeout=10 14:43:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:10 Fetching without tags 14:43:10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:43:10 Merge succeeded, producing 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:43:10 Checking out Revision 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 (PR-447) 14:43:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:43:10 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 14:43:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:43:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:10 > git config core.sparsecheckout # timeout=10 14:43:10 > git checkout -f 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # timeout=10 14:43:10 > git remote # timeout=10 14:43:10 > git config --get remote.origin.url # timeout=10 14:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:10 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 14:43:10 > git rev-parse HEAD^{commit} # timeout=10 14:43:10 > git config core.sparsecheckout # timeout=10 14:43:10 > git checkout -f 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # timeout=10 14:43:15 Commit message: "#446: Rebased and updated contracts version." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:43:16 ========================================================= 14:43:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:43:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:43:17 + 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 . 14:43:18 Sending build context to Docker daemon 2.695MB 14:43:18 Step 1/8 : ARG BASE=golang:1.13-alpine 14:43:18 Step 2/8 : FROM ${BASE} 14:43:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:43:18 e6b0cf9c0882: Pulling fs layer 14:43:18 2848faf0eed1: Pulling fs layer 14:43:18 0f37312ad70f: Pulling fs layer 14:43:18 5788d62ee057: Pulling fs layer 14:43:18 5788d62ee057: Waiting 14:43:18 0e6b1d234666: Pulling fs layer 14:43:18 bf5d7aec512f: Pulling fs layer 14:43:18 34c802a77dc8: Pulling fs layer 14:43:18 9eb99e56ec68: Pulling fs layer 14:43:18 27c7a5d97fbd: Pulling fs layer 14:43:18 5c102a31e300: Pulling fs layer 14:43:18 dcfb455df0a1: Pulling fs layer 14:43:18 0e6b1d234666: Waiting 14:43:18 bf5d7aec512f: Waiting 14:43:18 34c802a77dc8: Waiting 14:43:18 9eb99e56ec68: Waiting 14:43:18 27c7a5d97fbd: Waiting 14:43:18 5c102a31e300: Waiting 14:43:18 dcfb455df0a1: Waiting 14:43:18 0f37312ad70f: Verifying Checksum 14:43:18 0f37312ad70f: Download complete 14:43:19 2848faf0eed1: Download complete 14:43:19 bf5d7aec512f: Verifying Checksum 14:43:19 bf5d7aec512f: Download complete 14:43:19 e6b0cf9c0882: Verifying Checksum 14:43:19 e6b0cf9c0882: Download complete 14:43:20 e6b0cf9c0882: Pull complete 14:43:21 34c802a77dc8: Verifying Checksum 14:43:21 34c802a77dc8: Download complete 14:43:21 27c7a5d97fbd: Verifying Checksum 14:43:21 27c7a5d97fbd: Download complete 14:43:21 2848faf0eed1: Pull complete 14:43:22 5c102a31e300: Verifying Checksum 14:43:22 5c102a31e300: Download complete 14:43:22 0f37312ad70f: Pull complete 14:43:22 dcfb455df0a1: Verifying Checksum 14:43:22 dcfb455df0a1: Download complete 14:43:23 9eb99e56ec68: Verifying Checksum 14:43:23 9eb99e56ec68: Download complete 14:43:24 5788d62ee057: Verifying Checksum 14:43:24 5788d62ee057: Download complete 14:43:34 5788d62ee057: Pull complete 14:43:34 0e6b1d234666: Pull complete 14:43:34 bf5d7aec512f: Pull complete 14:43:39 34c802a77dc8: Pull complete 14:43:44 9eb99e56ec68: Pull complete 14:43:44 27c7a5d97fbd: Pull complete 14:43:45 5c102a31e300: Pull complete 14:43:45 dcfb455df0a1: Pull complete 14:43:45 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:43:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:43:45 ---> 7c70fe431013 14:43:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:45 ---> Running in 960ac2875910 14:43:46 Removing intermediate container 960ac2875910 14:43:46 ---> 302a9a10a844 14:43:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:46 ---> Running in 1bb5835611fe 14:43:47 Removing intermediate container 1bb5835611fe 14:43:47 ---> f6b7545c5b9b 14:43:47 Step 5/8 : RUN apk add --no-cache make git 14:43:47 ---> Running in 8ea5c95de2ae 14:43:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:43:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:43:49 OK: 143 MiB in 39 packages 14:43:50 Removing intermediate container 8ea5c95de2ae 14:43:50 ---> 9772c1dceb02 14:43:50 Step 6/8 : WORKDIR /device-sdk-go 14:43:50 ---> Running in db0d26e68244 14:43:50 Removing intermediate container db0d26e68244 14:43:50 ---> 38dda669e075 14:43:50 Step 7/8 : COPY . . 14:43:51 ---> 0022d3043243 14:43:51 Step 8/8 : RUN go mod download 14:43:51 ---> Running in d2cf38a40011 14:43:53 go: finding github.com/BurntSushi/toml v0.3.1 14:43:53 go: finding github.com/OneOfOne/xxhash v1.2.6 14:43:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:43:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:43:53 go: finding github.com/bgentry/speakeasy v0.1.0 14:43:53 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 14:43:53 go: finding github.com/davecgh/go-spew v1.1.1 14:43:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 14:43:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 14:43:54 go: finding github.com/fatih/color v1.7.0 14:43:54 go: finding github.com/go-kit/kit v0.8.0 14:43:54 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:54 go: finding github.com/go-stack/stack v1.8.0 14:43:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:43:54 go: finding github.com/google/uuid v1.1.0 14:43:54 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 14:43:54 go: finding github.com/gorilla/mux v1.6.2 14:43:54 go: finding github.com/hashicorp/consul v1.4.2 14:43:54 go: finding github.com/hashicorp/errwrap v1.0.0 14:43:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 14:43:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:43:54 go: finding github.com/hashicorp/go-multierror v1.0.0 14:43:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:43:54 go: finding github.com/hashicorp/go-syslog v1.0.0 14:43:54 go: finding github.com/hashicorp/go-uuid v1.0.1 14:43:54 go: finding github.com/hashicorp/go.net v0.0.1 14:43:54 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:54 go: finding github.com/hashicorp/logutils v1.0.0 14:43:54 go: finding github.com/hashicorp/mdns v1.0.0 14:43:54 go: finding github.com/hashicorp/memberlist v0.1.3 14:43:54 go: finding github.com/hashicorp/serf v0.8.2 14:43:54 go: finding github.com/jessevdk/go-flags v1.4.0 14:43:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:43:54 go: finding github.com/mattn/go-colorable v0.0.9 14:43:54 go: finding github.com/mattn/go-isatty v0.0.3 14:43:54 go: finding github.com/miekg/dns v1.0.14 14:43:54 go: finding github.com/mitchellh/cli v1.0.0 14:43:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:54 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:54 go: finding github.com/mitchellh/go-homedir v1.0.0 14:43:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:43:54 go: finding github.com/mitchellh/gox v0.4.0 14:43:54 go: finding github.com/mitchellh/iochan v1.0.0 14:43:54 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:43:54 go: finding github.com/pelletier/go-toml v1.2.0 14:43:54 go: finding github.com/pkg/errors v0.8.1 14:43:54 go: finding github.com/pmezard/go-difflib v1.0.0 14:43:54 go: finding github.com/posener/complete v1.1.1 14:43:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:43:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:43:54 go: finding github.com/stretchr/objx v0.1.0 14:43:54 go: finding github.com/stretchr/testify v1.3.0 14:43:54 go: finding github.com/ugorji/go v1.1.4 14:43:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:43:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:43:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:43:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:43:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:43:54 go: finding gopkg.in/yaml.v2 v2.2.2 14:44:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-568 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 14:44:02 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 14:44:05 Removing intermediate container d2cf38a40011 14:44:05 ---> 14a625a73e39 14:44:05 Successfully built 14a625a73e39 14:44:05 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 14:44:05 + docker inspect -f . ci-base-image-x86_64 14:44:05 . [Pipeline] withDockerContainer 14:44:06 prd-centos7-docker-4c-2g-567 does not seem to be running inside a container 14:44:06 $ 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 14:44:07 using credential edgex-jenkins-ssh 14:44:07 Cloning the remote Git repository 14:44:07 Cloning with configured refspecs honoured and without tags 14:44:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:44:07 > git init /w/workspace/device-sdk-go/9 # timeout=10 14:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:07 > git --version # timeout=10 14:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:08 Fetching without tags 14:44:09 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:44:09 $ docker top b5b27354a59f8c7ee123384ff65145c31317781041fb0842835f42a8a51b315e -eo pid,comm 14:44:09 Merge succeeded, producing 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:44:09 Checking out Revision 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 (PR-447) [Pipeline] { [Pipeline] sh 14:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:08 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 14:44:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:09 > git config core.sparsecheckout # timeout=10 14:44:09 > git checkout -f 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # timeout=10 14:44:09 > git remote # timeout=10 14:44:09 > git config --get remote.origin.url # timeout=10 14:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:09 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 14:44:09 > git rev-parse HEAD^{commit} # timeout=10 14:44:09 > git config core.sparsecheckout # timeout=10 14:44:09 > git checkout -f 280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 # timeout=10 14:44:10 + go version 14:44:10 go version go1.13.5 linux/amd64 [Pipeline] sh 14:44:10 + make test 14:44:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:44:14 Commit message: "#446: Rebased and updated contracts version." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:44:15 ========================================================= 14:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:44:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:44:16 + 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 . 14:44:17 Sending build context to Docker daemon 2.692MB 14:44:17 Step 1/8 : ARG BASE=golang:1.13-alpine 14:44:17 Step 2/8 : FROM ${BASE} 14:44:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:44:17 cde5963f3b93: Pulling fs layer 14:44:17 2a23fa8c16f7: Pulling fs layer 14:44:17 777b28850792: Pulling fs layer 14:44:17 8a11ddd9e578: Pulling fs layer 14:44:17 4cf88f913ddb: Pulling fs layer 14:44:17 1df406cf5192: Pulling fs layer 14:44:17 cd6300453558: Pulling fs layer 14:44:17 b9c365052c96: Pulling fs layer 14:44:17 a2d8cc88f415: Pulling fs layer 14:44:17 ea1d1ca13537: Pulling fs layer 14:44:17 3750a50a1c5e: Pulling fs layer 14:44:17 4cf88f913ddb: Waiting 14:44:17 1df406cf5192: Waiting 14:44:17 cd6300453558: Waiting 14:44:17 b9c365052c96: Waiting 14:44:17 a2d8cc88f415: Waiting 14:44:17 ea1d1ca13537: Waiting 14:44:17 3750a50a1c5e: Waiting 14:44:17 8a11ddd9e578: Waiting 14:44:17 777b28850792: Verifying Checksum 14:44:17 777b28850792: Download complete 14:44:17 2a23fa8c16f7: Verifying Checksum 14:44:17 2a23fa8c16f7: Download complete 14:44:17 4cf88f913ddb: Verifying Checksum 14:44:17 4cf88f913ddb: Download complete 14:44:17 1df406cf5192: Verifying Checksum 14:44:17 1df406cf5192: Download complete 14:44:17 cde5963f3b93: Verifying Checksum 14:44:18 cde5963f3b93: Pull complete 14:44:19 2a23fa8c16f7: Pull complete 14:44:19 777b28850792: Pull complete 14:44:21 cd6300453558: Verifying Checksum 14:44:21 cd6300453558: Download complete 14:44:21 a2d8cc88f415: Download complete 14:44:24 ea1d1ca13537: Verifying Checksum 14:44:24 ea1d1ca13537: Download complete 14:44:24 3750a50a1c5e: Verifying Checksum 14:44:24 3750a50a1c5e: Download complete 14:44:27 b9c365052c96: Verifying Checksum 14:44:27 b9c365052c96: Download complete 14:44:29 8a11ddd9e578: Verifying Checksum 14:44:29 8a11ddd9e578: Download complete 14:44:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:44:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:44:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:44:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements 14:44:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.059s coverage: 95.8% of statements 14:44:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.062s coverage: 15.9% of statements 14:44:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 25.6% of statements 14:44:41 8a11ddd9e578: Pull complete 14:44:41 4cf88f913ddb: Pull complete 14:44:41 1df406cf5192: Pull complete 14:44:44 cd6300453558: Pull complete 14:44:50 b9c365052c96: Pull complete 14:44:50 a2d8cc88f415: Pull complete 14:44:52 ea1d1ca13537: Pull complete 14:44:52 3750a50a1c5e: Pull complete 14:44:52 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:44:52 ---> 78745c68409d 14:44:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:56 ---> Running in 51e8c48d119a 14:44:56 Removing intermediate container 51e8c48d119a 14:44:56 ---> 7dfee7d0b55a 14:44:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:56 ---> Running in f0231c4be229 14:44:58 Removing intermediate container f0231c4be229 14:44:58 ---> f21fe3792515 14:44:58 Step 5/8 : RUN apk add --no-cache make git 14:44:58 ---> Running in 77e0c64095ed 14:44:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:45:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:45:01 OK: 125 MiB in 39 packages 14:45:02 Removing intermediate container 77e0c64095ed 14:45:02 ---> a945495410c7 14:45:02 Step 6/8 : WORKDIR /device-sdk-go 14:45:02 ---> Running in 485d8f8d0041 14:45:02 Removing intermediate container 485d8f8d0041 14:45:02 ---> b786afb85073 14:45:02 Step 7/8 : COPY . . 14:45:04 ---> eeb2bb9af808 14:45:04 Step 8/8 : RUN go mod download 14:45:04 ---> Running in 18a2e8e729df 14:45:05 go: finding github.com/BurntSushi/toml v0.3.1 14:45:05 go: finding github.com/OneOfOne/xxhash v1.2.6 14:45:05 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:45:05 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:45:05 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:45:05 go: finding github.com/bgentry/speakeasy v0.1.0 14:45:05 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 14:45:05 go: finding github.com/davecgh/go-spew v1.1.1 14:45:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 14:45:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 14:45:05 go: finding github.com/fatih/color v1.7.0 14:45:05 go: finding github.com/go-kit/kit v0.8.0 14:45:05 go: finding github.com/go-logfmt/logfmt v0.4.0 14:45:05 go: finding github.com/go-stack/stack v1.8.0 14:45:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:45:05 go: finding github.com/google/uuid v1.1.0 14:45:05 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 14:45:05 go: finding github.com/gorilla/mux v1.6.2 14:45:05 go: finding github.com/hashicorp/consul v1.4.2 14:45:05 go: finding github.com/hashicorp/errwrap v1.0.0 14:45:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 14:45:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:45:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:45:05 go: finding github.com/hashicorp/go-multierror v1.0.0 14:45:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:45:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:45:05 go: finding github.com/hashicorp/go-syslog v1.0.0 14:45:05 go: finding github.com/hashicorp/go-uuid v1.0.1 14:45:05 go: finding github.com/hashicorp/go.net v0.0.1 14:45:05 go: finding github.com/hashicorp/golang-lru v0.5.0 14:45:05 go: finding github.com/hashicorp/logutils v1.0.0 14:45:05 go: finding github.com/hashicorp/mdns v1.0.0 14:45:05 go: finding github.com/hashicorp/memberlist v0.1.3 14:45:05 go: finding github.com/hashicorp/serf v0.8.2 14:45:06 go: finding github.com/jessevdk/go-flags v1.4.0 14:45:06 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:45:06 go: finding github.com/mattn/go-colorable v0.0.9 14:45:06 go: finding github.com/mattn/go-isatty v0.0.3 14:45:06 go: finding github.com/miekg/dns v1.0.14 14:45:06 go: finding github.com/mitchellh/cli v1.0.0 14:45:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:45:06 go: finding github.com/mitchellh/copystructure v1.0.0 14:45:06 go: finding github.com/mitchellh/go-homedir v1.0.0 14:45:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:45:06 go: finding github.com/mitchellh/gox v0.4.0 14:45:06 go: finding github.com/mitchellh/iochan v1.0.0 14:45:06 go: finding github.com/mitchellh/mapstructure v1.1.2 14:45:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:45:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:45:06 go: finding github.com/pelletier/go-toml v1.2.0 14:45:06 go: finding github.com/pkg/errors v0.8.1 14:45:06 go: finding github.com/pmezard/go-difflib v1.0.0 14:45:06 go: finding github.com/posener/complete v1.1.1 14:45:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:45:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:45:06 go: finding github.com/stretchr/objx v0.1.0 14:45:06 go: finding github.com/stretchr/testify v1.3.0 14:45:06 go: finding github.com/ugorji/go v1.1.4 14:45:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:45:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:45:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:45:06 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:45:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:45:06 go: finding gopkg.in/yaml.v2 v2.2.2 14:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.027s coverage: 30.0% of statements 14:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.610s coverage: 42.3% of statements 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.892s coverage: 79.5% of statements 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:45:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.114s coverage: 76.1% of statements 14:45:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:45:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:45:10 gofmt -l . 14:45:10 [ "`gofmt -l .`" = "" ] 14:45:10 ./bin/test-attribution-txt.sh 14:45:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:45:12 Stashed 1 file(s) [Pipeline] } 14:45:12 $ docker stop --time=1 b5b27354a59f8c7ee123384ff65145c31317781041fb0842835f42a8a51b315e 14:45:14 $ docker rm -f b5b27354a59f8c7ee123384ff65145c31317781041fb0842835f42a8a51b315e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:16 + ls -al . 14:45:16 total 200 14:45:16 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 24 14:45 . 14:45:16 drwxrwxr-x. 4 jenkins jenkins 28 Mar 24 14:43 .. 14:45:16 drwxrwxr-x. 3 jenkins jenkins 20 Mar 24 14:43 api 14:45:16 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 24 14:43 async.go 14:45:16 drwxrwxr-x. 2 jenkins jenkins 64 Mar 24 14:43 bin 14:45:16 -rw-r--r--. 1 jenkins jenkins 100203 Mar 24 14:45 coverage.out 14:45:16 -rw-rw-r--. 1 jenkins jenkins 936 Mar 24 14:43 Dockerfile.build 14:45:16 -rw-rw-r--. 1 jenkins jenkins 140 Mar 24 14:43 .dockerignore 14:45:16 drwxrwxr-x. 4 jenkins jenkins 31 Mar 24 14:43 example 14:45:16 drwxrwxr-x. 8 jenkins jenkins 179 Mar 24 14:43 .git 14:45:16 drwxrwxr-x. 2 jenkins jenkins 38 Mar 24 14:43 .github 14:45:16 -rw-rw-r--. 1 jenkins jenkins 138 Mar 24 14:43 .gitignore 14:45:16 -rw-r--r--. 1 jenkins jenkins 536 Mar 24 14:45 go.mod 14:45:16 -rw-r--r--. 1 jenkins jenkins 11140 Mar 24 14:45 go.sum 14:45:16 drwxrwxr-x. 14 jenkins jenkins 193 Mar 24 14:43 internal 14:45:16 -rw-rw-r--. 1 jenkins jenkins 808 Mar 24 14:43 Jenkinsfile 14:45:16 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 24 14:43 LICENSE 14:45:16 -rw-rw-r--. 1 jenkins jenkins 892 Mar 24 14:43 Makefile 14:45:16 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 24 14:43 manageddevices.go 14:45:16 -rw-rw-r--. 1 jenkins jenkins 5472 Mar 24 14:43 managedprofiles.go 14:45:16 -rw-rw-r--. 1 jenkins jenkins 3922 Mar 24 14:43 managedwatchers.go 14:45:16 drwxrwxr-x. 4 jenkins jenkins 35 Mar 24 14:43 pkg 14:45:16 -rw-rw-r--. 1 jenkins jenkins 761 Mar 24 14:43 README.md 14:45:16 drwxrwxr-x. 3 jenkins jenkins 58 Mar 24 14:43 .semver 14:45:16 -rw-rw-r--. 1 jenkins jenkins 9828 Mar 24 14:43 service.go 14:45:16 drwxrwxr-x. 4 jenkins jenkins 54 Mar 24 14:43 snap 14:45:16 -rw-rw-r--. 1 jenkins jenkins 5 Mar 24 14:39 VERSION 14:45:16 -rw-rw-r--. 1 jenkins jenkins 222 Mar 24 14:43 version.go [Pipeline] isUnix [Pipeline] sh 14:45:16 + 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=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 --label arch=amd64 --label version=0.0.0 . 14:45:16 Sending build context to Docker daemon 2.821MB 14:45:16 Step 1/20 : ARG BASE=golang:1.13-alpine 14:45:16 Step 2/20 : FROM ${BASE} AS builder 14:45:16 ---> 14a625a73e39 14:45:16 Step 3/20 : ARG MAKE='make build' 14:45:16 ---> Running in 59c0090a018a 14:45:16 Removing intermediate container 59c0090a018a 14:45:16 ---> feffac2fed6f 14:45:16 Step 4/20 : WORKDIR /device-sdk-go 14:45:17 ---> Running in 403395f0ec85 14:45:17 Removing intermediate container 403395f0ec85 14:45:17 ---> 0198115a774d 14:45:17 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:17 ---> Running in bcf1cc55324e 14:45:17 Removing intermediate container bcf1cc55324e 14:45:17 ---> 8238e03c879f 14:45:17 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:17 ---> Running in cac0d1daadb9 14:45:19 Removing intermediate container cac0d1daadb9 14:45:19 ---> 75fe65ec46f9 14:45:19 Step 7/20 : RUN apk add --update --no-cache make git 14:45:19 ---> Running in c9285322fe67 14:45:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:45:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:45:20 OK: 143 MiB in 39 packages 14:45:20 Removing intermediate container c9285322fe67 14:45:20 ---> b9dfa48e30ee 14:45:20 Step 8/20 : COPY . . 14:45:21 Removing intermediate container 18a2e8e729df 14:45:21 ---> ff29062043f9 14:45:21 Successfully built ff29062043f9 14:45:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:45:21 ---> 17f2f486f0a6 14:45:21 Step 9/20 : RUN ${MAKE} 14:45:21 ---> Running in b022baa9c963 14:45:21 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 14:45:21 + docker inspect -f . ci-base-image-arm64 14:45:21 . [Pipeline] withDockerContainer 14:45:22 prd-ubuntu18.04-docker-arm64-4c-16g-568 does not seem to be running inside a container 14:45:22 $ 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 14:45:23 $ docker top ec5cc26db6f44ce4ef61e225d052fec12572839dc21b9e04b434780b1eb9adee -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:24 + go version 14:45:24 go version go1.13.5 linux/arm64 [Pipeline] sh 14:45:25 + make test 14:45:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:45:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:45:47 Removing intermediate container b022baa9c963 14:45:47 ---> b992d2899de1 14:45:47 Step 10/20 : FROM scratch 14:45:47 ---> 14:45:47 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:47 ---> Running in e089c1f73391 14:45:47 Removing intermediate container e089c1f73391 14:45:47 ---> cd76dd2c2bed 14:45:47 Step 12/20 : ENV APP_PORT=49990 14:45:47 ---> Running in 12ecb26f1a9d 14:45:47 Removing intermediate container 12ecb26f1a9d 14:45:47 ---> eb0481ef69bd 14:45:47 Step 13/20 : EXPOSE $APP_PORT 14:45:47 ---> Running in 788b1f1a7242 14:45:47 Removing intermediate container 788b1f1a7242 14:45:47 ---> def316fb9d2f 14:45:47 Step 14/20 : WORKDIR / 14:45:47 ---> Running in df81c77a2716 14:45:47 Removing intermediate container df81c77a2716 14:45:47 ---> e4f963437776 14:45:47 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:45:47 ---> 8415bb521bf3 14:45:47 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 14:45:47 ---> 0ce4f04b182d 14:45:47 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 14:45:47 ---> Running in 4562ae76973e 14:45:48 Removing intermediate container 4562ae76973e 14:45:48 ---> e9253184f9e8 14:45:48 Step 18/20 : LABEL arch=amd64 14:45:48 ---> Running in de93f3dca1b7 14:45:48 Removing intermediate container de93f3dca1b7 14:45:48 ---> 17e77afaed25 14:45:48 Step 19/20 : LABEL git_sha=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:45:48 ---> Running in 81c2bc5f13a1 14:45:48 Removing intermediate container 81c2bc5f13a1 14:45:48 ---> c28363dff14a 14:45:48 Step 20/20 : LABEL version=0.0.0 14:45:48 ---> Running in 396a455c0869 14:45:49 Removing intermediate container 396a455c0869 14:45:49 ---> 646628cf6644 14:45:49 [Warning] One or more build-args [ARCH] were not consumed 14:45:49 Successfully built 646628cf6644 14:45:49 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] } 14:46:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:46:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:46:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:46:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 23.1% of statements 14:46:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.180s coverage: 95.8% of statements 14:46:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.187s coverage: 15.9% of statements 14:46:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 25.6% of statements 14:46:44 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.061s coverage: 30.0% of statements 14:46:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.415s coverage: 42.3% of statements 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:46:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.811s coverage: 79.5% of statements 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:46:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.122s coverage: 52.6% of statements 14:46:44 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:46:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.337s coverage: 76.1% of statements 14:46:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:46:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:46:51 gofmt -l . 14:46:51 [ "`gofmt -l .`" = "" ] 14:46:51 ./bin/test-attribution-txt.sh 14:46:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:46:53 Warning: overwriting stash ‘coverage-report’ 14:46:53 Stashed 1 file(s) [Pipeline] } 14:46:53 $ docker stop --time=1 ec5cc26db6f44ce4ef61e225d052fec12572839dc21b9e04b434780b1eb9adee 14:46:56 $ docker rm -f ec5cc26db6f44ce4ef61e225d052fec12572839dc21b9e04b434780b1eb9adee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:46:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:46:57 + ls -al . 14:46:57 total 240 14:46:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 14:46 . 14:46:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 14:44 .. 14:46:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 14:44 .dockerignore 14:46:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 14:44 .git 14:46:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 14:44 .github 14:46:57 -rw-rw-r-- 1 jenkins jenkins 138 Mar 24 14:44 .gitignore 14:46:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 14:44 .semver 14:46:57 -rw-rw-r-- 1 jenkins jenkins 936 Mar 24 14:44 Dockerfile.build 14:46:57 -rw-rw-r-- 1 jenkins jenkins 808 Mar 24 14:44 Jenkinsfile 14:46:57 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 14:44 LICENSE 14:46:57 -rw-rw-r-- 1 jenkins jenkins 892 Mar 24 14:44 Makefile 14:46:57 -rw-rw-r-- 1 jenkins jenkins 761 Mar 24 14:44 README.md 14:46:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 14:39 VERSION 14:46:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 14:44 api 14:46:57 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 24 14:44 async.go 14:46:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 14:44 bin 14:46:57 -rw-r--r-- 1 jenkins jenkins 100203 Mar 24 14:46 coverage.out 14:46:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 14:44 example 14:46:57 -rw-r--r-- 1 jenkins jenkins 536 Mar 24 14:46 go.mod 14:46:57 -rw-r--r-- 1 jenkins jenkins 11140 Mar 24 14:46 go.sum 14:46:57 drwxrwxr-x 14 jenkins jenkins 4096 Mar 24 14:44 internal 14:46:57 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 24 14:44 manageddevices.go 14:46:57 -rw-rw-r-- 1 jenkins jenkins 5472 Mar 24 14:44 managedprofiles.go 14:46:57 -rw-rw-r-- 1 jenkins jenkins 3922 Mar 24 14:44 managedwatchers.go 14:46:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 14:44 pkg 14:46:57 -rw-rw-r-- 1 jenkins jenkins 9828 Mar 24 14:44 service.go 14:46:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 14:44 snap 14:46:57 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:46:58 + 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=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 --label arch=arm64 --label version=0.0.0 . 14:46:58 Sending build context to Docker daemon 2.818MB 14:46:58 Step 1/20 : ARG BASE=golang:1.13-alpine 14:46:58 Step 2/20 : FROM ${BASE} AS builder 14:46:58 ---> ff29062043f9 14:46:58 Step 3/20 : ARG MAKE='make build' 14:46:58 ---> Running in 1d4ad3778727 14:46:59 Removing intermediate container 1d4ad3778727 14:46:59 ---> 141b55bebed7 14:46:59 Step 4/20 : WORKDIR /device-sdk-go 14:46:59 ---> Running in 2943727f5bb9 14:46:59 Removing intermediate container 2943727f5bb9 14:46:59 ---> 20d92b80b34f 14:46:59 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:46:59 ---> Running in ee98af88a73d 14:47:00 Removing intermediate container ee98af88a73d 14:47:00 ---> da067af0afa5 14:47:00 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:00 ---> Running in 1adc58cf685a 14:47:02 Removing intermediate container 1adc58cf685a 14:47:02 ---> bd323edd21db 14:47:02 Step 7/20 : RUN apk add --update --no-cache make git 14:47:02 ---> Running in 471b0f9dc9a6 14:47:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:47:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:47:04 OK: 125 MiB in 39 packages 14:47:05 Removing intermediate container 471b0f9dc9a6 14:47:05 ---> 5fa8a0abd715 14:47:05 Step 8/20 : COPY . . 14:47:06 ---> 50d9f8ae47ff 14:47:06 Step 9/20 : RUN ${MAKE} 14:47:06 ---> Running in 2da76444ae1e 14:47:07 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 14:47:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:47:56 Removing intermediate container 2da76444ae1e 14:47:56 ---> a3046e67f17e 14:47:56 Step 10/20 : FROM scratch 14:47:56 ---> 14:47:56 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:56 ---> Running in c66f09d1fa2b 14:47:56 Removing intermediate container c66f09d1fa2b 14:47:56 ---> 8237e038ebaa 14:47:56 Step 12/20 : ENV APP_PORT=49990 14:47:56 ---> Running in 88684db0c4f2 14:47:56 Removing intermediate container 88684db0c4f2 14:47:56 ---> 05526c4df48c 14:47:56 Step 13/20 : EXPOSE $APP_PORT 14:47:56 ---> Running in 2ed80e552963 14:47:57 Removing intermediate container 2ed80e552963 14:47:57 ---> 6e0b37bf064c 14:47:57 Step 14/20 : WORKDIR / 14:47:57 ---> Running in e4eb3c6146c3 14:47:57 Removing intermediate container e4eb3c6146c3 14:47:57 ---> 6de9971be3ae 14:47:57 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:47:59 ---> d12c5607314b 14:47:59 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 14:47:59 ---> a41da7aafd55 14:47:59 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 14:47:59 ---> Running in 73970eb8d0a4 14:48:00 Removing intermediate container 73970eb8d0a4 14:48:00 ---> 1711535bae1c 14:48:00 Step 18/20 : LABEL arch=arm64 14:48:00 ---> Running in 9a58beec6fc3 14:48:00 Removing intermediate container 9a58beec6fc3 14:48:00 ---> 5f87bd72d9b1 14:48:00 Step 19/20 : LABEL git_sha=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 14:48:00 ---> Running in d7c1f0cf0ffc 14:48:01 Removing intermediate container d7c1f0cf0ffc 14:48:01 ---> 226cf21f445d 14:48:01 Step 20/20 : LABEL version=0.0.0 14:48:01 ---> Running in 77cdddd3f5f3 14:48:01 Removing intermediate container 77cdddd3f5f3 14:48:01 ---> 86c7295a0c33 14:48:01 [Warning] One or more build-args [ARCH] were not consumed 14:48:01 Successfully built 86c7295a0c33 14:48:01 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 14:48:02 provisioning config files... 14:48:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config247595939626285042tmp [Pipeline] { [Pipeline] sh 14:48:02 + curl -s https://codecov.io/bash 14:48:02 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config247595939626285042tmp 14:48:03 14:48:03 _____ _ 14:48:03 / ____| | | 14:48:03 | | ___ __| | ___ ___ _____ __ 14:48:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:48:03 | |___| (_) | (_| | __/ (_| (_) \ V / 14:48:03 \_____\___/ \__,_|\___|\___\___/ \_/ 14:48:03 Bash-tbd 14:48:03 14:48:03 14:48:03 ==> Jenkins CI detected. 14:48:03 project root: . 14:48:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:48:03 ==> Running gcov in . (disable via -X gcov) 14:48:03 ==> Python coveragepy not found 14:48:03 ==> Searching for coverage reports in: 14:48:03 + . 14:48:03 -> Found 1 reports 14:48:03 ==> Detecting git/mercurial file structure 14:48:03 ==> Reading reports 14:48:03 + ./coverage.out bytes=100203 14:48:03 ==> Appending adjustments 14:48:03 http://docs.codecov.io/docs/fixing-reports 14:48:03 + Found adjustments 14:48:03 ==> Gzipping contents 14:48:03 ==> Uploading reports 14:48:03 url: https://codecov.io 14:48:03 query: branch=PR-447&commit=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 14:48:03 -> Pinging Codecov 14:48:03 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-447&commit=280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 14:48:03 -> Uploading 14:48:04 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/280ec5b0cf94c3c76bee5ec2cc249b4ca50ec1b6 [Pipeline] } 14:48:04 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 14:48:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:48:05 ---> package-listing.sh 14:48:05 ++ facter osfamily 14:48:05 ++ tr '[:upper:]' '[:lower:]' 14:48:05 + OS_FAMILY=redhat 14:48:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 14:48:05 + START_PACKAGES=/tmp/packages_start.txt 14:48:05 + END_PACKAGES=/tmp/packages_end.txt 14:48:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:48:05 + PACKAGES=/tmp/packages_start.txt 14:48:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 14:48:05 + PACKAGES=/tmp/packages_end.txt 14:48:05 + case "${OS_FAMILY}" in 14:48:05 + rpm -qa 14:48:05 + sort 14:48:09 + '[' -f /tmp/packages_start.txt ']' 14:48:09 + '[' -f /tmp/packages_end.txt ']' 14:48:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:48:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 14:48:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ 14:48:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ [Pipeline] isUnix [Pipeline] sh 14:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:48:09 14:48:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:48:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:48:10 alpine: Pulling from edgex-lftools-log-publisher 14:48:10 c9b1b535fdd9: Pulling fs layer 14:48:10 2cc5ad85d9ab: Pulling fs layer 14:48:10 756a868c4378: Pulling fs layer 14:48:10 444b2fc9a129: Pulling fs layer 14:48:10 ea15f1150254: Pulling fs layer 14:48:10 41b27a9f41bf: Pulling fs layer 14:48:10 28c525ee5125: Pulling fs layer 14:48:10 094b1ea09ed8: Pulling fs layer 14:48:10 138eaada9080: Pulling fs layer 14:48:10 0622d0fa9048: Pulling fs layer 14:48:10 41b27a9f41bf: Waiting 14:48:10 28c525ee5125: Waiting 14:48:10 094b1ea09ed8: Waiting 14:48:10 138eaada9080: Waiting 14:48:10 0622d0fa9048: Waiting 14:48:10 444b2fc9a129: Waiting 14:48:10 ea15f1150254: Waiting 14:48:10 2cc5ad85d9ab: Download complete 14:48:10 444b2fc9a129: Verifying Checksum 14:48:10 444b2fc9a129: Download complete 14:48:10 c9b1b535fdd9: Verifying Checksum 14:48:10 c9b1b535fdd9: Download complete 14:48:10 ea15f1150254: Verifying Checksum 14:48:10 ea15f1150254: Download complete 14:48:10 28c525ee5125: Verifying Checksum 14:48:10 28c525ee5125: Download complete 14:48:10 c9b1b535fdd9: Pull complete 14:48:10 756a868c4378: Verifying Checksum 14:48:10 756a868c4378: Download complete 14:48:10 2cc5ad85d9ab: Pull complete 14:48:10 138eaada9080: Verifying Checksum 14:48:10 138eaada9080: Download complete 14:48:10 0622d0fa9048: Verifying Checksum 14:48:10 0622d0fa9048: Download complete 14:48:10 094b1ea09ed8: Verifying Checksum 14:48:10 094b1ea09ed8: Download complete 14:48:11 41b27a9f41bf: Verifying Checksum 14:48:11 41b27a9f41bf: Download complete 14:48:12 756a868c4378: Pull complete 14:48:12 444b2fc9a129: Pull complete 14:48:12 ea15f1150254: Pull complete 14:48:15 41b27a9f41bf: Pull complete 14:48:15 28c525ee5125: Pull complete 14:48:17 094b1ea09ed8: Pull complete 14:48:18 138eaada9080: Pull complete 14:48:18 0622d0fa9048: Pull complete 14:48:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:48:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:48:18 prd-centos7-docker-4c-2g-566 does not seem to be running inside a container 14:48:18 $ 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-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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 14:48:19 $ docker top fa4391e55c64151e2dc3ad8b5bb303ca3496ce981e0a2ca83642ddef5c3b5e42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:48:19 provisioning config files... 14:48:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config8923805890680215054tmp [Pipeline] { [Pipeline] echo 14:48:19 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:48:20 ---> create-netrc.sh [Pipeline] echo 14:48:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:48:20 ---> logs-deploy.sh 14:48:20 + ARCHIVE_ARTIFACTS= 14:48:20 + LOGS_SERVER=https://logs.edgexfoundry.org 14:48:20 + '[' https://logs.edgexfoundry.org == None ']' 14:48:20 + NEXUS_URL=https://nexus.edgexfoundry.org 14:48:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/9 14:48:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/9/ 14:48:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/9 /w/workspace/dgexfoundry_device-sdk-go_PR-447 14:48:21 Archives upload complete. 14:48:21 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/9/