Branch indexing 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 8f4f10966944f669ba42caf66f93d10b9e024c88 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-209 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 8f4f10966944f669ba42caf66f93d10b9e024c88 > 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 8f4f10966944f669ba42caf66f93d10b9e024c88 # 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 Merge succeeded, producing 41d84a604b83fd20e23b3a03571ebc8ac038bd7a Checking out Revision 41d84a604b83fd20e23b3a03571ebc8ac038bd7a (PR-447) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41d84a604b83fd20e23b3a03571ebc8ac038bd7a # timeout=10 Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:04 02:45:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:04 latest: Pulling from edgex-devops/git-semver 02:45:04 9123ac7c32f7: Pulling fs layer 02:45:04 b8cc5d1170e3: Pulling fs layer 02:45:04 2924cbbf6a41: Pulling fs layer 02:45:04 93b08a4f1073: Pulling fs layer 02:45:04 93b08a4f1073: Waiting 02:45:04 b8cc5d1170e3: Verifying Checksum 02:45:04 b8cc5d1170e3: Download complete 02:45:04 9123ac7c32f7: Verifying Checksum 02:45:04 9123ac7c32f7: Download complete 02:45:04 93b08a4f1073: Verifying Checksum 02:45:04 93b08a4f1073: Download complete 02:45:05 2924cbbf6a41: Verifying Checksum 02:45:05 2924cbbf6a41: Download complete 02:45:05 9123ac7c32f7: Pull complete 02:45:05 b8cc5d1170e3: Pull complete 02:45:06 2924cbbf6a41: Pull complete 02:45:06 93b08a4f1073: Pull complete 02:45:06 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:06 prd-centos7-docker-4c-2g-209 does not seem to be running inside a container 02:45:06 $ 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 02:45:07 $ docker top 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:07 [ssh-agent] Looking for ssh-agent implementation... 02:45:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:08 $ docker exec 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent 02:45:08 SSH_AUTH_SOCK=/tmp/ssh-OLHTAHWqx1X1/agent.14 02:45:08 SSH_AGENT_PID=20 02:45:08 Running ssh-add (command line suppressed) 02:45:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6077441566321152254.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6077441566321152254.key) 02:45:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:09 + git describe --exact-match --tags HEAD 02:45:09 fatal: No names found, cannot describe anything. [Pipeline] } 02:45:09 $ docker exec --env ******** --env ******** 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent -k 02:45:09 unset SSH_AUTH_SOCK; 02:45:09 unset SSH_AGENT_PID; 02:45:09 echo Agent pid 20 killed; 02:45:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:45:09 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:45:09 This usually means this commit has not been tagged. [Pipeline] sshagent 02:45:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:09 [ssh-agent] Looking for ssh-agent implementation... 02:45:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:10 $ docker exec 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent 02:45:10 SSH_AUTH_SOCK=/tmp/ssh-nTtGcNEUVZyO/agent.55 02:45:10 SSH_AGENT_PID=62 02:45:10 Running ssh-add (command line suppressed) 02:45:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_976952541953673823.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_976952541953673823.key) 02:45:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:11 + git semver init 02:45:11 # -> Open(): unable to determine branch for HEAD 02:45:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git 02:45:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 02:45:11 # $SEMVER_REMOTE_NAME = origin 02:45:11 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 02:45:11 # $SEMVER_USER_NAME = jenkins 02:45:11 # $SEMVER_BRANCH = PR-447 02:45:11 # $SEMVER_TEMP = /tmp/semver-750939073 02:45:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:45:12 # '/tmp/semver-750939073' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' 02:45:12 # -> Force: false 02:45:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } 02:45:12 $ docker exec --env ******** --env ******** 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f ssh-agent -k 02:45:12 unset SSH_AUTH_SOCK; 02:45:12 unset SSH_AGENT_PID; 02:45:12 echo Agent pid 62 killed; 02:45:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:12 + git semver [Pipeline] } 02:45:12 $ docker stop --time=1 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f 02:45:14 $ docker rm -f 587a3278c3c908b2d992cd9c094c29c842de773d90da7fd6cb0090e828ca9f3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:45:15 Stashed 32 file(s) [Pipeline] echo 02:45:15 [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 02:45:30 Still waiting to schedule task 02:45:30 ‘prd-centos7-docker-4c-2g-212’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10364’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-199’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5709’ doesn’t have label ‘centos7-docker-4c-2g’ 02:45:30 Still waiting to schedule task 02:45:30 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:36 Running on prd-centos7-docker-4c-2g-213 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 02:45:36 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:45:39 using credential edgex-jenkins-ssh 02:45:39 Cloning the remote Git repository 02:45:39 Cloning with configured refspecs honoured and without tags 02:45:40 Fetching without tags 02:45:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:39 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:45:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:39 > git --version # timeout=10 02:45:39 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:39 > 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 02:45:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:40 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 02:45:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:40 > 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 02:45:40 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 02:45:41 Merge succeeded, producing 40353723e9b871b80bddab1ea315256e41899b5b 02:45:41 Checking out Revision 40353723e9b871b80bddab1ea315256e41899b5b (PR-447) 02:45:40 > git config core.sparsecheckout # timeout=10 02:45:40 > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 02:45:40 > git remote # timeout=10 02:45:40 > git config --get remote.origin.url # timeout=10 02:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:40 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 02:45:41 > git rev-parse HEAD^{commit} # timeout=10 02:45:41 > git config core.sparsecheckout # timeout=10 02:45:41 > git checkout -f 40353723e9b871b80bddab1ea315256e41899b5b # timeout=10 02:45:44 Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" 02:45:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:45:44 > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] echo 02:45:45 ========================================================= 02:45:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:45:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:46 + 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 . 02:45:46 Sending build context to Docker daemon 2.697MB 02:45:46 Step 1/8 : ARG BASE=golang:1.13-alpine 02:45:46 Step 2/8 : FROM ${BASE} 02:45:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:46 e6b0cf9c0882: Pulling fs layer 02:45:46 2848faf0eed1: Pulling fs layer 02:45:46 0f37312ad70f: Pulling fs layer 02:45:46 5788d62ee057: Pulling fs layer 02:45:46 0e6b1d234666: Pulling fs layer 02:45:46 bf5d7aec512f: Pulling fs layer 02:45:46 34c802a77dc8: Pulling fs layer 02:45:46 9eb99e56ec68: Pulling fs layer 02:45:46 27c7a5d97fbd: Pulling fs layer 02:45:46 5c102a31e300: Pulling fs layer 02:45:46 dcfb455df0a1: Pulling fs layer 02:45:46 5788d62ee057: Waiting 02:45:46 9eb99e56ec68: Waiting 02:45:46 0e6b1d234666: Waiting 02:45:46 27c7a5d97fbd: Waiting 02:45:46 bf5d7aec512f: Waiting 02:45:46 34c802a77dc8: Waiting 02:45:46 dcfb455df0a1: Waiting 02:45:46 0f37312ad70f: Verifying Checksum 02:45:46 0f37312ad70f: Download complete 02:45:46 2848faf0eed1: Verifying Checksum 02:45:46 2848faf0eed1: Download complete 02:45:46 0e6b1d234666: Verifying Checksum 02:45:46 0e6b1d234666: Download complete 02:45:46 bf5d7aec512f: Verifying Checksum 02:45:46 bf5d7aec512f: Download complete 02:45:46 e6b0cf9c0882: Verifying Checksum 02:45:46 e6b0cf9c0882: Pull complete 02:45:47 2848faf0eed1: Pull complete 02:45:47 34c802a77dc8: Verifying Checksum 02:45:47 34c802a77dc8: Download complete 02:45:47 27c7a5d97fbd: Verifying Checksum 02:45:47 27c7a5d97fbd: Download complete 02:45:48 5c102a31e300: Verifying Checksum 02:45:48 5c102a31e300: Download complete 02:45:48 9eb99e56ec68: Download complete 02:45:48 5788d62ee057: Verifying Checksum 02:45:48 5788d62ee057: Download complete 02:45:48 dcfb455df0a1: Verifying Checksum 02:45:48 dcfb455df0a1: Download complete 02:45:49 0f37312ad70f: Pull complete 02:45:54 5788d62ee057: Pull complete 02:45:54 0e6b1d234666: Pull complete 02:45:54 bf5d7aec512f: Pull complete 02:45:58 34c802a77dc8: Pull complete 02:46:02 9eb99e56ec68: Pull complete 02:46:02 27c7a5d97fbd: Pull complete 02:46:02 5c102a31e300: Pull complete 02:46:03 dcfb455df0a1: Pull complete 02:46:03 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:46:03 ---> 7c70fe431013 02:46:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:03 ---> Running in d0455f4534af 02:46:03 Removing intermediate container d0455f4534af 02:46:03 ---> e039287c2c98 02:46:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:03 ---> Running in 4172bebf6bf2 02:46:04 Removing intermediate container 4172bebf6bf2 02:46:04 ---> 488a6e02d34a 02:46:04 Step 5/8 : RUN apk add --no-cache make git 02:46:04 ---> Running in 0f70816203cf 02:46:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:46:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:46:06 OK: 143 MiB in 39 packages 02:46:06 Removing intermediate container 0f70816203cf 02:46:06 ---> bdff5ad4b907 02:46:06 Step 6/8 : WORKDIR /device-sdk-go 02:46:06 ---> Running in 9f056c62fb75 02:46:06 Removing intermediate container 9f056c62fb75 02:46:06 ---> 0695869b17de 02:46:06 Step 7/8 : COPY . . 02:46:07 ---> 55dd4222f811 02:46:07 Step 8/8 : RUN go mod download 02:46:07 ---> Running in b358ece57647 02:46:08 go: finding github.com/BurntSushi/toml v0.3.1 02:46:08 go: finding github.com/OneOfOne/xxhash v1.2.6 02:46:08 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:46:09 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:46:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:46:09 go: finding github.com/bgentry/speakeasy v0.1.0 02:46:09 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:46:09 go: finding github.com/davecgh/go-spew v1.1.1 02:46:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 02:46:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:46:09 go: finding github.com/fatih/color v1.7.0 02:46:09 go: finding github.com/go-kit/kit v0.8.0 02:46:09 go: finding github.com/go-logfmt/logfmt v0.4.0 02:46:09 go: finding github.com/go-stack/stack v1.8.0 02:46:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:46:09 go: finding github.com/google/uuid v1.1.0 02:46:09 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:46:09 go: finding github.com/gorilla/mux v1.6.2 02:46:09 go: finding github.com/hashicorp/consul v1.4.2 02:46:09 go: finding github.com/hashicorp/errwrap v1.0.0 02:46:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:46:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:46:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:46:09 go: finding github.com/hashicorp/go-multierror v1.0.0 02:46:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:46:09 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:46:09 go: finding github.com/hashicorp/go-syslog v1.0.0 02:46:09 go: finding github.com/hashicorp/go-uuid v1.0.1 02:46:09 go: finding github.com/hashicorp/go.net v0.0.1 02:46:09 go: finding github.com/hashicorp/golang-lru v0.5.0 02:46:09 go: finding github.com/hashicorp/logutils v1.0.0 02:46:09 go: finding github.com/hashicorp/mdns v1.0.0 02:46:09 go: finding github.com/hashicorp/memberlist v0.1.3 02:46:09 go: finding github.com/hashicorp/serf v0.8.2 02:46:09 go: finding github.com/jessevdk/go-flags v1.4.0 02:46:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:46:09 go: finding github.com/mattn/go-colorable v0.0.9 02:46:09 go: finding github.com/mattn/go-isatty v0.0.3 02:46:09 go: finding github.com/miekg/dns v1.0.14 02:46:09 go: finding github.com/mitchellh/cli v1.0.0 02:46:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:46:09 go: finding github.com/mitchellh/copystructure v1.0.0 02:46:09 go: finding github.com/mitchellh/go-homedir v1.0.0 02:46:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:46:09 go: finding github.com/mitchellh/gox v0.4.0 02:46:09 go: finding github.com/mitchellh/iochan v1.0.0 02:46:09 go: finding github.com/mitchellh/mapstructure v1.1.2 02:46:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:46:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:46:09 go: finding github.com/pelletier/go-toml v1.2.0 02:46:09 go: finding github.com/pkg/errors v0.8.1 02:46:09 go: finding github.com/pmezard/go-difflib v1.0.0 02:46:09 go: finding github.com/posener/complete v1.1.1 02:46:09 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:46:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:46:09 go: finding github.com/stretchr/objx v0.1.0 02:46:09 go: finding github.com/stretchr/testify v1.3.0 02:46:09 go: finding github.com/ugorji/go v1.1.4 02:46:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:46:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:46:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:46:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:46:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:46:09 go: finding gopkg.in/yaml.v2 v2.2.2 02:46:17 Removing intermediate container b358ece57647 02:46:17 ---> 18eed4080f6d 02:46:17 Successfully built 18eed4080f6d 02:46:17 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 02:46:18 + docker inspect -f . ci-base-image-x86_64 02:46:18 . [Pipeline] withDockerContainer 02:46:18 prd-centos7-docker-4c-2g-213 does not seem to be running inside a container 02:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:19 $ docker top 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:19 + go version 02:46:19 go version go1.13.5 linux/amd64 [Pipeline] sh 02:46:20 + make test 02:46:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:46:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 23.1% of statements 02:46:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.047s coverage: 15.9% of statements 02:46:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.274s coverage: 42.3% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 79.5% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:47:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements 02:47:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:47:10 gofmt -l . 02:47:10 [ "`gofmt -l .`" = "" ] 02:47:10 ./bin/test-attribution-txt.sh 02:47:10 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:11 Stashed 1 file(s) [Pipeline] } 02:47:11 $ docker stop --time=1 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a 02:47:12 $ docker rm -f 6955ffbb9cae20939f94c1701b7eea9134639b1489eaa534073ec348943dbf3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:13 + ls -al . 02:47:13 total 200 02:47:13 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 12 02:47 . 02:47:13 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 02:45 .. 02:47:13 drwxrwxr-x. 3 jenkins jenkins 20 Mar 12 02:45 api 02:47:13 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 12 02:45 async.go 02:47:13 drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 02:45 bin 02:47:13 -rw-r--r--. 1 jenkins jenkins 100203 Mar 12 02:47 coverage.out 02:47:13 -rw-rw-r--. 1 jenkins jenkins 936 Mar 12 02:45 Dockerfile.build 02:47:13 -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 02:45 .dockerignore 02:47:13 drwxrwxr-x. 4 jenkins jenkins 31 Mar 12 02:45 example 02:47:13 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 02:45 .git 02:47:13 drwxrwxr-x. 2 jenkins jenkins 38 Mar 12 02:45 .github 02:47:13 -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 02:45 .gitignore 02:47:13 -rw-r--r--. 1 jenkins jenkins 536 Mar 12 02:47 go.mod 02:47:13 -rw-r--r--. 1 jenkins jenkins 11140 Mar 12 02:47 go.sum 02:47:13 drwxrwxr-x. 14 jenkins jenkins 193 Mar 12 02:45 internal 02:47:13 -rw-rw-r--. 1 jenkins jenkins 808 Mar 12 02:45 Jenkinsfile 02:47:13 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 02:45 LICENSE 02:47:13 -rw-rw-r--. 1 jenkins jenkins 892 Mar 12 02:45 Makefile 02:47:13 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 12 02:45 manageddevices.go 02:47:13 -rw-rw-r--. 1 jenkins jenkins 5472 Mar 12 02:45 managedprofiles.go 02:47:13 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 12 02:45 managedwatchers.go 02:47:13 drwxrwxr-x. 4 jenkins jenkins 35 Mar 12 02:45 pkg 02:47:13 -rw-rw-r--. 1 jenkins jenkins 761 Mar 12 02:45 README.md 02:47:13 drwxrwxr-x. 3 jenkins jenkins 58 Mar 12 02:45 .semver 02:47:13 -rw-rw-r--. 1 jenkins jenkins 9828 Mar 12 02:45 service.go 02:47:13 drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 02:45 snap 02:47:13 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 02:45 VERSION 02:47:13 -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:14 + 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=41d84a604b83fd20e23b3a03571ebc8ac038bd7a --label arch=amd64 --label version=0.0.0 . 02:47:14 Sending build context to Docker daemon 2.823MB 02:47:14 Step 1/20 : ARG BASE=golang:1.13-alpine 02:47:14 Step 2/20 : FROM ${BASE} AS builder 02:47:14 ---> 18eed4080f6d 02:47:14 Step 3/20 : ARG MAKE='make build' 02:47:14 ---> Running in 23e737414551 02:47:14 Removing intermediate container 23e737414551 02:47:14 ---> eee4b2f7f4ca 02:47:14 Step 4/20 : WORKDIR /device-sdk-go 02:47:14 ---> Running in 3cb234637547 02:47:14 Removing intermediate container 3cb234637547 02:47:14 ---> 62a122bbde26 02:47:14 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:14 ---> Running in 236b7dae4392 02:47:14 Removing intermediate container 236b7dae4392 02:47:14 ---> 57e8a7852e16 02:47:14 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:14 ---> Running in b86f882b78cb 02:47:15 Removing intermediate container b86f882b78cb 02:47:15 ---> cde92cccdd72 02:47:15 Step 7/20 : RUN apk add --update --no-cache make git 02:47:15 ---> Running in cbaf6a6778c3 02:47:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:47:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:47:16 OK: 143 MiB in 39 packages 02:47:17 Removing intermediate container cbaf6a6778c3 02:47:17 ---> bed631b6c2e0 02:47:17 Step 8/20 : COPY . . 02:47:17 ---> ce0eef387aca 02:47:17 Step 9/20 : RUN ${MAKE} 02:47:17 ---> Running in dd317fafc407 02:47:17 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 02:47:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:35 Removing intermediate container dd317fafc407 02:47:35 ---> 0e4ce63a6959 02:47:35 Step 10/20 : FROM scratch 02:47:35 ---> 02:47:35 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:35 ---> Running in d4fa7b478d06 02:47:35 Removing intermediate container d4fa7b478d06 02:47:35 ---> 95174d1723a7 02:47:35 Step 12/20 : ENV APP_PORT=49990 02:47:35 ---> Running in 5122c8cd331e 02:47:35 Removing intermediate container 5122c8cd331e 02:47:35 ---> 251c4133a702 02:47:35 Step 13/20 : EXPOSE $APP_PORT 02:47:35 ---> Running in 8dc9173a8352 02:47:35 Removing intermediate container 8dc9173a8352 02:47:35 ---> 192be0174191 02:47:35 Step 14/20 : WORKDIR / 02:47:35 ---> Running in 640edf9aaec2 02:47:36 Removing intermediate container 640edf9aaec2 02:47:36 ---> 38701e647e1d 02:47:36 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:36 ---> 265a23abc89e 02:47:36 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 02:47:36 ---> 3bd93454e113 02:47:36 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 02:47:36 ---> Running in b92ee57d2026 02:47:36 Removing intermediate container b92ee57d2026 02:47:36 ---> 20acc1c774f0 02:47:36 Step 18/20 : LABEL arch=amd64 02:47:36 ---> Running in 08610c04a71b 02:47:36 Removing intermediate container 08610c04a71b 02:47:36 ---> 9f57d706ae92 02:47:36 Step 19/20 : LABEL git_sha=41d84a604b83fd20e23b3a03571ebc8ac038bd7a 02:47:37 ---> Running in 3a17cef2c7b1 02:47:37 Removing intermediate container 3a17cef2c7b1 02:47:37 ---> a6b8ce11f7a7 02:47:37 Step 20/20 : LABEL version=0.0.0 02:47:37 ---> Running in ace670b6da3f 02:47:37 Removing intermediate container ace670b6da3f 02:47:37 ---> 9ab78c4a8ff0 02:47:37 [Warning] One or more build-args [ARCH] were not consumed 02:47:37 Successfully built 9ab78c4a8ff0 02:47: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] } 02:47:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-214 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 02:47:57 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:48:03 using credential edgex-jenkins-ssh 02:48:03 Cloning the remote Git repository 02:48:03 Cloning with configured refspecs honoured and without tags 02:48:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:48:03 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:48:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:03 > git --version # timeout=10 02:48:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:03 > 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 02:48:04 Fetching without tags 02:48:05 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8f4f10966944f669ba42caf66f93d10b9e024c88 02:48:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:04 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 02:48:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:48:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:04 > 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 02:48:05 > git config core.sparsecheckout # timeout=10 02:48:05 > git checkout -f 8f4f10966944f669ba42caf66f93d10b9e024c88 # timeout=10 02:48:05 Merge succeeded, producing 7fd7c9620191d534ee14304c12a132d383427bf2 02:48:05 Checking out Revision 7fd7c9620191d534ee14304c12a132d383427bf2 (PR-447) 02:48:05 > git remote # timeout=10 02:48:05 > git config --get remote.origin.url # timeout=10 02:48:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:05 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 02:48:05 > git rev-parse HEAD^{commit} # timeout=10 02:48:05 > git config core.sparsecheckout # timeout=10 02:48:05 > git checkout -f 7fd7c9620191d534ee14304c12a132d383427bf2 # timeout=10 02:48:10 Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" 02:48:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:48:10 > git rev-list --no-walk da63eeb335125f015d20db755587f7b25b3e6bca # timeout=10 [Pipeline] echo 02:48:11 ========================================================= 02:48:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:48:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:12 + 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 . 02:48:13 Sending build context to Docker daemon 2.699MB 02:48:13 Step 1/8 : ARG BASE=golang:1.13-alpine 02:48:13 Step 2/8 : FROM ${BASE} 02:48:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:13 cde5963f3b93: Pulling fs layer 02:48:13 2a23fa8c16f7: Pulling fs layer 02:48:13 777b28850792: Pulling fs layer 02:48:13 8a11ddd9e578: Pulling fs layer 02:48:13 4cf88f913ddb: Pulling fs layer 02:48:13 1df406cf5192: Pulling fs layer 02:48:13 cd6300453558: Pulling fs layer 02:48:13 b9c365052c96: Pulling fs layer 02:48:13 a2d8cc88f415: Pulling fs layer 02:48:13 ea1d1ca13537: Pulling fs layer 02:48:13 3750a50a1c5e: Pulling fs layer 02:48:13 4cf88f913ddb: Waiting 02:48:13 b9c365052c96: Waiting 02:48:13 8a11ddd9e578: Waiting 02:48:13 1df406cf5192: Waiting 02:48:13 a2d8cc88f415: Waiting 02:48:13 ea1d1ca13537: Waiting 02:48:13 3750a50a1c5e: Waiting 02:48:13 777b28850792: Verifying Checksum 02:48:13 777b28850792: Download complete 02:48:13 2a23fa8c16f7: Download complete 02:48:13 4cf88f913ddb: Verifying Checksum 02:48:13 4cf88f913ddb: Download complete 02:48:13 1df406cf5192: Download complete 02:48:14 cde5963f3b93: Verifying Checksum 02:48:14 cde5963f3b93: Download complete 02:48:15 cde5963f3b93: Pull complete 02:48:15 2a23fa8c16f7: Pull complete 02:48:15 777b28850792: Pull complete 02:48:18 cd6300453558: Verifying Checksum 02:48:18 cd6300453558: Download complete 02:48:18 a2d8cc88f415: Verifying Checksum 02:48:18 a2d8cc88f415: Download complete 02:48:21 ea1d1ca13537: Download complete 02:48:21 3750a50a1c5e: Verifying Checksum 02:48:21 3750a50a1c5e: Download complete 02:48:23 b9c365052c96: Download complete 02:48:24 8a11ddd9e578: Download complete 02:48:37 8a11ddd9e578: Pull complete 02:48:37 4cf88f913ddb: Pull complete 02:48:37 1df406cf5192: Pull complete 02:48:40 cd6300453558: Pull complete 02:48:44 b9c365052c96: Pull complete 02:48:44 a2d8cc88f415: Pull complete 02:48:46 ea1d1ca13537: Pull complete 02:48:47 3750a50a1c5e: Pull complete 02:48:47 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:48:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:48:47 ---> 78745c68409d 02:48:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:52 ---> Running in 247ba1b63717 02:48:52 Removing intermediate container 247ba1b63717 02:48:52 ---> d6381598cf71 02:48:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:52 ---> Running in 8c09659d4d74 02:48:54 Removing intermediate container 8c09659d4d74 02:48:54 ---> a3bc29a612f1 02:48:54 Step 5/8 : RUN apk add --no-cache make git 02:48:54 ---> Running in d20b08233cbc 02:48:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:48:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:48:56 OK: 125 MiB in 39 packages 02:48:58 Removing intermediate container d20b08233cbc 02:48:58 ---> 499846ecd133 02:48:58 Step 6/8 : WORKDIR /device-sdk-go 02:48:58 ---> Running in dc59e5683244 02:48:58 Removing intermediate container dc59e5683244 02:48:58 ---> a7ae6bb86c7b 02:48:58 Step 7/8 : COPY . . 02:48:59 ---> cea75425e3e0 02:48:59 Step 8/8 : RUN go mod download 02:48:59 ---> Running in 8039900ed55b 02:49:07 go: finding github.com/BurntSushi/toml v0.3.1 02:49:07 go: finding github.com/OneOfOne/xxhash v1.2.6 02:49:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:49:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:49:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:49:07 go: finding github.com/bgentry/speakeasy v0.1.0 02:49:07 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:49:07 go: finding github.com/davecgh/go-spew v1.1.1 02:49:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.51 02:49:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:49:07 go: finding github.com/fatih/color v1.7.0 02:49:07 go: finding github.com/go-kit/kit v0.8.0 02:49:07 go: finding github.com/go-logfmt/logfmt v0.4.0 02:49:07 go: finding github.com/go-stack/stack v1.8.0 02:49:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:49:07 go: finding github.com/google/uuid v1.1.0 02:49:07 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:49:07 go: finding github.com/gorilla/mux v1.6.2 02:49:07 go: finding github.com/hashicorp/consul v1.4.2 02:49:07 go: finding github.com/hashicorp/errwrap v1.0.0 02:49:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:49:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:49:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:49:07 go: finding github.com/hashicorp/go-multierror v1.0.0 02:49:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:49:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:49:07 go: finding github.com/hashicorp/go-syslog v1.0.0 02:49:07 go: finding github.com/hashicorp/go-uuid v1.0.1 02:49:07 go: finding github.com/hashicorp/go.net v0.0.1 02:49:07 go: finding github.com/hashicorp/golang-lru v0.5.0 02:49:07 go: finding github.com/hashicorp/logutils v1.0.0 02:49:07 go: finding github.com/hashicorp/mdns v1.0.0 02:49:07 go: finding github.com/hashicorp/memberlist v0.1.3 02:49:07 go: finding github.com/hashicorp/serf v0.8.2 02:49:07 go: finding github.com/jessevdk/go-flags v1.4.0 02:49:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:49:07 go: finding github.com/mattn/go-colorable v0.0.9 02:49:07 go: finding github.com/mattn/go-isatty v0.0.3 02:49:07 go: finding github.com/miekg/dns v1.0.14 02:49:07 go: finding github.com/mitchellh/cli v1.0.0 02:49:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:49:07 go: finding github.com/mitchellh/copystructure v1.0.0 02:49:07 go: finding github.com/mitchellh/go-homedir v1.0.0 02:49:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:49:07 go: finding github.com/mitchellh/gox v0.4.0 02:49:07 go: finding github.com/mitchellh/iochan v1.0.0 02:49:07 go: finding github.com/mitchellh/mapstructure v1.1.2 02:49:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:49:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:49:07 go: finding github.com/pelletier/go-toml v1.2.0 02:49:07 go: finding github.com/pkg/errors v0.8.1 02:49:07 go: finding github.com/pmezard/go-difflib v1.0.0 02:49:07 go: finding github.com/posener/complete v1.1.1 02:49:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:49:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:49:07 go: finding github.com/stretchr/objx v0.1.0 02:49:07 go: finding github.com/stretchr/testify v1.3.0 02:49:07 go: finding github.com/ugorji/go v1.1.4 02:49:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:49:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:49:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:49:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:49:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:49:07 go: finding gopkg.in/yaml.v2 v2.2.2 02:49:22 Removing intermediate container 8039900ed55b 02:49:22 ---> 35f063ba364d 02:49:22 Successfully built 35f063ba364d 02:49:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:22 + docker inspect -f . ci-base-image-arm64 02:49:23 . [Pipeline] withDockerContainer 02:49:23 prd-ubuntu18.04-docker-arm64-4c-16g-214 does not seem to be running inside a container 02:49:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:49:24 $ docker top d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:26 + go version 02:49:26 go version go1.13.5 linux/arm64 [Pipeline] sh 02:49:26 + make test 02:49:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:50:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 23.1% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.261s coverage: 95.8% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.087s coverage: 15.9% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.070s coverage: 25.6% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.056s coverage: 30.0% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.400s coverage: 42.3% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.013s coverage: 79.5% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.140s coverage: 52.6% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.340s coverage: 76.1% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:50:51 gofmt -l . 02:50:51 [ "`gofmt -l .`" = "" ] 02:50:51 ./bin/test-attribution-txt.sh 02:50:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:50:52 Warning: overwriting stash ‘coverage-report’ 02:50:53 Stashed 1 file(s) [Pipeline] } 02:50:53 $ docker stop --time=1 d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 02:50:55 $ docker rm -f d9559efcece0103fd6cddd0cb45f221380c5fd2869a14c93bbd19950690e1377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:57 + ls -al . 02:50:57 total 240 02:50:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 02:50 . 02:50:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 .. 02:50:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 02:48 .dockerignore 02:50:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 02:48 .git 02:50:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:48 .github 02:50:57 -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 02:48 .gitignore 02:50:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:48 .semver 02:50:57 -rw-rw-r-- 1 jenkins jenkins 936 Mar 12 02:48 Dockerfile.build 02:50:57 -rw-rw-r-- 1 jenkins jenkins 808 Mar 12 02:48 Jenkinsfile 02:50:57 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 02:48 LICENSE 02:50:57 -rw-rw-r-- 1 jenkins jenkins 892 Mar 12 02:48 Makefile 02:50:57 -rw-rw-r-- 1 jenkins jenkins 761 Mar 12 02:48 README.md 02:50:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 02:45 VERSION 02:50:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:48 api 02:50:57 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 12 02:48 async.go 02:50:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:48 bin 02:50:57 -rw-r--r-- 1 jenkins jenkins 100203 Mar 12 02:50 coverage.out 02:50:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 example 02:50:57 -rw-r--r-- 1 jenkins jenkins 536 Mar 12 02:50 go.mod 02:50:57 -rw-r--r-- 1 jenkins jenkins 11140 Mar 12 02:50 go.sum 02:50:57 drwxrwxr-x 14 jenkins jenkins 4096 Mar 12 02:48 internal 02:50:57 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 12 02:48 manageddevices.go 02:50:57 -rw-rw-r-- 1 jenkins jenkins 5472 Mar 12 02:48 managedprofiles.go 02:50:57 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 12 02:48 managedwatchers.go 02:50:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 pkg 02:50:57 -rw-rw-r-- 1 jenkins jenkins 9828 Mar 12 02:48 service.go 02:50:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:48 snap 02:50:57 -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:50:57 + 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=41d84a604b83fd20e23b3a03571ebc8ac038bd7a --label arch=arm64 --label version=0.0.0 . 02:50:58 Sending build context to Docker daemon 2.825MB 02:50:58 Step 1/20 : ARG BASE=golang:1.13-alpine 02:50:58 Step 2/20 : FROM ${BASE} AS builder 02:50:58 ---> 35f063ba364d 02:50:58 Step 3/20 : ARG MAKE='make build' 02:50:58 ---> Running in bf402b5b696d 02:50:58 Removing intermediate container bf402b5b696d 02:50:58 ---> be5edac0bebf 02:50:58 Step 4/20 : WORKDIR /device-sdk-go 02:50:58 ---> Running in 26c48cb3c5f8 02:50:59 Removing intermediate container 26c48cb3c5f8 02:50:59 ---> 298dfd31c8df 02:50:59 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:59 ---> Running in 95a6d1cc74ba 02:50:59 Removing intermediate container 95a6d1cc74ba 02:50:59 ---> 5eaa5257a27d 02:50:59 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:59 ---> Running in 658b350a39d5 02:51:01 Removing intermediate container 658b350a39d5 02:51:01 ---> 53c60d065aca 02:51:01 Step 7/20 : RUN apk add --update --no-cache make git 02:51:01 ---> Running in 497ec94361fc 02:51:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:51:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:51:03 OK: 125 MiB in 39 packages 02:51:04 Removing intermediate container 497ec94361fc 02:51:04 ---> b2fc3802df9a 02:51:04 Step 8/20 : COPY . . 02:51:06 ---> 867823d36612 02:51:06 Step 9/20 : RUN ${MAKE} 02:51:06 ---> Running in c52e21a636ec 02:51:06 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 02:51:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:00 Removing intermediate container c52e21a636ec 02:52:00 ---> 2c3087a76a7f 02:52:00 Step 10/20 : FROM scratch 02:52:00 ---> 02:52:00 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:00 ---> Running in 15677bcf001b 02:52:00 Removing intermediate container 15677bcf001b 02:52:00 ---> 9eed62f5b4e9 02:52:00 Step 12/20 : ENV APP_PORT=49990 02:52:00 ---> Running in c741e00e09fc 02:52:00 Removing intermediate container c741e00e09fc 02:52:00 ---> 80bf3ca5e474 02:52:00 Step 13/20 : EXPOSE $APP_PORT 02:52:00 ---> Running in b2e95a260da8 02:52:00 Removing intermediate container b2e95a260da8 02:52:00 ---> daf328599a33 02:52:00 Step 14/20 : WORKDIR / 02:52:00 ---> Running in 719d0382360b 02:52:00 Removing intermediate container 719d0382360b 02:52:00 ---> 39af4392db9b 02:52:00 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:01 ---> 33e9de04a5ea 02:52:01 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 02:52:01 ---> cb1c6d5103f8 02:52:01 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 02:52:02 ---> Running in 39ae0a461ba3 02:52:02 Removing intermediate container 39ae0a461ba3 02:52:02 ---> 1687eb319c4e 02:52:02 Step 18/20 : LABEL arch=arm64 02:52:02 ---> Running in 1774d84a3c11 02:52:03 Removing intermediate container 1774d84a3c11 02:52:03 ---> ef2208aafd39 02:52:03 Step 19/20 : LABEL git_sha=41d84a604b83fd20e23b3a03571ebc8ac038bd7a 02:52:03 ---> Running in f603892c4c95 02:52:03 Removing intermediate container f603892c4c95 02:52:03 ---> 6404eae48b4f 02:52:03 Step 20/20 : LABEL version=0.0.0 02:52:03 ---> Running in e744028da25e 02:52:03 Removing intermediate container e744028da25e 02:52:03 ---> c82a55968fe5 02:52:03 [Warning] One or more build-args [ARCH] were not consumed 02:52:03 Successfully built c82a55968fe5 02:52:03 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 02:52:04 provisioning config files... 02:52:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config811756111775992997tmp [Pipeline] { [Pipeline] sh 02:52:05 + curl -s https://codecov.io/bash 02:52:05 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config811756111775992997tmp 02:52:05 02:52:05 _____ _ 02:52:05 / ____| | | 02:52:05 | | ___ __| | ___ ___ _____ __ 02:52:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:05 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:05 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:05 Bash-20200303-bc4d7e6 02:52:05 02:52:05 02:52:05 ==> Jenkins CI detected. 02:52:05 project root: . 02:52:05 Fixing merge commit SHA 02:52:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:05 ==> Running gcov in . (disable via -X gcov) 02:52:05 ==> Python coveragepy not found 02:52:05 ==> Searching for coverage reports in: 02:52:05 + . 02:52:05 -> Found 1 reports 02:52:05 ==> Detecting git/mercurial file structure 02:52:05 ==> Reading reports 02:52:05 + ./coverage.out bytes=100203 02:52:05 ==> Appending adjustments 02:52:05 http://docs.codecov.io/docs/fixing-reports 02:52:06 + Found adjustments 02:52:06 ==> Gzipping contents 02:52:06 ==> Uploading reports 02:52:06 url: https://codecov.io 02:52:06 query: branch=PR-447&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 02:52:06 -> Pinging Codecov 02:52:06 https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-447&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 02:52:06 -> Uploading 02:52:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 [Pipeline] } 02:52:06 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 02:52:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:08 ---> package-listing.sh 02:52:08 ++ facter osfamily 02:52:08 ++ tr '[:upper:]' '[:lower:]' 02:52:08 + OS_FAMILY=redhat 02:52:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 02:52:08 + START_PACKAGES=/tmp/packages_start.txt 02:52:08 + END_PACKAGES=/tmp/packages_end.txt 02:52:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:08 + PACKAGES=/tmp/packages_start.txt 02:52:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 02:52:08 + PACKAGES=/tmp/packages_end.txt 02:52:08 + case "${OS_FAMILY}" in 02:52:08 + rpm -qa 02:52:08 + sort 02:52:12 + '[' -f /tmp/packages_start.txt ']' 02:52:12 + '[' -f /tmp/packages_end.txt ']' 02:52:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 02:52:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ 02:52:12 + 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 02:52:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:12 02:52:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:13 alpine: Pulling from edgex-lftools-log-publisher 02:52:13 c9b1b535fdd9: Pulling fs layer 02:52:13 2cc5ad85d9ab: Pulling fs layer 02:52:13 756a868c4378: Pulling fs layer 02:52:13 444b2fc9a129: Pulling fs layer 02:52:13 ea15f1150254: Pulling fs layer 02:52:13 41b27a9f41bf: Pulling fs layer 02:52:13 28c525ee5125: Pulling fs layer 02:52:13 094b1ea09ed8: Pulling fs layer 02:52:13 138eaada9080: Pulling fs layer 02:52:13 0622d0fa9048: Pulling fs layer 02:52:13 41b27a9f41bf: Waiting 02:52:13 28c525ee5125: Waiting 02:52:13 094b1ea09ed8: Waiting 02:52:13 138eaada9080: Waiting 02:52:13 444b2fc9a129: Waiting 02:52:13 0622d0fa9048: Waiting 02:52:13 ea15f1150254: Waiting 02:52:13 2cc5ad85d9ab: Verifying Checksum 02:52:13 2cc5ad85d9ab: Download complete 02:52:13 444b2fc9a129: Verifying Checksum 02:52:13 444b2fc9a129: Download complete 02:52:13 c9b1b535fdd9: Verifying Checksum 02:52:13 c9b1b535fdd9: Download complete 02:52:13 ea15f1150254: Download complete 02:52:13 28c525ee5125: Verifying Checksum 02:52:13 28c525ee5125: Download complete 02:52:13 c9b1b535fdd9: Pull complete 02:52:14 756a868c4378: Verifying Checksum 02:52:14 756a868c4378: Download complete 02:52:14 138eaada9080: Verifying Checksum 02:52:14 138eaada9080: Download complete 02:52:14 0622d0fa9048: Verifying Checksum 02:52:14 0622d0fa9048: Download complete 02:52:14 2cc5ad85d9ab: Pull complete 02:52:14 094b1ea09ed8: Verifying Checksum 02:52:14 094b1ea09ed8: Download complete 02:52:15 41b27a9f41bf: Verifying Checksum 02:52:15 41b27a9f41bf: Download complete 02:52:16 756a868c4378: Pull complete 02:52:16 444b2fc9a129: Pull complete 02:52:16 ea15f1150254: Pull complete 02:52:20 41b27a9f41bf: Pull complete 02:52:20 28c525ee5125: Pull complete 02:52:23 094b1ea09ed8: Pull complete 02:52:23 138eaada9080: Pull complete 02:52:23 0622d0fa9048: Pull complete 02:52:23 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:23 prd-centos7-docker-4c-2g-209 does not seem to be running inside a container 02:52:23 $ 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 02:52:25 $ docker top 4827e1a207a8b4801edc53ce59503c4cf1c90eca0fa39ddc1e4df54db264135d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:52:25 provisioning config files... 02:52:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config9108167390774487275tmp [Pipeline] { [Pipeline] echo 02:52:25 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:25 ---> create-netrc.sh [Pipeline] echo 02:52:25 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:25 ---> logs-deploy.sh 02:52:25 + ARCHIVE_ARTIFACTS= 02:52:25 + LOGS_SERVER=https://logs.edgexfoundry.org 02:52:25 + '[' https://logs.edgexfoundry.org == None ']' 02:52:25 + NEXUS_URL=https://nexus.edgexfoundry.org 02:52:25 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 02:52:25 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/8/ 02:52:25 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 /w/workspace/dgexfoundry_device-sdk-go_PR-447 02:52:27 Archives upload complete. 02:52:27 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/8/