Pull request #565 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 388ecb70141d0b27ef264e32ec7c9fd9167c690c+fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 (50d168c1b35cf23ca72ba0b65478e377541860c2) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-565/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Ready to run at Fri Aug 14 17:20:46 UTC 2020 Resuming build at Fri Aug 14 17:20:46 UTC 2020 after Jenkins restart Running on prd-centos7-docker-4c-2g-16 in /w/workspace/dgexfoundry_device-sdk-go_PR-565 [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-565 # 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 388ecb70141d0b27ef264e32ec7c9fd9167c690c > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/565/head:refs/remotes/origin/PR-565 # 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 388ecb70141d0b27ef264e32ec7c9fd9167c690c Checking out Revision 388ecb70141d0b27ef264e32ec7c9fd9167c690c (PR-565) > git merge fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # timeout=10 Commit message: "fix: pass ctx into client initialization function" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo ========================================================= EdgeX Global Pipelines Version Info ========================================================= [Pipeline] libraryResource [Pipeline] sh ------------------- stable info: ------------------- Commited By: Ernesto Ojeda ernesto.ojeda@intel.com Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Message: update stable to v1.0.106 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + git log --format=format:%s -1 388ecb70141d0b27ef264e32ec7c9fd9167c690c [Pipeline] echo GIT_COMMIT: 388ecb70141d0b27ef264e32ec7c9fd9167c690c, Commit Message: fix: pass ctx into client initialization function [Pipeline] echo This is not a build commit. [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest latest: Pulling from edgex-devops/git-semver 31603596830f: Pulling fs layer 2a8b12db71e7: Pulling fs layer 6ca5941a6612: Pulling fs layer ecc8261a40a4: Pulling fs layer ecc8261a40a4: Waiting 2a8b12db71e7: Verifying Checksum 2a8b12db71e7: Download complete 31603596830f: Verifying Checksum 31603596830f: Download complete ecc8261a40a4: Verifying Checksum ecc8261a40a4: Download complete 6ca5941a6612: Verifying Checksum 6ca5941a6612: Download complete 31603596830f: Pull complete 2a8b12db71e7: Pull complete 6ca5941a6612: Pull complete ecc8261a40a4: Pull complete Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-16 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-565 -v /w/workspace/dgexfoundry_device-sdk-go_PR-565:/w/workspace/dgexfoundry_device-sdk-go_PR-565:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-565@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat $ docker top 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 ssh-agent SSH_AUTH_SOCK=/tmp/ssh-CofjOpCDpTXA/agent.12 SSH_AGENT_PID=17 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/private_key_9185735077990730125.key (/w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/private_key_9185735077990730125.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git describe --exact-match --tags HEAD fatal: No names found, cannot describe anything. [Pipeline] } $ docker exec --env ******** --env ******** 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 17 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 This usually means this commit has not been tagged. [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 ssh-agent SSH_AUTH_SOCK=/tmp/ssh-VspIuJ60mKV5/agent.45 SSH_AGENT_PID=51 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/private_key_6849165408313953616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/private_key_6849165408313953616.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver init # -> Open(): unable to determine branch for HEAD # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-565/.git # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-565 # $SEMVER_REMOTE_NAME = origin # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org # $SEMVER_USER_NAME = edgex-jenkins # $SEMVER_BRANCH = PR-565 # $SEMVER_TEMP = /tmp/semver-559487210 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP # '/tmp/semver-559487210' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-565/.semver' # -> Force: false # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-565/.semver [Pipeline] } $ docker exec --env ******** --env ******** 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 51 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 $ docker rm -f 446613c29c9e6100bcf9d291caf52b678d44f6c20c75696d19d38be23a331055 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash Stashed 26 file(s) [Pipeline] echo [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-blackbox-4c-2g-28’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-29’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-10’ is offline; ‘prd-centos7-docker-4c-2g-11’ is offline; ‘prd-centos7-docker-4c-2g-21’ is offline; ‘prd-centos7-docker-4c-2g-23’ is offline; ‘prd-centos7-docker-4c-2g-24’ is offline; ‘prd-centos7-docker-4c-2g-34’ is offline; ‘prd-centos7-docker-4c-2g-5’ is offline; ‘prd-centos7-docker-4c-2g-7’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22’ doesn’t have label ‘centos7-docker-4c-2g’ Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-blackbox-4c-2g-28’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-29’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-10’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-11’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-23’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-34’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-7’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22’ is offline Running on prd-centos7-docker-4c-2g-45 in /w/workspace/dgexfoundry_device-sdk-go_PR-565 [Pipeline] { [Pipeline] ws Running in /w/workspace/device-sdk-go/1 [Pipeline] { [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/device-sdk-go/1 # timeout=10 Fetching without tags 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/565/head:refs/remotes/origin/PR-565 # 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 Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 388ecb70141d0b27ef264e32ec7c9fd9167c690c Merge succeeded, producing 388ecb70141d0b27ef264e32ec7c9fd9167c690c Checking out Revision 388ecb70141d0b27ef264e32ec7c9fd9167c690c (PR-565) 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # 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 fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # timeout=10 Commit message: "fix: pass ctx into client initialization function" > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] ========================================================= [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 3.052MB Step 1/8 : ARG BASE=golang:1.13-alpine Step 2/8 : FROM ${BASE} 1.13-alpine: Pulling from edgex-devops/edgex-golang-base df20fa9351a1: Pulling fs layer ed8968b2872e: Pulling fs layer a92cc7c5fd73: Pulling fs layer 2dd03ba5bac4: Pulling fs layer 1e091d79d1de: Pulling fs layer 481702a1767f: Pulling fs layer f64a6f60c768: Pulling fs layer e78d2573fc39: Pulling fs layer e876d2f968b6: Pulling fs layer ce8a83651883: Pulling fs layer 07967f4d0e4b: Pulling fs layer f64a6f60c768: Waiting e78d2573fc39: Waiting e876d2f968b6: Waiting ce8a83651883: Waiting 07967f4d0e4b: Waiting 2dd03ba5bac4: Waiting 1e091d79d1de: Waiting 481702a1767f: Waiting a92cc7c5fd73: Download complete ed8968b2872e: Verifying Checksum ed8968b2872e: Download complete 1e091d79d1de: Verifying Checksum 1e091d79d1de: Download complete 481702a1767f: Verifying Checksum 481702a1767f: Download complete df20fa9351a1: Verifying Checksum df20fa9351a1: Download complete df20fa9351a1: Pull complete f64a6f60c768: Verifying Checksum f64a6f60c768: Download complete e876d2f968b6: Verifying Checksum e876d2f968b6: Download complete 2dd03ba5bac4: Verifying Checksum 2dd03ba5bac4: Download complete 07967f4d0e4b: Verifying Checksum 07967f4d0e4b: Download complete e78d2573fc39: Verifying Checksum e78d2573fc39: Download complete ce8a83651883: Download complete ed8968b2872e: Pull complete a92cc7c5fd73: Pull complete 2dd03ba5bac4: Pull complete 1e091d79d1de: Pull complete 481702a1767f: Pull complete f64a6f60c768: Pull complete e78d2573fc39: Pull complete e876d2f968b6: Pull complete ce8a83651883: Pull complete 07967f4d0e4b: Pull complete Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine ---> 5d7c900382c6 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' ---> Running in 676033dddebb Removing intermediate container 676033dddebb ---> 6b3ae2398064 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories ---> Running in bd1f1d4960f6 Removing intermediate container bd1f1d4960f6 ---> 7c5280d14585 Step 5/8 : RUN apk add --no-cache make git ---> Running in 4964dceb034f fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz OK: 166 MiB in 39 packages Removing intermediate container 4964dceb034f ---> 52744bf32df7 Step 6/8 : WORKDIR /device-sdk-go ---> Running in c5c519327cfd Removing intermediate container c5c519327cfd ---> 354ed0d08621 Step 7/8 : COPY . . ---> c61a03015624 Step 8/8 : RUN go mod download ---> Running in 71190367c560 go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/OneOfOne/xxhash v1.2.6 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 go: finding github.com/bgentry/speakeasy v0.1.0 go: finding github.com/cenkalti/backoff v2.2.1+incompatible go: finding github.com/davecgh/go-spew v1.1.1 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 go: finding github.com/fatih/color v1.7.0 go: finding github.com/fxamacker/cbor/v2 v2.2.0 go: finding github.com/go-kit/kit v0.8.0 go: finding github.com/go-logfmt/logfmt v0.4.0 go: finding github.com/go-stack/stack v1.8.0 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c go: finding github.com/google/uuid v1.1.0 go: finding github.com/gorilla/mux v1.7.1 go: finding github.com/hashicorp/consul/api v1.1.0 go: finding github.com/hashicorp/consul/sdk v0.1.1 go: finding github.com/hashicorp/errwrap v1.0.0 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 go: finding github.com/hashicorp/go-msgpack v0.5.3 go: finding github.com/hashicorp/go-multierror v1.0.0 go: finding github.com/hashicorp/go-rootcerts v1.0.0 go: finding github.com/hashicorp/go-sockaddr v1.0.0 go: finding github.com/hashicorp/go-syslog v1.0.0 go: finding github.com/hashicorp/go-uuid v1.0.1 go: finding github.com/hashicorp/go.net v0.0.1 go: finding github.com/hashicorp/golang-lru v0.5.0 go: finding github.com/hashicorp/logutils v1.0.0 go: finding github.com/hashicorp/mdns v1.0.0 go: finding github.com/hashicorp/memberlist v0.1.3 go: finding github.com/hashicorp/serf v0.8.2 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/miekg/dns v1.0.14 go: finding github.com/mitchellh/cli v1.0.0 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 go: finding github.com/mitchellh/copystructure v1.0.0 go: finding github.com/mitchellh/go-homedir v1.0.0 go: finding github.com/mitchellh/go-testing-interface v1.0.0 go: finding github.com/mitchellh/gox v0.4.0 go: finding github.com/mitchellh/iochan v1.0.0 go: finding github.com/mitchellh/mapstructure v1.1.2 go: finding github.com/mitchellh/reflectwalk v1.0.0 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c go: finding github.com/pelletier/go-toml v1.2.0 go: finding github.com/pkg/errors v0.8.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/posener/complete v1.1.1 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/stretchr/testify v1.5.1 go: finding github.com/ugorji/go v1.1.4 go: finding github.com/x448/float16 v0.8.4 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding gopkg.in/yaml.v2 v2.2.8 Removing intermediate container 71190367c560 ---> fac49e187db5 Successfully built fac49e187db5 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 + docker inspect -f . ci-base-image-x86_64 . [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-45 does not seem to be running inside a container $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat $ docker top 0e4092dd453cd0f281d379888d2df3426744c62635e80f8ba9fca6f31731e8e9 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.13.13 linux/amd64 [Pipeline] sh + make test CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... ? github.com/edgexfoundry/device-sdk-go [no test files] Running on prd-ubuntu18.04-docker-arm64-4c-16g-52 in /w/workspace/dgexfoundry_device-sdk-go_PR-565 [Pipeline] { [Pipeline] ws Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 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/device-sdk-go/1 # 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 into PR head commit 388ecb70141d0b27ef264e32ec7c9fd9167c690c Merge succeeded, producing 388ecb70141d0b27ef264e32ec7c9fd9167c690c Checking out Revision 388ecb70141d0b27ef264e32ec7c9fd9167c690c (PR-565) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/565/head:refs/remotes/origin/PR-565 # 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/565/head:refs/remotes/origin/PR-565 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # 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 fefa48ab3c6640cefc89d86fa7501fc0a6c292e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388ecb70141d0b27ef264e32ec7c9fd9167c690c # timeout=10 Commit message: "fix: pass ctx into client initialization function" > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] ========================================================= [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 3.052MB Step 1/8 : ARG BASE=golang:1.13-alpine Step 2/8 : FROM ${BASE} 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 b538f80385f9: Pulling fs layer 74f711af9a0d: Pulling fs layer 99f96fe45779: Pulling fs layer fd7a069fd194: Pulling fs layer 66aa3694b03b: Pulling fs layer 170f70906a0f: Pulling fs layer ad7c5574e4b9: Pulling fs layer e772456be8f7: Pulling fs layer c890913d741a: Pulling fs layer 2480fcc9aa5a: Pulling fs layer 09adf4765672: Pulling fs layer fd7a069fd194: Waiting 66aa3694b03b: Waiting ad7c5574e4b9: Waiting e772456be8f7: Waiting c890913d741a: Waiting 2480fcc9aa5a: Waiting 170f70906a0f: Waiting 09adf4765672: Waiting 99f96fe45779: Verifying Checksum 99f96fe45779: Download complete 74f711af9a0d: Download complete 66aa3694b03b: Verifying Checksum 66aa3694b03b: Download complete 170f70906a0f: Verifying Checksum 170f70906a0f: Download complete b538f80385f9: Verifying Checksum b538f80385f9: Pull complete 74f711af9a0d: Pull complete 99f96fe45779: Pull complete ad7c5574e4b9: Verifying Checksum ad7c5574e4b9: Download complete c890913d741a: Verifying Checksum c890913d741a: Download complete 2480fcc9aa5a: Verifying Checksum 2480fcc9aa5a: Download complete 09adf4765672: Verifying Checksum 09adf4765672: Download complete e772456be8f7: Verifying Checksum e772456be8f7: Download complete fd7a069fd194: Verifying Checksum fd7a069fd194: Download complete ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.025s coverage: 11.6% of statements ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.087s coverage: 36.9% of statements ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.336s coverage: 65.2% of statements ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.025s coverage: 52.6% of statements ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] CGO_ENABLED=0 GO111MODULE=on go vet ./... gofmt -l . [ "`gofmt -l .`" = "" ] ./bin/test-attribution-txt.sh ./bin/test-go-mod-tidy.sh [Pipeline] stash Stashed 1 file(s) [Pipeline] } $ docker stop --time=1 0e4092dd453cd0f281d379888d2df3426744c62635e80f8ba9fca6f31731e8e9 $ docker rm -f 0e4092dd453cd0f281d379888d2df3426744c62635e80f8ba9fca6f31731e8e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] sh + ls -al . total 188 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 14 17:28 . drwxrwxr-x. 4 jenkins jenkins 28 Aug 14 17:26 .. drwxrwxr-x. 2 jenkins jenkins 64 Aug 14 17:26 bin -rw-r--r--. 1 jenkins jenkins 110883 Aug 14 17:28 coverage.out -rw-rw-r--. 1 jenkins jenkins 936 Aug 14 17:26 Dockerfile.build -rw-rw-r--. 1 jenkins jenkins 140 Aug 14 17:26 .dockerignore drwxrwxr-x. 4 jenkins jenkins 48 Aug 14 17:26 example drwxrwxr-x. 8 jenkins jenkins 179 Aug 14 17:27 .git drwxrwxr-x. 2 jenkins jenkins 38 Aug 14 17:26 .github -rw-rw-r--. 1 jenkins jenkins 138 Aug 14 17:26 .gitignore -rw-r--r--. 1 jenkins jenkins 446 Aug 14 17:28 go.mod -rw-r--r--. 1 jenkins jenkins 12179 Aug 14 17:28 go.sum drwxrwxr-x. 13 jenkins jenkins 184 Aug 14 17:26 internal -rw-rw-r--. 1 jenkins jenkins 808 Aug 14 17:26 Jenkinsfile -rw-rw-r--. 1 jenkins jenkins 11341 Aug 14 17:26 LICENSE -rw-rw-r--. 1 jenkins jenkins 892 Aug 14 17:26 Makefile drwxrwxr-x. 4 jenkins jenkins 26 Aug 14 17:26 openapi drwxrwxr-x. 5 jenkins jenkins 50 Aug 14 17:26 pkg -rw-rw-r--. 1 jenkins jenkins 5101 Aug 14 17:26 README.md -rw-rw-r--. 1 jenkins jenkins 4291 Aug 14 17:26 RELEASE-NOTES.txt drwxrwxr-x. 3 jenkins jenkins 58 Aug 14 17:27 .semver drwxrwxr-x. 4 jenkins jenkins 54 Aug 14 17:26 snap -rw-rw-r--. 1 jenkins jenkins 5 Aug 14 17:23 VERSION -rw-rw-r--. 1 jenkins jenkins 222 Aug 14 17:26 version.go [Pipeline] isUnix [Pipeline] sh + 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=388ecb70141d0b27ef264e32ec7c9fd9167c690c --label arch=amd64 --label version=0.0.0 . Sending build context to Docker daemon 3.18MB Step 1/23 : ARG BASE=golang:1.13-alpine Step 2/23 : FROM ${BASE} AS builder ---> fac49e187db5 Step 3/23 : ARG MAKE='make build' ---> Running in 50cbdeec89dc Removing intermediate container 50cbdeec89dc ---> dbcd6069b965 Step 4/23 : WORKDIR /device-sdk-go ---> Running in 283733ac60b8 Removing intermediate container 283733ac60b8 ---> e6951bc168a3 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' ---> Running in 18bab51c337a Removing intermediate container 18bab51c337a ---> d9443430a3f5 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories ---> Running in ba99c20bd8bf Removing intermediate container ba99c20bd8bf ---> 0405a0d2e743 Step 7/23 : RUN apk add --update --no-cache make git ---> Running in 64c1f05ab953 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fd7a069fd194: Pull complete 66aa3694b03b: Pull complete 170f70906a0f: Pull complete fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz ad7c5574e4b9: Pull complete OK: 166 MiB in 39 packages Removing intermediate container 64c1f05ab953 ---> e9eacebfd628 Step 8/23 : COPY . . ---> 15375a505d43 Step 9/23 : RUN ${MAKE} ---> Running in 5538fafd3eac 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 e772456be8f7: Pull complete c890913d741a: Pull complete 2480fcc9aa5a: Pull complete 09adf4765672: Pull complete Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine ---> 2248a725d1cf Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' CGO_ENABLED=0 GO111MODULE=on go install -tags=safe Removing intermediate container 5538fafd3eac ---> 1316f29ee744 Step 10/23 : FROM scratch ---> Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' ---> Running in bed89b193758 Removing intermediate container bed89b193758 ---> beeaca280288 Step 12/23 : ENV APP_PORT=49990 ---> Running in dcc5ffc3254d Removing intermediate container dcc5ffc3254d ---> b4e0faca5906 Step 13/23 : EXPOSE $APP_PORT ---> Running in 336c80c82204 Removing intermediate container 336c80c82204 ---> b6288f3bcb57 Step 14/23 : WORKDIR / ---> Running in ffd56228e432 Removing intermediate container ffd56228e432 ---> 1e1b936a8c6a Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple ---> 8fe7dc961ef3 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml ---> cc67c587fc68 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml ---> a26801d4475f Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png ---> 0cd07bf77ab2 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg ---> fce5dc88ddb9 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] ---> Running in 9191188acbfa Removing intermediate container 9191188acbfa ---> 5a2f5ab28694 Step 21/23 : LABEL arch=amd64 ---> Running in 5678f21254af Removing intermediate container 5678f21254af ---> effe7b2af6bd Step 22/23 : LABEL git_sha=388ecb70141d0b27ef264e32ec7c9fd9167c690c ---> Running in fc4ae2b65c6d ---> Running in a36b4bcd6a6e Removing intermediate container a36b4bcd6a6e ---> 6d0b89baa475 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories ---> Running in efb16dddd079 Removing intermediate container fc4ae2b65c6d ---> 5d79f8011edd Step 23/23 : LABEL version=0.0.0 ---> Running in 0c561abf7827 Removing intermediate container 0c561abf7827 ---> c10876464730 [Warning] One or more build-args [ARCH] were not consumed Successfully built c10876464730 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 Removing intermediate container efb16dddd079 ---> d8139ad495db Step 5/8 : RUN apk add --no-cache make git ---> Running in ba6fb679d150 [Pipeline] } fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz OK: 142 MiB in 39 packages Removing intermediate container ba6fb679d150 ---> aa3eb0f43486 Step 6/8 : WORKDIR /device-sdk-go ---> Running in 5b1b450c0562 Removing intermediate container 5b1b450c0562 ---> ab18251be7c2 Step 7/8 : COPY . . ---> 35d86bf170f3 Step 8/8 : RUN go mod download ---> Running in ac5b8531cfc7 go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/OneOfOne/xxhash v1.2.6 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 go: finding github.com/bgentry/speakeasy v0.1.0 go: finding github.com/cenkalti/backoff v2.2.1+incompatible go: finding github.com/davecgh/go-spew v1.1.1 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 go: finding github.com/fatih/color v1.7.0 go: finding github.com/fxamacker/cbor/v2 v2.2.0 go: finding github.com/go-kit/kit v0.8.0 go: finding github.com/go-logfmt/logfmt v0.4.0 go: finding github.com/go-stack/stack v1.8.0 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c go: finding github.com/google/uuid v1.1.0 go: finding github.com/gorilla/mux v1.7.1 go: finding github.com/hashicorp/consul/api v1.1.0 go: finding github.com/hashicorp/consul/sdk v0.1.1 go: finding github.com/hashicorp/errwrap v1.0.0 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 go: finding github.com/hashicorp/go-msgpack v0.5.3 go: finding github.com/hashicorp/go-multierror v1.0.0 go: finding github.com/hashicorp/go-rootcerts v1.0.0 go: finding github.com/hashicorp/go-sockaddr v1.0.0 go: finding github.com/hashicorp/go-syslog v1.0.0 go: finding github.com/hashicorp/go-uuid v1.0.1 go: finding github.com/hashicorp/go.net v0.0.1 go: finding github.com/hashicorp/golang-lru v0.5.0 go: finding github.com/hashicorp/logutils v1.0.0 go: finding github.com/hashicorp/mdns v1.0.0 go: finding github.com/hashicorp/memberlist v0.1.3 go: finding github.com/hashicorp/serf v0.8.2 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/miekg/dns v1.0.14 go: finding github.com/mitchellh/cli v1.0.0 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 go: finding github.com/mitchellh/copystructure v1.0.0 go: finding github.com/mitchellh/go-homedir v1.0.0 go: finding github.com/mitchellh/go-testing-interface v1.0.0 go: finding github.com/mitchellh/gox v0.4.0 go: finding github.com/mitchellh/iochan v1.0.0 go: finding github.com/mitchellh/mapstructure v1.1.2 go: finding github.com/mitchellh/reflectwalk v1.0.0 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c go: finding github.com/pelletier/go-toml v1.2.0 go: finding github.com/pkg/errors v0.8.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/posener/complete v1.1.1 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/stretchr/testify v1.5.1 go: finding github.com/ugorji/go v1.1.4 go: finding github.com/x448/float16 v0.8.4 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding gopkg.in/yaml.v2 v2.2.8 Removing intermediate container ac5b8531cfc7 ---> 7a0c00d766df Successfully built 7a0c00d766df Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-52 does not seem to be running inside a container $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat $ docker top fe5f2d491614a0b0152bb61e80c919743c6e9659bfe808f757a8f9333554c0d2 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.13.13 linux/arm64 [Pipeline] sh + make test CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... ? github.com/edgexfoundry/device-sdk-go [no test files] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 22.1% of statements ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.177s coverage: 95.8% of statements ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.109s coverage: 11.6% of statements ok github.com/edgexfoundry/device-sdk-go/internal/common 0.024s coverage: 21.7% of statements ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.180s coverage: 36.9% of statements ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.801s coverage: 65.2% of statements ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.375s coverage: 68.9% of statements ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] CGO_ENABLED=0 GO111MODULE=on go vet ./... gofmt -l . [ "`gofmt -l .`" = "" ] ./bin/test-attribution-txt.sh ./bin/test-go-mod-tidy.sh [Pipeline] stash Warning: overwriting stash ‘coverage-report’ Stashed 1 file(s) [Pipeline] } $ docker stop --time=1 fe5f2d491614a0b0152bb61e80c919743c6e9659bfe808f757a8f9333554c0d2 $ docker rm -f fe5f2d491614a0b0152bb61e80c919743c6e9659bfe808f757a8f9333554c0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] sh + ls -al . total 228 drwxrwxr-x 11 jenkins jenkins 4096 Aug 14 17:30 . drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 17:28 .. -rw-rw-r-- 1 jenkins jenkins 140 Aug 14 17:28 .dockerignore drwxrwxr-x 8 jenkins jenkins 4096 Aug 14 17:28 .git drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 17:28 .github -rw-rw-r-- 1 jenkins jenkins 138 Aug 14 17:28 .gitignore drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 17:28 .semver -rw-rw-r-- 1 jenkins jenkins 936 Aug 14 17:28 Dockerfile.build -rw-rw-r-- 1 jenkins jenkins 808 Aug 14 17:28 Jenkinsfile -rw-rw-r-- 1 jenkins jenkins 11341 Aug 14 17:28 LICENSE -rw-rw-r-- 1 jenkins jenkins 892 Aug 14 17:28 Makefile -rw-rw-r-- 1 jenkins jenkins 5101 Aug 14 17:28 README.md -rw-rw-r-- 1 jenkins jenkins 4291 Aug 14 17:28 RELEASE-NOTES.txt -rw-rw-r-- 1 jenkins jenkins 5 Aug 14 17:23 VERSION drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 17:28 bin -rw-r--r-- 1 jenkins jenkins 110883 Aug 14 17:30 coverage.out drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 17:28 example -rw-r--r-- 1 jenkins jenkins 446 Aug 14 17:30 go.mod -rw-r--r-- 1 jenkins jenkins 12179 Aug 14 17:30 go.sum drwxrwxr-x 13 jenkins jenkins 4096 Aug 14 17:28 internal drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 17:28 openapi drwxrwxr-x 5 jenkins jenkins 4096 Aug 14 17:28 pkg drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 17:28 snap -rw-rw-r-- 1 jenkins jenkins 222 Aug 14 17:28 version.go [Pipeline] isUnix [Pipeline] sh + 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=388ecb70141d0b27ef264e32ec7c9fd9167c690c --label arch=arm64 --label version=0.0.0 . Sending build context to Docker daemon 3.18MB Step 1/23 : ARG BASE=golang:1.13-alpine Step 2/23 : FROM ${BASE} AS builder ---> 7a0c00d766df Step 3/23 : ARG MAKE='make build' ---> Running in ec76c0b630e9 Removing intermediate container ec76c0b630e9 ---> 4626f64127f5 Step 4/23 : WORKDIR /device-sdk-go ---> Running in 65036722dca5 Removing intermediate container 65036722dca5 ---> 3e14880a8ece Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' ---> Running in 4a2154f18442 Removing intermediate container 4a2154f18442 ---> 7dc47c953812 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories ---> Running in cd3b37978152 Removing intermediate container cd3b37978152 ---> 7af2c2e4015a Step 7/23 : RUN apk add --update --no-cache make git ---> Running in 623cc89ba61b fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz OK: 142 MiB in 39 packages Removing intermediate container 623cc89ba61b ---> 6a42e9bad716 Step 8/23 : COPY . . ---> c98efaa3c745 Step 9/23 : RUN ${MAKE} ---> Running in b8fbbf98c90e 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 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe Removing intermediate container b8fbbf98c90e ---> 6295637d7903 Step 10/23 : FROM scratch ---> Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' ---> Running in 6af0d58842d0 Removing intermediate container 6af0d58842d0 ---> 138e77d0b9e2 Step 12/23 : ENV APP_PORT=49990 ---> Running in 8444c1dd930a Removing intermediate container 8444c1dd930a ---> a1cbcfe5ee05 Step 13/23 : EXPOSE $APP_PORT ---> Running in 8accd37b927c Removing intermediate container 8accd37b927c ---> 024b76a23fc6 Step 14/23 : WORKDIR / ---> Running in d2d22ac57230 Removing intermediate container d2d22ac57230 ---> f07545c2cf69 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple ---> f9a5ec5faae5 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml ---> 12484f8b9db5 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml ---> e8e11eb8788d Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png ---> e31632a054a9 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg ---> a9deabc8878f Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] ---> Running in e2a33b864cb4 Removing intermediate container e2a33b864cb4 ---> a3ad538401fd Step 21/23 : LABEL arch=arm64 ---> Running in af8fe974f83a Removing intermediate container af8fe974f83a ---> 3a479e1278c7 Step 22/23 : LABEL git_sha=388ecb70141d0b27ef264e32ec7c9fd9167c690c ---> Running in bb13a7e2733d Removing intermediate container bb13a7e2733d ---> 797faef44a85 Step 23/23 : LABEL version=0.0.0 ---> Running in c7cfe5af1abd Removing intermediate container c7cfe5af1abd ---> 711d1bc18440 [Warning] One or more build-args [ARCH] were not consumed Successfully built 711d1bc18440 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 provisioning config files... copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/config3262913168930672873tmp [Pipeline] { [Pipeline] sh + curl -s https://codecov.io/bash + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/config3262913168930672873tmp [Pipeline] } 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-565 + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-565 ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-565 ']' + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-565/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-565/archives/ [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine alpine: Pulling from edgex-lftools-log-publisher c9b1b535fdd9: Pulling fs layer 2cc5ad85d9ab: Pulling fs layer 756a868c4378: Pulling fs layer 444b2fc9a129: Pulling fs layer ea15f1150254: Pulling fs layer 41b27a9f41bf: Pulling fs layer 28c525ee5125: Pulling fs layer 094b1ea09ed8: Pulling fs layer ea15f1150254: Waiting 138eaada9080: Pulling fs layer 0622d0fa9048: Pulling fs layer 41b27a9f41bf: Waiting 28c525ee5125: Waiting 094b1ea09ed8: Waiting 0622d0fa9048: Waiting 138eaada9080: Waiting 444b2fc9a129: Waiting 2cc5ad85d9ab: Verifying Checksum 2cc5ad85d9ab: Download complete 444b2fc9a129: Verifying Checksum 444b2fc9a129: Download complete c9b1b535fdd9: Verifying Checksum c9b1b535fdd9: Download complete ea15f1150254: Verifying Checksum ea15f1150254: Download complete 28c525ee5125: Verifying Checksum 28c525ee5125: Download complete c9b1b535fdd9: Pull complete 756a868c4378: Verifying Checksum 756a868c4378: Download complete 138eaada9080: Verifying Checksum 138eaada9080: Download complete 2cc5ad85d9ab: Pull complete 0622d0fa9048: Verifying Checksum 0622d0fa9048: Download complete 094b1ea09ed8: Verifying Checksum 094b1ea09ed8: Download complete 41b27a9f41bf: Verifying Checksum 41b27a9f41bf: Download complete 756a868c4378: Pull complete 444b2fc9a129: Pull complete ea15f1150254: Pull complete 41b27a9f41bf: Pull complete 28c525ee5125: Pull complete 094b1ea09ed8: Pull complete 138eaada9080: Pull complete 0622d0fa9048: Pull complete Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-16 does not seem to be running inside a container $ 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-565 -v /w/workspace/dgexfoundry_device-sdk-go_PR-565:/w/workspace/dgexfoundry_device-sdk-go_PR-565:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-565@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat $ docker top 45f5861fc4187407e6962ae70a8ae69615fe7cedd469f961eaedc0413c7e8e98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-565@tmp/config7845790758804942947tmp [Pipeline] { [Pipeline] echo Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] echo Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh ---> logs-deploy.sh + ARCHIVE_ARTIFACTS= + LOGS_SERVER=https://logs.edgexfoundry.org + '[' https://logs.edgexfoundry.org == None ']' + NEXUS_URL=https://nexus.edgexfoundry.org + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-565/1 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-565/1/ + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-565/1 /w/workspace/dgexfoundry_device-sdk-go_PR-565 Archives upload complete. + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-565/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-565/1/