Pull request #124 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 FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from d268b7b912523b285531c1ff9f8adab66f578ade+d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 (5e882d5b0179a5f5e4b2803778facc3e5fc18443) 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-virtual-go/branches/PR-124/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-virtual-go, goVersion:1.13] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-656 in /w/workspace/foundry_device-virtual-go_PR-124 [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-virtual-go.git Fetching without tags Merging remotes/origin/master commit d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 into PR head commit d268b7b912523b285531c1ff9f8adab66f578ade > git init /w/workspace/foundry_device-virtual-go_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/124/head:refs/remotes/origin/PR-124 # 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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 Merge succeeded, producing d268b7b912523b285531c1ff9f8adab66f578ade Checking out Revision d268b7b912523b285531c1ff9f8adab66f578ade (PR-124) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 Commit message: "doc: Update top-level README" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:00:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:00:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:00:19 ========================================================= 08:00:19 EdgeX Global Pipelines Version Info 08:00:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:00:21 ------------------- 08:00:21 stable info: 08:00:21 ------------------- 08:00:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:00:21 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 08:00:21 Message: update stable to v1.0.106 08:00:22 ------------------- 08:00:22 experimental info: 08:00:22 ------------------- 08:00:22 Commited By: **** collab-it+edgex@linuxfoundation.org 08:00:22 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 08:00:22 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 08:00:24 + git log --format=format:%s -1 d268b7b912523b285531c1ff9f8adab66f578ade [Pipeline] echo 08:00:24 GIT_COMMIT: d268b7b912523b285531c1ff9f8adab66f578ade, Commit Message: doc: Update top-level README [Pipeline] echo 08:00:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:00:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:00:26 08:00:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:00:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:00:27 latest: Pulling from edgex-devops/git-semver 08:00:27 31603596830f: Pulling fs layer 08:00:27 2a8b12db71e7: Pulling fs layer 08:00:27 6ca5941a6612: Pulling fs layer 08:00:27 ecc8261a40a4: Pulling fs layer 08:00:27 ecc8261a40a4: Waiting 08:00:27 2a8b12db71e7: Verifying Checksum 08:00:27 2a8b12db71e7: Download complete 08:00:27 31603596830f: Verifying Checksum 08:00:27 31603596830f: Download complete 08:00:27 ecc8261a40a4: Verifying Checksum 08:00:27 ecc8261a40a4: Download complete 08:00:27 6ca5941a6612: Verifying Checksum 08:00:27 6ca5941a6612: Download complete 08:00:27 31603596830f: Pull complete 08:00:27 2a8b12db71e7: Pull complete 08:00:28 6ca5941a6612: Pull complete 08:00:28 ecc8261a40a4: Pull complete 08:00:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:00:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:00:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:00:28 prd-centos7-docker-4c-2g-656 does not seem to be running inside a container 08:00:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-124 -v /w/workspace/foundry_device-virtual-go_PR-124:/w/workspace/foundry_device-virtual-go_PR-124:rw,z -v /w/workspace/foundry_device-virtual-go_PR-124@tmp:/w/workspace/foundry_device-virtual-go_PR-124@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:00:30 $ docker top c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:00:30 [ssh-agent] Looking for ssh-agent implementation... 08:00:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:00:31 $ docker exec c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a ssh-agent 08:00:31 SSH_AUTH_SOCK=/tmp/ssh-vHCQuu8JmKbv/agent.12 08:00:31 SSH_AGENT_PID=17 08:00:31 Running ssh-add (command line suppressed) 08:00:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-124@tmp/private_key_1340680114027027181.key (/w/workspace/foundry_device-virtual-go_PR-124@tmp/private_key_1340680114027027181.key) 08:00:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:00:31 + git describe --exact-match --tags HEAD 08:00:31 fatal: No names found, cannot describe anything. [Pipeline] } 08:00:31 $ docker exec --env ******** --env ******** c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a ssh-agent -k 08:00:31 unset SSH_AUTH_SOCK; 08:00:31 unset SSH_AGENT_PID; 08:00:31 echo Agent pid 17 killed; 08:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:00:32 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:00:32 This usually means this commit has not been tagged. [Pipeline] sshagent 08:00:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:00:32 [ssh-agent] Looking for ssh-agent implementation... 08:00:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:00:32 $ docker exec c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a ssh-agent 08:00:32 SSH_AUTH_SOCK=/tmp/ssh-hLpaD5NC4dFY/agent.45 08:00:32 SSH_AGENT_PID=50 08:00:32 Running ssh-add (command line suppressed) 08:00:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-124@tmp/private_key_4781654573996205009.key (/w/workspace/foundry_device-virtual-go_PR-124@tmp/private_key_4781654573996205009.key) 08:00:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:00:33 + git semver init 08:00:33 # -> Open(): unable to determine branch for HEAD 08:00:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-124/.git 08:00:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-124 08:00:33 # $SEMVER_REMOTE_NAME = origin 08:00:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:00:33 # $SEMVER_USER_NAME = edgex-jenkins 08:00:33 # $SEMVER_BRANCH = PR-124 08:00:33 # $SEMVER_TEMP = /tmp/semver-584682464 08:00:33 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:00:33 # '/tmp/semver-584682464' -> '/w/workspace/foundry_device-virtual-go_PR-124/.semver' 08:00:33 # -> Force: false 08:00:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-124/.semver [Pipeline] } 08:00:33 $ docker exec --env ******** --env ******** c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a ssh-agent -k 08:00:33 unset SSH_AUTH_SOCK; 08:00:33 unset SSH_AGENT_PID; 08:00:33 echo Agent pid 50 killed; 08:00:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:00:34 + git semver [Pipeline] } 08:00:34 $ docker stop --time=1 c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a 08:00:35 $ docker rm -f c0b40c22748eaf80d6f4d991f2f75a4d849bc80617dfa5b367b07812798e409a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:00:36 Stashed 23 file(s) [Pipeline] echo 08:00:36 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 08:00:36 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:52 Still waiting to schedule task 08:00:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:00:52 Still waiting to schedule task 08:00:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:02:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-657 in /w/workspace/foundry_device-virtual-go_PR-124 [Pipeline] { [Pipeline] ws 08:02:34 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:02:40 using credential edgex-jenkins-ssh 08:02:40 Cloning the remote Git repository 08:02:40 Cloning with configured refspecs honoured and without tags 08:02:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:02:40 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:02:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:02:40 > git --version # timeout=10 08:02:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:02:41 > git config --add remote.origin.fetch +refs/pull/124/head:refs/remotes/origin/PR-124 # timeout=10 08:02:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:02:41 Fetching without tags 08:02:41 Merging remotes/origin/master commit d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 into PR head commit d268b7b912523b285531c1ff9f8adab66f578ade 08:02:41 Merge succeeded, producing d268b7b912523b285531c1ff9f8adab66f578ade 08:02:41 Checking out Revision d268b7b912523b285531c1ff9f8adab66f578ade (PR-124) 08:02:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:02:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:02:41 > git config core.sparsecheckout # timeout=10 08:02:41 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 08:02:41 > git remote # timeout=10 08:02:41 > git config --get remote.origin.url # timeout=10 08:02:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:41 > git merge d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 08:02:41 > git rev-parse HEAD^{commit} # timeout=10 08:02:41 > git config core.sparsecheckout # timeout=10 08:02:41 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 08:02:46 Commit message: "doc: Update top-level README" 08:02:46 > git --version # timeout=10 08:02:46 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:02:47 ========================================================= 08:02:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:02:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:02:49 + 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:50 Sending build context to Docker daemon 535.6kB 08:02:50 Step 1/8 : ARG BASE=golang:1.13-alpine 08:02:50 Step 2/8 : FROM ${BASE} 08:02:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:02:50 b538f80385f9: Pulling fs layer 08:02:50 74f711af9a0d: Pulling fs layer 08:02:50 99f96fe45779: Pulling fs layer 08:02:50 fd7a069fd194: Pulling fs layer 08:02:50 66aa3694b03b: Pulling fs layer 08:02:50 170f70906a0f: Pulling fs layer 08:02:50 ad7c5574e4b9: Pulling fs layer 08:02:50 e772456be8f7: Pulling fs layer 08:02:50 c890913d741a: Pulling fs layer 08:02:50 2480fcc9aa5a: Pulling fs layer 08:02:50 09adf4765672: Pulling fs layer 08:02:50 fd7a069fd194: Waiting 08:02:50 66aa3694b03b: Waiting 08:02:50 170f70906a0f: Waiting 08:02:50 ad7c5574e4b9: Waiting 08:02:50 e772456be8f7: Waiting 08:02:50 c890913d741a: Waiting 08:02:50 2480fcc9aa5a: Waiting 08:02:50 09adf4765672: Waiting 08:02:50 99f96fe45779: Verifying Checksum 08:02:50 99f96fe45779: Download complete 08:02:50 74f711af9a0d: Verifying Checksum 08:02:50 74f711af9a0d: Download complete 08:02:50 66aa3694b03b: Verifying Checksum 08:02:50 66aa3694b03b: Download complete 08:02:50 170f70906a0f: Verifying Checksum 08:02:50 170f70906a0f: Download complete 08:02:50 b538f80385f9: Verifying Checksum 08:02:50 b538f80385f9: Download complete 08:02:51 b538f80385f9: Pull complete 08:02:51 74f711af9a0d: Pull complete 08:02:52 99f96fe45779: Pull complete 08:02:52 ad7c5574e4b9: Verifying Checksum 08:02:52 ad7c5574e4b9: Download complete 08:02:52 c890913d741a: Verifying Checksum 08:02:52 c890913d741a: Download complete 08:02:53 2480fcc9aa5a: Verifying Checksum 08:02:53 2480fcc9aa5a: Download complete 08:02:53 09adf4765672: Download complete 08:02:54 e772456be8f7: Verifying Checksum 08:02:54 e772456be8f7: Download complete 08:02:54 fd7a069fd194: Verifying Checksum 08:02:54 fd7a069fd194: Download complete 08:03:07 fd7a069fd194: Pull complete 08:03:07 66aa3694b03b: Pull complete 08:03:07 170f70906a0f: Pull complete 08:03:10 ad7c5574e4b9: Pull complete 08:03:16 e772456be8f7: Pull complete 08:03:16 c890913d741a: Pull complete 08:03:18 2480fcc9aa5a: Pull complete 08:03:18 09adf4765672: Pull complete 08:03:18 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:03:18 ---> 2248a725d1cf 08:03:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:03:23 ---> Running in 06ebb579b0f4 08:03:23 Removing intermediate container 06ebb579b0f4 08:03:23 ---> 6af5e02080a3 08:03:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:03:23 ---> Running in 8123c44a01ac 08:03:26 Removing intermediate container 8123c44a01ac 08:03:26 ---> 4541d557b7fa 08:03:26 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:03:26 ---> Running in 11ac3ae95f0c 08:03:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:03:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:03:29 (1/14) Installing libmagic (5.38-r0) 08:03:29 (2/14) Installing file (5.38-r0) 08:03:29 (3/14) Installing libc-dev (0.7.2-r3) 08:03:29 (4/14) Installing g++ (9.3.0-r2) 08:03:32 (5/14) Installing fortify-headers (1.1-r0) 08:03:32 (6/14) Installing patch (2.7.6-r6) 08:03:32 (7/14) Installing build-base (0.5-r2) 08:03:32 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:03:32 (9/14) Installing libedit (20191231.3.1-r0) 08:03:32 (10/14) Installing openssh-client (8.3_p1-r0) 08:03:33 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:03:33 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:03:33 (13/14) Installing openssh-server (8.3_p1-r0) 08:03:33 (14/14) Installing openssh (8.3_p1-r0) 08:03:33 Executing busybox-1.31.1-r16.trigger 08:03:33 OK: 221 MiB in 53 packages 08:03:38 Removing intermediate container 11ac3ae95f0c 08:03:38 ---> 069234d378a4 08:03:38 Step 6/8 : WORKDIR /device-virtual-go 08:03:38 ---> Running in d474eac03d3d 08:03:38 Removing intermediate container d474eac03d3d 08:03:38 ---> 09daef438758 08:03:38 Step 7/8 : COPY . . 08:03:39 ---> f31ae9b530fe 08:03:39 Step 8/8 : RUN go mod download 08:03:39 ---> Running in e473f411b113 08:03:43 go: finding github.com/BurntSushi/toml v0.3.1 08:03:43 go: finding github.com/OneOfOne/xxhash v1.2.6 08:03:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:03:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:03:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:03:43 go: finding github.com/bgentry/speakeasy v0.1.0 08:03:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:03:43 go: finding github.com/davecgh/go-spew v1.1.1 08:03:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:03:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:03:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:03:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:03:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:03:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:03:43 go: finding github.com/edsrzf/mmap-go v1.0.0 08:03:43 go: finding github.com/fatih/color v1.7.0 08:03:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:03:43 go: finding github.com/go-kit/kit v0.8.0 08:03:43 go: finding github.com/go-logfmt/logfmt v0.4.0 08:03:43 go: finding github.com/go-stack/stack v1.8.0 08:03:43 go: finding github.com/golang/snappy v0.0.1 08:03:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:03:43 go: finding github.com/google/uuid v1.1.0 08:03:43 go: finding github.com/gorilla/mux v1.7.1 08:03:43 go: finding github.com/hashicorp/consul/api v1.1.0 08:03:44 Running on prd-centos7-docker-4c-2g-658 in /w/workspace/foundry_device-virtual-go_PR-124 [Pipeline] { 08:03:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:03:44 go: finding github.com/hashicorp/errwrap v1.0.0 08:03:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:03:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:03:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:03:44 go: finding github.com/hashicorp/go-multierror v1.0.0 [Pipeline] ws 08:03:44 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:03:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:03:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:03:44 go: finding github.com/hashicorp/go-syslog v1.0.0 08:03:44 go: finding github.com/hashicorp/go-uuid v1.0.1 08:03:44 go: finding github.com/hashicorp/go.net v0.0.1 08:03:44 go: finding github.com/hashicorp/golang-lru v0.5.0 08:03:44 go: finding github.com/hashicorp/logutils v1.0.0 08:03:44 go: finding github.com/hashicorp/mdns v1.0.0 08:03:44 go: finding github.com/hashicorp/memberlist v0.1.3 08:03:44 go: finding github.com/hashicorp/serf v0.8.2 08:03:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:03:44 go: finding github.com/mattn/go-colorable v0.0.9 08:03:44 go: finding github.com/mattn/go-isatty v0.0.3 08:03:44 go: finding github.com/miekg/dns v1.0.14 08:03:45 go: finding github.com/mitchellh/cli v1.0.0 08:03:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:03:45 go: finding github.com/mitchellh/copystructure v1.0.0 08:03:45 go: finding github.com/mitchellh/go-homedir v1.0.0 08:03:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:03:45 go: finding github.com/mitchellh/gox v0.4.0 08:03:45 go: finding github.com/mitchellh/iochan v1.0.0 08:03:45 go: finding github.com/mitchellh/mapstructure v1.1.2 08:03:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:03:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:03:45 go: finding github.com/pelletier/go-toml v1.2.0 08:03:45 go: finding github.com/pkg/errors v0.8.1 08:03:45 go: finding github.com/pmezard/go-difflib v1.0.0 08:03:45 go: finding github.com/posener/complete v1.1.1 08:03:45 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:03:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:03:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:03:45 go: finding github.com/stretchr/objx v0.1.0 08:03:45 go: finding github.com/stretchr/testify v1.5.1 08:03:45 go: finding github.com/ugorji/go v1.1.4 08:03:45 go: finding github.com/x448/float16 v0.8.4 08:03:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:03:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:03:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:03:45 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:03:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:03:46 go: finding gopkg.in/yaml.v2 v2.2.8 08:03:46 go: finding modernc.org/b v1.0.0 08:03:46 go: finding modernc.org/db v1.0.0 08:03:46 go: finding modernc.org/file v1.0.0 08:03:46 go: finding modernc.org/fileutil v1.0.0 08:03:46 go: finding modernc.org/golex v1.0.0 08:03:46 go: finding modernc.org/internal v1.0.0 08:03:46 go: finding modernc.org/lldb v1.0.0 08:03:46 go: finding modernc.org/mathutil v1.0.0 08:03:46 go: finding modernc.org/ql v1.0.0 08:03:46 go: finding modernc.org/sortutil v1.0.0 08:03:46 go: finding modernc.org/strutil v1.0.0 08:03:46 go: finding modernc.org/zappy v1.0.0 08:03:47 using credential edgex-jenkins-ssh 08:03:47 Cloning the remote Git repository 08:03:47 Cloning with configured refspecs honoured and without tags 08:03:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:03:47 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:03:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:03:47 > git --version # timeout=10 08:03:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:48 Fetching without tags 08:03:48 Merging remotes/origin/master commit d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 into PR head commit d268b7b912523b285531c1ff9f8adab66f578ade 08:03:49 Merge succeeded, producing d268b7b912523b285531c1ff9f8adab66f578ade 08:03:49 Checking out Revision d268b7b912523b285531c1ff9f8adab66f578ade (PR-124) 08:03:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:03:48 > git config --add remote.origin.fetch +refs/pull/124/head:refs/remotes/origin/PR-124 # timeout=10 08:03:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:03:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:03:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:03:49 > git config core.sparsecheckout # timeout=10 08:03:49 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 08:03:49 > git remote # timeout=10 08:03:49 > git config --get remote.origin.url # timeout=10 08:03:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:49 > git merge d9b83bd88a573ae11fcf404e5819c6bf4fe22e20 # timeout=10 08:03:49 > git rev-parse HEAD^{commit} # timeout=10 08:03:49 > git config core.sparsecheckout # timeout=10 08:03:49 > git checkout -f d268b7b912523b285531c1ff9f8adab66f578ade # timeout=10 08:03:52 Commit message: "doc: Update top-level README" 08:03:52 > git --version # timeout=10 08:03:52 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:03:53 ========================================================= 08:03:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:03:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:03:54 + 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:55 Sending build context to Docker daemon 535.6kB 08:03:55 Step 1/8 : ARG BASE=golang:1.13-alpine 08:03:55 Step 2/8 : FROM ${BASE} 08:03:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:03:55 df20fa9351a1: Pulling fs layer 08:03:55 ed8968b2872e: Pulling fs layer 08:03:55 a92cc7c5fd73: Pulling fs layer 08:03:55 2dd03ba5bac4: Pulling fs layer 08:03:55 1e091d79d1de: Pulling fs layer 08:03:55 481702a1767f: Pulling fs layer 08:03:55 f64a6f60c768: Pulling fs layer 08:03:55 e78d2573fc39: Pulling fs layer 08:03:55 e876d2f968b6: Pulling fs layer 08:03:55 ce8a83651883: Pulling fs layer 08:03:55 07967f4d0e4b: Pulling fs layer 08:03:55 ce8a83651883: Waiting 08:03:55 07967f4d0e4b: Waiting 08:03:55 2dd03ba5bac4: Waiting 08:03:55 1e091d79d1de: Waiting 08:03:55 481702a1767f: Waiting 08:03:55 f64a6f60c768: Waiting 08:03:55 a92cc7c5fd73: Verifying Checksum 08:03:55 a92cc7c5fd73: Download complete 08:03:55 ed8968b2872e: Verifying Checksum 08:03:55 ed8968b2872e: Download complete 08:03:55 1e091d79d1de: Verifying Checksum 08:03:55 1e091d79d1de: Download complete 08:03:55 481702a1767f: Verifying Checksum 08:03:55 481702a1767f: Download complete 08:03:55 df20fa9351a1: Verifying Checksum 08:03:55 df20fa9351a1: Download complete 08:03:56 df20fa9351a1: Pull complete 08:03:56 f64a6f60c768: Verifying Checksum 08:03:56 f64a6f60c768: Download complete 08:03:56 e876d2f968b6: Verifying Checksum 08:03:56 e876d2f968b6: Download complete 08:03:56 Removing intermediate container e473f411b113 08:03:56 ---> 555192a94864 08:03:56 Successfully built 555192a94864 08:03:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 08:03:57 ce8a83651883: Verifying Checksum 08:03:57 ce8a83651883: Download complete 08:03:57 2dd03ba5bac4: Verifying Checksum 08:03:57 2dd03ba5bac4: Download complete 08:03:57 07967f4d0e4b: Verifying Checksum 08:03:57 07967f4d0e4b: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 08:03:57 e78d2573fc39: Verifying Checksum 08:03:57 e78d2573fc39: Download complete [Pipeline] isUnix [Pipeline] sh 08:03:57 + docker inspect -f . ci-base-image-arm64 08:03:57 . [Pipeline] withDockerContainer 08:03:58 prd-ubuntu18.04-docker-arm64-4c-16g-657 does not seem to be running inside a container 08:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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-arm64 cat 08:03:58 ed8968b2872e: Pull complete 08:03:58 a92cc7c5fd73: Pull complete 08:04:00 $ docker top 348b928d32b2a3d5c07ac9a5fe6d9c49cae7ce125ac29abcf9f49bd450f559dd -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:01 + go version 08:04:01 go version go1.13.13 linux/arm64 [Pipeline] sh 08:04:02 + make test 08:04:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:04:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:04:05 2dd03ba5bac4: Pull complete 08:04:05 1e091d79d1de: Pull complete 08:04:05 481702a1767f: Pull complete 08:04:09 f64a6f60c768: Pull complete 08:04:13 e78d2573fc39: Pull complete 08:04:13 e876d2f968b6: Pull complete 08:04:14 ce8a83651883: Pull complete 08:04:14 07967f4d0e4b: Pull complete 08:04:14 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:04:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:04:14 ---> 5d7c900382c6 08:04:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:04:16 ---> Running in d8db17507ae0 08:04:16 Removing intermediate container d8db17507ae0 08:04:16 ---> 46492fb75019 08:04:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:16 ---> Running in a9057b0f82e5 08:04:17 Removing intermediate container a9057b0f82e5 08:04:17 ---> 0540dceb6ee0 08:04:17 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:04:17 ---> Running in 65e45f7f6b36 08:04:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:04:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:04:19 (1/14) Installing libmagic (5.38-r0) 08:04:19 (2/14) Installing file (5.38-r0) 08:04:19 (3/14) Installing libc-dev (0.7.2-r3) 08:04:19 (4/14) Installing g++ (9.3.0-r2) 08:04:22 (5/14) Installing fortify-headers (1.1-r0) 08:04:22 (6/14) Installing patch (2.7.6-r6) 08:04:22 (7/14) Installing build-base (0.5-r2) 08:04:22 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:04:22 (9/14) Installing libedit (20191231.3.1-r0) 08:04:22 (10/14) Installing openssh-client (8.3_p1-r0) 08:04:22 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:04:22 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:04:22 (13/14) Installing openssh-server (8.3_p1-r0) 08:04:23 (14/14) Installing openssh (8.3_p1-r0) 08:04:23 Executing busybox-1.31.1-r16.trigger 08:04:23 OK: 237 MiB in 53 packages 08:04:26 Removing intermediate container 65e45f7f6b36 08:04:26 ---> b69cf82a111d 08:04:26 Step 6/8 : WORKDIR /device-virtual-go 08:04:26 ---> Running in 7c9eece87c77 08:04:26 Removing intermediate container 7c9eece87c77 08:04:26 ---> 8cb597b057ea 08:04:26 Step 7/8 : COPY . . 08:04:27 ---> 8eedb6f59373 08:04:27 Step 8/8 : RUN go mod download 08:04:27 ---> Running in 998908f40a8a 08:04:29 go: finding github.com/BurntSushi/toml v0.3.1 08:04:29 go: finding github.com/OneOfOne/xxhash v1.2.6 08:04:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:04:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:04:29 go: finding github.com/bgentry/speakeasy v0.1.0 08:04:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:04:29 go: finding github.com/davecgh/go-spew v1.1.1 08:04:30 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:04:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:04:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:04:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:04:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:04:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:04:30 go: finding github.com/edsrzf/mmap-go v1.0.0 08:04:30 go: finding github.com/fatih/color v1.7.0 08:04:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:04:30 go: finding github.com/go-kit/kit v0.8.0 08:04:30 go: finding github.com/go-logfmt/logfmt v0.4.0 08:04:30 go: finding github.com/go-stack/stack v1.8.0 08:04:30 go: finding github.com/golang/snappy v0.0.1 08:04:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:04:30 go: finding github.com/google/uuid v1.1.0 08:04:30 go: finding github.com/gorilla/mux v1.7.1 08:04:30 go: finding github.com/hashicorp/consul/api v1.1.0 08:04:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:04:30 go: finding github.com/hashicorp/errwrap v1.0.0 08:04:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:04:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:04:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:04:30 go: finding github.com/hashicorp/go-multierror v1.0.0 08:04:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:04:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:04:30 go: finding github.com/hashicorp/go-syslog v1.0.0 08:04:31 go: finding github.com/hashicorp/go-uuid v1.0.1 08:04:31 go: finding github.com/hashicorp/go.net v0.0.1 08:04:31 go: finding github.com/hashicorp/golang-lru v0.5.0 08:04:31 go: finding github.com/hashicorp/logutils v1.0.0 08:04:31 go: finding github.com/hashicorp/mdns v1.0.0 08:04:31 go: finding github.com/hashicorp/memberlist v0.1.3 08:04:31 go: finding github.com/hashicorp/serf v0.8.2 08:04:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:04:31 go: finding github.com/mattn/go-colorable v0.0.9 08:04:31 go: finding github.com/mattn/go-isatty v0.0.3 08:04:31 go: finding github.com/miekg/dns v1.0.14 08:04:31 go: finding github.com/mitchellh/cli v1.0.0 08:04:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:31 go: finding github.com/mitchellh/copystructure v1.0.0 08:04:31 go: finding github.com/mitchellh/go-homedir v1.0.0 08:04:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:04:31 go: finding github.com/mitchellh/gox v0.4.0 08:04:31 go: finding github.com/mitchellh/iochan v1.0.0 08:04:31 go: finding github.com/mitchellh/mapstructure v1.1.2 08:04:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:04:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:04:31 go: finding github.com/pelletier/go-toml v1.2.0 08:04:31 go: finding github.com/pkg/errors v0.8.1 08:04:31 go: finding github.com/pmezard/go-difflib v1.0.0 08:04:31 go: finding github.com/posener/complete v1.1.1 08:04:31 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:04:32 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:04:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:04:32 go: finding github.com/stretchr/objx v0.1.0 08:04:32 go: finding github.com/stretchr/testify v1.5.1 08:04:32 go: finding github.com/ugorji/go v1.1.4 08:04:32 go: finding github.com/x448/float16 v0.8.4 08:04:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:04:32 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:04:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:04:32 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:04:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:04:32 go: finding gopkg.in/yaml.v2 v2.2.8 08:04:32 go: finding modernc.org/b v1.0.0 08:04:32 go: finding modernc.org/db v1.0.0 08:04:32 go: finding modernc.org/file v1.0.0 08:04:32 go: finding modernc.org/fileutil v1.0.0 08:04:32 go: finding modernc.org/golex v1.0.0 08:04:32 go: finding modernc.org/internal v1.0.0 08:04:32 go: finding modernc.org/lldb v1.0.0 08:04:32 go: finding modernc.org/mathutil v1.0.0 08:04:32 go: finding modernc.org/ql v1.0.0 08:04:32 go: finding modernc.org/sortutil v1.0.0 08:04:33 go: finding modernc.org/strutil v1.0.0 08:04:33 go: finding modernc.org/zappy v1.0.0 08:04:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:04:43 Removing intermediate container 998908f40a8a 08:04:43 ---> 8a82df524d1f 08:04:43 Successfully built 8a82df524d1f 08:04:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 08:04:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.808s coverage: 56.4% of statements [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 08:04:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:04:44 + docker inspect -f . ci-base-image-x86_64 08:04:44 . [Pipeline] withDockerContainer 08:04:44 prd-centos7-docker-4c-2g-658 does not seem to be running inside a container 08:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:04:45 $ docker top 92f99e3a8098108f2f08fdfe37b9cbd2e7a66a7d28465e0a01aa783e0b548b6b -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:46 + go version 08:04:46 go version go1.13.13 linux/amd64 [Pipeline] sh 08:04:46 + make test 08:04:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:04:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:04:51 gofmt -l . 08:04:51 [ "`gofmt -l .`" = "" ] 08:04:51 ./bin/test-attribution-txt.sh 08:04:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:04:53 Stashed 1 file(s) [Pipeline] } 08:04:53 $ docker stop --time=1 348b928d32b2a3d5c07ac9a5fe6d9c49cae7ce125ac29abcf9f49bd450f559dd 08:04:55 $ docker rm -f 348b928d32b2a3d5c07ac9a5fe6d9c49cae7ce125ac29abcf9f49bd450f559dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:59 + ls -al . 08:04:59 total 136 08:04:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 08:04 . 08:04:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 08:02 .. 08:04:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 08:02 .git 08:04:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 08:02 .github 08:04:59 -rw-rw-r-- 1 jenkins jenkins 258 Aug 21 08:02 .gitignore 08:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:02 .semver 08:04:59 -rw-rw-r-- 1 jenkins jenkins 6432 Aug 21 08:02 Attribution.txt 08:04:59 -rw-rw-r-- 1 jenkins jenkins 1826 Aug 21 08:02 Dockerfile 08:04:59 -rw-rw-r-- 1 jenkins jenkins 957 Aug 21 08:02 Dockerfile.build 08:04:59 -rw-rw-r-- 1 jenkins jenkins 683 Aug 21 08:02 Jenkinsfile 08:04:59 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 08:02 LICENSE 08:04:59 -rw-rw-r-- 1 jenkins jenkins 873 Aug 21 08:02 Makefile 08:04:59 -rw-rw-r-- 1 jenkins jenkins 918 Aug 21 08:02 README.md 08:04:59 -rw-rw-r-- 1 jenkins jenkins 5 Aug 21 08:00 VERSION 08:04:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 08:02 bin 08:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:02 cmd 08:04:59 -rw-r--r-- 1 jenkins jenkins 29142 Aug 21 08:04 coverage.out 08:04:59 -rw-r--r-- 1 jenkins jenkins 855 Aug 21 08:04 go.mod 08:04:59 -rw-r--r-- 1 jenkins jenkins 14894 Aug 21 08:04 go.sum 08:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 08:02 internal 08:04:59 -rw-rw-r-- 1 jenkins jenkins 235 Aug 21 08:02 version.go [Pipeline] isUnix [Pipeline] sh 08:05:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:05:00 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d268b7b912523b285531c1ff9f8adab66f578ade --label arch=arm64 --label version=0.0.0 . 08:05:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.182s coverage: 56.4% of statements 08:05:00 Sending build context to Docker daemon 581.1kB 08:05:00 Step 1/21 : ARG BASE=golang:1.13-alpine 08:05:00 Step 2/21 : FROM ${BASE} AS builder 08:05:00 ---> 555192a94864 08:05:00 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:05:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:05:00 ---> Running in 5d361881225c 08:05:01 Removing intermediate container 5d361881225c 08:05:01 ---> adf0e394516e 08:05:01 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:05:01 ---> Running in ae0b31433d21 08:05:01 Removing intermediate container ae0b31433d21 08:05:01 ---> b5b2034c96fb 08:05:01 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:05:01 ---> Running in 22a16c32c53c 08:05:02 Removing intermediate container 22a16c32c53c 08:05:02 ---> 81a5ce8f4ea1 08:05:02 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:02 ---> Running in 0f6ed8bd57da 08:05:03 gofmt -l . 08:05:03 [ "`gofmt -l .`" = "" ] 08:05:03 ./bin/test-attribution-txt.sh 08:05:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:05:04 Warning: overwriting stash ‘coverage-report’ 08:05:04 Stashed 1 file(s) [Pipeline] } 08:05:04 $ docker stop --time=1 92f99e3a8098108f2f08fdfe37b9cbd2e7a66a7d28465e0a01aa783e0b548b6b 08:05:05 Removing intermediate container 0f6ed8bd57da 08:05:05 ---> eb205c5ee77c 08:05:05 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:05:05 ---> Running in b9a2fe605491 08:05:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:05:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:05:07 OK: 221 MiB in 53 packages 08:05:08 $ docker rm -f 92f99e3a8098108f2f08fdfe37b9cbd2e7a66a7d28465e0a01aa783e0b548b6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script 08:05:09 Removing intermediate container b9a2fe605491 08:05:09 ---> fcfc540e0a19 08:05:09 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:05:09 ---> Running in 4ab40367b7c4 [Pipeline] { [Pipeline] sh 08:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:05:09 Removing intermediate container 4ab40367b7c4 08:05:09 ---> a4ee82d38718 08:05:09 Step 9/21 : COPY . . 08:05:09 + ls -al . 08:05:09 total 108 08:05:09 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 21 08:05 . 08:05:09 drwxrwxr-x. 4 jenkins jenkins 28 Aug 21 08:03 .. 08:05:09 -rw-rw-r--. 1 jenkins jenkins 6432 Aug 21 08:03 Attribution.txt 08:05:09 drwxrwxr-x. 2 jenkins jenkins 64 Aug 21 08:03 bin 08:05:09 drwxrwxr-x. 3 jenkins jenkins 32 Aug 21 08:03 cmd 08:05:09 -rw-r--r--. 1 jenkins jenkins 29142 Aug 21 08:05 coverage.out 08:05:09 -rw-rw-r--. 1 jenkins jenkins 1826 Aug 21 08:03 Dockerfile 08:05:09 -rw-rw-r--. 1 jenkins jenkins 957 Aug 21 08:03 Dockerfile.build 08:05:09 drwxrwxr-x. 8 jenkins jenkins 179 Aug 21 08:03 .git 08:05:09 drwxrwxr-x. 2 jenkins jenkins 38 Aug 21 08:03 .github 08:05:09 -rw-rw-r--. 1 jenkins jenkins 258 Aug 21 08:03 .gitignore 08:05:09 -rw-r--r--. 1 jenkins jenkins 855 Aug 21 08:05 go.mod 08:05:09 -rw-r--r--. 1 jenkins jenkins 14894 Aug 21 08:05 go.sum 08:05:09 drwxrwxr-x. 3 jenkins jenkins 20 Aug 21 08:03 internal 08:05:09 -rw-rw-r--. 1 jenkins jenkins 683 Aug 21 08:03 Jenkinsfile 08:05:09 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 21 08:03 LICENSE 08:05:09 -rw-rw-r--. 1 jenkins jenkins 873 Aug 21 08:03 Makefile 08:05:09 -rw-rw-r--. 1 jenkins jenkins 918 Aug 21 08:03 README.md 08:05:09 drwxrwxr-x. 3 jenkins jenkins 58 Aug 21 08:03 .semver 08:05:09 -rw-rw-r--. 1 jenkins jenkins 5 Aug 21 08:00 VERSION 08:05:09 -rw-rw-r--. 1 jenkins jenkins 235 Aug 21 08:03 version.go [Pipeline] isUnix [Pipeline] sh 08:05:10 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d268b7b912523b285531c1ff9f8adab66f578ade --label arch=amd64 --label version=0.0.0 . 08:05:10 Sending build context to Docker daemon 581.1kB 08:05:10 Step 1/21 : ARG BASE=golang:1.13-alpine 08:05:10 Step 2/21 : FROM ${BASE} AS builder 08:05:10 ---> 8a82df524d1f 08:05:10 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:05:10 ---> Running in 6d44beeda1c5 08:05:10 Removing intermediate container 6d44beeda1c5 08:05:10 ---> 6005fe30d900 08:05:10 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:05:10 ---> Running in 77dee4bac13a 08:05:10 Removing intermediate container 77dee4bac13a 08:05:10 ---> 18f7fa62001c 08:05:10 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:05:10 ---> 2302d80c79fb 08:05:10 Step 10/21 : ARG MAKE='make build' 08:05:10 ---> Running in f29d32594e71 08:05:11 ---> Running in 670a20108f26 08:05:11 Removing intermediate container 670a20108f26 08:05:11 ---> 62ce5e11bea2 08:05:11 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:11 ---> Running in 9813cddc4fe8 08:05:11 Removing intermediate container f29d32594e71 08:05:11 ---> aa2de49dd4bc 08:05:11 Step 11/21 : RUN $MAKE 08:05:11 ---> Running in a9742a8db33b 08:05:12 Removing intermediate container 9813cddc4fe8 08:05:12 ---> 90138a6c473e 08:05:12 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:05:12 ---> Running in d6c586f498d7 08:05:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:05:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:05:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:05:13 OK: 237 MiB in 53 packages 08:05:14 Removing intermediate container d6c586f498d7 08:05:14 ---> 7878bf6eb843 08:05:14 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:05:14 ---> Running in a5772774919a 08:05:14 Removing intermediate container a5772774919a 08:05:14 ---> c4ea6af5c0e7 08:05:14 Step 9/21 : COPY . . 08:05:15 ---> 919ffa242083 08:05:15 Step 10/21 : ARG MAKE='make build' 08:05:15 ---> Running in 56c294b7b8e7 08:05:15 Removing intermediate container 56c294b7b8e7 08:05:15 ---> 349f7af3ce39 08:05:15 Step 11/21 : RUN $MAKE 08:05:15 ---> Running in 24cca6142d6a 08:05:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:05:28 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:05:30 Removing intermediate container 24cca6142d6a 08:05:30 ---> 623a66ef2bcf 08:05:30 Step 12/21 : FROM alpine 08:05:30 latest: Pulling from library/alpine 08:05:30 df20fa9351a1: Already exists 08:05:31 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:05:31 Status: Downloaded newer image for alpine:latest 08:05:31 ---> a24bb4013296 08:05:31 Step 13/21 : ENV APP_PORT=49990 08:05:31 ---> Running in 0a8bafa75804 08:05:31 Removing intermediate container 0a8bafa75804 08:05:31 ---> f6e869294168 08:05:31 Step 14/21 : EXPOSE $APP_PORT 08:05:31 ---> Running in 05b3e33517db 08:05:31 Removing intermediate container 05b3e33517db 08:05:31 ---> 601d8be555cb 08:05:31 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:05:32 ---> f0102a5c69a3 08:05:32 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:05:32 ---> b595dce1d6d8 08:05:32 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:05:32 ---> 7fd7b1f5a897 08:05:32 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:05:32 ---> Running in 8658766511b0 08:05:32 Removing intermediate container 8658766511b0 08:05:32 ---> 6cf902ebf984 08:05:32 Step 19/21 : LABEL arch=amd64 08:05:32 ---> Running in 1d068f912819 08:05:32 Removing intermediate container 1d068f912819 08:05:32 ---> 51d88212a96d 08:05:32 Step 20/21 : LABEL git_sha=d268b7b912523b285531c1ff9f8adab66f578ade 08:05:33 ---> Running in a0e07231faa3 08:05:33 Removing intermediate container a0e07231faa3 08:05:33 ---> 5016cb2cb906 08:05:33 Step 21/21 : LABEL version=0.0.0 08:05:33 ---> Running in 8c0068272bae 08:05:33 Removing intermediate container 8c0068272bae 08:05:33 ---> d0dbb03e9fef 08:05:33 [Warning] One or more build-args [ARCH] were not consumed 08:05:33 Successfully built d0dbb03e9fef 08:05:33 Successfully tagged docker-device-virtual-go: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] } 08:05:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:05:53 Removing intermediate container a9742a8db33b 08:05:53 ---> 9c0c6cb4a8dc 08:05:53 Step 12/21 : FROM alpine 08:05:53 latest: Pulling from library/alpine 08:05:53 b538f80385f9: Already exists 08:05:53 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:05:53 Status: Downloaded newer image for alpine:latest 08:05:53 ---> 62ee0e9f8440 08:05:53 Step 13/21 : ENV APP_PORT=49990 08:05:53 ---> Running in 0d6532f73449 08:05:53 Removing intermediate container 0d6532f73449 08:05:53 ---> 46adb553ad78 08:05:53 Step 14/21 : EXPOSE $APP_PORT 08:05:54 ---> Running in 0dbf92ec32e5 08:05:54 Removing intermediate container 0dbf92ec32e5 08:05:54 ---> 8c3232503c8a 08:05:54 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:05:56 ---> f3e3a9b3166a 08:05:56 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:05:56 ---> 5603d686b302 08:05:56 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:05:57 ---> 8eb7f1f66e5d 08:05:57 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:05:57 ---> Running in d9bd17497889 08:05:58 Removing intermediate container d9bd17497889 08:05:58 ---> 550b0c087828 08:05:58 Step 19/21 : LABEL arch=arm64 08:05:58 ---> Running in ea503ac2f48b 08:05:58 Removing intermediate container ea503ac2f48b 08:05:58 ---> ea28af094ae0 08:05:58 Step 20/21 : LABEL git_sha=d268b7b912523b285531c1ff9f8adab66f578ade 08:05:58 ---> Running in eca8cf15c976 08:05:59 Removing intermediate container eca8cf15c976 08:05:59 ---> 8f944fcc2b7b 08:05:59 Step 21/21 : LABEL version=0.0.0 08:05:59 ---> Running in 507b1abc5ca9 08:06:00 Removing intermediate container 507b1abc5ca9 08:06:00 ---> f71178c1a0e1 08:06:00 [Warning] One or more build-args [ARCH] were not consumed 08:06:00 Successfully built f71178c1a0e1 08:06:00 Successfully tagged docker-device-virtual-go-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:06:02 provisioning config files... 08:06:02 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-124@tmp/config3001683869670302259tmp [Pipeline] { [Pipeline] sh 08:06:03 + curl -s https://codecov.io/bash 08:06:03 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-124@tmp/config3001683869670302259tmp [Pipeline] } 08:06:03 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:06:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:06:06 ---> package-listing.sh 08:06:06 ++ facter osfamily 08:06:06 ++ tr '[:upper:]' '[:lower:]' 08:06:06 + OS_FAMILY=redhat 08:06:06 + workspace=/w/workspace/foundry_device-virtual-go_PR-124 08:06:06 + START_PACKAGES=/tmp/packages_start.txt 08:06:06 + END_PACKAGES=/tmp/packages_end.txt 08:06:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:06:06 + PACKAGES=/tmp/packages_start.txt 08:06:06 + '[' /w/workspace/foundry_device-virtual-go_PR-124 ']' 08:06:06 + PACKAGES=/tmp/packages_end.txt 08:06:06 + case "${OS_FAMILY}" in 08:06:06 + rpm -qa 08:06:06 + sort 08:06:11 + '[' -f /tmp/packages_start.txt ']' 08:06:11 + '[' -f /tmp/packages_end.txt ']' 08:06:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:06:11 + '[' /w/workspace/foundry_device-virtual-go_PR-124 ']' 08:06:11 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-124/archives/ 08:06:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-124/archives/ [Pipeline] isUnix [Pipeline] sh 08:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:11 08:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:06:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:12 alpine: Pulling from edgex-lftools-log-publisher 08:06:12 c9b1b535fdd9: Pulling fs layer 08:06:12 2cc5ad85d9ab: Pulling fs layer 08:06:12 756a868c4378: Pulling fs layer 08:06:12 444b2fc9a129: Pulling fs layer 08:06:12 ea15f1150254: Pulling fs layer 08:06:12 41b27a9f41bf: Pulling fs layer 08:06:12 28c525ee5125: Pulling fs layer 08:06:12 094b1ea09ed8: Pulling fs layer 08:06:12 138eaada9080: Pulling fs layer 08:06:12 0622d0fa9048: Pulling fs layer 08:06:12 41b27a9f41bf: Waiting 08:06:12 28c525ee5125: Waiting 08:06:12 094b1ea09ed8: Waiting 08:06:12 138eaada9080: Waiting 08:06:12 0622d0fa9048: Waiting 08:06:12 444b2fc9a129: Waiting 08:06:12 ea15f1150254: Waiting 08:06:12 2cc5ad85d9ab: Verifying Checksum 08:06:12 2cc5ad85d9ab: Download complete 08:06:12 444b2fc9a129: Verifying Checksum 08:06:12 444b2fc9a129: Download complete 08:06:12 c9b1b535fdd9: Verifying Checksum 08:06:12 c9b1b535fdd9: Download complete 08:06:12 ea15f1150254: Verifying Checksum 08:06:12 ea15f1150254: Download complete 08:06:12 28c525ee5125: Verifying Checksum 08:06:12 28c525ee5125: Download complete 08:06:12 756a868c4378: Verifying Checksum 08:06:12 756a868c4378: Download complete 08:06:12 c9b1b535fdd9: Pull complete 08:06:12 138eaada9080: Verifying Checksum 08:06:12 138eaada9080: Download complete 08:06:12 0622d0fa9048: Verifying Checksum 08:06:12 0622d0fa9048: Download complete 08:06:12 094b1ea09ed8: Verifying Checksum 08:06:12 094b1ea09ed8: Download complete 08:06:13 41b27a9f41bf: Verifying Checksum 08:06:13 41b27a9f41bf: Download complete 08:06:13 2cc5ad85d9ab: Pull complete 08:06:14 756a868c4378: Pull complete 08:06:14 444b2fc9a129: Pull complete 08:06:14 ea15f1150254: Pull complete 08:06:19 41b27a9f41bf: Pull complete 08:06:19 28c525ee5125: Pull complete 08:06:21 094b1ea09ed8: Pull complete 08:06:21 138eaada9080: Pull complete 08:06:21 0622d0fa9048: Pull complete 08:06:21 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:06:21 prd-centos7-docker-4c-2g-656 does not seem to be running inside a container 08:06:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_PR-124 -v /w/workspace/foundry_device-virtual-go_PR-124:/w/workspace/foundry_device-virtual-go_PR-124:rw,z -v /w/workspace/foundry_device-virtual-go_PR-124@tmp:/w/workspace/foundry_device-virtual-go_PR-124@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:06:25 $ docker top 325b8577099f4eae9c3d4009bb9f6ea076cf056447a6b9e60327e8b4ab17824e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:25 provisioning config files... 08:06:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-124@tmp/config5384400346332159293tmp [Pipeline] { [Pipeline] echo 08:06:25 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:26 ---> create-netrc.sh [Pipeline] echo 08:06:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:26 ---> logs-deploy.sh 08:06:26 + ARCHIVE_ARTIFACTS= 08:06:26 + LOGS_SERVER=https://logs.edgexfoundry.org 08:06:26 + '[' https://logs.edgexfoundry.org == None ']' 08:06:26 + NEXUS_URL=https://nexus.edgexfoundry.org 08:06:26 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-124/1 08:06:26 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-124/1/ 08:06:26 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-124/1 /w/workspace/foundry_device-virtual-go_PR-124 08:06:27 Archives upload complete. 08:06:27 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-124/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-124/1/