Pull request #504 opened 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9151334accf12bfa484664176a95c1e38501c6be+0e104270bcdba6d57d1eb654a33ea3a0d313d58c (f9fb5ea8aab4e1f8d81e6394202b067100c8b97f) Running in Durability level: MAX_SURVIVABILITY 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-504/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 > git --version # 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-5362 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [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-504 # 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/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # 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/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # 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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 Commit message: "feat(environment): Allow uppercase environment overrides" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:57:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:57:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:57:52 ========================================================= 18:57:52 EdgeX Global Pipelines Version Info 18:57:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:57:53 ------------------- 18:57:53 stable info: 18:57:53 ------------------- 18:57:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:57:53 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:57:53 Message: update stable to v1.0.73 18:57:54 ------------------- 18:57:54 experimental info: 18:57:54 ------------------- 18:57:54 Commited By: **** collab-it+edgex@linuxfoundation.org 18:57:54 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:57:54 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:57:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:57:56 18:57:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:57:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:57:57 latest: Pulling from edgex-devops/git-semver 18:57:57 9123ac7c32f7: Pulling fs layer 18:57:57 b8cc5d1170e3: Pulling fs layer 18:57:57 2924cbbf6a41: Pulling fs layer 18:57:57 93b08a4f1073: Pulling fs layer 18:57:57 b8cc5d1170e3: Download complete 18:57:57 9123ac7c32f7: Verifying Checksum 18:57:57 9123ac7c32f7: Download complete 18:57:57 93b08a4f1073: Verifying Checksum 18:57:57 93b08a4f1073: Download complete 18:57:57 2924cbbf6a41: Verifying Checksum 18:57:57 2924cbbf6a41: Download complete 18:57:57 9123ac7c32f7: Pull complete 18:57:57 b8cc5d1170e3: Pull complete 18:57:58 2924cbbf6a41: Pull complete 18:57:58 93b08a4f1073: Pull complete 18:57:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:57:58 prd-centos7-docker-4c-2g-5362 does not seem to be running inside a container 18:57:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-504 -v /w/workspace/dgexfoundry_device-sdk-go_PR-504:/w/workspace/dgexfoundry_device-sdk-go_PR-504:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:57:59 $ docker top ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:59 [ssh-agent] Looking for ssh-agent implementation... 18:57:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:59 $ docker exec ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent 18:58:00 SSH_AUTH_SOCK=/tmp/ssh-tPmjJxvk1vux/agent.14 18:58:00 SSH_AGENT_PID=20 18:58:00 Running ssh-add (command line suppressed) 18:58:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_2041610853260173775.key (/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_2041610853260173775.key) 18:58:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:58:00 + git describe --exact-match --tags HEAD 18:58:00 fatal: No names found, cannot describe anything. [Pipeline] } 18:58:00 $ docker exec --env ******** --env ******** ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent -k 18:58:00 unset SSH_AUTH_SOCK; 18:58:00 unset SSH_AGENT_PID; 18:58:00 echo Agent pid 20 killed; 18:58:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:58:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:58:01 This usually means this commit has not been tagged. [Pipeline] sshagent 18:58:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:58:01 [ssh-agent] Looking for ssh-agent implementation... 18:58:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:58:01 $ docker exec ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent 18:58:01 SSH_AUTH_SOCK=/tmp/ssh-Bl8lI2KzQhth/agent.55 18:58:01 SSH_AGENT_PID=62 18:58:01 Running ssh-add (command line suppressed) 18:58:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_9073047265513502985.key (/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_9073047265513502985.key) 18:58:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:58:02 + git semver init 18:58:02 # -> Open(): unable to determine branch for HEAD 18:58:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-504/.git 18:58:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-504 18:58:02 # $SEMVER_REMOTE_NAME = origin 18:58:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:58:02 # $SEMVER_USER_NAME = edgex-jenkins 18:58:02 # $SEMVER_BRANCH = PR-504 18:58:02 # $SEMVER_TEMP = /tmp/semver-196076437 18:58:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:58:02 # '/tmp/semver-196076437' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-504/.semver' 18:58:02 # -> Force: false 18:58:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-504/.semver [Pipeline] } 18:58:02 $ docker exec --env ******** --env ******** ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent -k 18:58:02 unset SSH_AUTH_SOCK; 18:58:02 unset SSH_AGENT_PID; 18:58:02 echo Agent pid 62 killed; 18:58:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:58:03 + git semver [Pipeline] } 18:58:03 $ docker stop --time=1 ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d 18:58:04 $ docker rm -f ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:58:05 Stashed 52 file(s) [Pipeline] echo 18:58:05 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 18:58:21 Still waiting to schedule task 18:58:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:58:21 Still waiting to schedule task 18:58:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:59:42 Running on prd-centos7-docker-4c-2g-5366 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [Pipeline] { [Pipeline] ws 18:59:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:59:45 using credential edgex-jenkins-ssh 18:59:45 Cloning the remote Git repository 18:59:45 Cloning with configured refspecs honoured and without tags 18:59:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:59:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:59:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:59:44 > git --version # timeout=10 18:59:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:59:45 Fetching without tags 18:59:46 Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be 18:59:46 Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be 18:59:46 Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) 18:59:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:59:45 > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # timeout=10 18:59:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:59:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:59:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:59:45 > git config core.sparsecheckout # timeout=10 18:59:45 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 18:59:45 > git remote # timeout=10 18:59:45 > git config --get remote.origin.url # timeout=10 18:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:45 > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 18:59:45 > git rev-parse HEAD^{commit} # timeout=10 18:59:45 > git config core.sparsecheckout # timeout=10 18:59:45 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 18:59:49 Commit message: "feat(environment): Allow uppercase environment overrides" 18:59:49 > git --version # timeout=10 18:59:49 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:59:51 ========================================================= 18:59:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:59:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:59:51 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 18:59:51 Sending build context to Docker daemon 3.01MB 18:59:51 Step 1/8 : ARG BASE=golang:1.13-alpine 18:59:51 Step 2/8 : FROM ${BASE} 18:59:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:59:51 e6b0cf9c0882: Pulling fs layer 18:59:51 2848faf0eed1: Pulling fs layer 18:59:51 0f37312ad70f: Pulling fs layer 18:59:51 5788d62ee057: Pulling fs layer 18:59:51 0e6b1d234666: Pulling fs layer 18:59:51 bf5d7aec512f: Pulling fs layer 18:59:51 34c802a77dc8: Pulling fs layer 18:59:51 9eb99e56ec68: Pulling fs layer 18:59:51 27c7a5d97fbd: Pulling fs layer 18:59:51 5c102a31e300: Pulling fs layer 18:59:51 dcfb455df0a1: Pulling fs layer 18:59:51 5788d62ee057: Waiting 18:59:51 0e6b1d234666: Waiting 18:59:51 bf5d7aec512f: Waiting 18:59:51 34c802a77dc8: Waiting 18:59:51 9eb99e56ec68: Waiting 18:59:51 27c7a5d97fbd: Waiting 18:59:51 5c102a31e300: Waiting 18:59:51 dcfb455df0a1: Waiting 18:59:52 0f37312ad70f: Verifying Checksum 18:59:52 0f37312ad70f: Download complete 18:59:52 2848faf0eed1: Verifying Checksum 18:59:52 2848faf0eed1: Download complete 18:59:52 0e6b1d234666: Verifying Checksum 18:59:52 0e6b1d234666: Download complete 18:59:52 bf5d7aec512f: Verifying Checksum 18:59:52 bf5d7aec512f: Download complete 18:59:52 e6b0cf9c0882: Verifying Checksum 18:59:52 e6b0cf9c0882: Download complete 18:59:52 e6b0cf9c0882: Pull complete 18:59:52 2848faf0eed1: Pull complete 18:59:53 34c802a77dc8: Verifying Checksum 18:59:53 34c802a77dc8: Download complete 18:59:53 27c7a5d97fbd: Verifying Checksum 18:59:53 27c7a5d97fbd: Download complete 18:59:53 5c102a31e300: Verifying Checksum 18:59:53 5c102a31e300: Download complete 18:59:53 dcfb455df0a1: Verifying Checksum 18:59:53 dcfb455df0a1: Download complete 18:59:53 5788d62ee057: Verifying Checksum 18:59:53 5788d62ee057: Download complete 18:59:53 9eb99e56ec68: Verifying Checksum 18:59:53 9eb99e56ec68: Download complete 18:59:54 0f37312ad70f: Pull complete 19:00:01 5788d62ee057: Pull complete 19:00:01 0e6b1d234666: Pull complete 19:00:01 bf5d7aec512f: Pull complete 19:00:05 34c802a77dc8: Pull complete 19:00:09 9eb99e56ec68: Pull complete 19:00:09 27c7a5d97fbd: Pull complete 19:00:09 5c102a31e300: Pull complete 19:00:09 dcfb455df0a1: Pull complete 19:00:09 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 19:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:00:09 ---> 7c70fe431013 19:00:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:00:09 ---> Running in 647fcdd4b591 19:00:10 Removing intermediate container 647fcdd4b591 19:00:10 ---> 41cce49ce7cf 19:00:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:00:10 ---> Running in 21320e9e0194 19:00:11 Removing intermediate container 21320e9e0194 19:00:11 ---> c064231223fb 19:00:11 Step 5/8 : RUN apk add --no-cache make git 19:00:11 ---> Running in fa9d60fa061b 19:00:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:00:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:00:16 OK: 143 MiB in 39 packages 19:00:16 Removing intermediate container fa9d60fa061b 19:00:16 ---> 68d69a317b84 19:00:16 Step 6/8 : WORKDIR /device-sdk-go 19:00:16 ---> Running in 1ba433079790 19:00:16 Removing intermediate container 1ba433079790 19:00:16 ---> 82b55cb95f2d 19:00:16 Step 7/8 : COPY . . 19:00:17 ---> 0f81ebfb23fd 19:00:17 Step 8/8 : RUN go mod download 19:00:17 ---> Running in ddbeccceb26e 19:00:18 go: finding github.com/BurntSushi/toml v0.3.1 19:00:18 go: finding github.com/OneOfOne/xxhash v1.2.6 19:00:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:00:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:00:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:00:18 go: finding github.com/bgentry/speakeasy v0.1.0 19:00:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:00:18 go: finding github.com/davecgh/go-spew v1.1.1 19:00:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 19:00:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:00:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 19:00:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 19:00:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:00:18 go: finding github.com/fatih/color v1.7.0 19:00:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:00:18 go: finding github.com/go-kit/kit v0.8.0 19:00:18 go: finding github.com/go-logfmt/logfmt v0.4.0 19:00:18 go: finding github.com/go-stack/stack v1.8.0 19:00:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:00:18 go: finding github.com/google/uuid v1.1.0 19:00:18 go: finding github.com/gorilla/mux v1.7.1 19:00:18 go: finding github.com/hashicorp/consul/api v1.1.0 19:00:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:00:18 go: finding github.com/hashicorp/errwrap v1.0.0 19:00:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:00:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:00:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:00:18 go: finding github.com/hashicorp/go-multierror v1.0.0 19:00:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:00:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:00:18 go: finding github.com/hashicorp/go-syslog v1.0.0 19:00:18 go: finding github.com/hashicorp/go-uuid v1.0.1 19:00:18 go: finding github.com/hashicorp/go.net v0.0.1 19:00:18 go: finding github.com/hashicorp/golang-lru v0.5.0 19:00:18 go: finding github.com/hashicorp/logutils v1.0.0 19:00:18 go: finding github.com/hashicorp/mdns v1.0.0 19:00:18 go: finding github.com/hashicorp/memberlist v0.1.3 19:00:18 go: finding github.com/hashicorp/serf v0.8.2 19:00:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:00:19 go: finding github.com/mattn/go-colorable v0.0.9 19:00:19 go: finding github.com/mattn/go-isatty v0.0.3 19:00:19 go: finding github.com/miekg/dns v1.0.14 19:00:19 go: finding github.com/mitchellh/cli v1.0.0 19:00:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:00:19 go: finding github.com/mitchellh/copystructure v1.0.0 19:00:19 go: finding github.com/mitchellh/go-homedir v1.0.0 19:00:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:00:19 go: finding github.com/mitchellh/gox v0.4.0 19:00:19 go: finding github.com/mitchellh/iochan v1.0.0 19:00:19 go: finding github.com/mitchellh/mapstructure v1.1.2 19:00:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:00:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:00:19 go: finding github.com/pelletier/go-toml v1.2.0 19:00:19 go: finding github.com/pkg/errors v0.8.1 19:00:19 go: finding github.com/pmezard/go-difflib v1.0.0 19:00:19 go: finding github.com/posener/complete v1.1.1 19:00:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:00:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:00:19 go: finding github.com/stretchr/objx v0.1.0 19:00:19 go: finding github.com/stretchr/testify v1.5.1 19:00:19 go: finding github.com/ugorji/go v1.1.4 19:00:19 go: finding github.com/x448/float16 v0.8.4 19:00:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:00:19 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:00:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:00:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:00:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:00:19 go: finding gopkg.in/yaml.v2 v2.2.8 19:00:23 Removing intermediate container ddbeccceb26e 19:00:23 ---> 44dbf8fbc50a 19:00:23 Successfully built 44dbf8fbc50a 19:00:23 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 19:00:23 + docker inspect -f . ci-base-image-x86_64 19:00:23 . [Pipeline] withDockerContainer 19:00:24 prd-centos7-docker-4c-2g-5366 does not seem to be running inside a container 19:00:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 19:00:24 $ docker top 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:25 + go version 19:00:25 go version go1.13.5 linux/amd64 [Pipeline] sh 19:00:25 + make test 19:00:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:00:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:00:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:00:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:00:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 19:00:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.9% of statements 19:00:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements 19:01:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 11.4% of statements 19:01:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:01:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.111s coverage: 36.9% of statements 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 19:01:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.314s coverage: 65.2% of statements 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:01:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements 19:01:14 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 19:01:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.091s coverage: 68.9% of statements 19:01:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 19:01:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:01:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:01:14 gofmt -l . 19:01:14 [ "`gofmt -l .`" = "" ] 19:01:14 ./bin/test-attribution-txt.sh 19:01:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:01:15 Stashed 1 file(s) [Pipeline] } 19:01:15 $ docker stop --time=1 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 19:01:17 $ docker rm -f 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 19:01:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5368 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 19:01:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:19 + ls -al . 19:01:19 total 176 19:01:19 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 19:01 . 19:01:19 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 18:59 .. 19:01:19 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 18:59 api 19:01:19 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 18:59 bin 19:01:19 -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 19:01 coverage.out 19:01:19 -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 18:59 Dockerfile.build 19:01:19 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 18:59 .dockerignore 19:01:19 drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 18:59 example 19:01:19 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 18:59 .git 19:01:19 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 18:59 .github 19:01:19 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 18:59 .gitignore 19:01:19 -rw-r--r--. 1 jenkins jenkins 446 Apr 21 19:01 go.mod 19:01:19 -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 19:01 go.sum 19:01:19 drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 18:59 internal 19:01:19 -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 18:59 Jenkinsfile 19:01:19 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 18:59 LICENSE 19:01:19 -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 18:59 Makefile 19:01:19 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 18:59 pkg 19:01:19 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 18:59 README.md 19:01:19 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 18:59 .semver 19:01:19 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 18:59 snap 19:01:19 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 18:58 VERSION 19:01:19 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 18:59 version.go [Pipeline] isUnix [Pipeline] sh 19:01:19 + 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=9151334accf12bfa484664176a95c1e38501c6be --label arch=amd64 --label version=0.0.0 . 19:01:19 Sending build context to Docker daemon 3.138MB 19:01:19 Step 1/21 : ARG BASE=golang:1.13-alpine 19:01:19 Step 2/21 : FROM ${BASE} AS builder 19:01:19 ---> 44dbf8fbc50a 19:01:19 Step 3/21 : ARG MAKE='make build' 19:01:19 ---> Running in fbb522cae108 19:01:19 Removing intermediate container fbb522cae108 19:01:19 ---> 4c8f38a56fb2 19:01:19 Step 4/21 : WORKDIR /device-sdk-go 19:01:19 ---> Running in 84208c3cf484 19:01:19 Removing intermediate container 84208c3cf484 19:01:19 ---> 750c6094a2c7 19:01:19 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:01:19 ---> Running in 3e0adde2edaf 19:01:20 Removing intermediate container 3e0adde2edaf 19:01:20 ---> b16e8bbf7659 19:01:20 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:20 ---> Running in 2d2435ce3af5 19:01:20 Removing intermediate container 2d2435ce3af5 19:01:20 ---> 56699f686afc 19:01:20 Step 7/21 : RUN apk add --update --no-cache make git 19:01:20 ---> Running in 560f81df6949 19:01:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:01:24 using credential edgex-jenkins-ssh 19:01:24 Cloning the remote Git repository 19:01:24 Cloning with configured refspecs honoured and without tags 19:01:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:01:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 19:01:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:01:24 > git --version # timeout=10 19:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:01:25 Fetching without tags 19:01:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:01:25 > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # timeout=10 19:01:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:01:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:01:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:01:26 Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be 19:01:26 Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be 19:01:26 Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) 19:01:26 OK: 143 MiB in 39 packages 19:01:26 Removing intermediate container 560f81df6949 19:01:26 ---> e902d08efb34 19:01:26 Step 8/21 : COPY . . 19:01:26 > git config core.sparsecheckout # timeout=10 19:01:26 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 19:01:26 > git remote # timeout=10 19:01:26 > git config --get remote.origin.url # timeout=10 19:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:26 > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 19:01:26 > git rev-parse HEAD^{commit} # timeout=10 19:01:26 > git config core.sparsecheckout # timeout=10 19:01:26 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 19:01:27 ---> 01af01f085b4 19:01:27 Step 9/21 : RUN ${MAKE} 19:01:27 ---> Running in db41f64a9e71 19:01:27 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 19:01:31 Commit message: "feat(environment): Allow uppercase environment overrides" 19:01:31 > git --version # timeout=10 19:01:31 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:01:32 ========================================================= 19:01:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:01:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:01:34 + 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 . 19:01:35 Sending build context to Docker daemon 3.01MB 19:01:35 Step 1/8 : ARG BASE=golang:1.13-alpine 19:01:35 Step 2/8 : FROM ${BASE} 19:01:35 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:01:35 cde5963f3b93: Pulling fs layer 19:01:35 2a23fa8c16f7: Pulling fs layer 19:01:35 777b28850792: Pulling fs layer 19:01:35 8a11ddd9e578: Pulling fs layer 19:01:35 4cf88f913ddb: Pulling fs layer 19:01:35 1df406cf5192: Pulling fs layer 19:01:35 cd6300453558: Pulling fs layer 19:01:35 b9c365052c96: Pulling fs layer 19:01:35 a2d8cc88f415: Pulling fs layer 19:01:35 ea1d1ca13537: Pulling fs layer 19:01:35 3750a50a1c5e: Pulling fs layer 19:01:35 8a11ddd9e578: Waiting 19:01:35 4cf88f913ddb: Waiting 19:01:35 1df406cf5192: Waiting 19:01:35 cd6300453558: Waiting 19:01:35 b9c365052c96: Waiting 19:01:35 a2d8cc88f415: Waiting 19:01:35 ea1d1ca13537: Waiting 19:01:35 3750a50a1c5e: Waiting 19:01:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:01:35 777b28850792: Verifying Checksum 19:01:35 777b28850792: Download complete 19:01:35 2a23fa8c16f7: Verifying Checksum 19:01:35 2a23fa8c16f7: Download complete 19:01:35 4cf88f913ddb: Verifying Checksum 19:01:35 4cf88f913ddb: Download complete 19:01:35 1df406cf5192: Download complete 19:01:36 cde5963f3b93: Verifying Checksum 19:01:36 Removing intermediate container db41f64a9e71 19:01:36 ---> 5b46dae885e0 19:01:36 Step 10/21 : FROM scratch 19:01:36 ---> 19:01:36 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:01:36 ---> Running in e2a21e76b812 19:01:36 Removing intermediate container e2a21e76b812 19:01:36 ---> b8817ab94019 19:01:36 Step 12/21 : ENV APP_PORT=49990 19:01:36 ---> Running in 2c5afc81beb7 19:01:36 Removing intermediate container 2c5afc81beb7 19:01:36 ---> 7ee891c15d3b 19:01:36 Step 13/21 : EXPOSE $APP_PORT 19:01:36 ---> Running in 0a02d3ccd8bc 19:01:36 Removing intermediate container 0a02d3ccd8bc 19:01:36 ---> edc5f6a8d81d 19:01:36 Step 14/21 : WORKDIR / 19:01:36 ---> Running in ad4efa14ada8 19:01:36 Removing intermediate container ad4efa14ada8 19:01:36 ---> 7a0e9290b661 19:01:36 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:01:37 cde5963f3b93: Pull complete 19:01:37 2a23fa8c16f7: Pull complete 19:01:37 ---> 23c2b1583717 19:01:37 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 19:01:37 ---> d728b04f1706 19:01:37 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 19:01:37 ---> 41dff74a1f29 19:01:37 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:01:37 ---> Running in 7db33955d8da 19:01:37 777b28850792: Pull complete 19:01:38 Removing intermediate container 7db33955d8da 19:01:38 ---> af228f6a6318 19:01:38 Step 19/21 : LABEL arch=amd64 19:01:38 ---> Running in ad2d67d9bb43 19:01:38 Removing intermediate container ad2d67d9bb43 19:01:38 ---> 3143339b2665 19:01:38 Step 20/21 : LABEL git_sha=9151334accf12bfa484664176a95c1e38501c6be 19:01:38 ---> Running in ca1c057b3a5c 19:01:38 Removing intermediate container ca1c057b3a5c 19:01:38 ---> aba2f79e577d 19:01:38 Step 21/21 : LABEL version=0.0.0 19:01:38 ---> Running in 34b5a2465519 19:01:38 Removing intermediate container 34b5a2465519 19:01:38 ---> 2fe1bbfe8fb4 19:01:38 [Warning] One or more build-args [ARCH] were not consumed 19:01:38 Successfully built 2fe1bbfe8fb4 19:01:38 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] } 19:01:40 cd6300453558: Download complete 19:01:40 a2d8cc88f415: Verifying Checksum 19:01:40 a2d8cc88f415: Download complete 19:01:43 ea1d1ca13537: Verifying Checksum 19:01:43 ea1d1ca13537: Download complete 19:01:43 3750a50a1c5e: Verifying Checksum 19:01:43 3750a50a1c5e: Download complete 19:01:45 b9c365052c96: Verifying Checksum 19:01:45 b9c365052c96: Download complete 19:01:47 8a11ddd9e578: Verifying Checksum 19:01:47 8a11ddd9e578: Download complete 19:01:59 8a11ddd9e578: Pull complete 19:01:59 4cf88f913ddb: Pull complete 19:01:59 1df406cf5192: Pull complete 19:02:03 cd6300453558: Pull complete 19:02:08 b9c365052c96: Pull complete 19:02:08 a2d8cc88f415: Pull complete 19:02:10 ea1d1ca13537: Pull complete 19:02:10 3750a50a1c5e: Pull complete 19:02:10 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 19:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:02:10 ---> 78745c68409d 19:02:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:02:14 ---> Running in ac5a0ec848e0 19:02:15 Removing intermediate container ac5a0ec848e0 19:02:15 ---> 03b8bb164dd7 19:02:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:15 ---> Running in a23f45eacafa 19:02:17 Removing intermediate container a23f45eacafa 19:02:17 ---> 65901210de64 19:02:17 Step 5/8 : RUN apk add --no-cache make git 19:02:17 ---> Running in dcb365d353d2 19:02:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:02:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:02:22 OK: 125 MiB in 39 packages 19:02:23 Removing intermediate container dcb365d353d2 19:02:23 ---> b957f3db5401 19:02:23 Step 6/8 : WORKDIR /device-sdk-go 19:02:23 ---> Running in 9535f0fbcbb7 19:02:23 Removing intermediate container 9535f0fbcbb7 19:02:23 ---> b139b1cbe563 19:02:23 Step 7/8 : COPY . . 19:02:24 ---> c45e198dcb71 19:02:24 Step 8/8 : RUN go mod download 19:02:24 ---> Running in beccc966f0ea 19:02:26 go: finding github.com/BurntSushi/toml v0.3.1 19:02:26 go: finding github.com/OneOfOne/xxhash v1.2.6 19:02:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:02:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:02:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:02:26 go: finding github.com/bgentry/speakeasy v0.1.0 19:02:26 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:02:26 go: finding github.com/davecgh/go-spew v1.1.1 19:02:26 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 19:02:26 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:02:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 19:02:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 19:02:26 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:02:26 go: finding github.com/fatih/color v1.7.0 19:02:26 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:02:26 go: finding github.com/go-kit/kit v0.8.0 19:02:26 go: finding github.com/go-logfmt/logfmt v0.4.0 19:02:26 go: finding github.com/go-stack/stack v1.8.0 19:02:27 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:02:27 go: finding github.com/google/uuid v1.1.0 19:02:27 go: finding github.com/gorilla/mux v1.7.1 19:02:27 go: finding github.com/hashicorp/consul/api v1.1.0 19:02:27 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:02:27 go: finding github.com/hashicorp/errwrap v1.0.0 19:02:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:02:27 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:02:27 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:02:27 go: finding github.com/hashicorp/go-multierror v1.0.0 19:02:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:02:27 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:02:27 go: finding github.com/hashicorp/go-syslog v1.0.0 19:02:27 go: finding github.com/hashicorp/go-uuid v1.0.1 19:02:27 go: finding github.com/hashicorp/go.net v0.0.1 19:02:27 go: finding github.com/hashicorp/golang-lru v0.5.0 19:02:27 go: finding github.com/hashicorp/logutils v1.0.0 19:02:27 go: finding github.com/hashicorp/mdns v1.0.0 19:02:27 go: finding github.com/hashicorp/memberlist v0.1.3 19:02:27 go: finding github.com/hashicorp/serf v0.8.2 19:02:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:02:27 go: finding github.com/mattn/go-colorable v0.0.9 19:02:27 go: finding github.com/mattn/go-isatty v0.0.3 19:02:27 go: finding github.com/miekg/dns v1.0.14 19:02:27 go: finding github.com/mitchellh/cli v1.0.0 19:02:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:02:27 go: finding github.com/mitchellh/copystructure v1.0.0 19:02:27 go: finding github.com/mitchellh/go-homedir v1.0.0 19:02:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:02:27 go: finding github.com/mitchellh/gox v0.4.0 19:02:27 go: finding github.com/mitchellh/iochan v1.0.0 19:02:27 go: finding github.com/mitchellh/mapstructure v1.1.2 19:02:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:02:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:02:27 go: finding github.com/pelletier/go-toml v1.2.0 19:02:27 go: finding github.com/pkg/errors v0.8.1 19:02:27 go: finding github.com/pmezard/go-difflib v1.0.0 19:02:27 go: finding github.com/posener/complete v1.1.1 19:02:27 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:02:27 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:02:27 go: finding github.com/stretchr/objx v0.1.0 19:02:27 go: finding github.com/stretchr/testify v1.5.1 19:02:27 go: finding github.com/ugorji/go v1.1.4 19:02:27 go: finding github.com/x448/float16 v0.8.4 19:02:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:02:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:02:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:02:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:02:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:02:27 go: finding gopkg.in/yaml.v2 v2.2.8 19:02:37 Removing intermediate container beccc966f0ea 19:02:37 ---> 56e30cf552c6 19:02:37 Successfully built 56e30cf552c6 19:02:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:02:38 + docker inspect -f . ci-base-image-arm64 19:02:38 . [Pipeline] withDockerContainer 19:02:38 prd-ubuntu18.04-docker-arm64-4c-16g-5368 does not seem to be running inside a container 19:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 19:02:40 $ docker top 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:41 + go version 19:02:41 go version go1.13.5 linux/arm64 [Pipeline] sh 19:02:42 + make test 19:02:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:02:43 ? github.com/edgexfoundry/device-sdk-go [no test files] 19:03:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 19:03:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 19:03:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 19:03:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 21.9% of statements 19:03:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.275s coverage: 95.8% of statements 19:03:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.4% of statements 19:03:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 19:03:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.175s coverage: 36.9% of statements 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 19:03:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.521s coverage: 65.2% of statements 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 19:03:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements 19:03:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 19:03:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.344s coverage: 68.9% of statements 19:03:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 19:03:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 19:03:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:03:53 gofmt -l . 19:03:53 [ "`gofmt -l .`" = "" ] 19:03:54 ./bin/test-attribution-txt.sh 19:03:54 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:03:55 Warning: overwriting stash ‘coverage-report’ 19:03:55 Stashed 1 file(s) [Pipeline] } 19:03:55 $ docker stop --time=1 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a 19:03:58 $ docker rm -f 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:00 + ls -al . 19:04:00 total 216 19:04:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 19:03 . 19:04:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 .. 19:04:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 19:01 .dockerignore 19:04:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 19:01 .git 19:04:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:01 .github 19:04:00 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 19:01 .gitignore 19:04:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:01 .semver 19:04:00 -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 19:01 Dockerfile.build 19:04:00 -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 19:01 Jenkinsfile 19:04:00 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 19:01 LICENSE 19:04:00 -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 19:01 Makefile 19:04:00 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 19:01 README.md 19:04:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 18:58 VERSION 19:04:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:01 api 19:04:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:01 bin 19:04:00 -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 19:03 coverage.out 19:04:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 example 19:04:00 -rw-r--r-- 1 jenkins jenkins 446 Apr 21 19:03 go.mod 19:04:00 -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 19:03 go.sum 19:04:00 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 19:01 internal 19:04:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 19:01 pkg 19:04:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 snap 19:04:00 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 19:01 version.go [Pipeline] isUnix [Pipeline] sh 19:04:00 + 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=9151334accf12bfa484664176a95c1e38501c6be --label arch=arm64 --label version=0.0.0 . 19:04:01 Sending build context to Docker daemon 3.138MB 19:04:01 Step 1/21 : ARG BASE=golang:1.13-alpine 19:04:01 Step 2/21 : FROM ${BASE} AS builder 19:04:01 ---> 56e30cf552c6 19:04:01 Step 3/21 : ARG MAKE='make build' 19:04:01 ---> Running in c1ef574ac576 19:04:01 Removing intermediate container c1ef574ac576 19:04:01 ---> faaaa3a25f9a 19:04:01 Step 4/21 : WORKDIR /device-sdk-go 19:04:01 ---> Running in 9cb4e4e6b2fd 19:04:02 Removing intermediate container 9cb4e4e6b2fd 19:04:02 ---> 7d18fdc0a4e9 19:04:02 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:04:02 ---> Running in f8fc16981325 19:04:02 Removing intermediate container f8fc16981325 19:04:02 ---> ef877735ce04 19:04:02 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:04:02 ---> Running in c58bbab4ac9b 19:04:04 Removing intermediate container c58bbab4ac9b 19:04:04 ---> b2a70f15e5f4 19:04:04 Step 7/21 : RUN apk add --update --no-cache make git 19:04:04 ---> Running in 1c9edd01bc79 19:04:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:04:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:04:07 OK: 125 MiB in 39 packages 19:04:08 Removing intermediate container 1c9edd01bc79 19:04:08 ---> 4c9f86347460 19:04:08 Step 8/21 : COPY . . 19:04:09 ---> adb069cbf96a 19:04:09 Step 9/21 : RUN ${MAKE} 19:04:09 ---> Running in de027c95fd59 19:04:10 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 19:04:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 19:04:37 Removing intermediate container de027c95fd59 19:04:37 ---> e019ef0817c7 19:04:37 Step 10/21 : FROM scratch 19:04:37 ---> 19:04:37 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:04:37 ---> Running in 83f6bdcb3179 19:04:37 Removing intermediate container 83f6bdcb3179 19:04:37 ---> a1ccc8694225 19:04:37 Step 12/21 : ENV APP_PORT=49990 19:04:37 ---> Running in 8815ab31dadd 19:04:37 Removing intermediate container 8815ab31dadd 19:04:37 ---> 4c41cc959278 19:04:37 Step 13/21 : EXPOSE $APP_PORT 19:04:37 ---> Running in 0f24b785f07e 19:04:37 Removing intermediate container 0f24b785f07e 19:04:37 ---> 9976ab5df539 19:04:37 Step 14/21 : WORKDIR / 19:04:37 ---> Running in d059169ecc2c 19:04:38 Removing intermediate container d059169ecc2c 19:04:38 ---> 0ce0c579a598 19:04:38 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 19:04:39 ---> cf1cf2b0ca2b 19:04:39 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 19:04:39 ---> f5588e69aa83 19:04:39 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 19:04:40 ---> dc283b7af99e 19:04:40 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:04:40 ---> Running in 2ea6ce53a1ba 19:04:40 Removing intermediate container 2ea6ce53a1ba 19:04:40 ---> e0e4dc8184c8 19:04:40 Step 19/21 : LABEL arch=arm64 19:04:40 ---> Running in a619c36b30a1 19:04:41 Removing intermediate container a619c36b30a1 19:04:41 ---> 5f40622d02d7 19:04:41 Step 20/21 : LABEL git_sha=9151334accf12bfa484664176a95c1e38501c6be 19:04:41 ---> Running in 7bdb150e3ed1 19:04:41 Removing intermediate container 7bdb150e3ed1 19:04:41 ---> 235d876cb8c8 19:04:41 Step 21/21 : LABEL version=0.0.0 19:04:42 ---> Running in ba9dee334ff3 19:04:42 Removing intermediate container ba9dee334ff3 19:04:42 ---> a7f9a3cfc33e 19:04:42 [Warning] One or more build-args [ARCH] were not consumed 19:04:42 Successfully built a7f9a3cfc33e 19:04:42 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 19:04:44 provisioning config files... 19:04:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config4699723556613128628tmp [Pipeline] { [Pipeline] sh 19:04:44 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config4699723556613128628tmp 19:04:44 + curl -s https://codecov.io/bash 19:04:44 19:04:44 _____ _ 19:04:44 / ____| | | 19:04:44 | | ___ __| | ___ ___ _____ __ 19:04:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:04:44 | |___| (_) | (_| | __/ (_| (_) \ V / 19:04:44 \_____\___/ \__,_|\___|\___\___/ \_/ 19:04:44 Bash-tbd 19:04:44 19:04:44 19:04:44 ==> Jenkins CI detected. 19:04:44 project root: . 19:04:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:04:44 ==> Running gcov in . (disable via -X gcov) 19:04:44 ==> Python coveragepy not found 19:04:44 ==> Searching for coverage reports in: 19:04:44 + . 19:04:44 -> Found 1 reports 19:04:44 ==> Detecting git/mercurial file structure 19:04:44 ==> Reading reports 19:04:44 + ./coverage.out bytes=110966 19:04:44 ==> Appending adjustments 19:04:44 http://docs.codecov.io/docs/fixing-reports 19:04:45 + Found adjustments 19:04:45 ==> Gzipping contents 19:04:45 ==> Uploading reports 19:04:45 url: https://codecov.io 19:04:45 query: branch=PR-504&commit=9151334accf12bfa484664176a95c1e38501c6be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=504&job= 19:04:45 -> Pinging Codecov 19:04:45 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-504&commit=9151334accf12bfa484664176a95c1e38501c6be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=504&job= 19:04:45 -> Uploading 19:04:46 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9151334accf12bfa484664176a95c1e38501c6be [Pipeline] } 19:04:46 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 19:04:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:04:48 ---> package-listing.sh 19:04:48 ++ facter osfamily 19:04:48 ++ tr '[:upper:]' '[:lower:]' 19:04:48 + OS_FAMILY=redhat 19:04:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-504 19:04:48 + START_PACKAGES=/tmp/packages_start.txt 19:04:48 + END_PACKAGES=/tmp/packages_end.txt 19:04:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:04:48 + PACKAGES=/tmp/packages_start.txt 19:04:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-504 ']' 19:04:48 + PACKAGES=/tmp/packages_end.txt 19:04:48 + case "${OS_FAMILY}" in 19:04:48 + rpm -qa 19:04:48 + sort 19:04:52 + '[' -f /tmp/packages_start.txt ']' 19:04:52 + '[' -f /tmp/packages_end.txt ']' 19:04:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:04:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-504 ']' 19:04:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-504/archives/ 19:04:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-504/archives/ [Pipeline] isUnix [Pipeline] sh 19:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:04:52 19:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:04:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:04:53 alpine: Pulling from edgex-lftools-log-publisher 19:04:53 c9b1b535fdd9: Pulling fs layer 19:04:53 2cc5ad85d9ab: Pulling fs layer 19:04:53 756a868c4378: Pulling fs layer 19:04:53 444b2fc9a129: Pulling fs layer 19:04:53 ea15f1150254: Pulling fs layer 19:04:53 41b27a9f41bf: Pulling fs layer 19:04:53 28c525ee5125: Pulling fs layer 19:04:53 094b1ea09ed8: Pulling fs layer 19:04:53 138eaada9080: Pulling fs layer 19:04:53 0622d0fa9048: Pulling fs layer 19:04:53 41b27a9f41bf: Waiting 19:04:53 28c525ee5125: Waiting 19:04:53 094b1ea09ed8: Waiting 19:04:53 444b2fc9a129: Waiting 19:04:53 ea15f1150254: Waiting 19:04:53 138eaada9080: Waiting 19:04:53 0622d0fa9048: Waiting 19:04:53 2cc5ad85d9ab: Verifying Checksum 19:04:53 2cc5ad85d9ab: Download complete 19:04:53 444b2fc9a129: Verifying Checksum 19:04:53 444b2fc9a129: Download complete 19:04:53 ea15f1150254: Download complete 19:04:53 c9b1b535fdd9: Verifying Checksum 19:04:53 c9b1b535fdd9: Download complete 19:04:53 28c525ee5125: Verifying Checksum 19:04:53 28c525ee5125: Download complete 19:04:53 c9b1b535fdd9: Pull complete 19:04:54 756a868c4378: Verifying Checksum 19:04:54 756a868c4378: Download complete 19:04:54 2cc5ad85d9ab: Pull complete 19:04:54 094b1ea09ed8: Verifying Checksum 19:04:54 094b1ea09ed8: Download complete 19:04:54 138eaada9080: Verifying Checksum 19:04:54 138eaada9080: Download complete 19:04:54 0622d0fa9048: Verifying Checksum 19:04:54 0622d0fa9048: Download complete 19:04:54 41b27a9f41bf: Verifying Checksum 19:04:54 41b27a9f41bf: Download complete 19:04:55 756a868c4378: Pull complete 19:04:55 444b2fc9a129: Pull complete 19:04:55 ea15f1150254: Pull complete 19:05:00 41b27a9f41bf: Pull complete 19:05:00 28c525ee5125: Pull complete 19:05:01 094b1ea09ed8: Pull complete 19:05:01 138eaada9080: Pull complete 19:05:01 0622d0fa9048: Pull complete 19:05:01 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:05:02 prd-centos7-docker-4c-2g-5362 does not seem to be running inside a container 19:05:02 $ 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-504 -v /w/workspace/dgexfoundry_device-sdk-go_PR-504:/w/workspace/dgexfoundry_device-sdk-go_PR-504:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:05:03 $ docker top 4ef9babcd8e89b3b8afb556ffa13b8fb912ce52f182a0a7f588897b57409d4a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:03 provisioning config files... 19:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config651562833098911336tmp [Pipeline] { [Pipeline] echo 19:05:03 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:05:04 ---> create-netrc.sh [Pipeline] echo 19:05:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:05:04 ---> logs-deploy.sh 19:05:04 + ARCHIVE_ARTIFACTS= 19:05:04 + LOGS_SERVER=https://logs.edgexfoundry.org 19:05:04 + '[' https://logs.edgexfoundry.org == None ']' 19:05:04 + NEXUS_URL=https://nexus.edgexfoundry.org 19:05:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 19:05:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-504/1/ 19:05:04 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 /w/workspace/dgexfoundry_device-sdk-go_PR-504 19:05:05 Archives upload complete. 19:05:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-504/1/