Pull request #96 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 26c67eb8412f6636996969c1d91d1fdce6984c18 rather than 09b2d40c90f8bad06445742437a85434e8cf7f1f Obtained Jenkinsfile from 26c67eb8412f6636996969c1d91d1fdce6984c18 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5149 in /w/workspace/xfoundry_device-virtual-go_PR-96 [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 > git init /w/workspace/xfoundry_device-virtual-go_PR-96 # 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/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # 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/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) > git config core.sparsecheckout # timeout=10 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # 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 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 Commit message: "Upgrade SDK version and Dockerfile" First time build. Skipping changelog. > git rev-list --no-walk 32f51dbd61b47cdc40182fb9879dff2680cde7dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:50 ========================================================= 05:52:50 EdgeX Global Pipelines Version Info 05:52:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:56 ------------------- 05:52:56 stable info: 05:52:56 ------------------- 05:52:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:56 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:52:56 Message: update stable to v1.0.73 05:52:57 ------------------- 05:52:57 experimental info: 05:52:57 ------------------- 05:52:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:57 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:52:57 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:00 05:53:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:53:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:01 latest: Pulling from edgex-devops/git-semver 05:53:01 9123ac7c32f7: Pulling fs layer 05:53:01 b8cc5d1170e3: Pulling fs layer 05:53:01 2924cbbf6a41: Pulling fs layer 05:53:01 93b08a4f1073: Pulling fs layer 05:53:01 93b08a4f1073: Waiting 05:53:01 b8cc5d1170e3: Verifying Checksum 05:53:01 b8cc5d1170e3: Download complete 05:53:01 9123ac7c32f7: Verifying Checksum 05:53:01 9123ac7c32f7: Download complete 05:53:02 93b08a4f1073: Verifying Checksum 05:53:02 93b08a4f1073: Download complete 05:53:02 2924cbbf6a41: Verifying Checksum 05:53:02 2924cbbf6a41: Download complete 05:53:03 9123ac7c32f7: Pull complete 05:53:03 b8cc5d1170e3: Pull complete 05:53:05 2924cbbf6a41: Pull complete 05:53:05 93b08a4f1073: Pull complete 05:53:05 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:06 prd-centos7-docker-4c-2g-5149 does not seem to be running inside a container 05:53:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-virtual-go_PR-96 -v /w/workspace/xfoundry_device-virtual-go_PR-96:/w/workspace/xfoundry_device-virtual-go_PR-96:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-96@tmp:/w/workspace/xfoundry_device-virtual-go_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:08 $ docker top 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:08 [ssh-agent] Looking for ssh-agent implementation... 05:53:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:10 $ docker exec 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent 05:53:10 SSH_AUTH_SOCK=/tmp/ssh-zSI88oMOS8PH/agent.15 05:53:10 SSH_AGENT_PID=22 05:53:10 Running ssh-add (command line suppressed) 05:53:11 Identity added: /w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_7860598975871961873.key (/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_7860598975871961873.key) 05:53:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:12 + git describe --exact-match --tags HEAD 05:53:12 fatal: No names found, cannot describe anything. [Pipeline] } 05:53:12 $ docker exec --env ******** --env ******** 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent -k 05:53:13 unset SSH_AUTH_SOCK; 05:53:13 unset SSH_AGENT_PID; 05:53:13 echo Agent pid 22 killed; 05:53:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:53:13 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:53:13 This usually means this commit has not been tagged. [Pipeline] sshagent 05:53:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:13 [ssh-agent] Looking for ssh-agent implementation... 05:53:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:13 $ docker exec 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent 05:53:14 SSH_AUTH_SOCK=/tmp/ssh-s1wEWCvCEASa/agent.58 05:53:14 SSH_AGENT_PID=65 05:53:14 Running ssh-add (command line suppressed) 05:53:14 Identity added: /w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_4190419755162361456.key (/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_4190419755162361456.key) 05:53:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:15 + git semver init 05:53:15 # -> Open(): unable to determine branch for HEAD 05:53:15 # $GIT_DIR = /w/workspace/xfoundry_device-virtual-go_PR-96/.git 05:53:15 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-virtual-go_PR-96 05:53:15 # $SEMVER_REMOTE_NAME = origin 05:53:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:15 # $SEMVER_USER_NAME = edgex-jenkins 05:53:15 # $SEMVER_BRANCH = PR-96 05:53:15 # $SEMVER_TEMP = /tmp/semver-168593186 05:53:15 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:53:16 # '/tmp/semver-168593186' -> '/w/workspace/xfoundry_device-virtual-go_PR-96/.semver' 05:53:16 # -> Force: false 05:53:16 # $SEMVER_DIR = /w/workspace/xfoundry_device-virtual-go_PR-96/.semver [Pipeline] } 05:53:16 $ docker exec --env ******** --env ******** 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent -k 05:53:17 unset SSH_AUTH_SOCK; 05:53:17 unset SSH_AGENT_PID; 05:53:17 echo Agent pid 65 killed; 05:53:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:18 + git semver [Pipeline] } 05:53:18 $ docker stop --time=1 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 05:53:20 $ docker rm -f 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:53:21 Stashed 24 file(s) [Pipeline] echo 05:53:21 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:53:37 Still waiting to schedule task 05:53:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:53:37 Still waiting to schedule task 05:53:37 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5133’ 05:55:43 Running on prd-centos7-docker-4c-2g-5150 in /w/workspace/xfoundry_device-virtual-go_PR-96 [Pipeline] { [Pipeline] ws 05:55:43 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 05:55:45 using credential edgex-jenkins-ssh 05:55:45 Cloning the remote Git repository 05:55:45 Cloning with configured refspecs honoured and without tags 05:55:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:55:45 > git init /w/workspace/device-virtual-go/2 # timeout=10 05:55:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:55:45 > git --version # timeout=10 05:55:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:46 Fetching without tags 05:55:46 Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f 05:55:46 Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f 05:55:46 Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) 05:55:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:55:45 > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # timeout=10 05:55:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:55:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:55:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:46 > git config core.sparsecheckout # timeout=10 05:55:46 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 05:55:46 > git remote # timeout=10 05:55:46 > git config --get remote.origin.url # timeout=10 05:55:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:46 > git merge 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 05:55:46 > git rev-parse HEAD^{commit} # timeout=10 05:55:46 > git config core.sparsecheckout # timeout=10 05:55:46 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 05:55:50 Commit message: "Upgrade SDK version and Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:55:51 ========================================================= 05:55:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:55:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:51 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 05:55:51 Sending build context to Docker daemon 482.8kB 05:55:51 Step 1/8 : ARG BASE=golang:1.13-alpine 05:55:51 Step 2/8 : FROM ${BASE} 05:55:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:55:52 e6b0cf9c0882: Pulling fs layer 05:55:52 2848faf0eed1: Pulling fs layer 05:55:52 0f37312ad70f: Pulling fs layer 05:55:52 5788d62ee057: Pulling fs layer 05:55:52 0e6b1d234666: Pulling fs layer 05:55:52 bf5d7aec512f: Pulling fs layer 05:55:52 34c802a77dc8: Pulling fs layer 05:55:52 9eb99e56ec68: Pulling fs layer 05:55:52 27c7a5d97fbd: Pulling fs layer 05:55:52 5c102a31e300: Pulling fs layer 05:55:52 dcfb455df0a1: Pulling fs layer 05:55:52 5788d62ee057: Waiting 05:55:52 0e6b1d234666: Waiting 05:55:52 bf5d7aec512f: Waiting 05:55:52 34c802a77dc8: Waiting 05:55:52 9eb99e56ec68: Waiting 05:55:52 dcfb455df0a1: Waiting 05:55:52 27c7a5d97fbd: Waiting 05:55:52 5c102a31e300: Waiting 05:55:52 0f37312ad70f: Verifying Checksum 05:55:52 0f37312ad70f: Download complete 05:55:52 2848faf0eed1: Download complete 05:55:52 0e6b1d234666: Verifying Checksum 05:55:52 0e6b1d234666: Download complete 05:55:52 bf5d7aec512f: Verifying Checksum 05:55:52 bf5d7aec512f: Download complete 05:55:52 e6b0cf9c0882: Verifying Checksum 05:55:52 e6b0cf9c0882: Download complete 05:55:52 e6b0cf9c0882: Pull complete 05:55:52 2848faf0eed1: Pull complete 05:55:52 34c802a77dc8: Verifying Checksum 05:55:52 34c802a77dc8: Download complete 05:55:52 27c7a5d97fbd: Verifying Checksum 05:55:52 27c7a5d97fbd: Download complete 05:55:53 5c102a31e300: Verifying Checksum 05:55:53 5c102a31e300: Download complete 05:55:53 dcfb455df0a1: Verifying Checksum 05:55:53 dcfb455df0a1: Download complete 05:55:53 0f37312ad70f: Pull complete 05:55:53 9eb99e56ec68: Verifying Checksum 05:55:53 9eb99e56ec68: Download complete 05:55:53 5788d62ee057: Download complete 05:55:59 5788d62ee057: Pull complete 05:55:59 0e6b1d234666: Pull complete 05:55:59 bf5d7aec512f: Pull complete 05:56:04 34c802a77dc8: Pull complete 05:56:07 9eb99e56ec68: Pull complete 05:56:07 27c7a5d97fbd: Pull complete 05:56:07 5c102a31e300: Pull complete 05:56:07 dcfb455df0a1: Pull complete 05:56:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:56:07 ---> 7c70fe431013 05:56:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:56:07 ---> Running in e08cb885a331 05:56:07 Removing intermediate container e08cb885a331 05:56:07 ---> fd8ed45960db 05:56:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:08 ---> Running in ef024bb31874 05:56:09 Removing intermediate container ef024bb31874 05:56:09 ---> d3d785d32aa0 05:56:09 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:56:09 ---> Running in 03ff3d753cda 05:56:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:56:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:56:12 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:56:12 (2/17) Installing libmagic (5.37-r1) 05:56:12 (3/17) Installing file (5.37-r1) 05:56:12 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:56:12 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:56:13 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:56:39 (7/17) Installing libc-dev (0.7.2-r0) 05:56:39 (8/17) Installing g++ (9.2.0-r4) 05:56:51 (9/17) Installing fortify-headers (1.1-r0) 05:56:51 (10/17) Installing build-base (0.5-r1) 05:56:52 (11/17) Installing openssh-keygen (8.1_p1-r0) 05:56:52 (12/17) Installing libedit (20191211.3.1-r0) 05:56:52 (13/17) Installing openssh-client (8.1_p1-r0) 05:56:53 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 05:56:53 (15/17) Installing openssh-server-common (8.1_p1-r0) 05:56:53 (16/17) Installing openssh-server (8.1_p1-r0) 05:56:53 (17/17) Installing openssh (8.1_p1-r0) 05:56:53 Executing busybox-1.31.1-r8.trigger 05:56:53 OK: 214 MiB in 52 packages 05:56:56 Removing intermediate container 03ff3d753cda 05:56:56 ---> 25876fbd1bc2 05:56:56 Step 6/8 : WORKDIR /device-virtual-go 05:56:56 ---> Running in af401e63a834 05:56:56 Removing intermediate container af401e63a834 05:56:56 ---> c44e8ff063fe 05:56:56 Step 7/8 : COPY . . 05:56:56 ---> 2287cbd71ef2 05:56:56 Step 8/8 : RUN go mod download 05:56:57 ---> Running in d99999d3d080 05:56:59 go: finding github.com/BurntSushi/toml v0.3.1 05:56:59 go: finding github.com/OneOfOne/xxhash v1.2.6 05:56:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:56:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:56:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:56:59 go: finding github.com/bgentry/speakeasy v0.1.0 05:56:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:56:59 go: finding github.com/davecgh/go-spew v1.1.1 05:56:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 05:56:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 05:56:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:56:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:56:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:56:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:56:59 go: finding github.com/edsrzf/mmap-go v1.0.0 05:56:59 go: finding github.com/fatih/color v1.7.0 05:56:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:56:59 go: finding github.com/go-kit/kit v0.8.0 05:56:59 go: finding github.com/go-logfmt/logfmt v0.4.0 05:56:59 go: finding github.com/go-stack/stack v1.8.0 05:56:59 go: finding github.com/golang/snappy v0.0.1 05:56:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:56:59 go: finding github.com/google/uuid v1.1.0 05:56:59 go: finding github.com/gorilla/mux v1.7.1 05:56:59 go: finding github.com/hashicorp/consul/api v1.1.0 05:56:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:56:59 go: finding github.com/hashicorp/errwrap v1.0.0 05:56:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:56:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:56:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:56:59 go: finding github.com/hashicorp/go-multierror v1.0.0 05:56:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:56:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:56:59 go: finding github.com/hashicorp/go-syslog v1.0.0 05:56:59 go: finding github.com/hashicorp/go-uuid v1.0.1 05:56:59 go: finding github.com/hashicorp/go.net v0.0.1 05:56:59 go: finding github.com/hashicorp/golang-lru v0.5.0 05:56:59 go: finding github.com/hashicorp/logutils v1.0.0 05:56:59 go: finding github.com/hashicorp/mdns v1.0.0 05:56:59 go: finding github.com/hashicorp/memberlist v0.1.3 05:56:59 go: finding github.com/hashicorp/serf v0.8.2 05:56:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:56:59 go: finding github.com/mattn/go-colorable v0.0.9 05:56:59 go: finding github.com/mattn/go-isatty v0.0.3 05:56:59 go: finding github.com/miekg/dns v1.0.14 05:56:59 go: finding github.com/mitchellh/cli v1.0.0 05:56:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:56:59 go: finding github.com/mitchellh/copystructure v1.0.0 05:56:59 go: finding github.com/mitchellh/go-homedir v1.0.0 05:56:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:56:59 go: finding github.com/mitchellh/gox v0.4.0 05:56:59 go: finding github.com/mitchellh/iochan v1.0.0 05:56:59 go: finding github.com/mitchellh/mapstructure v1.1.2 05:56:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:56:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:56:59 go: finding github.com/pelletier/go-toml v1.2.0 05:56:59 go: finding github.com/pkg/errors v0.8.1 05:56:59 go: finding github.com/pmezard/go-difflib v1.0.0 05:56:59 go: finding github.com/posener/complete v1.1.1 05:56:59 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:56:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:56:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:56:59 go: finding github.com/stretchr/objx v0.1.0 05:56:59 go: finding github.com/stretchr/testify v1.5.1 05:56:59 go: finding github.com/ugorji/go v1.1.4 05:56:59 go: finding github.com/x448/float16 v0.8.4 05:56:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:56:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:56:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:56:59 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:56:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:56:59 go: finding gopkg.in/yaml.v2 v2.2.8 05:56:59 go: finding modernc.org/b v1.0.0 05:56:59 go: finding modernc.org/db v1.0.0 05:56:59 go: finding modernc.org/file v1.0.0 05:56:59 go: finding modernc.org/fileutil v1.0.0 05:56:59 go: finding modernc.org/golex v1.0.0 05:56:59 go: finding modernc.org/internal v1.0.0 05:56:59 go: finding modernc.org/lldb v1.0.0 05:56:59 go: finding modernc.org/mathutil v1.0.0 05:56:59 go: finding modernc.org/ql v1.0.0 05:56:59 go: finding modernc.org/sortutil v1.0.0 05:56:59 go: finding modernc.org/strutil v1.0.0 05:56:59 go: finding modernc.org/zappy v1.0.0 05:57:04 Removing intermediate container d99999d3d080 05:57:04 ---> be26494f3ed8 05:57:04 Successfully built be26494f3ed8 05:57:04 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 05:57:05 + docker inspect -f . ci-base-image-x86_64 05:57:05 . [Pipeline] withDockerContainer 05:57:05 prd-centos7-docker-4c-2g-5150 does not seem to be running inside a container 05:57:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:57:06 $ docker top 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:06 + go version 05:57:06 go version go1.13.5 linux/amd64 [Pipeline] sh 05:57:07 + make test 05:57:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:57:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:57:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:57:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5151 in /w/workspace/xfoundry_device-virtual-go_PR-96 [Pipeline] { [Pipeline] ws 05:57:25 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 05:57:32 using credential edgex-jenkins-ssh 05:57:32 Cloning the remote Git repository 05:57:32 Cloning with configured refspecs honoured and without tags 05:57:33 Fetching without tags 05:57:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:57:32 > git init /w/workspace/device-virtual-go/2 # timeout=10 05:57:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:32 > git --version # timeout=10 05:57:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:33 > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # timeout=10 05:57:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:57:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:57:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:34 Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f 05:57:34 Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f 05:57:34 Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) 05:57:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:34 > git config core.sparsecheckout # timeout=10 05:57:34 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 05:57:34 > git remote # timeout=10 05:57:34 > git config --get remote.origin.url # timeout=10 05:57:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:34 > git merge 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 05:57:34 > git rev-parse HEAD^{commit} # timeout=10 05:57:34 > git config core.sparsecheckout # timeout=10 05:57:34 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 05:57:39 Commit message: "Upgrade SDK version and Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:57:40 ========================================================= 05:57:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:57:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:57:42 + 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 . 05:57:43 Sending build context to Docker daemon 482.8kB 05:57:43 Step 1/8 : ARG BASE=golang:1.13-alpine 05:57:43 Step 2/8 : FROM ${BASE} 05:57:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:43 cde5963f3b93: Pulling fs layer 05:57:43 2a23fa8c16f7: Pulling fs layer 05:57:43 777b28850792: Pulling fs layer 05:57:43 8a11ddd9e578: Pulling fs layer 05:57:43 4cf88f913ddb: Pulling fs layer 05:57:43 1df406cf5192: Pulling fs layer 05:57:43 cd6300453558: Pulling fs layer 05:57:43 b9c365052c96: Pulling fs layer 05:57:43 a2d8cc88f415: Pulling fs layer 05:57:43 ea1d1ca13537: Pulling fs layer 05:57:43 3750a50a1c5e: Pulling fs layer 05:57:43 8a11ddd9e578: Waiting 05:57:43 4cf88f913ddb: Waiting 05:57:43 1df406cf5192: Waiting 05:57:43 cd6300453558: Waiting 05:57:43 b9c365052c96: Waiting 05:57:43 a2d8cc88f415: Waiting 05:57:43 ea1d1ca13537: Waiting 05:57:43 3750a50a1c5e: Waiting 05:57:43 777b28850792: Verifying Checksum 05:57:43 777b28850792: Download complete 05:57:43 2a23fa8c16f7: Verifying Checksum 05:57:43 2a23fa8c16f7: Download complete 05:57:43 4cf88f913ddb: Verifying Checksum 05:57:43 4cf88f913ddb: Download complete 05:57:43 1df406cf5192: Verifying Checksum 05:57:43 1df406cf5192: Download complete 05:57:43 cde5963f3b93: Verifying Checksum 05:57:43 cde5963f3b93: Download complete 05:57:44 cde5963f3b93: Pull complete 05:57:45 2a23fa8c16f7: Pull complete 05:57:46 777b28850792: Pull complete 05:57:48 cd6300453558: Verifying Checksum 05:57:48 cd6300453558: Download complete 05:57:48 a2d8cc88f415: Verifying Checksum 05:57:48 a2d8cc88f415: Download complete 05:57:51 ea1d1ca13537: Verifying Checksum 05:57:51 ea1d1ca13537: Download complete 05:57:51 3750a50a1c5e: Verifying Checksum 05:57:51 3750a50a1c5e: Download complete 05:57:54 b9c365052c96: Verifying Checksum 05:57:54 b9c365052c96: Download complete 05:57:55 8a11ddd9e578: Verifying Checksum 05:57:55 8a11ddd9e578: Download complete 05:58:07 8a11ddd9e578: Pull complete 05:58:07 4cf88f913ddb: Pull complete 05:58:07 1df406cf5192: Pull complete 05:58:12 cd6300453558: Pull complete 05:58:16 b9c365052c96: Pull complete 05:58:16 a2d8cc88f415: Pull complete 05:58:19 ea1d1ca13537: Pull complete 05:58:19 3750a50a1c5e: Pull complete 05:58:19 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:58:19 ---> 78745c68409d 05:58:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:58:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 48.643s coverage: 51.2% of statements 05:58:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:58:19 gofmt -l . 05:58:19 [ "`gofmt -l .`" = "" ] 05:58:19 ./bin/test-attribution-txt.sh 05:58:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:58:20 Stashed 1 file(s) [Pipeline] } 05:58:20 $ docker stop --time=1 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c 05:58:21 $ docker rm -f 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:23 + ls -al . 05:58:23 total 112 05:58:23 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 21 05:58 . 05:58:23 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:55 .. 05:58:23 -rw-rw-r--. 1 jenkins jenkins 6529 Apr 21 05:55 Attribution.txt 05:58:23 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 05:55 bin 05:58:23 drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 05:55 cmd 05:58:23 -rw-r--r--. 1 jenkins jenkins 32181 Apr 21 05:58 coverage.out 05:58:23 -rw-rw-r--. 1 jenkins jenkins 1826 Apr 21 05:55 Dockerfile 05:58:23 -rw-rw-r--. 1 jenkins jenkins 957 Apr 21 05:55 Dockerfile.build 05:58:23 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:55 .git 05:58:23 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 05:55 .github 05:58:23 -rw-rw-r--. 1 jenkins jenkins 258 Apr 21 05:55 .gitignore 05:58:23 -rw-r--r--. 1 jenkins jenkins 862 Apr 21 05:58 go.mod 05:58:23 -rw-r--r--. 1 jenkins jenkins 14805 Apr 21 05:58 go.sum 05:58:23 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 05:55 internal 05:58:23 -rw-rw-r--. 1 jenkins jenkins 683 Apr 21 05:55 Jenkinsfile 05:58:23 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 05:55 LICENSE 05:58:23 -rw-rw-r--. 1 jenkins jenkins 873 Apr 21 05:55 Makefile 05:58:23 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 21 05:55 README.md 05:58:23 drwxrwxr-x. 3 jenkins jenkins 57 Apr 21 05:55 .semver 05:58:23 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:53 VERSION 05:58:23 -rw-rw-r--. 1 jenkins jenkins 235 Apr 21 05:55 version.go [Pipeline] isUnix [Pipeline] sh 05:58:23 + 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=09b2d40c90f8bad06445742437a85434e8cf7f1f --label arch=amd64 --label version=0.0.0 . 05:58:24 Sending build context to Docker daemon 34.1MB 05:58:24 Step 1/21 : ARG BASE=golang:1.13-alpine 05:58:24 Step 2/21 : FROM ${BASE} AS builder 05:58:24 ---> be26494f3ed8 05:58:24 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:58:24 ---> Running in 463f41e27749 05:58:24 Removing intermediate container 463f41e27749 05:58:24 ---> 85ae2bce14ef 05:58:24 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 05:58:24 ---> Running in 656f3420200b 05:58:24 Removing intermediate container 656f3420200b 05:58:24 ---> 880c95e6b932 05:58:24 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:58:24 ---> Running in 8d4873b57d33 05:58:24 Removing intermediate container 8d4873b57d33 05:58:24 ---> 10511ed14a9b 05:58:24 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:24 ---> Running in 083d58ceb2f1 05:58:24 ---> Running in d652021f8c55 05:58:24 Removing intermediate container d652021f8c55 05:58:24 ---> aaf144b79a0c 05:58:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:24 ---> Running in 2a0adef4df7f 05:58:25 Removing intermediate container 083d58ceb2f1 05:58:25 ---> 03e7c36898cc 05:58:25 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:25 ---> Running in 0d73e5ca8363 05:58:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:58:26 Removing intermediate container 2a0adef4df7f 05:58:26 ---> 1285e2d71c50 05:58:26 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:58:26 ---> Running in 66bc05235763 05:58:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:58:27 OK: 214 MiB in 52 packages 05:58:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:58:27 Removing intermediate container 0d73e5ca8363 05:58:27 ---> 63f2f26372e3 05:58:27 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:58:28 ---> Running in 3c42b75bee1e 05:58:28 Removing intermediate container 3c42b75bee1e 05:58:28 ---> 08da9a8390f7 05:58:28 Step 9/21 : COPY . . 05:58:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:58:28 ---> 514e8f48a90e 05:58:28 Step 10/21 : ARG MAKE='make build' 05:58:28 ---> Running in 24bcd050e1af 05:58:28 Removing intermediate container 24bcd050e1af 05:58:28 ---> 658f1b74e0bc 05:58:28 Step 11/21 : RUN $MAKE 05:58:28 ---> Running in 8a2826037738 05:58:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 05:58:29 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 05:58:29 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:58:30 (3/18) Installing libmagic (5.37-r1) 05:58:30 (4/18) Installing file (5.37-r1) 05:58:30 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:58:30 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:58:30 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:58:41 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:58:43 Removing intermediate container 8a2826037738 05:58:43 ---> 12fb24411e21 05:58:43 Step 12/21 : FROM alpine 05:58:44 latest: Pulling from library/alpine 05:58:44 aad63a933944: Pulling fs layer 05:58:44 aad63a933944: Verifying Checksum 05:58:44 aad63a933944: Download complete 05:58:44 aad63a933944: Pull complete 05:58:44 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 05:58:44 Status: Downloaded newer image for alpine:latest 05:58:44 ---> a187dde48cd2 05:58:44 Step 13/21 : ENV APP_PORT=49990 05:58:44 ---> Running in e94d94d5aa19 05:58:44 Removing intermediate container e94d94d5aa19 05:58:44 ---> fdce154d7bea 05:58:44 Step 14/21 : EXPOSE $APP_PORT 05:58:44 ---> Running in 1cda4f0961dc 05:58:45 Removing intermediate container 1cda4f0961dc 05:58:45 ---> 011863eb9a61 05:58:45 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 05:58:45 ---> 6d4b37d096fc 05:58:45 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:58:45 ---> baa7d50c285c 05:58:45 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:58:46 ---> 3f26cb02d061 05:58:46 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 05:58:46 ---> Running in 93ec075a79d8 05:58:46 Removing intermediate container 93ec075a79d8 05:58:46 ---> 3d2a48625f0d 05:58:46 Step 19/21 : LABEL arch=amd64 05:58:46 ---> Running in 4cd97258c4e3 05:58:46 Removing intermediate container 4cd97258c4e3 05:58:46 ---> 2b7861ac40ec 05:58:46 Step 20/21 : LABEL git_sha=09b2d40c90f8bad06445742437a85434e8cf7f1f 05:58:46 ---> Running in 189a5a7e0180 05:58:46 Removing intermediate container 189a5a7e0180 05:58:46 ---> 55172fded4e8 05:58:46 Step 21/21 : LABEL version=0.0.0 05:58:46 ---> Running in 2a2dd9c9fafd 05:58:46 Removing intermediate container 2a2dd9c9fafd 05:58:46 ---> 41290483f0c7 05:58:46 [Warning] One or more build-args [ARCH] were not consumed 05:58:46 Successfully built 41290483f0c7 05:58:46 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] } 05:58:48 (8/18) Installing libc-dev (0.7.2-r0) 05:58:48 (9/18) Installing g++ (9.2.0-r4) 05:58:53 (10/18) Installing fortify-headers (1.1-r0) 05:58:53 (11/18) Installing build-base (0.5-r1) 05:58:53 (12/18) Installing openssh-keygen (8.1_p1-r0) 05:58:53 (13/18) Installing libedit (20191211.3.1-r0) 05:58:53 (14/18) Installing openssh-client (8.1_p1-r0) 05:58:53 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 05:58:53 (16/18) Installing openssh-server-common (8.1_p1-r0) 05:58:53 (17/18) Installing openssh-server (8.1_p1-r0) 05:58:53 (18/18) Installing openssh (8.1_p1-r0) 05:58:54 Executing busybox-1.31.1-r8.trigger 05:58:54 OK: 203 MiB in 52 packages 05:59:00 Removing intermediate container 66bc05235763 05:59:00 ---> 698733ab77b1 05:59:00 Step 6/8 : WORKDIR /device-virtual-go 05:59:01 ---> Running in 53bb0fb79ddc 05:59:01 Removing intermediate container 53bb0fb79ddc 05:59:01 ---> 37e998aae308 05:59:01 Step 7/8 : COPY . . 05:59:02 ---> af6752e4acf0 05:59:02 Step 8/8 : RUN go mod download 05:59:02 ---> Running in 496b51af92e7 05:59:05 go: finding github.com/BurntSushi/toml v0.3.1 05:59:05 go: finding github.com/OneOfOne/xxhash v1.2.6 05:59:05 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:59:05 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:59:05 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:59:05 go: finding github.com/bgentry/speakeasy v0.1.0 05:59:05 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:59:05 go: finding github.com/davecgh/go-spew v1.1.1 05:59:05 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 05:59:05 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 05:59:05 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:59:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:59:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:59:05 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:59:05 go: finding github.com/edsrzf/mmap-go v1.0.0 05:59:05 go: finding github.com/fatih/color v1.7.0 05:59:05 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:59:05 go: finding github.com/go-kit/kit v0.8.0 05:59:05 go: finding github.com/go-logfmt/logfmt v0.4.0 05:59:05 go: finding github.com/go-stack/stack v1.8.0 05:59:05 go: finding github.com/golang/snappy v0.0.1 05:59:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:59:05 go: finding github.com/google/uuid v1.1.0 05:59:05 go: finding github.com/gorilla/mux v1.7.1 05:59:05 go: finding github.com/hashicorp/consul/api v1.1.0 05:59:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:59:05 go: finding github.com/hashicorp/errwrap v1.0.0 05:59:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:59:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:59:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:59:05 go: finding github.com/hashicorp/go-multierror v1.0.0 05:59:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:59:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:59:05 go: finding github.com/hashicorp/go-syslog v1.0.0 05:59:05 go: finding github.com/hashicorp/go-uuid v1.0.1 05:59:05 go: finding github.com/hashicorp/go.net v0.0.1 05:59:05 go: finding github.com/hashicorp/golang-lru v0.5.0 05:59:05 go: finding github.com/hashicorp/logutils v1.0.0 05:59:05 go: finding github.com/hashicorp/mdns v1.0.0 05:59:05 go: finding github.com/hashicorp/memberlist v0.1.3 05:59:05 go: finding github.com/hashicorp/serf v0.8.2 05:59:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:59:05 go: finding github.com/mattn/go-colorable v0.0.9 05:59:05 go: finding github.com/mattn/go-isatty v0.0.3 05:59:05 go: finding github.com/miekg/dns v1.0.14 05:59:05 go: finding github.com/mitchellh/cli v1.0.0 05:59:05 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:59:05 go: finding github.com/mitchellh/copystructure v1.0.0 05:59:05 go: finding github.com/mitchellh/go-homedir v1.0.0 05:59:05 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:59:05 go: finding github.com/mitchellh/gox v0.4.0 05:59:05 go: finding github.com/mitchellh/iochan v1.0.0 05:59:05 go: finding github.com/mitchellh/mapstructure v1.1.2 05:59:05 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:59:05 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:59:05 go: finding github.com/pelletier/go-toml v1.2.0 05:59:05 go: finding github.com/pkg/errors v0.8.1 05:59:05 go: finding github.com/pmezard/go-difflib v1.0.0 05:59:05 go: finding github.com/posener/complete v1.1.1 05:59:05 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:59:05 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:59:05 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:59:05 go: finding github.com/stretchr/objx v0.1.0 05:59:05 go: finding github.com/stretchr/testify v1.5.1 05:59:05 go: finding github.com/ugorji/go v1.1.4 05:59:05 go: finding github.com/x448/float16 v0.8.4 05:59:05 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:59:05 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:59:05 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:59:05 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:59:05 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:59:05 go: finding gopkg.in/yaml.v2 v2.2.8 05:59:05 go: finding modernc.org/b v1.0.0 05:59:05 go: finding modernc.org/db v1.0.0 05:59:05 go: finding modernc.org/file v1.0.0 05:59:05 go: finding modernc.org/fileutil v1.0.0 05:59:05 go: finding modernc.org/golex v1.0.0 05:59:05 go: finding modernc.org/internal v1.0.0 05:59:05 go: finding modernc.org/lldb v1.0.0 05:59:05 go: finding modernc.org/mathutil v1.0.0 05:59:05 go: finding modernc.org/ql v1.0.0 05:59:05 go: finding modernc.org/sortutil v1.0.0 05:59:05 go: finding modernc.org/strutil v1.0.0 05:59:05 go: finding modernc.org/zappy v1.0.0 05:59:15 Removing intermediate container 496b51af92e7 05:59:15 ---> d0ec7b495a80 05:59:16 Successfully built d0ec7b495a80 05:59:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:16 + docker inspect -f . ci-base-image-arm64 05:59:17 . [Pipeline] withDockerContainer 05:59:17 prd-ubuntu18.04-docker-arm64-4c-16g-5151 does not seem to be running inside a container 05:59:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:59:19 $ docker top 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:20 + go version 05:59:20 go version go1.13.5 linux/arm64 [Pipeline] sh 05:59:20 + make test 05:59:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:59:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:00:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:02:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 141.228s coverage: 51.2% of statements 06:02:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:02:33 gofmt -l . 06:02:33 [ "`gofmt -l .`" = "" ] 06:02:33 ./bin/test-attribution-txt.sh 06:02:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:02:35 Warning: overwriting stash ‘coverage-report’ 06:02:35 Stashed 1 file(s) [Pipeline] } 06:02:35 $ docker stop --time=1 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 06:02:38 $ docker rm -f 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:39 + ls -al . 06:02:39 total 140 06:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 06:02 . 06:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:57 .. 06:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:57 .git 06:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:57 .github 06:02:39 -rw-rw-r-- 1 jenkins jenkins 258 Apr 21 05:57 .gitignore 06:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 .semver 06:02:39 -rw-rw-r-- 1 jenkins jenkins 6529 Apr 21 05:57 Attribution.txt 06:02:39 -rw-rw-r-- 1 jenkins jenkins 1826 Apr 21 05:57 Dockerfile 06:02:39 -rw-rw-r-- 1 jenkins jenkins 957 Apr 21 05:57 Dockerfile.build 06:02:39 -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 05:57 Jenkinsfile 06:02:39 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 05:57 LICENSE 06:02:39 -rw-rw-r-- 1 jenkins jenkins 873 Apr 21 05:57 Makefile 06:02:39 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 21 05:57 README.md 06:02:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:53 VERSION 06:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:57 bin 06:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 cmd 06:02:39 -rw-r--r-- 1 jenkins jenkins 32181 Apr 21 06:02 coverage.out 06:02:39 -rw-r--r-- 1 jenkins jenkins 862 Apr 21 06:02 go.mod 06:02:39 -rw-r--r-- 1 jenkins jenkins 14805 Apr 21 06:02 go.sum 06:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 internal 06:02:39 -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 05:57 version.go [Pipeline] isUnix [Pipeline] sh 06:02:40 + 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=09b2d40c90f8bad06445742437a85434e8cf7f1f --label arch=arm64 --label version=0.0.0 . 06:02:41 Sending build context to Docker daemon 34.1MB 06:02:41 Step 1/21 : ARG BASE=golang:1.13-alpine 06:02:41 Step 2/21 : FROM ${BASE} AS builder 06:02:41 ---> d0ec7b495a80 06:02:41 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:02:41 ---> Running in 1803d473c8fa 06:02:41 Removing intermediate container 1803d473c8fa 06:02:41 ---> 4db68cc6824d 06:02:41 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 06:02:41 ---> Running in e90e4ea43d55 06:02:42 Removing intermediate container e90e4ea43d55 06:02:42 ---> 56a5efc19a1d 06:02:42 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:02:42 ---> Running in a93ecf7d2ae4 06:02:42 Removing intermediate container a93ecf7d2ae4 06:02:42 ---> 1e4b59033e84 06:02:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:43 ---> Running in b732c7ba863a 06:02:45 Removing intermediate container b732c7ba863a 06:02:45 ---> be6aad7660a9 06:02:45 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:45 ---> Running in bdce69df05c1 06:02:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:02:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:02:47 OK: 203 MiB in 52 packages 06:02:48 Removing intermediate container bdce69df05c1 06:02:48 ---> b34424dc3c2f 06:02:48 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:02:48 ---> Running in 89b4381e31e6 06:02:49 Removing intermediate container 89b4381e31e6 06:02:49 ---> 103a408ed255 06:02:49 Step 9/21 : COPY . . 06:02:51 ---> 0f73c830206d 06:02:51 Step 10/21 : ARG MAKE='make build' 06:02:51 ---> Running in 03434e0e56dc 06:02:51 Removing intermediate container 03434e0e56dc 06:02:51 ---> 3028a6ebded8 06:02:51 Step 11/21 : RUN $MAKE 06:02:51 ---> Running in 327e092c91ba 06:02:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:03:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:03:34 Removing intermediate container 327e092c91ba 06:03:34 ---> d725b3c178ab 06:03:34 Step 12/21 : FROM alpine 06:03:35 latest: Pulling from library/alpine 06:03:35 8a0637ca1ac9: Pulling fs layer 06:03:35 8a0637ca1ac9: Verifying Checksum 06:03:35 8a0637ca1ac9: Download complete 06:03:35 8a0637ca1ac9: Pull complete 06:03:36 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 06:03:36 Status: Downloaded newer image for alpine:latest 06:03:36 ---> 2ee122dcc32d 06:03:36 Step 13/21 : ENV APP_PORT=49990 06:03:36 ---> Running in 5595ed4a5e30 06:03:36 Removing intermediate container 5595ed4a5e30 06:03:36 ---> ef531097e434 06:03:36 Step 14/21 : EXPOSE $APP_PORT 06:03:36 ---> Running in e91d9dbb02cb 06:03:37 Removing intermediate container e91d9dbb02cb 06:03:37 ---> 69172efc1d70 06:03:37 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:03:38 ---> c779526c1828 06:03:38 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:03:38 ---> fcc89f04f56d 06:03:38 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:03:39 ---> 6865a78be262 06:03:39 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 06:03:39 ---> Running in 0d1dcc054f4d 06:03:39 Removing intermediate container 0d1dcc054f4d 06:03:39 ---> 1235c7a79ae4 06:03:39 Step 19/21 : LABEL arch=arm64 06:03:40 ---> Running in a26670a0b945 06:03:40 Removing intermediate container a26670a0b945 06:03:40 ---> 36cbbe5b32e2 06:03:40 Step 20/21 : LABEL git_sha=09b2d40c90f8bad06445742437a85434e8cf7f1f 06:03:40 ---> Running in 1b1b43b22a50 06:03:41 Removing intermediate container 1b1b43b22a50 06:03:41 ---> c2d4ba0a5f01 06:03:41 Step 21/21 : LABEL version=0.0.0 06:03:41 ---> Running in 70053dc7aeae 06:03:41 Removing intermediate container 70053dc7aeae 06:03:41 ---> e0dd0220d874 06:03:41 [Warning] One or more build-args [ARCH] were not consumed 06:03:41 Successfully built e0dd0220d874 06:03:41 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 06:03:43 provisioning config files... 06:03:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config6277198874889549033tmp [Pipeline] { [Pipeline] sh 06:03:43 + curl -s https://codecov.io/bash 06:03:43 + bash -s - -t @/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config6277198874889549033tmp 06:03:43 06:03:43 _____ _ 06:03:43 / ____| | | 06:03:43 | | ___ __| | ___ ___ _____ __ 06:03:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:03:43 | |___| (_) | (_| | __/ (_| (_) \ V / 06:03:43 \_____\___/ \__,_|\___|\___\___/ \_/ 06:03:43 Bash-tbd 06:03:43 06:03:43 06:03:43 ==> Jenkins CI detected. 06:03:43 project root: . 06:03:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:03:44 ==> Running gcov in . (disable via -X gcov) 06:03:44 ==> Python coveragepy not found 06:03:44 ==> Searching for coverage reports in: 06:03:44 + . 06:03:44 -> Found 1 reports 06:03:44 ==> Detecting git/mercurial file structure 06:03:44 ==> Reading reports 06:03:44 + ./coverage.out bytes=32181 06:03:44 ==> Appending adjustments 06:03:44 http://docs.codecov.io/docs/fixing-reports 06:03:44 + Found adjustments 06:03:44 ==> Gzipping contents 06:03:44 ==> Uploading reports 06:03:44 url: https://codecov.io 06:03:44 query: branch=PR-96&commit=09b2d40c90f8bad06445742437a85434e8cf7f1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=96&job= 06:03:44 -> Pinging Codecov 06:03:44 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-96&commit=09b2d40c90f8bad06445742437a85434e8cf7f1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=96&job= 06:03:45 -> Uploading 06:03:45 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/09b2d40c90f8bad06445742437a85434e8cf7f1f [Pipeline] } 06:03:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:03:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:47 ---> package-listing.sh 06:03:47 ++ facter osfamily 06:03:47 ++ tr '[:upper:]' '[:lower:]' 06:03:47 + OS_FAMILY=redhat 06:03:47 + workspace=/w/workspace/xfoundry_device-virtual-go_PR-96 06:03:47 + START_PACKAGES=/tmp/packages_start.txt 06:03:47 + END_PACKAGES=/tmp/packages_end.txt 06:03:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:47 + PACKAGES=/tmp/packages_start.txt 06:03:47 + '[' /w/workspace/xfoundry_device-virtual-go_PR-96 ']' 06:03:47 + PACKAGES=/tmp/packages_end.txt 06:03:47 + case "${OS_FAMILY}" in 06:03:47 + rpm -qa 06:03:47 + sort 06:03:52 + '[' -f /tmp/packages_start.txt ']' 06:03:52 + '[' -f /tmp/packages_end.txt ']' 06:03:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:52 + '[' /w/workspace/xfoundry_device-virtual-go_PR-96 ']' 06:03:52 + mkdir -p /w/workspace/xfoundry_device-virtual-go_PR-96/archives/ 06:03:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-virtual-go_PR-96/archives/ [Pipeline] isUnix [Pipeline] sh 06:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:53 06:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:54 alpine: Pulling from edgex-lftools-log-publisher 06:03:54 c9b1b535fdd9: Pulling fs layer 06:03:54 2cc5ad85d9ab: Pulling fs layer 06:03:54 756a868c4378: Pulling fs layer 06:03:54 444b2fc9a129: Pulling fs layer 06:03:54 ea15f1150254: Pulling fs layer 06:03:54 41b27a9f41bf: Pulling fs layer 06:03:54 28c525ee5125: Pulling fs layer 06:03:54 094b1ea09ed8: Pulling fs layer 06:03:54 138eaada9080: Pulling fs layer 06:03:54 0622d0fa9048: Pulling fs layer 06:03:54 444b2fc9a129: Waiting 06:03:54 ea15f1150254: Waiting 06:03:54 41b27a9f41bf: Waiting 06:03:54 28c525ee5125: Waiting 06:03:54 094b1ea09ed8: Waiting 06:03:54 138eaada9080: Waiting 06:03:54 0622d0fa9048: Waiting 06:03:54 2cc5ad85d9ab: Verifying Checksum 06:03:54 2cc5ad85d9ab: Download complete 06:03:54 444b2fc9a129: Verifying Checksum 06:03:54 444b2fc9a129: Download complete 06:03:54 c9b1b535fdd9: Verifying Checksum 06:03:54 c9b1b535fdd9: Download complete 06:03:54 ea15f1150254: Verifying Checksum 06:03:54 ea15f1150254: Download complete 06:03:54 28c525ee5125: Verifying Checksum 06:03:54 28c525ee5125: Download complete 06:03:55 756a868c4378: Verifying Checksum 06:03:55 756a868c4378: Download complete 06:03:55 138eaada9080: Verifying Checksum 06:03:55 138eaada9080: Download complete 06:03:55 c9b1b535fdd9: Pull complete 06:03:55 0622d0fa9048: Verifying Checksum 06:03:55 0622d0fa9048: Download complete 06:03:55 094b1ea09ed8: Verifying Checksum 06:03:55 094b1ea09ed8: Download complete 06:03:55 2cc5ad85d9ab: Pull complete 06:03:57 41b27a9f41bf: Verifying Checksum 06:03:57 41b27a9f41bf: Download complete 06:04:00 756a868c4378: Pull complete 06:04:00 444b2fc9a129: Pull complete 06:04:00 ea15f1150254: Pull complete 06:04:07 41b27a9f41bf: Pull complete 06:04:07 28c525ee5125: Pull complete 06:04:10 094b1ea09ed8: Pull complete 06:04:10 138eaada9080: Pull complete 06:04:11 0622d0fa9048: Pull complete 06:04:11 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:04:11 prd-centos7-docker-4c-2g-5149 does not seem to be running inside a container 06:04:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-virtual-go_PR-96 -v /w/workspace/xfoundry_device-virtual-go_PR-96:/w/workspace/xfoundry_device-virtual-go_PR-96:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-96@tmp:/w/workspace/xfoundry_device-virtual-go_PR-96@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:04:13 $ docker top c134dbbaf4dc5833b1284c768c00ccc181d125ed46a9eef59ce5938a511eafd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:13 provisioning config files... 06:04:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config5713531648516093714tmp [Pipeline] { [Pipeline] echo 06:04:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:04:14 ---> create-netrc.sh [Pipeline] echo 06:04:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:15 ---> logs-deploy.sh 06:04:15 + ARCHIVE_ARTIFACTS= 06:04:15 + LOGS_SERVER=https://logs.edgexfoundry.org 06:04:15 + '[' https://logs.edgexfoundry.org == None ']' 06:04:15 + NEXUS_URL=https://nexus.edgexfoundry.org 06:04:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 06:04:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-96/2/ 06:04:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 /w/workspace/xfoundry_device-virtual-go_PR-96 06:04:17 Archives upload complete. 06:04:17 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-96/2/