Pull request #521 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 82cb5f2ff940b20913c661d9e07cbf1b261895af+a939715cd6b2ce15799d62ce2550d8dc39d33fc5 (32e71b61f65df9dea0df68af5360244610ff55d3) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7100 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [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-521 # 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/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 82cb5f2ff940b20913c661d9e07cbf1b261895af Merge succeeded, producing 82cb5f2ff940b20913c661d9e07cbf1b261895af Checking out Revision 82cb5f2ff940b20913c661d9e07cbf1b261895af (PR-521) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # 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/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # 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 a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # timeout=10 Commit message: "fix: fix device service config stem in consul" First time build. Skipping changelog. > git rev-list --no-walk 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:45:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:45:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:45:45 ========================================================= 06:45:45 EdgeX Global Pipelines Version Info 06:45:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:45:47 ------------------- 06:45:47 stable info: 06:45:47 ------------------- 06:45:47 Commited By: Emilio Reyes emilio.reyes@intel.com 06:45:47 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 06:45:47 Message: update stable to v1.0.87 06:45:47 ------------------- 06:45:47 experimental info: 06:45:47 ------------------- 06:45:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:45:47 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 06:45:47 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:45:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:45:49 06:45:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:45:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:45:49 latest: Pulling from edgex-devops/git-semver 06:45:49 9123ac7c32f7: Pulling fs layer 06:45:49 b8cc5d1170e3: Pulling fs layer 06:45:49 2924cbbf6a41: Pulling fs layer 06:45:49 93b08a4f1073: Pulling fs layer 06:45:49 93b08a4f1073: Waiting 06:45:49 b8cc5d1170e3: Verifying Checksum 06:45:49 b8cc5d1170e3: Download complete 06:45:49 9123ac7c32f7: Verifying Checksum 06:45:49 9123ac7c32f7: Download complete 06:45:50 93b08a4f1073: Verifying Checksum 06:45:50 93b08a4f1073: Download complete 06:45:50 2924cbbf6a41: Verifying Checksum 06:45:50 2924cbbf6a41: Download complete 06:45:50 9123ac7c32f7: Pull complete 06:45:50 b8cc5d1170e3: Pull complete 06:45:51 2924cbbf6a41: Pull complete 06:45:51 93b08a4f1073: Pull complete 06:45:51 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 06:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:45:51 prd-centos7-docker-4c-2g-7100 does not seem to be running inside a container 06:45:51 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-521 -v /w/workspace/dgexfoundry_device-sdk-go_PR-521:/w/workspace/dgexfoundry_device-sdk-go_PR-521:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-521@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:45:52 $ docker top 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:45:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:45:52 [ssh-agent] Looking for ssh-agent implementation... 06:45:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:45:52 $ docker exec 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 ssh-agent 06:45:52 SSH_AUTH_SOCK=/tmp/ssh-RHVvGd0DSxNl/agent.15 06:45:52 SSH_AGENT_PID=22 06:45:52 Running ssh-add (command line suppressed) 06:45:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_4852903954652030936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_4852903954652030936.key) 06:45:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:45:53 + git describe --exact-match --tags HEAD 06:45:53 fatal: No names found, cannot describe anything. [Pipeline] } 06:45:53 $ docker exec --env ******** --env ******** 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 ssh-agent -k 06:45:53 unset SSH_AUTH_SOCK; 06:45:53 unset SSH_AGENT_PID; 06:45:53 echo Agent pid 22 killed; 06:45:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:45:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:45:53 This usually means this commit has not been tagged. [Pipeline] sshagent 06:45:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:45:53 [ssh-agent] Looking for ssh-agent implementation... 06:45:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:45:54 $ docker exec 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 ssh-agent 06:45:54 SSH_AUTH_SOCK=/tmp/ssh-nW1Oasi1QSZy/agent.57 06:45:54 SSH_AGENT_PID=64 06:45:54 Running ssh-add (command line suppressed) 06:45:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_7163004862551012728.key (/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_7163004862551012728.key) 06:45:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:45:54 + git semver init 06:45:54 # -> Open(): unable to determine branch for HEAD 06:45:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-521/.git 06:45:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-521 06:45:54 # $SEMVER_REMOTE_NAME = origin 06:45:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:45:54 # $SEMVER_USER_NAME = edgex-jenkins 06:45:54 # $SEMVER_BRANCH = PR-521 06:45:54 # $SEMVER_TEMP = /tmp/semver-692870345 06:45:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:45:55 # '/tmp/semver-692870345' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-521/.semver' 06:45:55 # -> Force: false 06:45:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-521/.semver [Pipeline] } 06:45:55 $ docker exec --env ******** --env ******** 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 ssh-agent -k 06:45:55 unset SSH_AUTH_SOCK; 06:45:55 unset SSH_AGENT_PID; 06:45:55 echo Agent pid 64 killed; 06:45:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:45:55 + git semver [Pipeline] } 06:45:55 $ docker stop --time=1 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 06:45:57 $ docker rm -f 21a135d402361669ba38d4c7f194bc9cb5aa522752dcd2b9e63163595e806d99 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:45:58 Stashed 61 file(s) [Pipeline] echo 06:45:58 [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 06:46:13 Still waiting to schedule task 06:46:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:46:13 Still waiting to schedule task 06:46:13 ‘prd-ubuntu18.04-docker-arm64-4c-16g-7098’ is offline 06:48:37 Running on prd-centos7-docker-4c-2g-7104 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [Pipeline] { [Pipeline] ws 06:48:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:48:39 using credential edgex-jenkins-ssh 06:48:39 Cloning the remote Git repository 06:48:39 Cloning with configured refspecs honoured and without tags 06:48:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:48:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:48:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:39 > git --version # timeout=10 06:48:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:40 Fetching without tags 06:48:40 Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 82cb5f2ff940b20913c661d9e07cbf1b261895af 06:48:40 Merge succeeded, producing 82cb5f2ff940b20913c661d9e07cbf1b261895af 06:48:40 Checking out Revision 82cb5f2ff940b20913c661d9e07cbf1b261895af (PR-521) 06:48:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:40 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # timeout=10 06:48:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:40 > git config core.sparsecheckout # timeout=10 06:48:40 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # timeout=10 06:48:40 > git remote # timeout=10 06:48:40 > git config --get remote.origin.url # timeout=10 06:48:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:40 > git merge a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 06:48:40 > git rev-parse HEAD^{commit} # timeout=10 06:48:40 > git config core.sparsecheckout # timeout=10 06:48:40 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # timeout=10 06:48:44 Commit message: "fix: fix device service config stem in consul" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:48:45 ========================================================= 06:48:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:48:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:48: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 . 06:48:46 Sending build context to Docker daemon 3.031MB 06:48:46 Step 1/8 : ARG BASE=golang:1.13-alpine 06:48:46 Step 2/8 : FROM ${BASE} 06:48:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:48:46 e6b0cf9c0882: Pulling fs layer 06:48:46 2848faf0eed1: Pulling fs layer 06:48:46 0f37312ad70f: Pulling fs layer 06:48:46 5788d62ee057: Pulling fs layer 06:48:46 0e6b1d234666: Pulling fs layer 06:48:46 bf5d7aec512f: Pulling fs layer 06:48:46 34c802a77dc8: Pulling fs layer 06:48:46 9eb99e56ec68: Pulling fs layer 06:48:46 27c7a5d97fbd: Pulling fs layer 06:48:46 5c102a31e300: Pulling fs layer 06:48:46 dcfb455df0a1: Pulling fs layer 06:48:46 9eb99e56ec68: Waiting 06:48:46 27c7a5d97fbd: Waiting 06:48:46 5c102a31e300: Waiting 06:48:46 5788d62ee057: Waiting 06:48:46 dcfb455df0a1: Waiting 06:48:46 0e6b1d234666: Waiting 06:48:46 bf5d7aec512f: Waiting 06:48:46 0f37312ad70f: Download complete 06:48:46 2848faf0eed1: Download complete 06:48:46 0e6b1d234666: Verifying Checksum 06:48:46 0e6b1d234666: Download complete 06:48:46 bf5d7aec512f: Download complete 06:48:46 e6b0cf9c0882: Verifying Checksum 06:48:46 e6b0cf9c0882: Download complete 06:48:47 e6b0cf9c0882: Pull complete 06:48:47 2848faf0eed1: Pull complete 06:48:47 34c802a77dc8: Verifying Checksum 06:48:47 34c802a77dc8: Download complete 06:48:47 27c7a5d97fbd: Verifying Checksum 06:48:47 27c7a5d97fbd: Download complete 06:48:48 5c102a31e300: Verifying Checksum 06:48:48 5c102a31e300: Download complete 06:48:48 dcfb455df0a1: Verifying Checksum 06:48:48 dcfb455df0a1: Download complete 06:48:48 9eb99e56ec68: Verifying Checksum 06:48:48 9eb99e56ec68: Download complete 06:48:48 5788d62ee057: Download complete 06:48:49 0f37312ad70f: Pull complete 06:48:54 5788d62ee057: Pull complete 06:48:55 0e6b1d234666: Pull complete 06:48:55 bf5d7aec512f: Pull complete 06:48:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7103 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [Pipeline] { [Pipeline] ws 06:48:58 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:49:00 34c802a77dc8: Pull complete 06:49:03 9eb99e56ec68: Pull complete 06:49:03 27c7a5d97fbd: Pull complete 06:49:04 5c102a31e300: Pull complete 06:49:04 dcfb455df0a1: Pull complete 06:49:04 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 06:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:49:04 ---> 7c70fe431013 06:49:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:49:04 using credential edgex-jenkins-ssh 06:49:04 Cloning the remote Git repository 06:49:04 Cloning with configured refspecs honoured and without tags 06:49:04 ---> Running in b7faaf127873 06:49:04 Removing intermediate container b7faaf127873 06:49:04 ---> 743679911dde 06:49:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:04 ---> Running in 7fb8d9d0f39e 06:49:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:49:04 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:49:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:04 > git --version # timeout=10 06:49:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:05 Removing intermediate container 7fb8d9d0f39e 06:49:05 ---> d7b2cf8181d7 06:49:05 Step 5/8 : RUN apk add --no-cache make git 06:49:05 ---> Running in 49446233f798 06:49:06 Fetching without tags 06:49:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:49:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:06 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # timeout=10 06:49:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:06 Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 82cb5f2ff940b20913c661d9e07cbf1b261895af 06:49:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:49:06 OK: 143 MiB in 39 packages 06:49:07 Merge succeeded, producing 82cb5f2ff940b20913c661d9e07cbf1b261895af 06:49:07 Checking out Revision 82cb5f2ff940b20913c661d9e07cbf1b261895af (PR-521) 06:49:07 Removing intermediate container 49446233f798 06:49:07 ---> 36f20afadb07 06:49:07 Step 6/8 : WORKDIR /device-sdk-go 06:49:07 ---> Running in 2423c73e2aab 06:49:07 Removing intermediate container 2423c73e2aab 06:49:07 ---> 26a6ec47f204 06:49:07 Step 7/8 : COPY . . 06:49:06 > git config core.sparsecheckout # timeout=10 06:49:06 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # timeout=10 06:49:06 > git remote # timeout=10 06:49:06 > git config --get remote.origin.url # timeout=10 06:49:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:06 > git merge a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 06:49:06 > git rev-parse HEAD^{commit} # timeout=10 06:49:07 > git config core.sparsecheckout # timeout=10 06:49:07 > git checkout -f 82cb5f2ff940b20913c661d9e07cbf1b261895af # timeout=10 06:49:08 ---> 2270fbca4269 06:49:08 Step 8/8 : RUN go mod download 06:49:08 ---> Running in debeefc117eb 06:49:11 Commit message: "fix: fix device service config stem in consul" [Pipeline] withEnv [Pipeline] { 06:49:12 go: finding github.com/BurntSushi/toml v0.3.1 06:49:12 go: finding github.com/OneOfOne/xxhash v1.2.6 06:49:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:49:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:49:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:49:12 go: finding github.com/bgentry/speakeasy v0.1.0 06:49:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:49:12 go: finding github.com/davecgh/go-spew v1.1.1 06:49:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 06:49:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:49:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:49:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:49:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:49:12 go: finding github.com/fatih/color v1.7.0 06:49:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:49:12 go: finding github.com/go-kit/kit v0.8.0 06:49:12 go: finding github.com/go-logfmt/logfmt v0.4.0 06:49:12 go: finding github.com/go-stack/stack v1.8.0 06:49:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:49:12 go: finding github.com/google/uuid v1.1.0 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 06:49:12 go: finding github.com/gorilla/mux v1.7.1 06:49:12 go: finding github.com/hashicorp/consul/api v1.1.0 06:49:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:49:12 go: finding github.com/hashicorp/errwrap v1.0.0 06:49:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:49:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:49:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:49:12 go: finding github.com/hashicorp/go-multierror v1.0.0 06:49:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:49:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:49:12 go: finding github.com/hashicorp/go-syslog v1.0.0 06:49:12 go: finding github.com/hashicorp/go-uuid v1.0.1 06:49:12 go: finding github.com/hashicorp/go.net v0.0.1 06:49:12 go: finding github.com/hashicorp/golang-lru v0.5.0 [Pipeline] echo 06:49:13 ========================================================= 06:49:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:49:13 ========================================================= 06:49:13 go: finding github.com/hashicorp/logutils v1.0.0 06:49:13 go: finding github.com/hashicorp/mdns v1.0.0 06:49:13 go: finding github.com/hashicorp/memberlist v0.1.3 06:49:13 go: finding github.com/hashicorp/serf v0.8.2 06:49:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:49:13 go: finding github.com/mattn/go-colorable v0.0.9 06:49:13 go: finding github.com/mattn/go-isatty v0.0.3 [Pipeline] isUnix [Pipeline] sh 06:49:13 go: finding github.com/miekg/dns v1.0.14 06:49:13 go: finding github.com/mitchellh/cli v1.0.0 06:49:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:49:13 go: finding github.com/mitchellh/copystructure v1.0.0 06:49:13 go: finding github.com/mitchellh/go-homedir v1.0.0 06:49:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:49:13 go: finding github.com/mitchellh/gox v0.4.0 06:49:13 go: finding github.com/mitchellh/iochan v1.0.0 06:49:13 go: finding github.com/mitchellh/mapstructure v1.1.2 06:49:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:49:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:49:13 go: finding github.com/pelletier/go-toml v1.2.0 06:49:13 go: finding github.com/pkg/errors v0.8.1 06:49:13 go: finding github.com/pmezard/go-difflib v1.0.0 06:49:13 go: finding github.com/posener/complete v1.1.1 06:49:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:49:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:49:13 go: finding github.com/stretchr/objx v0.1.0 06:49:13 go: finding github.com/stretchr/testify v1.5.1 06:49:13 go: finding github.com/ugorji/go v1.1.4 06:49:13 go: finding github.com/x448/float16 v0.8.4 06:49:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:49:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:49:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:49:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:49:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:49:14 go: finding gopkg.in/yaml.v2 v2.2.8 06:49:14 + 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 . 06:49:15 Sending build context to Docker daemon 3.031MB 06:49:15 Step 1/8 : ARG BASE=golang:1.13-alpine 06:49:15 Step 2/8 : FROM ${BASE} 06:49:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:49:15 cde5963f3b93: Pulling fs layer 06:49:15 2a23fa8c16f7: Pulling fs layer 06:49:15 777b28850792: Pulling fs layer 06:49:15 8a11ddd9e578: Pulling fs layer 06:49:15 4cf88f913ddb: Pulling fs layer 06:49:15 1df406cf5192: Pulling fs layer 06:49:15 cd6300453558: Pulling fs layer 06:49:15 b9c365052c96: Pulling fs layer 06:49:15 a2d8cc88f415: Pulling fs layer 06:49:15 ea1d1ca13537: Pulling fs layer 06:49:15 3750a50a1c5e: Pulling fs layer 06:49:15 8a11ddd9e578: Waiting 06:49:15 4cf88f913ddb: Waiting 06:49:15 1df406cf5192: Waiting 06:49:15 cd6300453558: Waiting 06:49:15 b9c365052c96: Waiting 06:49:15 a2d8cc88f415: Waiting 06:49:15 ea1d1ca13537: Waiting 06:49:15 777b28850792: Download complete 06:49:15 2a23fa8c16f7: Verifying Checksum 06:49:15 2a23fa8c16f7: Download complete 06:49:15 4cf88f913ddb: Verifying Checksum 06:49:15 4cf88f913ddb: Download complete 06:49:15 1df406cf5192: Verifying Checksum 06:49:15 1df406cf5192: Download complete 06:49:15 cde5963f3b93: Verifying Checksum 06:49:15 cde5963f3b93: Download complete 06:49:16 cde5963f3b93: Pull complete 06:49:17 2a23fa8c16f7: Pull complete 06:49:18 Removing intermediate container debeefc117eb 06:49:18 ---> ded8926c7cda 06:49:18 Successfully built ded8926c7cda 06:49:18 Successfully tagged ci-base-image-x86_64:latest 06:49:18 777b28850792: Pull complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:49:18 + docker inspect -f . ci-base-image-x86_64 06:49:18 . [Pipeline] withDockerContainer 06:49:19 prd-centos7-docker-4c-2g-7104 does not seem to be running inside a container 06:49:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:19 $ docker top 54c667ce6c4573136e1feefea7c15813679e08c2edcda58e11f47d04824b0f85 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:20 + go version 06:49:20 go version go1.13.5 linux/amd64 [Pipeline] sh 06:49:20 cd6300453558: Verifying Checksum 06:49:20 cd6300453558: Download complete 06:49:20 a2d8cc88f415: Verifying Checksum 06:49:20 a2d8cc88f415: Download complete 06:49:20 + make test 06:49:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:49:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:49:22 ea1d1ca13537: Verifying Checksum 06:49:22 ea1d1ca13537: Download complete 06:49:22 3750a50a1c5e: Verifying Checksum 06:49:22 3750a50a1c5e: Download complete 06:49:25 b9c365052c96: Verifying Checksum 06:49:25 b9c365052c96: Download complete 06:49:26 8a11ddd9e578: Verifying Checksum 06:49:26 8a11ddd9e578: Download complete 06:49:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:49:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:49:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:49:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 22.1% of statements 06:49:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 06:49:39 8a11ddd9e578: Pull complete 06:49:39 4cf88f913ddb: Pull complete 06:49:39 1df406cf5192: Pull complete 06:49:44 cd6300453558: Pull complete 06:49:48 b9c365052c96: Pull complete 06:49:49 a2d8cc88f415: Pull complete 06:49:51 ea1d1ca13537: Pull complete 06:49:51 3750a50a1c5e: Pull complete 06:49:51 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 06:49:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:49:51 ---> 78745c68409d 06:49:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:49:57 ---> Running in 53f714e323e7 06:49:57 Removing intermediate container 53f714e323e7 06:49:57 ---> bd2c189d738c 06:49:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:57 ---> Running in df2861f28bd2 06:49:58 Removing intermediate container df2861f28bd2 06:49:58 ---> dcd8dbf52af8 06:49:58 Step 5/8 : RUN apk add --no-cache make git 06:49:58 ---> Running in 086d23eb9ebd 06:49:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:50:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:50:00 OK: 125 MiB in 39 packages 06:50:02 Removing intermediate container 086d23eb9ebd 06:50:02 ---> 5677c25d6f3f 06:50:02 Step 6/8 : WORKDIR /device-sdk-go 06:50:02 ---> Running in a3a410f09b73 06:50:02 Removing intermediate container a3a410f09b73 06:50:02 ---> 607d99a21aa8 06:50:02 Step 7/8 : COPY . . 06:50:04 ---> e812f09292df 06:50:04 Step 8/8 : RUN go mod download 06:50:04 ---> Running in 6438978d8798 06:50:06 go: finding github.com/BurntSushi/toml v0.3.1 06:50:06 go: finding github.com/OneOfOne/xxhash v1.2.6 06:50:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:50:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:50:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:50:06 go: finding github.com/bgentry/speakeasy v0.1.0 06:50:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:50:06 go: finding github.com/davecgh/go-spew v1.1.1 06:50:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 06:50:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:50:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:50:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:50:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:50:06 go: finding github.com/fatih/color v1.7.0 06:50:06 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:50:06 go: finding github.com/go-kit/kit v0.8.0 06:50:06 go: finding github.com/go-logfmt/logfmt v0.4.0 06:50:06 go: finding github.com/go-stack/stack v1.8.0 06:50:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:50:06 go: finding github.com/google/uuid v1.1.0 06:50:06 go: finding github.com/gorilla/mux v1.7.1 06:50:06 go: finding github.com/hashicorp/consul/api v1.1.0 06:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.021s coverage: 11.4% of statements 06:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.056s coverage: 36.9% of statements 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.356s coverage: 65.2% of statements 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.021s coverage: 52.6% of statements 06:50:06 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:50:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 06:50:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:50:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:50:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:50:06 gofmt -l . 06:50:06 [ "`gofmt -l .`" = "" ] 06:50:06 ./bin/test-attribution-txt.sh 06:50:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:50:07 go: finding github.com/hashicorp/errwrap v1.0.0 06:50:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:50:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:50:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:50:07 go: finding github.com/hashicorp/go-multierror v1.0.0 06:50:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:50:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:50:07 go: finding github.com/hashicorp/go-syslog v1.0.0 06:50:07 go: finding github.com/hashicorp/go-uuid v1.0.1 06:50:07 go: finding github.com/hashicorp/go.net v0.0.1 06:50:07 go: finding github.com/hashicorp/golang-lru v0.5.0 06:50:07 go: finding github.com/hashicorp/logutils v1.0.0 06:50:07 ./bin/test-go-mod-tidy.sh 06:50:07 go: finding github.com/hashicorp/mdns v1.0.0 06:50:07 go: finding github.com/hashicorp/memberlist v0.1.3 06:50:07 go: finding github.com/hashicorp/serf v0.8.2 06:50:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:50:07 go: finding github.com/mattn/go-colorable v0.0.9 06:50:07 go: finding github.com/mattn/go-isatty v0.0.3 [Pipeline] stash 06:50:07 go: finding github.com/miekg/dns v1.0.14 06:50:07 go: finding github.com/mitchellh/cli v1.0.0 06:50:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:50:07 go: finding github.com/mitchellh/copystructure v1.0.0 06:50:07 go: finding github.com/mitchellh/go-homedir v1.0.0 06:50:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:50:07 go: finding github.com/mitchellh/gox v0.4.0 06:50:08 Stashed 1 file(s) [Pipeline] } 06:50:08 go: finding github.com/mitchellh/iochan v1.0.0 06:50:08 go: finding github.com/mitchellh/mapstructure v1.1.2 06:50:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:50:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:50:08 go: finding github.com/pelletier/go-toml v1.2.0 06:50:08 go: finding github.com/pkg/errors v0.8.1 06:50:08 go: finding github.com/pmezard/go-difflib v1.0.0 06:50:08 go: finding github.com/posener/complete v1.1.1 06:50:08 $ docker stop --time=1 54c667ce6c4573136e1feefea7c15813679e08c2edcda58e11f47d04824b0f85 06:50:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:50:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:50:08 go: finding github.com/stretchr/objx v0.1.0 06:50:08 go: finding github.com/stretchr/testify v1.5.1 06:50:08 go: finding github.com/ugorji/go v1.1.4 06:50:08 go: finding github.com/x448/float16 v0.8.4 06:50:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:50:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:50:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:50:08 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:50:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:50:08 go: finding gopkg.in/yaml.v2 v2.2.8 06:50:09 $ docker rm -f 54c667ce6c4573136e1feefea7c15813679e08c2edcda58e11f47d04824b0f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:11 + ls -al . 06:50:11 total 180 06:50:11 drwxrwxr-x. 11 jenkins jenkins 4096 May 4 06:50 . 06:50:11 drwxrwxr-x. 4 jenkins jenkins 28 May 4 06:48 .. 06:50:11 drwxrwxr-x. 3 jenkins jenkins 20 May 4 06:48 api 06:50:11 drwxrwxr-x. 2 jenkins jenkins 64 May 4 06:48 bin 06:50:11 -rw-r--r--. 1 jenkins jenkins 110877 May 4 06:50 coverage.out 06:50:11 -rw-rw-r--. 1 jenkins jenkins 936 May 4 06:48 Dockerfile.build 06:50:11 -rw-rw-r--. 1 jenkins jenkins 140 May 4 06:48 .dockerignore 06:50:11 drwxrwxr-x. 4 jenkins jenkins 48 May 4 06:48 example 06:50:11 drwxrwxr-x. 8 jenkins jenkins 179 May 4 06:48 .git 06:50:11 drwxrwxr-x. 2 jenkins jenkins 38 May 4 06:48 .github 06:50:11 -rw-rw-r--. 1 jenkins jenkins 138 May 4 06:48 .gitignore 06:50:11 -rw-r--r--. 1 jenkins jenkins 446 May 4 06:50 go.mod 06:50:11 -rw-r--r--. 1 jenkins jenkins 12076 May 4 06:50 go.sum 06:50:11 drwxrwxr-x. 15 jenkins jenkins 217 May 4 06:48 internal 06:50:11 -rw-rw-r--. 1 jenkins jenkins 808 May 4 06:48 Jenkinsfile 06:50:11 -rw-rw-r--. 1 jenkins jenkins 11341 May 4 06:48 LICENSE 06:50:11 -rw-rw-r--. 1 jenkins jenkins 892 May 4 06:48 Makefile 06:50:11 drwxrwxr-x. 5 jenkins jenkins 50 May 4 06:48 pkg 06:50:11 -rw-rw-r--. 1 jenkins jenkins 2249 May 4 06:48 README.md 06:50:11 -rw-rw-r--. 1 jenkins jenkins 3636 May 4 06:48 RELEASE-NOTES.txt 06:50:11 drwxrwxr-x. 3 jenkins jenkins 73 May 4 06:48 .semver 06:50:11 drwxrwxr-x. 4 jenkins jenkins 54 May 4 06:48 snap 06:50:11 -rw-rw-r--. 1 jenkins jenkins 5 May 4 06:45 VERSION 06:50:11 -rw-rw-r--. 1 jenkins jenkins 222 May 4 06:48 version.go [Pipeline] isUnix [Pipeline] sh 06:50:11 + 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=82cb5f2ff940b20913c661d9e07cbf1b261895af --label arch=amd64 --label version=0.0.0 . 06:50:11 Sending build context to Docker daemon 3.159MB 06:50:11 Step 1/21 : ARG BASE=golang:1.13-alpine 06:50:11 Step 2/21 : FROM ${BASE} AS builder 06:50:11 ---> ded8926c7cda 06:50:11 Step 3/21 : ARG MAKE='make build' 06:50:11 ---> Running in 51799fd9b4e1 06:50:11 Removing intermediate container 51799fd9b4e1 06:50:11 ---> c3d423f71a81 06:50:11 Step 4/21 : WORKDIR /device-sdk-go 06:50:12 ---> Running in 9fcdab7b20fe 06:50:12 Removing intermediate container 9fcdab7b20fe 06:50:12 ---> 1091918f3cc9 06:50:12 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:12 ---> Running in ec627552163d 06:50:12 Removing intermediate container ec627552163d 06:50:12 ---> 2b3bef6b09ea 06:50:12 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:12 ---> Running in 950574ab67d1 06:50:13 Removing intermediate container 950574ab67d1 06:50:13 ---> 5e367756ad7c 06:50:13 Step 7/21 : RUN apk add --update --no-cache make git 06:50:13 ---> Running in 36eb64356ac9 06:50:13 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:50:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:50:14 OK: 143 MiB in 39 packages 06:50:14 Removing intermediate container 36eb64356ac9 06:50:14 ---> 13e414c986a2 06:50:14 Step 8/21 : COPY . . 06:50:15 ---> 2b595f4575cb 06:50:15 Step 9/21 : RUN ${MAKE} 06:50:15 ---> Running in 23af342343be 06:50:15 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 06:50:18 Removing intermediate container 6438978d8798 06:50:18 ---> efd0e866fdbd 06:50:18 Successfully built efd0e866fdbd 06:50:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:19 + docker inspect -f . ci-base-image-arm64 06:50:19 . [Pipeline] withDockerContainer 06:50:20 prd-ubuntu18.04-docker-arm64-4c-16g-7103 does not seem to be running inside a container 06:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:50:21 $ docker top 14d66ce3ad37b544f3e705279229d5dcef159f9f69b2ee1022f2202baf75f33b -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:23 + go version 06:50:23 go version go1.13.5 linux/arm64 [Pipeline] sh 06:50:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:50:23 + make test 06:50:23 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:50:23 Removing intermediate container 23af342343be 06:50:23 ---> 6eb4cb9547fd 06:50:23 Step 10/21 : FROM scratch 06:50:23 ---> 06:50:23 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:23 ---> Running in 20431a673574 06:50:24 Removing intermediate container 20431a673574 06:50:24 ---> 294ae285bec9 06:50:24 Step 12/21 : ENV APP_PORT=49990 06:50:24 ---> Running in 570d2af1e3f9 06:50:24 Removing intermediate container 570d2af1e3f9 06:50:24 ---> 211f3751b0ec 06:50:24 Step 13/21 : EXPOSE $APP_PORT 06:50:24 ---> Running in d8fc93fc58bf 06:50:24 Removing intermediate container d8fc93fc58bf 06:50:24 ---> 9253a74daccb 06:50:24 Step 14/21 : WORKDIR / 06:50:24 ---> Running in b40d53772ebc 06:50:24 Removing intermediate container b40d53772ebc 06:50:24 ---> 0ee257400dbf 06:50:24 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:50:24 ---> 11a0ddf68124 06:50:24 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:50:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:50:25 ---> ed2b6c4a08cc 06:50:25 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:50:25 ---> 10f843e2175f 06:50:25 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:50:25 ---> Running in a022c3b19126 06:50:25 Removing intermediate container a022c3b19126 06:50:25 ---> 23a2831cc721 06:50:25 Step 19/21 : LABEL arch=amd64 06:50:25 ---> Running in 94ae655a2092 06:50:25 Removing intermediate container 94ae655a2092 06:50:25 ---> dbac95830191 06:50:25 Step 20/21 : LABEL git_sha=82cb5f2ff940b20913c661d9e07cbf1b261895af 06:50:25 ---> Running in aa9dc09290a2 06:50:26 Removing intermediate container aa9dc09290a2 06:50:26 ---> 43a05aa57f79 06:50:26 Step 21/21 : LABEL version=0.0.0 06:50:26 ---> Running in 31bc337dfd35 06:50:26 Removing intermediate container 31bc337dfd35 06:50:26 ---> aef1acca3ac7 06:50:26 [Warning] One or more build-args [ARCH] were not consumed 06:50:26 Successfully built aef1acca3ac7 06:50:26 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:50:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:50:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:50:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:50:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.030s coverage: 22.1% of statements 06:50:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.202s coverage: 95.8% of statements 06:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.137s coverage: 11.4% of statements 06:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 21.7% of statements 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.149s coverage: 36.9% of statements 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.549s coverage: 65.2% of statements 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:51:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.050s coverage: 52.6% of statements 06:51:31 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:51:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.338s coverage: 68.9% of statements 06:51:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:51:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:51:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:51:33 gofmt -l . 06:51:33 [ "`gofmt -l .`" = "" ] 06:51:34 ./bin/test-attribution-txt.sh 06:51:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:51:35 Warning: overwriting stash ‘coverage-report’ 06:51:35 Stashed 1 file(s) [Pipeline] } 06:51:35 $ docker stop --time=1 14d66ce3ad37b544f3e705279229d5dcef159f9f69b2ee1022f2202baf75f33b 06:51:38 $ docker rm -f 14d66ce3ad37b544f3e705279229d5dcef159f9f69b2ee1022f2202baf75f33b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:51:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:51:39 + ls -al . 06:51:39 total 220 06:51:39 drwxrwxr-x 11 jenkins jenkins 4096 May 4 06:51 . 06:51:39 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:49 .. 06:51:39 -rw-rw-r-- 1 jenkins jenkins 140 May 4 06:49 .dockerignore 06:51:39 drwxrwxr-x 8 jenkins jenkins 4096 May 4 06:49 .git 06:51:39 drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:49 .github 06:51:39 -rw-rw-r-- 1 jenkins jenkins 138 May 4 06:49 .gitignore 06:51:39 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:49 .semver 06:51:39 -rw-rw-r-- 1 jenkins jenkins 936 May 4 06:49 Dockerfile.build 06:51:39 -rw-rw-r-- 1 jenkins jenkins 808 May 4 06:49 Jenkinsfile 06:51:39 -rw-rw-r-- 1 jenkins jenkins 11341 May 4 06:49 LICENSE 06:51:39 -rw-rw-r-- 1 jenkins jenkins 892 May 4 06:49 Makefile 06:51:39 -rw-rw-r-- 1 jenkins jenkins 2249 May 4 06:49 README.md 06:51:39 -rw-rw-r-- 1 jenkins jenkins 3636 May 4 06:49 RELEASE-NOTES.txt 06:51:39 -rw-rw-r-- 1 jenkins jenkins 5 May 4 06:45 VERSION 06:51:39 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:49 api 06:51:39 drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:49 bin 06:51:39 -rw-r--r-- 1 jenkins jenkins 110877 May 4 06:51 coverage.out 06:51:39 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:49 example 06:51:39 -rw-r--r-- 1 jenkins jenkins 446 May 4 06:51 go.mod 06:51:39 -rw-r--r-- 1 jenkins jenkins 12076 May 4 06:51 go.sum 06:51:39 drwxrwxr-x 15 jenkins jenkins 4096 May 4 06:49 internal 06:51:39 drwxrwxr-x 5 jenkins jenkins 4096 May 4 06:49 pkg 06:51:39 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:49 snap 06:51:39 -rw-rw-r-- 1 jenkins jenkins 222 May 4 06:49 version.go [Pipeline] isUnix [Pipeline] sh 06:51:40 + 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=82cb5f2ff940b20913c661d9e07cbf1b261895af --label arch=arm64 --label version=0.0.0 . 06:51:40 Sending build context to Docker daemon 3.159MB 06:51:40 Step 1/21 : ARG BASE=golang:1.13-alpine 06:51:40 Step 2/21 : FROM ${BASE} AS builder 06:51:40 ---> efd0e866fdbd 06:51:40 Step 3/21 : ARG MAKE='make build' 06:51:41 ---> Running in 0e8c27b77082 06:51:41 Removing intermediate container 0e8c27b77082 06:51:41 ---> af189ad886f4 06:51:41 Step 4/21 : WORKDIR /device-sdk-go 06:51:41 ---> Running in 0e666ce62f3b 06:51:41 Removing intermediate container 0e666ce62f3b 06:51:41 ---> f848bed9d322 06:51:41 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:42 ---> Running in c35cad2dbcc9 06:51:42 Removing intermediate container c35cad2dbcc9 06:51:42 ---> 07052cf4a828 06:51:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:42 ---> Running in b10655bb6fb7 06:51:44 Removing intermediate container b10655bb6fb7 06:51:44 ---> 81eb55a333fc 06:51:44 Step 7/21 : RUN apk add --update --no-cache make git 06:51:44 ---> Running in b835daea5ec5 06:51:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:51:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:51:46 OK: 125 MiB in 39 packages 06:51:48 Removing intermediate container b835daea5ec5 06:51:48 ---> ac7ba77dd05b 06:51:48 Step 8/21 : COPY . . 06:51:49 ---> 7d1f45ca3816 06:51:49 Step 9/21 : RUN ${MAKE} 06:51:49 ---> Running in 7d5a329e38e4 06:51:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:52:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:52:17 Removing intermediate container 7d5a329e38e4 06:52:17 ---> 4a0ae48f60cb 06:52:17 Step 10/21 : FROM scratch 06:52:17 ---> 06:52:17 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:17 ---> Running in 68f2f46c6ff2 06:52:18 Removing intermediate container 68f2f46c6ff2 06:52:18 ---> af5de62ac7ab 06:52:18 Step 12/21 : ENV APP_PORT=49990 06:52:18 ---> Running in b0092f4a3c8c 06:52:18 Removing intermediate container b0092f4a3c8c 06:52:18 ---> c4b44c1020d6 06:52:18 Step 13/21 : EXPOSE $APP_PORT 06:52:18 ---> Running in f1d583320276 06:52:18 Removing intermediate container f1d583320276 06:52:18 ---> 28b44aef0f12 06:52:18 Step 14/21 : WORKDIR / 06:52:18 ---> Running in b7ef7d39fd61 06:52:19 Removing intermediate container b7ef7d39fd61 06:52:19 ---> 9711d010bf01 06:52:19 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:52:20 ---> 7367de98aa60 06:52:20 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:52:20 ---> 40e1587d0ef9 06:52:20 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:52:21 ---> a61d3ea52491 06:52:21 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:21 ---> Running in 6a995c414c0c 06:52:21 Removing intermediate container 6a995c414c0c 06:52:21 ---> 2c1fc590a450 06:52:21 Step 19/21 : LABEL arch=arm64 06:52:22 ---> Running in d38f5c9793ad 06:52:22 Removing intermediate container d38f5c9793ad 06:52:22 ---> d8532b020d47 06:52:22 Step 20/21 : LABEL git_sha=82cb5f2ff940b20913c661d9e07cbf1b261895af 06:52:22 ---> Running in 3f829c8e69f4 06:52:22 Removing intermediate container 3f829c8e69f4 06:52:22 ---> 32b608f67d36 06:52:22 Step 21/21 : LABEL version=0.0.0 06:52:23 ---> Running in 849581bec8e3 06:52:23 Removing intermediate container 849581bec8e3 06:52:23 ---> ef88d2ae2bda 06:52:23 [Warning] One or more build-args [ARCH] were not consumed 06:52:23 Successfully built ef88d2ae2bda 06:52:23 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] stage [Pipeline] { (Snap) Stage "Snap" 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 06:52:24 provisioning config files... 06:52:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config1301958649809470859tmp [Pipeline] { [Pipeline] sh 06:52:25 + curl -s https://codecov.io/bash 06:52:25 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config1301958649809470859tmp 06:52:25 06:52:25 _____ _ 06:52:25 / ____| | | 06:52:25 | | ___ __| | ___ ___ _____ __ 06:52:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:25 Bash-tbd 06:52:25 06:52:25 06:52:25 ==> Jenkins CI detected. 06:52:25 project root: . 06:52:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:25 ==> Running gcov in . (disable via -X gcov) 06:52:25 ==> Python coveragepy not found 06:52:25 ==> Searching for coverage reports in: 06:52:25 + . 06:52:25 -> Found 1 reports 06:52:25 ==> Detecting git/mercurial file structure 06:52:25 ==> Reading reports 06:52:25 + ./coverage.out bytes=110877 06:52:25 ==> Appending adjustments 06:52:25 http://docs.codecov.io/docs/fixing-reports 06:52:25 + Found adjustments 06:52:25 ==> Gzipping contents 06:52:25 ==> Uploading reports 06:52:25 url: https://codecov.io 06:52:25 query: branch=PR-521&commit=82cb5f2ff940b20913c661d9e07cbf1b261895af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-521%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=521&job= 06:52:25 -> Pinging Codecov 06:52:25 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-521&commit=82cb5f2ff940b20913c661d9e07cbf1b261895af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-521%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=521&job= 06:52:26 -> Uploading 06:52:26 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/82cb5f2ff940b20913c661d9e07cbf1b261895af [Pipeline] } 06:52:26 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 06:52:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:52:28 ---> package-listing.sh 06:52:28 ++ facter osfamily 06:52:28 ++ tr '[:upper:]' '[:lower:]' 06:52:28 + OS_FAMILY=redhat 06:52:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-521 06:52:28 + START_PACKAGES=/tmp/packages_start.txt 06:52:28 + END_PACKAGES=/tmp/packages_end.txt 06:52:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:52:28 + PACKAGES=/tmp/packages_start.txt 06:52:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-521 ']' 06:52:28 + PACKAGES=/tmp/packages_end.txt 06:52:28 + case "${OS_FAMILY}" in 06:52:28 + rpm -qa 06:52:28 + sort 06:52:32 + '[' -f /tmp/packages_start.txt ']' 06:52:32 + '[' -f /tmp/packages_end.txt ']' 06:52:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:52:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-521 ']' 06:52:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-521/archives/ 06:52:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-521/archives/ [Pipeline] isUnix [Pipeline] sh 06:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:52:32 06:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:52:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:52:33 alpine: Pulling from edgex-lftools-log-publisher 06:52:33 c9b1b535fdd9: Pulling fs layer 06:52:33 2cc5ad85d9ab: Pulling fs layer 06:52:33 756a868c4378: Pulling fs layer 06:52:33 444b2fc9a129: Pulling fs layer 06:52:33 ea15f1150254: Pulling fs layer 06:52:33 41b27a9f41bf: Pulling fs layer 06:52:33 28c525ee5125: Pulling fs layer 06:52:33 094b1ea09ed8: Pulling fs layer 06:52:33 138eaada9080: Pulling fs layer 06:52:33 0622d0fa9048: Pulling fs layer 06:52:33 41b27a9f41bf: Waiting 06:52:33 28c525ee5125: Waiting 06:52:33 094b1ea09ed8: Waiting 06:52:33 138eaada9080: Waiting 06:52:33 0622d0fa9048: Waiting 06:52:33 444b2fc9a129: Waiting 06:52:33 ea15f1150254: Waiting 06:52:33 2cc5ad85d9ab: Download complete 06:52:33 444b2fc9a129: Verifying Checksum 06:52:33 444b2fc9a129: Download complete 06:52:33 c9b1b535fdd9: Verifying Checksum 06:52:33 c9b1b535fdd9: Download complete 06:52:33 ea15f1150254: Verifying Checksum 06:52:33 ea15f1150254: Download complete 06:52:33 28c525ee5125: Verifying Checksum 06:52:33 28c525ee5125: Download complete 06:52:33 756a868c4378: Verifying Checksum 06:52:33 756a868c4378: Download complete 06:52:33 c9b1b535fdd9: Pull complete 06:52:33 138eaada9080: Verifying Checksum 06:52:33 138eaada9080: Download complete 06:52:33 0622d0fa9048: Verifying Checksum 06:52:33 0622d0fa9048: Download complete 06:52:33 094b1ea09ed8: Verifying Checksum 06:52:33 094b1ea09ed8: Download complete 06:52:33 2cc5ad85d9ab: Pull complete 06:52:34 41b27a9f41bf: Verifying Checksum 06:52:34 41b27a9f41bf: Download complete 06:52:35 756a868c4378: Pull complete 06:52:35 444b2fc9a129: Pull complete 06:52:35 ea15f1150254: Pull complete 06:52:39 41b27a9f41bf: Pull complete 06:52:39 28c525ee5125: Pull complete 06:52:41 094b1ea09ed8: Pull complete 06:52:41 138eaada9080: Pull complete 06:52:41 0622d0fa9048: Pull complete 06:52:41 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:52:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:52:41 prd-centos7-docker-4c-2g-7100 does not seem to be running inside a container 06:52:41 $ 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-521 -v /w/workspace/dgexfoundry_device-sdk-go_PR-521:/w/workspace/dgexfoundry_device-sdk-go_PR-521:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-521@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:52:42 $ docker top d3ade3e16595577cbada51fd49f7bb88bd513fd10cad62f43aa4dab62d669453 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:43 provisioning config files... 06:52:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config8107597932714998466tmp [Pipeline] { [Pipeline] echo 06:52:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:52:43 ---> create-netrc.sh [Pipeline] echo 06:52:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:52:43 ---> logs-deploy.sh 06:52:43 + ARCHIVE_ARTIFACTS= 06:52:43 + LOGS_SERVER=https://logs.edgexfoundry.org 06:52:43 + '[' https://logs.edgexfoundry.org == None ']' 06:52:43 + NEXUS_URL=https://nexus.edgexfoundry.org 06:52:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/2 06:52:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-521/2/ 06:52:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/2 /w/workspace/dgexfoundry_device-sdk-go_PR-521 06:52:45 Archives upload complete. 06:52:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-521/2/