Pull request #562 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 ea2f983e788a845427826f536ae2e979748197ae+b22d9636647f710822cdca9c1d6c1c597e4fa962 (6e338840c97c336107e93770935d59170c2545b7) 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-562/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 Running on prd-centos7-docker-4c-2g-3237 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [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-562 # 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/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # 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/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # 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 b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 Commit message: "fix: allow startup duration/interval to be overridden via env vars" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:59:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:59:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:59:42 ========================================================= 07:59:42 EdgeX Global Pipelines Version Info 07:59:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:59:44 ------------------- 07:59:44 stable info: 07:59:44 ------------------- 07:59:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:44 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 07:59:44 Message: update stable to v1.0.106 07:59:45 ------------------- 07:59:45 experimental info: 07:59:45 ------------------- 07:59:45 Commited By: **** collab-it+edgex@linuxfoundation.org 07:59:45 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 07:59:45 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 07:59:47 + git log --format=format:%s -1 ea2f983e788a845427826f536ae2e979748197ae [Pipeline] echo 07:59:47 GIT_COMMIT: ea2f983e788a845427826f536ae2e979748197ae, Commit Message: fix: allow startup duration/interval to be overridden via env vars [Pipeline] echo 07:59:48 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:49 07:59:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:59:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:49 latest: Pulling from edgex-devops/git-semver 07:59:49 31603596830f: Pulling fs layer 07:59:49 2a8b12db71e7: Pulling fs layer 07:59:49 6ca5941a6612: Pulling fs layer 07:59:49 ecc8261a40a4: Pulling fs layer 07:59:49 ecc8261a40a4: Waiting 07:59:49 2a8b12db71e7: Verifying Checksum 07:59:49 2a8b12db71e7: Download complete 07:59:49 31603596830f: Verifying Checksum 07:59:49 31603596830f: Download complete 07:59:49 6ca5941a6612: Verifying Checksum 07:59:49 6ca5941a6612: Download complete 07:59:49 ecc8261a40a4: Verifying Checksum 07:59:50 31603596830f: Pull complete 07:59:50 2a8b12db71e7: Pull complete 07:59:51 6ca5941a6612: Pull complete 07:59:51 ecc8261a40a4: Pull complete 07:59:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:59:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:59:51 prd-centos7-docker-4c-2g-3237 does not seem to be running inside a container 07:59:51 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-562 -v /w/workspace/dgexfoundry_device-sdk-go_PR-562:/w/workspace/dgexfoundry_device-sdk-go_PR-562:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-562@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 07:59:53 $ docker top 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:59:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:54 [ssh-agent] Looking for ssh-agent implementation... 07:59:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:54 $ docker exec 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent 07:59:54 SSH_AUTH_SOCK=/tmp/ssh-NIfcoIguUN9P/agent.13 07:59:54 SSH_AGENT_PID=19 07:59:54 Running ssh-add (command line suppressed) 07:59:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3662382717641402956.key (/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3662382717641402956.key) 07:59:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:55 + git describe --exact-match --tags HEAD 07:59:55 fatal: No names found, cannot describe anything. [Pipeline] } 07:59:55 $ docker exec --env ******** --env ******** 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent -k 07:59:55 unset SSH_AUTH_SOCK; 07:59:55 unset SSH_AGENT_PID; 07:59:55 echo Agent pid 19 killed; 07:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:59:55 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:59:55 This usually means this commit has not been tagged. [Pipeline] sshagent 07:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:55 [ssh-agent] Looking for ssh-agent implementation... 07:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:55 $ docker exec 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent 07:59:56 SSH_AUTH_SOCK=/tmp/ssh-YGwQPKGvPOUL/agent.48 07:59:56 SSH_AGENT_PID=53 07:59:56 Running ssh-add (command line suppressed) 07:59:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3385467115318814216.key (/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3385467115318814216.key) 07:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:56 + git semver init 07:59:56 # -> Open(): unable to determine branch for HEAD 07:59:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-562/.git 07:59:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-562 07:59:56 # $SEMVER_REMOTE_NAME = origin 07:59:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:59:56 # $SEMVER_USER_NAME = edgex-jenkins 07:59:56 # $SEMVER_BRANCH = PR-562 07:59:56 # $SEMVER_TEMP = /tmp/semver-580396975 07:59:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:59:57 # '/tmp/semver-580396975' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-562/.semver' 07:59:57 # -> Force: false 07:59:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-562/.semver [Pipeline] } 07:59:57 $ docker exec --env ******** --env ******** 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent -k 07:59:57 unset SSH_AUTH_SOCK; 07:59:57 unset SSH_AGENT_PID; 07:59:57 echo Agent pid 53 killed; 07:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:59:57 + git semver [Pipeline] } 07:59:57 $ docker stop --time=1 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff 07:59:59 $ docker rm -f 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:00:00 Stashed 25 file(s) [Pipeline] echo 08:00:00 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 08:00:00 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 08:00:16 Still waiting to schedule task 08:00:16 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3237’ 08:00:16 Still waiting to schedule task 08:00:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:02:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3238 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [Pipeline] { [Pipeline] ws 08:02:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:02:29 using credential edgex-jenkins-ssh 08:02:29 Cloning the remote Git repository 08:02:29 Cloning with configured refspecs honoured and without tags 08:02:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:02:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:02:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:02:29 > git --version # timeout=10 08:02:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:30 Fetching without tags 08:02:31 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae 08:02:31 Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae 08:02:31 Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) 08:02:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:02:30 > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # timeout=10 08:02:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:02:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:02:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:31 > git config core.sparsecheckout # timeout=10 08:02:31 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 08:02:31 > git remote # timeout=10 08:02:31 > git config --get remote.origin.url # timeout=10 08:02:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:31 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 08:02:31 > git rev-parse HEAD^{commit} # timeout=10 08:02:31 > git config core.sparsecheckout # timeout=10 08:02:31 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 08:02:35 Commit message: "fix: allow startup duration/interval to be overridden via env vars" 08:02:35 > git --version # timeout=10 08:02:35 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:02:37 ========================================================= 08:02:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:02:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:02:38 + 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 . 08:02:39 Sending build context to Docker daemon 3.036MB 08:02:39 Step 1/8 : ARG BASE=golang:1.13-alpine 08:02:39 Step 2/8 : FROM ${BASE} 08:02:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:02:39 b538f80385f9: Pulling fs layer 08:02:39 74f711af9a0d: Pulling fs layer 08:02:39 99f96fe45779: Pulling fs layer 08:02:39 fd7a069fd194: Pulling fs layer 08:02:39 66aa3694b03b: Pulling fs layer 08:02:39 170f70906a0f: Pulling fs layer 08:02:39 ad7c5574e4b9: Pulling fs layer 08:02:39 e772456be8f7: Pulling fs layer 08:02:39 c890913d741a: Pulling fs layer 08:02:39 2480fcc9aa5a: Pulling fs layer 08:02:39 09adf4765672: Pulling fs layer 08:02:39 fd7a069fd194: Waiting 08:02:39 66aa3694b03b: Waiting 08:02:39 170f70906a0f: Waiting 08:02:39 ad7c5574e4b9: Waiting 08:02:39 e772456be8f7: Waiting 08:02:39 c890913d741a: Waiting 08:02:39 2480fcc9aa5a: Waiting 08:02:39 09adf4765672: Waiting 08:02:39 99f96fe45779: Verifying Checksum 08:02:39 99f96fe45779: Download complete 08:02:39 74f711af9a0d: Download complete 08:02:39 66aa3694b03b: Verifying Checksum 08:02:39 66aa3694b03b: Download complete 08:02:39 170f70906a0f: Verifying Checksum 08:02:39 170f70906a0f: Download complete 08:02:40 b538f80385f9: Verifying Checksum 08:02:40 b538f80385f9: Download complete 08:02:40 b538f80385f9: Pull complete 08:02:41 74f711af9a0d: Pull complete 08:02:41 99f96fe45779: Pull complete 08:02:43 ad7c5574e4b9: Verifying Checksum 08:02:43 ad7c5574e4b9: Download complete 08:02:43 c890913d741a: Verifying Checksum 08:02:43 c890913d741a: Download complete 08:02:44 e772456be8f7: Verifying Checksum 08:02:44 e772456be8f7: Download complete 08:02:45 2480fcc9aa5a: Verifying Checksum 08:02:45 2480fcc9aa5a: Download complete 08:02:45 09adf4765672: Verifying Checksum 08:02:45 09adf4765672: Download complete 08:02:45 fd7a069fd194: Verifying Checksum 08:02:45 fd7a069fd194: Download complete 08:02:57 Running on prd-centos7-docker-4c-2g-3239 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [Pipeline] { [Pipeline] ws 08:02:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:02:57 fd7a069fd194: Pull complete 08:02:57 66aa3694b03b: Pull complete 08:02:57 170f70906a0f: Pull complete 08:02:59 using credential edgex-jenkins-ssh 08:02:59 Cloning the remote Git repository 08:02:59 Cloning with configured refspecs honoured and without tags 08:02:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:02:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:02:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:02:59 > git --version # timeout=10 08:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:01 ad7c5574e4b9: Pull complete 08:03:01 Fetching without tags 08:03:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:03:01 > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # timeout=10 08:03:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:03:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:03:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:02 Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae 08:03:02 Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae 08:03:02 Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) 08:03:02 > git config core.sparsecheckout # timeout=10 08:03:02 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 08:03:02 > git remote # timeout=10 08:03:02 > git config --get remote.origin.url # timeout=10 08:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:02 > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 08:03:02 > git rev-parse HEAD^{commit} # timeout=10 08:03:02 > git config core.sparsecheckout # timeout=10 08:03:02 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 08:03:05 e772456be8f7: Pull complete 08:03:05 c890913d741a: Pull complete 08:03:05 Commit message: "fix: allow startup duration/interval to be overridden via env vars" 08:03:05 > git --version # timeout=10 08:03:05 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:03:07 ========================================================= 08:03:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:03:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:03:07 + 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 . 08:03:08 2480fcc9aa5a: Pull complete 08:03:08 09adf4765672: Pull complete 08:03:08 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:03:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:03:08 ---> 2248a725d1cf 08:03:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:03:08 Sending build context to Docker daemon 3.038MB 08:03:08 Step 1/8 : ARG BASE=golang:1.13-alpine 08:03:08 Step 2/8 : FROM ${BASE} 08:03:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:03:08 df20fa9351a1: Pulling fs layer 08:03:08 ed8968b2872e: Pulling fs layer 08:03:08 a92cc7c5fd73: Pulling fs layer 08:03:08 2dd03ba5bac4: Pulling fs layer 08:03:08 1e091d79d1de: Pulling fs layer 08:03:08 481702a1767f: Pulling fs layer 08:03:08 f64a6f60c768: Pulling fs layer 08:03:08 e78d2573fc39: Pulling fs layer 08:03:08 e876d2f968b6: Pulling fs layer 08:03:08 ce8a83651883: Pulling fs layer 08:03:08 07967f4d0e4b: Pulling fs layer 08:03:08 2dd03ba5bac4: Waiting 08:03:08 1e091d79d1de: Waiting 08:03:08 481702a1767f: Waiting 08:03:08 f64a6f60c768: Waiting 08:03:08 e78d2573fc39: Waiting 08:03:08 e876d2f968b6: Waiting 08:03:08 ce8a83651883: Waiting 08:03:08 07967f4d0e4b: Waiting 08:03:08 a92cc7c5fd73: Verifying Checksum 08:03:08 a92cc7c5fd73: Download complete 08:03:08 ed8968b2872e: Verifying Checksum 08:03:08 ed8968b2872e: Download complete 08:03:08 1e091d79d1de: Verifying Checksum 08:03:08 1e091d79d1de: Download complete 08:03:08 481702a1767f: Verifying Checksum 08:03:08 481702a1767f: Download complete 08:03:08 df20fa9351a1: Verifying Checksum 08:03:09 df20fa9351a1: Pull complete 08:03:10 f64a6f60c768: Verifying Checksum 08:03:10 f64a6f60c768: Download complete 08:03:10 e876d2f968b6: Verifying Checksum 08:03:10 e876d2f968b6: Download complete 08:03:10 2dd03ba5bac4: Verifying Checksum 08:03:10 2dd03ba5bac4: Download complete 08:03:10 07967f4d0e4b: Verifying Checksum 08:03:10 07967f4d0e4b: Download complete 08:03:10 e78d2573fc39: Verifying Checksum 08:03:10 e78d2573fc39: Download complete 08:03:10 ce8a83651883: Verifying Checksum 08:03:10 ce8a83651883: Download complete 08:03:12 ed8968b2872e: Pull complete 08:03:12 a92cc7c5fd73: Pull complete 08:03:13 ---> Running in 5671b1590bb5 08:03:13 Removing intermediate container 5671b1590bb5 08:03:13 ---> a0177fd760f5 08:03:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:03:13 ---> Running in 845edd710641 08:03:16 Removing intermediate container 845edd710641 08:03:16 ---> bf0ac69f85e1 08:03:16 Step 5/8 : RUN apk add --no-cache make git 08:03:16 ---> Running in d863e28b8e93 08:03:17 2dd03ba5bac4: Pull complete 08:03:17 1e091d79d1de: Pull complete 08:03:17 481702a1767f: Pull complete 08:03:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:03:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:03:19 OK: 142 MiB in 39 packages 08:03:20 Removing intermediate container d863e28b8e93 08:03:20 ---> c3565f94a371 08:03:20 Step 6/8 : WORKDIR /device-sdk-go 08:03:20 ---> Running in 9f929604c1cf 08:03:21 Removing intermediate container 9f929604c1cf 08:03:21 ---> 4a11c970ee3d 08:03:21 Step 7/8 : COPY . . 08:03:22 ---> 920456b2da2d 08:03:22 Step 8/8 : RUN go mod download 08:03:22 ---> Running in 2cefe9740d78 08:03:23 f64a6f60c768: Pull complete 08:03:25 go: finding github.com/BurntSushi/toml v0.3.1 08:03:25 go: finding github.com/OneOfOne/xxhash v1.2.6 08:03:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:03:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:03:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:03:25 go: finding github.com/bgentry/speakeasy v0.1.0 08:03:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:03:25 go: finding github.com/davecgh/go-spew v1.1.1 08:03:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:03:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:03:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:03:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:03:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:03:25 go: finding github.com/fatih/color v1.7.0 08:03:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:03:25 go: finding github.com/go-kit/kit v0.8.0 08:03:25 go: finding github.com/go-logfmt/logfmt v0.4.0 08:03:26 go: finding github.com/go-stack/stack v1.8.0 08:03:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:03:26 go: finding github.com/google/uuid v1.1.0 08:03:26 go: finding github.com/gorilla/mux v1.7.1 08:03:26 go: finding github.com/hashicorp/consul/api v1.1.0 08:03:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:03:26 go: finding github.com/hashicorp/errwrap v1.0.0 08:03:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:03:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:03:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:03:26 go: finding github.com/hashicorp/go-multierror v1.0.0 08:03:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:03:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:03:26 go: finding github.com/hashicorp/go-syslog v1.0.0 08:03:26 go: finding github.com/hashicorp/go-uuid v1.0.1 08:03:26 go: finding github.com/hashicorp/go.net v0.0.1 08:03:26 go: finding github.com/hashicorp/golang-lru v0.5.0 08:03:26 go: finding github.com/hashicorp/logutils v1.0.0 08:03:26 go: finding github.com/hashicorp/mdns v1.0.0 08:03:26 go: finding github.com/hashicorp/memberlist v0.1.3 08:03:26 go: finding github.com/hashicorp/serf v0.8.2 08:03:26 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:03:26 go: finding github.com/mattn/go-colorable v0.0.9 08:03:26 e78d2573fc39: Pull complete 08:03:26 e876d2f968b6: Pull complete 08:03:26 go: finding github.com/mattn/go-isatty v0.0.3 08:03:26 go: finding github.com/miekg/dns v1.0.14 08:03:26 go: finding github.com/mitchellh/cli v1.0.0 08:03:26 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:03:26 go: finding github.com/mitchellh/copystructure v1.0.0 08:03:26 go: finding github.com/mitchellh/go-homedir v1.0.0 08:03:26 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:03:26 go: finding github.com/mitchellh/gox v0.4.0 08:03:26 go: finding github.com/mitchellh/iochan v1.0.0 08:03:26 go: finding github.com/mitchellh/mapstructure v1.1.2 08:03:26 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:03:26 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:03:26 go: finding github.com/pelletier/go-toml v1.2.0 08:03:26 go: finding github.com/pkg/errors v0.8.1 08:03:26 go: finding github.com/pmezard/go-difflib v1.0.0 08:03:26 go: finding github.com/posener/complete v1.1.1 08:03:26 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:03:26 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:03:26 go: finding github.com/stretchr/objx v0.1.0 08:03:26 go: finding github.com/stretchr/testify v1.5.1 08:03:26 go: finding github.com/ugorji/go v1.1.4 08:03:26 go: finding github.com/x448/float16 v0.8.4 08:03:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:03:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:03:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:03:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:03:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:03:27 go: finding gopkg.in/yaml.v2 v2.2.8 08:03:27 ce8a83651883: Pull complete 08:03:27 07967f4d0e4b: Pull complete 08:03:27 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:03:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:03:27 ---> 5d7c900382c6 08:03:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:03:27 ---> Running in e440e64dff0d 08:03:28 Removing intermediate container e440e64dff0d 08:03:28 ---> 0a32b0c58485 08:03:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:03:28 ---> Running in 5d712af2c4e7 08:03:30 Removing intermediate container 5d712af2c4e7 08:03:30 ---> 5c76aac42006 08:03:30 Step 5/8 : RUN apk add --no-cache make git 08:03:30 ---> Running in 2bddfd0b1254 08:03:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:03:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:03:31 OK: 166 MiB in 39 packages 08:03:31 Removing intermediate container 2bddfd0b1254 08:03:31 ---> 37c7cf3d521f 08:03:31 Step 6/8 : WORKDIR /device-sdk-go 08:03:32 ---> Running in 686750b9ddb6 08:03:32 Removing intermediate container 686750b9ddb6 08:03:32 ---> 31b227eaf7b5 08:03:32 Step 7/8 : COPY . . 08:03:33 ---> e88f9f773490 08:03:33 Step 8/8 : RUN go mod download 08:03:33 ---> Running in d628bf1ed5b3 08:03:34 go: finding github.com/BurntSushi/toml v0.3.1 08:03:34 go: finding github.com/OneOfOne/xxhash v1.2.6 08:03:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:03:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:03:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:03:35 go: finding github.com/bgentry/speakeasy v0.1.0 08:03:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:03:35 go: finding github.com/davecgh/go-spew v1.1.1 08:03:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 08:03:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:03:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:03:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:03:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:03:35 go: finding github.com/fatih/color v1.7.0 08:03:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:03:35 go: finding github.com/go-kit/kit v0.8.0 08:03:35 go: finding github.com/go-logfmt/logfmt v0.4.0 08:03:35 go: finding github.com/go-stack/stack v1.8.0 08:03:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:03:35 go: finding github.com/google/uuid v1.1.0 08:03:35 go: finding github.com/gorilla/mux v1.7.1 08:03:35 go: finding github.com/hashicorp/consul/api v1.1.0 08:03:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:03:35 go: finding github.com/hashicorp/errwrap v1.0.0 08:03:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:03:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:03:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:03:35 go: finding github.com/hashicorp/go-multierror v1.0.0 08:03:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:03:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:03:35 go: finding github.com/hashicorp/go-syslog v1.0.0 08:03:35 go: finding github.com/hashicorp/go-uuid v1.0.1 08:03:35 go: finding github.com/hashicorp/go.net v0.0.1 08:03:35 go: finding github.com/hashicorp/golang-lru v0.5.0 08:03:35 go: finding github.com/hashicorp/logutils v1.0.0 08:03:35 go: finding github.com/hashicorp/mdns v1.0.0 08:03:35 go: finding github.com/hashicorp/memberlist v0.1.3 08:03:35 go: finding github.com/hashicorp/serf v0.8.2 08:03:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:03:35 go: finding github.com/mattn/go-colorable v0.0.9 08:03:35 go: finding github.com/mattn/go-isatty v0.0.3 08:03:35 go: finding github.com/miekg/dns v1.0.14 08:03:35 go: finding github.com/mitchellh/cli v1.0.0 08:03:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:03:35 go: finding github.com/mitchellh/copystructure v1.0.0 08:03:35 go: finding github.com/mitchellh/go-homedir v1.0.0 08:03:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:03:36 go: finding github.com/mitchellh/gox v0.4.0 08:03:36 go: finding github.com/mitchellh/iochan v1.0.0 08:03:36 go: finding github.com/mitchellh/mapstructure v1.1.2 08:03:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:03:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:03:36 go: finding github.com/pelletier/go-toml v1.2.0 08:03:36 go: finding github.com/pkg/errors v0.8.1 08:03:36 go: finding github.com/pmezard/go-difflib v1.0.0 08:03:36 go: finding github.com/posener/complete v1.1.1 08:03:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:03:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:03:36 go: finding github.com/stretchr/objx v0.1.0 08:03:36 go: finding github.com/stretchr/testify v1.5.1 08:03:36 go: finding github.com/ugorji/go v1.1.4 08:03:36 go: finding github.com/x448/float16 v0.8.4 08:03:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:03:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:03:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:03:36 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:03:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:03:36 go: finding gopkg.in/yaml.v2 v2.2.8 08:03:37 Removing intermediate container 2cefe9740d78 08:03:37 ---> ab06b8cf2502 08:03:37 Successfully built ab06b8cf2502 08:03: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 08:03:38 + docker inspect -f . ci-base-image-arm64 08:03:38 . [Pipeline] withDockerContainer 08:03:38 prd-ubuntu18.04-docker-arm64-4c-16g-3238 does not seem to be running inside a container 08:03:38 $ 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 08:03:40 $ docker top 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:41 + go version 08:03:41 go version go1.13.13 linux/arm64 [Pipeline] sh 08:03:42 + make test 08:03:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:03:43 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:03:44 Removing intermediate container d628bf1ed5b3 08:03:44 ---> d0b81b1f4424 08:03:44 Successfully built d0b81b1f4424 08:03:44 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 08:03:45 + docker inspect -f . ci-base-image-x86_64 08:03:45 . [Pipeline] withDockerContainer 08:03:45 prd-centos7-docker-4c-2g-3239 does not seem to be running inside a container 08:03:45 $ 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 ******** ci-base-image-x86_64 cat 08:03:47 $ docker top 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:47 + go version 08:03:47 go version go1.13.13 linux/amd64 [Pipeline] sh 08:03:47 + make test 08:03:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:03:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:03:59 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:03:59 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:03:59 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:03:59 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.1% of statements 08:03:59 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements 08:04:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:04:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:04:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:04:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.1% of statements 08:04:15 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.143s coverage: 95.8% of statements 08:04:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.6% of statements 08:04:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 21.7% of statements 08:04:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:04:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.165s coverage: 36.9% of statements 08:04:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:04:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.473s coverage: 65.2% of statements 08:04:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:04:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:04:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:04:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements 08:04:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.095s coverage: 68.9% of statements 08:04:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:04:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:04:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:04:31 gofmt -l . 08:04:31 [ "`gofmt -l .`" = "" ] 08:04:31 ./bin/test-attribution-txt.sh 08:04:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:04:33 Stashed 1 file(s) [Pipeline] } 08:04:33 $ docker stop --time=1 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 08:04:34 $ docker rm -f 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:37 + ls -al . 08:04:37 total 188 08:04:37 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 10 08:04 . 08:04:37 drwxrwxr-x. 4 jenkins jenkins 28 Aug 10 08:02 .. 08:04:37 drwxrwxr-x. 2 jenkins jenkins 64 Aug 10 08:03 bin 08:04:37 -rw-r--r--. 1 jenkins jenkins 110880 Aug 10 08:04 coverage.out 08:04:37 -rw-rw-r--. 1 jenkins jenkins 936 Aug 10 08:03 Dockerfile.build 08:04:37 -rw-rw-r--. 1 jenkins jenkins 140 Aug 10 08:03 .dockerignore 08:04:37 drwxrwxr-x. 4 jenkins jenkins 48 Aug 10 08:03 example 08:04:37 drwxrwxr-x. 8 jenkins jenkins 179 Aug 10 08:03 .git 08:04:37 drwxrwxr-x. 2 jenkins jenkins 38 Aug 10 08:03 .github 08:04:37 -rw-rw-r--. 1 jenkins jenkins 138 Aug 10 08:03 .gitignore 08:04:37 -rw-r--r--. 1 jenkins jenkins 446 Aug 10 08:04 go.mod 08:04:37 -rw-r--r--. 1 jenkins jenkins 12179 Aug 10 08:04 go.sum 08:04:37 drwxrwxr-x. 13 jenkins jenkins 184 Aug 10 08:03 internal 08:04:37 -rw-rw-r--. 1 jenkins jenkins 808 Aug 10 08:03 Jenkinsfile 08:04:37 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 10 08:03 LICENSE 08:04:37 -rw-rw-r--. 1 jenkins jenkins 892 Aug 10 08:03 Makefile 08:04:37 drwxrwxr-x. 4 jenkins jenkins 26 Aug 10 08:03 openapi 08:04:37 drwxrwxr-x. 5 jenkins jenkins 50 Aug 10 08:03 pkg 08:04:37 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 10 08:03 README.md 08:04:37 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 10 08:03 RELEASE-NOTES.txt 08:04:37 drwxrwxr-x. 3 jenkins jenkins 58 Aug 10 08:03 .semver 08:04:37 drwxrwxr-x. 4 jenkins jenkins 54 Aug 10 08:03 snap 08:04:37 -rw-rw-r--. 1 jenkins jenkins 5 Aug 10 07:59 VERSION 08:04:37 -rw-rw-r--. 1 jenkins jenkins 222 Aug 10 08:03 version.go [Pipeline] isUnix [Pipeline] sh 08:04:38 + 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=ea2f983e788a845427826f536ae2e979748197ae --label arch=amd64 --label version=0.0.0 . 08:04:38 Sending build context to Docker daemon 3.166MB 08:04:38 Step 1/23 : ARG BASE=golang:1.13-alpine 08:04:38 Step 2/23 : FROM ${BASE} AS builder 08:04:38 ---> d0b81b1f4424 08:04:38 Step 3/23 : ARG MAKE='make build' 08:04:38 ---> Running in 3527bc1d7c61 08:04:38 Removing intermediate container 3527bc1d7c61 08:04:38 ---> 4e0f9e9c49ab 08:04:38 Step 4/23 : WORKDIR /device-sdk-go 08:04:38 ---> Running in 18b4696888dd 08:04:39 Removing intermediate container 18b4696888dd 08:04:39 ---> 84e3a9794c88 08:04:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:39 ---> Running in d89f3c207004 08:04:39 Removing intermediate container d89f3c207004 08:04:39 ---> 08e71f7e2e9f 08:04:39 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:39 ---> Running in c00c03d4297a 08:04:40 Removing intermediate container c00c03d4297a 08:04:40 ---> b266e061bedb 08:04:40 Step 7/23 : RUN apk add --update --no-cache make git 08:04:40 ---> Running in af1e7cac05ed 08:04:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:04:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:04:42 OK: 166 MiB in 39 packages 08:04:42 Removing intermediate container af1e7cac05ed 08:04:42 ---> 1509947fac8d 08:04:42 Step 8/23 : COPY . . 08:04:43 ---> 5537b52a5f69 08:04:43 Step 9/23 : RUN ${MAKE} 08:04:43 ---> Running in 7108cbe027b6 08:04:43 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 08:04:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.6% of statements 08:04:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements 08:04:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:04:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.188s coverage: 36.9% of statements 08:04:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:04:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.649s coverage: 65.2% of statements 08:04:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:04:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:04:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:04:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements 08:04:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.358s coverage: 68.9% of statements 08:04:47 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:04:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:04:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:04:51 gofmt -l . 08:04:51 [ "`gofmt -l .`" = "" ] 08:04:51 ./bin/test-attribution-txt.sh 08:04:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:04:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:04:52 Warning: overwriting stash ‘coverage-report’ 08:04:53 Stashed 1 file(s) [Pipeline] } 08:04:53 $ docker stop --time=1 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c 08:04:53 Removing intermediate container 7108cbe027b6 08:04:53 ---> b6e9bc3abd94 08:04:53 Step 10/23 : FROM scratch 08:04:53 ---> 08:04:53 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:53 ---> Running in 6861201d5113 08:04:53 Removing intermediate container 6861201d5113 08:04:53 ---> 58380d9d3279 08:04:53 Step 12/23 : ENV APP_PORT=49990 08:04:53 ---> Running in 07127f45d638 08:04:53 Removing intermediate container 07127f45d638 08:04:53 ---> 7e701f445352 08:04:53 Step 13/23 : EXPOSE $APP_PORT 08:04:53 ---> Running in 54a81ada8ea6 08:04:53 Removing intermediate container 54a81ada8ea6 08:04:53 ---> 5bbb5c7fa870 08:04:53 Step 14/23 : WORKDIR / 08:04:53 ---> Running in ac793223f1d4 08:04:54 Removing intermediate container ac793223f1d4 08:04:54 ---> 5833356bb3fa 08:04:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:04:54 ---> d3f228784da8 08:04:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:04:54 ---> 2e3b84cd6d9d 08:04:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:04:55 ---> 653947c42b66 08:04:55 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:04:55 ---> 67cae35015d9 08:04:55 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:04:55 ---> 949c6d0aed48 08:04:55 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:04:55 ---> Running in f34e2658beba 08:04:55 $ docker rm -f 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c 08:04:55 Removing intermediate container f34e2658beba 08:04:55 ---> b2f6b0f5cd52 08:04:55 Step 21/23 : LABEL arch=amd64 08:04:55 ---> Running in 5e8778bb12f7 08:04:56 Removing intermediate container 5e8778bb12f7 08:04:56 ---> 4618f4e48545 08:04:56 Step 22/23 : LABEL git_sha=ea2f983e788a845427826f536ae2e979748197ae 08:04:56 ---> Running in 0ac896efd048 08:04:56 Removing intermediate container 0ac896efd048 08:04:56 ---> c6c51e9b663d 08:04:56 Step 23/23 : LABEL version=0.0.0 08:04:56 ---> Running in 04f3aa74c206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 08:04:56 Removing intermediate container 04f3aa74c206 08:04:56 ---> 551c2f55e1eb 08:04:56 [Warning] One or more build-args [ARCH] were not consumed 08:04:56 Successfully built 551c2f55e1eb 08:04:56 Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 08:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 08:04:58 + ls -al . 08:04:58 total 228 08:04:58 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 08:04 . 08:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 .. 08:04:58 -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 08:02 .dockerignore 08:04:58 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 08:02 .git 08:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 08:02 .github 08:04:58 -rw-rw-r-- 1 jenkins jenkins 138 Aug 10 08:02 .gitignore 08:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 08:02 .semver 08:04:58 -rw-rw-r-- 1 jenkins jenkins 936 Aug 10 08:02 Dockerfile.build 08:04:58 -rw-rw-r-- 1 jenkins jenkins 808 Aug 10 08:02 Jenkinsfile 08:04:58 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 10 08:02 LICENSE 08:04:58 -rw-rw-r-- 1 jenkins jenkins 892 Aug 10 08:02 Makefile 08:04:58 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 10 08:02 README.md 08:04:58 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 10 08:02 RELEASE-NOTES.txt 08:04:58 -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 07:59 VERSION 08:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 08:02 bin 08:04:58 -rw-r--r-- 1 jenkins jenkins 110880 Aug 10 08:04 coverage.out 08:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 example 08:04:58 -rw-r--r-- 1 jenkins jenkins 446 Aug 10 08:04 go.mod 08:04:58 -rw-r--r-- 1 jenkins jenkins 12179 Aug 10 08:04 go.sum 08:04:58 drwxrwxr-x 13 jenkins jenkins 4096 Aug 10 08:02 internal 08:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 openapi 08:04:58 drwxrwxr-x 5 jenkins jenkins 4096 Aug 10 08:02 pkg 08:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 snap 08:04:58 -rw-rw-r-- 1 jenkins jenkins 222 Aug 10 08:02 version.go [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 08:04:58 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ea2f983e788a845427826f536ae2e979748197ae --label arch=arm64 --label version=0.0.0 . 08:04:59 Sending build context to Docker daemon 3.164MB 08:04:59 Step 1/23 : ARG BASE=golang:1.13-alpine 08:04:59 Step 2/23 : FROM ${BASE} AS builder 08:04:59 ---> ab06b8cf2502 08:04:59 Step 3/23 : ARG MAKE='make build' 08:04:59 ---> Running in 70c2b3eabcf4 08:04:59 Removing intermediate container 70c2b3eabcf4 08:04:59 ---> 60677d8b328e 08:04:59 Step 4/23 : WORKDIR /device-sdk-go 08:04:59 ---> Running in 0f060cccb9d7 08:05:00 Removing intermediate container 0f060cccb9d7 08:05:00 ---> a9eeaf557709 08:05:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:00 ---> Running in a79510dd3494 08:05:01 Removing intermediate container a79510dd3494 08:05:01 ---> abdf44818a1c 08:05:01 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:01 ---> Running in 50afbd070b5d 08:05:03 Removing intermediate container 50afbd070b5d 08:05:03 ---> 53db58dc7500 08:05:03 Step 7/23 : RUN apk add --update --no-cache make git 08:05:03 ---> Running in ab116984f935 08:05:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:05:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:05:06 OK: 142 MiB in 39 packages 08:05:08 Removing intermediate container ab116984f935 08:05:08 ---> 1a0db767072b 08:05:08 Step 8/23 : COPY . . 08:05:09 ---> 9673628599c8 08:05:09 Step 9/23 : RUN ${MAKE} 08:05:09 ---> Running in 0ab6db8de742 08:05: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 08:05:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:05:36 Removing intermediate container 0ab6db8de742 08:05:36 ---> f17bd8352387 08:05:36 Step 10/23 : FROM scratch 08:05:36 ---> 08:05:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:36 ---> Running in 1ec3e6ab4e08 08:05:36 Removing intermediate container 1ec3e6ab4e08 08:05:36 ---> 436804c74ded 08:05:36 Step 12/23 : ENV APP_PORT=49990 08:05:36 ---> Running in ecbf185c5429 08:05:36 Removing intermediate container ecbf185c5429 08:05:36 ---> 47da12912a1d 08:05:36 Step 13/23 : EXPOSE $APP_PORT 08:05:36 ---> Running in fbe38bab87f0 08:05:37 Removing intermediate container fbe38bab87f0 08:05:37 ---> 54330166f248 08:05:37 Step 14/23 : WORKDIR / 08:05:37 ---> Running in 86a1eeeecac5 08:05:37 Removing intermediate container 86a1eeeecac5 08:05:37 ---> 40f9e7226a0f 08:05:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:05:38 ---> 8029a6476ab1 08:05:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:05:39 ---> f4aed7eaf40c 08:05:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:05:40 ---> a821bcb0c2c6 08:05:40 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:05:41 ---> f46748ea64d2 08:05:41 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:05:41 ---> 4f3159175472 08:05:41 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:05:42 ---> Running in 0e043e097bb7 08:05:42 Removing intermediate container 0e043e097bb7 08:05:42 ---> fc47d8973bba 08:05:42 Step 21/23 : LABEL arch=arm64 08:05:42 ---> Running in 40cde9ea2dea 08:05:42 Removing intermediate container 40cde9ea2dea 08:05:42 ---> 6f83f1b742b2 08:05:42 Step 22/23 : LABEL git_sha=ea2f983e788a845427826f536ae2e979748197ae 08:05:43 ---> Running in fb1c7a060c98 08:05:43 Removing intermediate container fb1c7a060c98 08:05:43 ---> 087d50a57b55 08:05:43 Step 23/23 : LABEL version=0.0.0 08:05:43 ---> Running in 8e7db10c9a3d 08:05:44 Removing intermediate container 8e7db10c9a3d 08:05:44 ---> 6a0927ffa3b0 08:05:44 [Warning] One or more build-args [ARCH] were not consumed 08:05:44 Successfully built 6a0927ffa3b0 08:05:44 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 08:05:46 provisioning config files... 08:05:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config6058687156505247323tmp [Pipeline] { [Pipeline] sh 08:05:47 + curl -s https://codecov.io/bash 08:05:47 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config6058687156505247323tmp [Pipeline] } 08:05:47 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 08:05:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:50 ---> package-listing.sh 08:05:50 ++ facter osfamily 08:05:50 ++ tr '[:upper:]' '[:lower:]' 08:05:50 + OS_FAMILY=redhat 08:05:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-562 08:05:50 + START_PACKAGES=/tmp/packages_start.txt 08:05:50 + END_PACKAGES=/tmp/packages_end.txt 08:05:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:50 + PACKAGES=/tmp/packages_start.txt 08:05:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-562 ']' 08:05:50 + PACKAGES=/tmp/packages_end.txt 08:05:50 + case "${OS_FAMILY}" in 08:05:50 + rpm -qa 08:05:50 + sort 08:05:54 + '[' -f /tmp/packages_start.txt ']' 08:05:54 + '[' -f /tmp/packages_end.txt ']' 08:05:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-562 ']' 08:05:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-562/archives/ 08:05:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-562/archives/ [Pipeline] isUnix [Pipeline] sh 08:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:55 08:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:05:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:55 alpine: Pulling from edgex-lftools-log-publisher 08:05:55 c9b1b535fdd9: Pulling fs layer 08:05:55 2cc5ad85d9ab: Pulling fs layer 08:05:55 756a868c4378: Pulling fs layer 08:05:55 444b2fc9a129: Pulling fs layer 08:05:55 ea15f1150254: Pulling fs layer 08:05:55 41b27a9f41bf: Pulling fs layer 08:05:55 28c525ee5125: Pulling fs layer 08:05:55 094b1ea09ed8: Pulling fs layer 08:05:55 138eaada9080: Pulling fs layer 08:05:55 0622d0fa9048: Pulling fs layer 08:05:55 41b27a9f41bf: Waiting 08:05:55 28c525ee5125: Waiting 08:05:55 094b1ea09ed8: Waiting 08:05:55 138eaada9080: Waiting 08:05:55 0622d0fa9048: Waiting 08:05:55 444b2fc9a129: Waiting 08:05:55 ea15f1150254: Waiting 08:05:55 2cc5ad85d9ab: Verifying Checksum 08:05:55 2cc5ad85d9ab: Download complete 08:05:55 444b2fc9a129: Download complete 08:05:55 c9b1b535fdd9: Verifying Checksum 08:05:55 c9b1b535fdd9: Download complete 08:05:55 ea15f1150254: Verifying Checksum 08:05:55 ea15f1150254: Download complete 08:05:56 28c525ee5125: Verifying Checksum 08:05:56 28c525ee5125: Download complete 08:05:56 756a868c4378: Verifying Checksum 08:05:56 756a868c4378: Download complete 08:05:56 138eaada9080: Verifying Checksum 08:05:56 138eaada9080: Download complete 08:05:56 0622d0fa9048: Verifying Checksum 08:05:56 0622d0fa9048: Download complete 08:05:56 c9b1b535fdd9: Pull complete 08:05:56 094b1ea09ed8: Verifying Checksum 08:05:56 094b1ea09ed8: Download complete 08:05:57 2cc5ad85d9ab: Pull complete 08:05:57 41b27a9f41bf: Verifying Checksum 08:05:57 41b27a9f41bf: Download complete 08:05:58 756a868c4378: Pull complete 08:05:58 444b2fc9a129: Pull complete 08:05:58 ea15f1150254: Pull complete 08:06:02 41b27a9f41bf: Pull complete 08:06:02 28c525ee5125: Pull complete 08:06:05 094b1ea09ed8: Pull complete 08:06:05 138eaada9080: Pull complete 08:06:06 0622d0fa9048: Pull complete 08:06:06 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:06:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:06:06 prd-centos7-docker-4c-2g-3237 does not seem to be running inside a container 08:06:06 $ 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-562 -v /w/workspace/dgexfoundry_device-sdk-go_PR-562:/w/workspace/dgexfoundry_device-sdk-go_PR-562:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-562@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 08:06:09 $ docker top 99e6593f9f148b14b52d9cad796b110a1d8ac2a216fa04bd73dca0c83478e6dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:10 provisioning config files... 08:06:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config3703086117024207579tmp [Pipeline] { [Pipeline] echo 08:06:10 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:10 ---> create-netrc.sh [Pipeline] echo 08:06:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:11 ---> logs-deploy.sh 08:06:11 + ARCHIVE_ARTIFACTS= 08:06:11 + LOGS_SERVER=https://logs.edgexfoundry.org 08:06:11 + '[' https://logs.edgexfoundry.org == None ']' 08:06:11 + NEXUS_URL=https://nexus.edgexfoundry.org 08:06:11 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 08:06:11 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-562/1/ 08:06:11 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 /w/workspace/dgexfoundry_device-sdk-go_PR-562 08:06:12 Archives upload complete. 08:06:12 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-562/1/