Pull request #120 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 83d7a5c431fe81e17b953abf687c395c5af67887 rather than 23d60ecbf5a865de5fc9fa155b9d60b75129b421 Obtained Jenkinsfile from 83d7a5c431fe81e17b953abf687c395c5af67887 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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-120/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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 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 ‘prd-centos7-docker-4c-2g-546’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-543’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-547 in /w/workspace/foundry_device-virtual-go_PR-120 [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/foundry_device-virtual-go_PR-120 # 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/120/head:refs/remotes/origin/PR-120 +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/120/head:refs/remotes/origin/PR-120 # 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/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 83d7a5c431fe81e17b953abf687c395c5af67887 into PR head commit 23d60ecbf5a865de5fc9fa155b9d60b75129b421 Merge succeeded, producing 23d60ecbf5a865de5fc9fa155b9d60b75129b421 Checking out Revision 23d60ecbf5a865de5fc9fa155b9d60b75129b421 (PR-120) > git config core.sparsecheckout # timeout=10 > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # 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 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # timeout=10 Commit message: "Update SDK version and configuration file" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T06:17:23.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T06:17:23.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T06:17:23.747Z] ========================================================= [2020-07-22T06:17:23.747Z] EdgeX Global Pipelines Version Info [2020-07-22T06:17:23.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:17:25.622Z] ------------------- [2020-07-22T06:17:25.622Z] stable info: [2020-07-22T06:17:25.622Z] ------------------- [2020-07-22T06:17:25.622Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T06:17:25.622Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-22T06:17:25.622Z] Message: update stable to v1.0.99 [2020-07-22T06:17:26.198Z] ------------------- [2020-07-22T06:17:26.199Z] experimental info: [2020-07-22T06:17:26.199Z] ------------------- [2020-07-22T06:17:26.199Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T06:17:26.199Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-22T06:17:26.199Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:17:28.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:17:29.397Z] [2020-07-22T06:17:29.397Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:17:29.783Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:17:29.783Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T06:17:29.783Z] 31603596830f: Pulling fs layer [2020-07-22T06:17:29.783Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T06:17:29.783Z] 6ca5941a6612: Pulling fs layer [2020-07-22T06:17:29.783Z] ecc8261a40a4: Pulling fs layer [2020-07-22T06:17:29.783Z] ecc8261a40a4: Waiting [2020-07-22T06:17:29.783Z] 2a8b12db71e7: Verifying Checksum [2020-07-22T06:17:29.783Z] 2a8b12db71e7: Download complete [2020-07-22T06:17:29.783Z] 31603596830f: Verifying Checksum [2020-07-22T06:17:29.783Z] 31603596830f: Download complete [2020-07-22T06:17:30.045Z] ecc8261a40a4: Verifying Checksum [2020-07-22T06:17:30.045Z] ecc8261a40a4: Download complete [2020-07-22T06:17:30.045Z] 6ca5941a6612: Verifying Checksum [2020-07-22T06:17:30.045Z] 6ca5941a6612: Download complete [2020-07-22T06:17:30.316Z] 31603596830f: Pull complete [2020-07-22T06:17:30.316Z] 2a8b12db71e7: Pull complete [2020-07-22T06:17:31.264Z] 6ca5941a6612: Pull complete [2020-07-22T06:17:31.264Z] ecc8261a40a4: Pull complete [2020-07-22T06:17:31.264Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T06:17:31.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:17:31.264Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T06:17:31.404Z] prd-centos7-docker-4c-2g-547 does not seem to be running inside a container [2020-07-22T06:17:31.476Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-120 -v /w/workspace/foundry_device-virtual-go_PR-120:/w/workspace/foundry_device-virtual-go_PR-120:rw,z -v /w/workspace/foundry_device-virtual-go_PR-120@tmp:/w/workspace/foundry_device-virtual-go_PR-120@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T06:17:33.297Z] $ docker top 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T06:17:33.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T06:17:33.627Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T06:17:33.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T06:17:33.844Z] $ docker exec 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 ssh-agent [2020-07-22T06:17:34.023Z] SSH_AUTH_SOCK=/tmp/ssh-hTmZSZKnflax/agent.11 [2020-07-22T06:17:34.023Z] SSH_AGENT_PID=16 [2020-07-22T06:17:34.033Z] Running ssh-add (command line suppressed) [2020-07-22T06:17:34.155Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-120@tmp/private_key_3849156147650290272.key (/w/workspace/foundry_device-virtual-go_PR-120@tmp/private_key_3849156147650290272.key) [2020-07-22T06:17:34.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T06:17:34.577Z] + git describe --exact-match --tags HEAD [2020-07-22T06:17:34.577Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T06:17:34.711Z] $ docker exec --env ******** --env ******** 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 ssh-agent -k [2020-07-22T06:17:34.863Z] unset SSH_AUTH_SOCK; [2020-07-22T06:17:34.864Z] unset SSH_AGENT_PID; [2020-07-22T06:17:34.864Z] echo Agent pid 16 killed; [2020-07-22T06:17:34.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T06:17:35.049Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T06:17:35.049Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T06:17:35.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T06:17:35.147Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T06:17:35.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T06:17:35.319Z] $ docker exec 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 ssh-agent [2020-07-22T06:17:35.503Z] SSH_AUTH_SOCK=/tmp/ssh-xHei3bflgbzZ/agent.44 [2020-07-22T06:17:35.503Z] SSH_AGENT_PID=49 [2020-07-22T06:17:35.510Z] Running ssh-add (command line suppressed) [2020-07-22T06:17:35.643Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-120@tmp/private_key_2059984025503109650.key (/w/workspace/foundry_device-virtual-go_PR-120@tmp/private_key_2059984025503109650.key) [2020-07-22T06:17:35.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T06:17:36.057Z] + git semver init [2020-07-22T06:17:36.057Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T06:17:36.057Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-120/.git [2020-07-22T06:17:36.057Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-120 [2020-07-22T06:17:36.057Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T06:17:36.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T06:17:36.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T06:17:36.057Z] # $SEMVER_BRANCH = PR-120 [2020-07-22T06:17:36.057Z] # $SEMVER_TEMP = /tmp/semver-914209760 [2020-07-22T06:17:36.057Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-07-22T06:17:36.320Z] # '/tmp/semver-914209760' -> '/w/workspace/foundry_device-virtual-go_PR-120/.semver' [2020-07-22T06:17:36.320Z] # -> Force: false [2020-07-22T06:17:36.320Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-120/.semver [Pipeline] } [2020-07-22T06:17:36.335Z] $ docker exec --env ******** --env ******** 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 ssh-agent -k [2020-07-22T06:17:36.450Z] unset SSH_AUTH_SOCK; [2020-07-22T06:17:36.450Z] unset SSH_AGENT_PID; [2020-07-22T06:17:36.451Z] echo Agent pid 49 killed; [2020-07-22T06:17:36.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T06:17:37.021Z] + git semver [Pipeline] } [2020-07-22T06:17:37.045Z] $ docker stop --time=1 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 [2020-07-22T06:17:38.381Z] $ docker rm -f 516af34390f34070e740daa6101cbf1065f48a813bf0489bba6f63641492cc54 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T06:17:39.061Z] Stashed 20 file(s) [Pipeline] echo [2020-07-22T06:17:39.078Z] [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 [2020-07-22T06:17:54.531Z] Still waiting to schedule task [2020-07-22T06:17:54.531Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-22T06:17:54.552Z] Still waiting to schedule task [2020-07-22T06:17:54.552Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-22T06:19:53.832Z] Running on prd-centos7-docker-4c-2g-548 in /w/workspace/foundry_device-virtual-go_PR-120 [Pipeline] { [Pipeline] ws [2020-07-22T06:19:53.902Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T06:19:56.115Z] using credential edgex-jenkins-ssh [2020-07-22T06:19:56.158Z] Cloning the remote Git repository [2020-07-22T06:19:56.158Z] Cloning with configured refspecs honoured and without tags [2020-07-22T06:19:55.461Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:19:55.527Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-07-22T06:19:57.152Z] Fetching without tags [2020-07-22T06:19:55.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:19:55.906Z] > git --version # timeout=10 [2020-07-22T06:19:55.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:19:55.942Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:19:56.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-22T06:19:56.473Z] > git config --add remote.origin.fetch +refs/pull/120/head:refs/remotes/origin/PR-120 # timeout=10 [2020-07-22T06:19:56.493Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:19:56.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-22T06:19:56.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:19:56.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:19:56.523Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:19:57.541Z] Merging remotes/origin/master commit 83d7a5c431fe81e17b953abf687c395c5af67887 into PR head commit 23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:19:57.608Z] Merge succeeded, producing 23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:19:57.609Z] Checking out Revision 23d60ecbf5a865de5fc9fa155b9d60b75129b421 (PR-120) [2020-07-22T06:19:56.941Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:19:56.946Z] > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # timeout=10 [2020-07-22T06:19:56.976Z] > git remote # timeout=10 [2020-07-22T06:19:56.984Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T06:19:56.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:19:56.992Z] > git merge 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 [2020-07-22T06:19:57.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T06:19:57.009Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:19:57.017Z] > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # timeout=10 [2020-07-22T06:20:00.943Z] Commit message: "Update SDK version and configuration file" [2020-07-22T06:20:00.642Z] > git --version # timeout=10 [2020-07-22T06:20:00.653Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T06:20:01.854Z] ========================================================= [2020-07-22T06:20:01.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-22T06:20:01.854Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:20:02.551Z] + 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 . [2020-07-22T06:20:03.136Z] Sending build context to Docker daemon 524.3kB [2020-07-22T06:20:03.136Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-22T06:20:03.136Z] Step 2/8 : FROM ${BASE} [2020-07-22T06:20:03.136Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-22T06:20:03.136Z] df20fa9351a1: Pulling fs layer [2020-07-22T06:20:03.136Z] ed8968b2872e: Pulling fs layer [2020-07-22T06:20:03.136Z] a92cc7c5fd73: Pulling fs layer [2020-07-22T06:20:03.136Z] 2dd03ba5bac4: Pulling fs layer [2020-07-22T06:20:03.136Z] 1e091d79d1de: Pulling fs layer [2020-07-22T06:20:03.136Z] 481702a1767f: Pulling fs layer [2020-07-22T06:20:03.136Z] f64a6f60c768: Pulling fs layer [2020-07-22T06:20:03.136Z] e78d2573fc39: Pulling fs layer [2020-07-22T06:20:03.136Z] e876d2f968b6: Pulling fs layer [2020-07-22T06:20:03.136Z] ce8a83651883: Pulling fs layer [2020-07-22T06:20:03.136Z] 07967f4d0e4b: Pulling fs layer [2020-07-22T06:20:03.136Z] 2dd03ba5bac4: Waiting [2020-07-22T06:20:03.136Z] e78d2573fc39: Waiting [2020-07-22T06:20:03.136Z] 1e091d79d1de: Waiting [2020-07-22T06:20:03.136Z] 481702a1767f: Waiting [2020-07-22T06:20:03.136Z] e876d2f968b6: Waiting [2020-07-22T06:20:03.136Z] ce8a83651883: Waiting [2020-07-22T06:20:03.136Z] f64a6f60c768: Waiting [2020-07-22T06:20:03.136Z] 07967f4d0e4b: Waiting [2020-07-22T06:20:03.136Z] a92cc7c5fd73: Verifying Checksum [2020-07-22T06:20:03.136Z] a92cc7c5fd73: Download complete [2020-07-22T06:20:03.136Z] ed8968b2872e: Download complete [2020-07-22T06:20:03.136Z] 1e091d79d1de: Verifying Checksum [2020-07-22T06:20:03.136Z] 1e091d79d1de: Download complete [2020-07-22T06:20:03.136Z] 481702a1767f: Verifying Checksum [2020-07-22T06:20:03.136Z] 481702a1767f: Download complete [2020-07-22T06:20:03.136Z] df20fa9351a1: Verifying Checksum [2020-07-22T06:20:03.136Z] df20fa9351a1: Download complete [2020-07-22T06:20:03.741Z] df20fa9351a1: Pull complete [2020-07-22T06:20:04.009Z] f64a6f60c768: Verifying Checksum [2020-07-22T06:20:04.009Z] f64a6f60c768: Download complete [2020-07-22T06:20:04.270Z] e876d2f968b6: Verifying Checksum [2020-07-22T06:20:04.270Z] e876d2f968b6: Download complete [2020-07-22T06:20:04.532Z] ce8a83651883: Verifying Checksum [2020-07-22T06:20:04.532Z] ce8a83651883: Download complete [2020-07-22T06:20:04.796Z] e78d2573fc39: Verifying Checksum [2020-07-22T06:20:04.796Z] e78d2573fc39: Download complete [2020-07-22T06:20:04.796Z] 07967f4d0e4b: Verifying Checksum [2020-07-22T06:20:04.796Z] 07967f4d0e4b: Download complete [2020-07-22T06:20:04.796Z] 2dd03ba5bac4: Verifying Checksum [2020-07-22T06:20:04.796Z] 2dd03ba5bac4: Download complete [2020-07-22T06:20:06.191Z] ed8968b2872e: Pull complete [2020-07-22T06:20:06.191Z] a92cc7c5fd73: Pull complete [2020-07-22T06:20:11.505Z] 2dd03ba5bac4: Pull complete [2020-07-22T06:20:11.505Z] 1e091d79d1de: Pull complete [2020-07-22T06:20:11.505Z] 481702a1767f: Pull complete [2020-07-22T06:20:18.103Z] f64a6f60c768: Pull complete [2020-07-22T06:20:20.023Z] e78d2573fc39: Pull complete [2020-07-22T06:20:20.023Z] e876d2f968b6: Pull complete [2020-07-22T06:20:21.944Z] ce8a83651883: Pull complete [2020-07-22T06:20:21.944Z] 07967f4d0e4b: Pull complete [2020-07-22T06:20:21.944Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-22T06:20:21.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-22T06:20:21.944Z] ---> 5d7c900382c6 [2020-07-22T06:20:21.944Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-22T06:20:22.515Z] ---> Running in 52c8522091ed [2020-07-22T06:20:22.778Z] Removing intermediate container 52c8522091ed [2020-07-22T06:20:22.778Z] ---> e06fe76070f3 [2020-07-22T06:20:22.778Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:20:22.778Z] ---> Running in 04187c7a793b [2020-07-22T06:20:24.167Z] Removing intermediate container 04187c7a793b [2020-07-22T06:20:24.167Z] ---> 963533623212 [2020-07-22T06:20:24.167Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T06:20:24.167Z] ---> Running in 9d11b88cba01 [2020-07-22T06:20:24.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T06:20:26.132Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T06:20:28.046Z] (1/14) Installing libmagic (5.38-r0) [2020-07-22T06:20:28.618Z] (2/14) Installing file (5.38-r0) [2020-07-22T06:20:28.618Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-22T06:20:28.880Z] (4/14) Installing g++ (9.3.0-r2) [2020-07-22T06:20:41.116Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-22T06:20:41.116Z] (6/14) Installing patch (2.7.6-r6) [2020-07-22T06:20:41.116Z] (7/14) Installing build-base (0.5-r2) [2020-07-22T06:20:41.116Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-22T06:20:41.116Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-22T06:20:41.116Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-22T06:20:41.685Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-22T06:20:41.685Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-22T06:20:41.947Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-22T06:20:42.215Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-22T06:20:42.215Z] Executing busybox-1.31.1-r16.trigger [2020-07-22T06:20:42.215Z] OK: 237 MiB in 53 packages [2020-07-22T06:20:45.522Z] Removing intermediate container 9d11b88cba01 [2020-07-22T06:20:45.522Z] ---> 9f0d21917c42 [2020-07-22T06:20:45.522Z] Step 6/8 : WORKDIR /device-virtual-go [2020-07-22T06:20:45.522Z] ---> Running in 60749edab8b0 [2020-07-22T06:20:45.522Z] Removing intermediate container 60749edab8b0 [2020-07-22T06:20:45.522Z] ---> 87673f3738f3 [2020-07-22T06:20:45.522Z] Step 7/8 : COPY . . [2020-07-22T06:20:46.464Z] ---> db2bcb0af08b [2020-07-22T06:20:46.464Z] Step 8/8 : RUN go mod download [2020-07-22T06:20:46.464Z] ---> Running in 4a4d03c42ff5 [2020-07-22T06:20:48.378Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T06:20:48.378Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T06:20:48.378Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T06:20:48.378Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T06:20:48.378Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T06:20:48.378Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T06:20:48.378Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T06:20:48.378Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T06:20:48.378Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T06:20:48.949Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-07-22T06:20:48.949Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T06:20:48.949Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T06:20:48.949Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T06:20:48.949Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T06:20:48.949Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T06:20:48.949Z] go: finding github.com/golang/snappy v0.0.1 [2020-07-22T06:20:48.949Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T06:20:49.209Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T06:20:49.209Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T06:20:49.209Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T06:20:49.469Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T06:20:49.469Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T06:20:49.469Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T06:20:49.469Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T06:20:49.469Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T06:20:49.469Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T06:20:49.729Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T06:20:49.730Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T06:20:49.730Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T06:20:49.730Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T06:20:49.730Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T06:20:49.730Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T06:20:49.989Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T06:20:49.989Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-07-22T06:20:49.989Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T06:20:49.989Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T06:20:49.989Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T06:20:49.989Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T06:20:49.989Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T06:20:49.989Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T06:20:49.989Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T06:20:50.252Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T06:20:50.252Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T06:20:50.252Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-07-22T06:20:50.252Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T06:20:50.252Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T06:20:50.252Z] go: finding modernc.org/b v1.0.0 [2020-07-22T06:20:50.252Z] go: finding modernc.org/db v1.0.0 [2020-07-22T06:20:50.252Z] go: finding modernc.org/file v1.0.0 [2020-07-22T06:20:50.252Z] go: finding modernc.org/fileutil v1.0.0 [2020-07-22T06:20:50.252Z] go: finding modernc.org/golex v1.0.0 [2020-07-22T06:20:50.252Z] go: finding modernc.org/internal v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/lldb v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/mathutil v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/ql v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/sortutil v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/strutil v1.0.0 [2020-07-22T06:20:50.517Z] go: finding modernc.org/zappy v1.0.0 [2020-07-22T06:20:53.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-549 in /w/workspace/foundry_device-virtual-go_PR-120 [Pipeline] { [Pipeline] ws [2020-07-22T06:20:53.803Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T06:20:58.643Z] using credential edgex-jenkins-ssh [2020-07-22T06:20:58.689Z] Cloning the remote Git repository [2020-07-22T06:20:58.689Z] Cloning with configured refspecs honoured and without tags [2020-07-22T06:20:58.691Z] Removing intermediate container 4a4d03c42ff5 [2020-07-22T06:20:58.691Z] ---> 0b81e0693f40 [2020-07-22T06:20:58.691Z] Successfully built 0b81e0693f40 [2020-07-22T06:20:58.691Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2020-07-22T06:20:58.775Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:20:58.910Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-07-22T06:20:58.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:20:58.971Z] > git --version # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:20:59.666Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T06:20:59.666Z] . [Pipeline] withDockerContainer [2020-07-22T06:20:59.795Z] prd-centos7-docker-4c-2g-548 does not seem to be running inside a container [2020-07-22T06:20:59.811Z] Fetching without tags [2020-07-22T06:20:59.834Z] $ 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 ******** ci-base-image-x86_64 cat [2020-07-22T06:20:58.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:20:59.051Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:20:59.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-22T06:20:59.743Z] > git config --add remote.origin.fetch +refs/pull/120/head:refs/remotes/origin/PR-120 # timeout=10 [2020-07-22T06:20:59.762Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:20:59.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-22T06:20:59.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-22T06:20:59.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:20:59.832Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:21:00.350Z] Merging remotes/origin/master commit 83d7a5c431fe81e17b953abf687c395c5af67887 into PR head commit 23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:21:00.514Z] Merge succeeded, producing 23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:21:00.515Z] Checking out Revision 23d60ecbf5a865de5fc9fa155b9d60b75129b421 (PR-120) [2020-07-22T06:21:01.055Z] $ docker top f11f56c74b7a20e920ab916e82b757486f4e78e8b93054e47782d91e335fb610 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T06:21:00.363Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:21:00.375Z] > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # timeout=10 [2020-07-22T06:21:00.444Z] > git remote # timeout=10 [2020-07-22T06:21:00.458Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T06:21:00.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:21:00.478Z] > git merge 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 [2020-07-22T06:21:00.498Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T06:21:00.517Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:21:00.538Z] > git checkout -f 23d60ecbf5a865de5fc9fa155b9d60b75129b421 # timeout=10 [2020-07-22T06:21:01.590Z] + go version [2020-07-22T06:21:01.590Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-22T06:21:01.921Z] + make test [2020-07-22T06:21:01.922Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-22T06:21:02.875Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-07-22T06:21:04.621Z] Commit message: "Update SDK version and configuration file" [2020-07-22T06:21:04.675Z] > git --version # timeout=10 [2020-07-22T06:21:04.698Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T06:21:05.730Z] ========================================================= [2020-07-22T06:21:05.730Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-22T06:21:05.730Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:21:06.682Z] + 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 . [2020-07-22T06:21:07.667Z] Sending build context to Docker daemon 524.3kB [2020-07-22T06:21:07.667Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-22T06:21:07.667Z] Step 2/8 : FROM ${BASE} [2020-07-22T06:21:07.944Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-22T06:21:07.944Z] b538f80385f9: Pulling fs layer [2020-07-22T06:21:07.944Z] 74f711af9a0d: Pulling fs layer [2020-07-22T06:21:07.944Z] 99f96fe45779: Pulling fs layer [2020-07-22T06:21:07.944Z] fd7a069fd194: Pulling fs layer [2020-07-22T06:21:07.944Z] 66aa3694b03b: Pulling fs layer [2020-07-22T06:21:07.944Z] 170f70906a0f: Pulling fs layer [2020-07-22T06:21:07.944Z] ad7c5574e4b9: Pulling fs layer [2020-07-22T06:21:07.944Z] e772456be8f7: Pulling fs layer [2020-07-22T06:21:07.944Z] c890913d741a: Pulling fs layer [2020-07-22T06:21:07.944Z] 2480fcc9aa5a: Pulling fs layer [2020-07-22T06:21:07.944Z] 09adf4765672: Pulling fs layer [2020-07-22T06:21:07.944Z] ad7c5574e4b9: Waiting [2020-07-22T06:21:07.944Z] e772456be8f7: Waiting [2020-07-22T06:21:07.944Z] c890913d741a: Waiting [2020-07-22T06:21:07.944Z] 2480fcc9aa5a: Waiting [2020-07-22T06:21:07.944Z] fd7a069fd194: Waiting [2020-07-22T06:21:07.944Z] 66aa3694b03b: Waiting [2020-07-22T06:21:07.944Z] 170f70906a0f: Waiting [2020-07-22T06:21:07.944Z] 09adf4765672: Waiting [2020-07-22T06:21:07.944Z] 99f96fe45779: Download complete [2020-07-22T06:21:07.944Z] 74f711af9a0d: Verifying Checksum [2020-07-22T06:21:07.944Z] 74f711af9a0d: Download complete [2020-07-22T06:21:07.944Z] 66aa3694b03b: Verifying Checksum [2020-07-22T06:21:07.944Z] 66aa3694b03b: Download complete [2020-07-22T06:21:07.944Z] 170f70906a0f: Verifying Checksum [2020-07-22T06:21:07.944Z] 170f70906a0f: Download complete [2020-07-22T06:21:07.944Z] b538f80385f9: Verifying Checksum [2020-07-22T06:21:07.944Z] b538f80385f9: Download complete [2020-07-22T06:21:08.937Z] b538f80385f9: Pull complete [2020-07-22T06:21:09.538Z] 74f711af9a0d: Pull complete [2020-07-22T06:21:09.815Z] 99f96fe45779: Pull complete [2020-07-22T06:21:10.800Z] ad7c5574e4b9: Download complete [2020-07-22T06:21:10.800Z] c890913d741a: Download complete [2020-07-22T06:21:12.789Z] 2480fcc9aa5a: Verifying Checksum [2020-07-22T06:21:12.789Z] 2480fcc9aa5a: Download complete [2020-07-22T06:21:12.789Z] 09adf4765672: Download complete [2020-07-22T06:21:13.768Z] fd7a069fd194: Verifying Checksum [2020-07-22T06:21:13.768Z] fd7a069fd194: Download complete [2020-07-22T06:21:14.751Z] e772456be8f7: Verifying Checksum [2020-07-22T06:21:14.751Z] e772456be8f7: Download complete [2020-07-22T06:21:15.255Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-07-22T06:21:24.897Z] fd7a069fd194: Pull complete [2020-07-22T06:21:25.169Z] 66aa3694b03b: Pull complete [2020-07-22T06:21:25.442Z] 170f70906a0f: Pull complete [2020-07-22T06:21:28.834Z] ad7c5574e4b9: Pull complete [2020-07-22T06:21:33.147Z] e772456be8f7: Pull complete [2020-07-22T06:21:33.147Z] c890913d741a: Pull complete [2020-07-22T06:21:33.396Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 18.146s coverage: 52.6% of statements [2020-07-22T06:21:33.656Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T06:21:35.784Z] 2480fcc9aa5a: Pull complete [2020-07-22T06:21:35.784Z] 09adf4765672: Pull complete [2020-07-22T06:21:36.057Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-22T06:21:36.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-22T06:21:36.057Z] ---> 2248a725d1cf [2020-07-22T06:21:36.057Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-22T06:21:36.230Z] gofmt -l . [2020-07-22T06:21:36.230Z] [ "`gofmt -l .`" = "" ] [2020-07-22T06:21:36.230Z] ./bin/test-attribution-txt.sh [2020-07-22T06:21:37.175Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-22T06:21:37.518Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T06:21:37.531Z] $ docker stop --time=1 f11f56c74b7a20e920ab916e82b757486f4e78e8b93054e47782d91e335fb610 [2020-07-22T06:21:39.547Z] $ docker rm -f f11f56c74b7a20e920ab916e82b757486f4e78e8b93054e47782d91e335fb610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-22T06:21:41.469Z] ---> Running in 9094e9b5828a [2020-07-22T06:21:41.469Z] Removing intermediate container 9094e9b5828a [2020-07-22T06:21:41.469Z] ---> 1a104616e3c5 [2020-07-22T06:21:41.469Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:21:41.470Z] ---> Running in 79edb5179553 [Pipeline] sh [2020-07-22T06:21:42.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T06:21:42.737Z] + ls -al . [2020-07-22T06:21:42.737Z] total 112 [2020-07-22T06:21:42.737Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 22 06:21 . [2020-07-22T06:21:42.737Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 06:19 .. [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 6432 Jul 22 06:19 Attribution.txt [2020-07-22T06:21:42.737Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 06:19 bin [2020-07-22T06:21:42.737Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 06:19 cmd [2020-07-22T06:21:42.737Z] -rw-r--r--. 1 jenkins jenkins 31362 Jul 22 06:21 coverage.out [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 1826 Jul 22 06:19 Dockerfile [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 957 Jul 22 06:19 Dockerfile.build [2020-07-22T06:21:42.737Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 06:20 .git [2020-07-22T06:21:42.737Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 06:19 .github [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 258 Jul 22 06:19 .gitignore [2020-07-22T06:21:42.737Z] -rw-r--r--. 1 jenkins jenkins 855 Jul 22 06:21 go.mod [2020-07-22T06:21:42.737Z] -rw-r--r--. 1 jenkins jenkins 14894 Jul 22 06:21 go.sum [2020-07-22T06:21:42.737Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 06:19 internal [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 683 Jul 22 06:19 Jenkinsfile [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 06:19 LICENSE [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 873 Jul 22 06:19 Makefile [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 4623 Jul 22 06:19 README.md [2020-07-22T06:21:42.737Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 06:20 .semver [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 06:17 VERSION [2020-07-22T06:21:42.737Z] -rw-rw-r--. 1 jenkins jenkins 235 Jul 22 06:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:21:43.064Z] + 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=23d60ecbf5a865de5fc9fa155b9d60b75129b421 --label arch=amd64 --label version=0.0.0 . [2020-07-22T06:21:43.064Z] Sending build context to Docker daemon 586.8kB [2020-07-22T06:21:43.064Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-07-22T06:21:43.064Z] Step 2/21 : FROM ${BASE} AS builder [2020-07-22T06:21:43.064Z] ---> 0b81e0693f40 [2020-07-22T06:21:43.064Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-07-22T06:21:43.327Z] ---> Running in b48bd742429a [2020-07-22T06:21:43.327Z] Removing intermediate container b48bd742429a [2020-07-22T06:21:43.327Z] ---> 03e29d793cde [2020-07-22T06:21:43.327Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:21:43.588Z] ---> Running in c84dbaaf96f4 [2020-07-22T06:21:43.588Z] Removing intermediate container c84dbaaf96f4 [2020-07-22T06:21:43.589Z] ---> d4ed5c56b575 [2020-07-22T06:21:43.589Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-07-22T06:21:43.589Z] ---> Running in 1335d09be0e2 [2020-07-22T06:21:43.849Z] Removing intermediate container 1335d09be0e2 [2020-07-22T06:21:43.849Z] ---> 36d77a108bde [2020-07-22T06:21:43.849Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:21:43.849Z] ---> Running in 71218bbc5468 [2020-07-22T06:21:44.084Z] Removing intermediate container 79edb5179553 [2020-07-22T06:21:44.084Z] ---> b52bd8f7ac92 [2020-07-22T06:21:44.084Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T06:21:44.084Z] ---> Running in aa089c5cfd62 [2020-07-22T06:21:44.789Z] Removing intermediate container 71218bbc5468 [2020-07-22T06:21:44.789Z] ---> c4f1bc9c5985 [2020-07-22T06:21:44.789Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:21:44.789Z] ---> Running in 34ec347802e1 [2020-07-22T06:21:45.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T06:21:45.533Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T06:21:45.994Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T06:21:46.124Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T06:21:46.940Z] OK: 237 MiB in 53 packages [2020-07-22T06:21:47.203Z] Removing intermediate container 34ec347802e1 [2020-07-22T06:21:47.203Z] ---> 6dbea83832ba [2020-07-22T06:21:47.203Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-07-22T06:21:47.203Z] ---> Running in 113a1c2392e6 [2020-07-22T06:21:47.464Z] Removing intermediate container 113a1c2392e6 [2020-07-22T06:21:47.464Z] ---> 7c0a568259c5 [2020-07-22T06:21:47.464Z] Step 9/21 : COPY . . [2020-07-22T06:21:48.041Z] ---> 3ff0a70f73fc [2020-07-22T06:21:48.041Z] Step 10/21 : ARG MAKE='make build' [2020-07-22T06:21:48.041Z] ---> Running in 2d2c47775045 [2020-07-22T06:21:48.301Z] Removing intermediate container 2d2c47775045 [2020-07-22T06:21:48.302Z] ---> ade05d810fba [2020-07-22T06:21:48.302Z] Step 11/21 : RUN $MAKE [2020-07-22T06:21:48.302Z] ---> Running in aa7aadfbb722 [2020-07-22T06:21:48.562Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-07-22T06:21:48.727Z] (1/14) Installing libmagic (5.38-r0) [2020-07-22T06:21:49.315Z] (2/14) Installing file (5.38-r0) [2020-07-22T06:21:49.315Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-22T06:21:49.315Z] (4/14) Installing g++ (9.3.0-r2) [2020-07-22T06:22:00.893Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-22T06:22:02.814Z] Removing intermediate container aa7aadfbb722 [2020-07-22T06:22:02.814Z] ---> 97bf47d16317 [2020-07-22T06:22:02.814Z] Step 12/21 : FROM alpine [2020-07-22T06:22:03.386Z] latest: Pulling from library/alpine [2020-07-22T06:22:03.955Z] df20fa9351a1: Already exists [2020-07-22T06:22:03.955Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T06:22:03.955Z] Status: Downloaded newer image for alpine:latest [2020-07-22T06:22:03.955Z] ---> a24bb4013296 [2020-07-22T06:22:03.955Z] Step 13/21 : ENV APP_PORT=49990 [2020-07-22T06:22:04.215Z] ---> Running in cc1d44ba9ca4 [2020-07-22T06:22:04.215Z] Removing intermediate container cc1d44ba9ca4 [2020-07-22T06:22:04.215Z] ---> b6a135bf4818 [2020-07-22T06:22:04.215Z] Step 14/21 : EXPOSE $APP_PORT [2020-07-22T06:22:04.215Z] ---> Running in fe617ac67323 [2020-07-22T06:22:04.349Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-22T06:22:04.349Z] (6/14) Installing patch (2.7.6-r6) [2020-07-22T06:22:04.349Z] (7/14) Installing build-base (0.5-r2) [2020-07-22T06:22:04.349Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-22T06:22:04.349Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-22T06:22:04.349Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-22T06:22:04.476Z] Removing intermediate container fe617ac67323 [2020-07-22T06:22:04.476Z] ---> 71d8d54b8c70 [2020-07-22T06:22:04.476Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-07-22T06:22:04.939Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-22T06:22:04.939Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-22T06:22:05.045Z] ---> ae8a005830d6 [2020-07-22T06:22:05.045Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-07-22T06:22:05.209Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-22T06:22:05.306Z] ---> 0e08a0838128 [2020-07-22T06:22:05.306Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-07-22T06:22:05.485Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-22T06:22:05.485Z] Executing busybox-1.31.1-r16.trigger [2020-07-22T06:22:05.485Z] OK: 221 MiB in 53 packages [2020-07-22T06:22:05.565Z] ---> b9052213fdc1 [2020-07-22T06:22:05.565Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-22T06:22:05.565Z] ---> Running in 50b5a2fe05e4 [2020-07-22T06:22:05.825Z] Removing intermediate container 50b5a2fe05e4 [2020-07-22T06:22:05.825Z] ---> fe3fb222e53d [2020-07-22T06:22:05.825Z] Step 19/21 : LABEL arch=amd64 [2020-07-22T06:22:05.825Z] ---> Running in 9aedb9c31b0c [2020-07-22T06:22:05.825Z] Removing intermediate container 9aedb9c31b0c [2020-07-22T06:22:05.825Z] ---> 344771ea02ce [2020-07-22T06:22:05.825Z] Step 20/21 : LABEL git_sha=23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:22:06.084Z] ---> Running in 75f8bf83380f [2020-07-22T06:22:06.084Z] Removing intermediate container 75f8bf83380f [2020-07-22T06:22:06.084Z] ---> 45baee523d34 [2020-07-22T06:22:06.084Z] Step 21/21 : LABEL version=0.0.0 [2020-07-22T06:22:06.084Z] ---> Running in 0e9edb7827fd [2020-07-22T06:22:06.344Z] Removing intermediate container 0e9edb7827fd [2020-07-22T06:22:06.344Z] ---> a2b72478c8c0 [2020-07-22T06:22:06.344Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T06:22:06.344Z] Successfully built a2b72478c8c0 [2020-07-22T06:22:06.344Z] 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] } [2020-07-22T06:22:09.781Z] Removing intermediate container aa089c5cfd62 [2020-07-22T06:22:09.781Z] ---> 2459eb1fe006 [2020-07-22T06:22:09.781Z] Step 6/8 : WORKDIR /device-virtual-go [2020-07-22T06:22:09.781Z] ---> Running in 1e794f18df50 [2020-07-22T06:22:10.374Z] Removing intermediate container 1e794f18df50 [2020-07-22T06:22:10.374Z] ---> 14208e10b2bc [2020-07-22T06:22:10.374Z] Step 7/8 : COPY . . [2020-07-22T06:22:11.348Z] ---> fbddf841c6c9 [2020-07-22T06:22:11.348Z] Step 8/8 : RUN go mod download [2020-07-22T06:22:11.348Z] ---> Running in 66ed558ecfcb [2020-07-22T06:22:13.964Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T06:22:13.964Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T06:22:14.236Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T06:22:14.236Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T06:22:14.236Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T06:22:14.236Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T06:22:14.236Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T06:22:14.236Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T06:22:14.236Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T06:22:14.236Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T06:22:14.236Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T06:22:14.236Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T06:22:14.236Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T06:22:14.508Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T06:22:14.508Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-07-22T06:22:14.508Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T06:22:14.508Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T06:22:14.508Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T06:22:14.508Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T06:22:14.508Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T06:22:14.508Z] go: finding github.com/golang/snappy v0.0.1 [2020-07-22T06:22:14.508Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T06:22:14.508Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T06:22:14.508Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T06:22:14.508Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T06:22:14.779Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-22T06:22:15.049Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T06:22:15.049Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T06:22:15.049Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T06:22:15.049Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T06:22:15.049Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T06:22:15.049Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T06:22:15.049Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T06:22:15.049Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T06:22:15.049Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T06:22:15.049Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T06:22:15.049Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T06:22:15.049Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T06:22:15.319Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T06:22:15.319Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T06:22:15.319Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T06:22:15.319Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T06:22:15.319Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T06:22:15.319Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T06:22:15.319Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T06:22:15.319Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T06:22:15.319Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T06:22:15.319Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T06:22:15.319Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-07-22T06:22:15.588Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T06:22:15.588Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T06:22:15.588Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T06:22:15.588Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T06:22:15.588Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T06:22:15.588Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T06:22:15.588Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T06:22:15.588Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T06:22:15.588Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T06:22:15.588Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-07-22T06:22:15.588Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T06:22:15.588Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T06:22:15.858Z] go: finding modernc.org/b v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/db v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/file v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/fileutil v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/golex v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/internal v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/lldb v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/mathutil v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/ql v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/sortutil v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/strutil v1.0.0 [2020-07-22T06:22:15.858Z] go: finding modernc.org/zappy v1.0.0 [2020-07-22T06:22:26.002Z] Removing intermediate container 66ed558ecfcb [2020-07-22T06:22:26.002Z] ---> a8cd9af389fd [2020-07-22T06:22:26.002Z] Successfully built a8cd9af389fd [2020-07-22T06:22:26.002Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:22:26.960Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T06:22:26.960Z] . [Pipeline] withDockerContainer [2020-07-22T06:22:27.219Z] prd-ubuntu18.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2020-07-22T06:22:27.300Z] $ 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 ******** ci-base-image-arm64 cat [2020-07-22T06:22:29.081Z] $ docker top 87fb88d3e1f60f0d8dee6d5906992b476e202ed50aa3edbbdd594f7fbc0c83b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T06:22:30.559Z] + go version [2020-07-22T06:22:30.559Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-22T06:22:31.631Z] + make test [2020-07-22T06:22:31.631Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-22T06:22:32.609Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-07-22T06:23:11.665Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-07-22T06:23:43.991Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 31.214s coverage: 52.6% of statements [2020-07-22T06:23:43.991Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T06:23:50.741Z] gofmt -l . [2020-07-22T06:23:50.741Z] [ "`gofmt -l .`" = "" ] [2020-07-22T06:23:50.741Z] ./bin/test-attribution-txt.sh [2020-07-22T06:23:51.715Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-22T06:23:52.018Z] Warning: overwriting stash ‘coverage-report’ [2020-07-22T06:23:52.883Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T06:23:52.895Z] $ docker stop --time=1 87fb88d3e1f60f0d8dee6d5906992b476e202ed50aa3edbbdd594f7fbc0c83b0 [2020-07-22T06:23:54.980Z] $ docker rm -f 87fb88d3e1f60f0d8dee6d5906992b476e202ed50aa3edbbdd594f7fbc0c83b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T06:23:56.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T06:23:56.818Z] + ls -al . [2020-07-22T06:23:56.818Z] total 140 [2020-07-22T06:23:56.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:23 . [2020-07-22T06:23:56.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 06:20 .. [2020-07-22T06:23:56.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:21 .git [2020-07-22T06:23:56.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:21 .github [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 258 Jul 22 06:21 .gitignore [2020-07-22T06:23:56.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:21 .semver [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 6432 Jul 22 06:21 Attribution.txt [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 1826 Jul 22 06:21 Dockerfile [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 957 Jul 22 06:21 Dockerfile.build [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 683 Jul 22 06:21 Jenkinsfile [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 06:21 LICENSE [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 873 Jul 22 06:21 Makefile [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 4623 Jul 22 06:21 README.md [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 06:17 VERSION [2020-07-22T06:23:56.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:21 bin [2020-07-22T06:23:56.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:21 cmd [2020-07-22T06:23:56.818Z] -rw-r--r-- 1 jenkins jenkins 31362 Jul 22 06:23 coverage.out [2020-07-22T06:23:56.818Z] -rw-r--r-- 1 jenkins jenkins 855 Jul 22 06:23 go.mod [2020-07-22T06:23:56.818Z] -rw-r--r-- 1 jenkins jenkins 14894 Jul 22 06:23 go.sum [2020-07-22T06:23:56.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:21 internal [2020-07-22T06:23:56.818Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 22 06:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:23:57.228Z] + 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=23d60ecbf5a865de5fc9fa155b9d60b75129b421 --label arch=arm64 --label version=0.0.0 . [2020-07-22T06:23:57.523Z] Sending build context to Docker daemon 586.8kB [2020-07-22T06:23:57.523Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-07-22T06:23:57.523Z] Step 2/21 : FROM ${BASE} AS builder [2020-07-22T06:23:57.523Z] ---> a8cd9af389fd [2020-07-22T06:23:57.523Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-07-22T06:23:57.797Z] ---> Running in ddc420d19a09 [2020-07-22T06:23:58.401Z] Removing intermediate container ddc420d19a09 [2020-07-22T06:23:58.401Z] ---> a6fc5fc52b65 [2020-07-22T06:23:58.401Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:23:58.401Z] ---> Running in 1f572843010f [2020-07-22T06:23:58.994Z] Removing intermediate container 1f572843010f [2020-07-22T06:23:58.994Z] ---> ce08dfac4c07 [2020-07-22T06:23:58.994Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-07-22T06:23:58.995Z] ---> Running in 28b575f1eed6 [2020-07-22T06:23:59.588Z] Removing intermediate container 28b575f1eed6 [2020-07-22T06:23:59.588Z] ---> 4b491b2cf8c6 [2020-07-22T06:23:59.588Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:23:59.588Z] ---> Running in 9ae4cff47525 [2020-07-22T06:24:02.205Z] Removing intermediate container 9ae4cff47525 [2020-07-22T06:24:02.205Z] ---> b3ba6c6ae481 [2020-07-22T06:24:02.205Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:24:02.205Z] ---> Running in c8acd2470ee8 [2020-07-22T06:24:03.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T06:24:04.604Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T06:24:05.579Z] OK: 221 MiB in 53 packages [2020-07-22T06:24:06.559Z] Removing intermediate container c8acd2470ee8 [2020-07-22T06:24:06.559Z] ---> e81fa7fce267 [2020-07-22T06:24:06.559Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-07-22T06:24:06.838Z] ---> Running in 17b24552bf42 [2020-07-22T06:24:07.434Z] Removing intermediate container 17b24552bf42 [2020-07-22T06:24:07.434Z] ---> 000a16e6856d [2020-07-22T06:24:07.434Z] Step 9/21 : COPY . . [2020-07-22T06:24:08.028Z] ---> c50af53eebe6 [2020-07-22T06:24:08.028Z] Step 10/21 : ARG MAKE='make build' [2020-07-22T06:24:08.301Z] ---> Running in 862afbf0a774 [2020-07-22T06:24:08.895Z] Removing intermediate container 862afbf0a774 [2020-07-22T06:24:08.895Z] ---> 3a0e8385030a [2020-07-22T06:24:08.895Z] Step 11/21 : RUN $MAKE [2020-07-22T06:24:08.895Z] ---> Running in 6d768d698a6e [2020-07-22T06:24:10.330Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-07-22T06:24:42.689Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-22T06:24:52.834Z] Removing intermediate container 6d768d698a6e [2020-07-22T06:24:52.834Z] ---> 9fd8d966546b [2020-07-22T06:24:52.834Z] Step 12/21 : FROM alpine [2020-07-22T06:24:52.834Z] latest: Pulling from library/alpine [2020-07-22T06:24:52.834Z] b538f80385f9: Already exists [2020-07-22T06:24:52.834Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T06:24:52.834Z] Status: Downloaded newer image for alpine:latest [2020-07-22T06:24:52.834Z] ---> 62ee0e9f8440 [2020-07-22T06:24:52.834Z] Step 13/21 : ENV APP_PORT=49990 [2020-07-22T06:24:52.834Z] ---> Running in 34dee38f5b36 [2020-07-22T06:24:53.425Z] Removing intermediate container 34dee38f5b36 [2020-07-22T06:24:53.425Z] ---> 895dba680898 [2020-07-22T06:24:53.425Z] Step 14/21 : EXPOSE $APP_PORT [2020-07-22T06:24:53.425Z] ---> Running in f1e060e801f6 [2020-07-22T06:24:53.696Z] Removing intermediate container f1e060e801f6 [2020-07-22T06:24:53.696Z] ---> 7d969231489a [2020-07-22T06:24:53.696Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-07-22T06:24:55.658Z] ---> 7ba70076ece5 [2020-07-22T06:24:55.658Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-07-22T06:24:55.933Z] ---> 3ca29379a86e [2020-07-22T06:24:55.933Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-07-22T06:24:56.909Z] ---> c0472be6d100 [2020-07-22T06:24:56.909Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-22T06:24:56.909Z] ---> Running in 8310d7e3e8d6 [2020-07-22T06:24:57.501Z] Removing intermediate container 8310d7e3e8d6 [2020-07-22T06:24:57.502Z] ---> 9f669f9b56dc [2020-07-22T06:24:57.502Z] Step 19/21 : LABEL arch=arm64 [2020-07-22T06:24:57.502Z] ---> Running in 26b5f60a172b [2020-07-22T06:24:57.774Z] Removing intermediate container 26b5f60a172b [2020-07-22T06:24:57.774Z] ---> 15cc1c3cfa1e [2020-07-22T06:24:57.774Z] Step 20/21 : LABEL git_sha=23d60ecbf5a865de5fc9fa155b9d60b75129b421 [2020-07-22T06:24:58.045Z] ---> Running in 79fe6df789cc [2020-07-22T06:24:58.638Z] Removing intermediate container 79fe6df789cc [2020-07-22T06:24:58.638Z] ---> 326667ac1dda [2020-07-22T06:24:58.638Z] Step 21/21 : LABEL version=0.0.0 [2020-07-22T06:24:58.638Z] ---> Running in 5984bada978d [2020-07-22T06:24:58.911Z] Removing intermediate container 5984bada978d [2020-07-22T06:24:58.912Z] ---> d7ac8261b87f [2020-07-22T06:24:58.912Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T06:24:59.183Z] Successfully built d7ac8261b87f [2020-07-22T06:24:59.183Z] 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 [2020-07-22T06:25:01.347Z] provisioning config files... [2020-07-22T06:25:01.359Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-120@tmp/config3952755749766221021tmp [Pipeline] { [Pipeline] sh [2020-07-22T06:25:01.820Z] + curl -s https://codecov.io/bash [2020-07-22T06:25:01.820Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-120@tmp/config3952755749766221021tmp [Pipeline] } [2020-07-22T06:27:23.407Z] 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 [2020-07-22T06:27:25.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:27:25.828Z] ---> package-listing.sh [2020-07-22T06:27:25.828Z] ++ facter osfamily [2020-07-22T06:27:25.828Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T06:27:25.828Z] + OS_FAMILY=redhat [2020-07-22T06:27:25.828Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-120 [2020-07-22T06:27:25.828Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T06:27:25.828Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T06:27:25.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T06:27:25.828Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T06:27:25.828Z] + '[' /w/workspace/foundry_device-virtual-go_PR-120 ']' [2020-07-22T06:27:25.828Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T06:27:25.828Z] + case "${OS_FAMILY}" in [2020-07-22T06:27:25.828Z] + rpm -qa [2020-07-22T06:27:25.828Z] + sort [2020-07-22T06:27:30.032Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T06:27:30.032Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T06:27:30.032Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T06:27:30.032Z] + '[' /w/workspace/foundry_device-virtual-go_PR-120 ']' [2020-07-22T06:27:30.032Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-120/archives/ [2020-07-22T06:27:30.032Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-120/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:27:30.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:27:30.435Z] [2020-07-22T06:27:30.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:27:30.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:27:30.820Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T06:27:30.820Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T06:27:30.820Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T06:27:30.820Z] 756a868c4378: Pulling fs layer [2020-07-22T06:27:30.820Z] 444b2fc9a129: Pulling fs layer [2020-07-22T06:27:30.820Z] ea15f1150254: Pulling fs layer [2020-07-22T06:27:30.820Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T06:27:30.820Z] 28c525ee5125: Pulling fs layer [2020-07-22T06:27:30.820Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T06:27:30.820Z] 138eaada9080: Pulling fs layer [2020-07-22T06:27:30.820Z] 0622d0fa9048: Pulling fs layer [2020-07-22T06:27:30.820Z] 41b27a9f41bf: Waiting [2020-07-22T06:27:30.820Z] 28c525ee5125: Waiting [2020-07-22T06:27:30.820Z] 094b1ea09ed8: Waiting [2020-07-22T06:27:30.820Z] 138eaada9080: Waiting [2020-07-22T06:27:30.820Z] 0622d0fa9048: Waiting [2020-07-22T06:27:30.820Z] 444b2fc9a129: Waiting [2020-07-22T06:27:30.820Z] ea15f1150254: Waiting [2020-07-22T06:27:30.820Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-22T06:27:30.820Z] 2cc5ad85d9ab: Download complete [2020-07-22T06:27:30.820Z] 444b2fc9a129: Verifying Checksum [2020-07-22T06:27:30.820Z] 444b2fc9a129: Download complete [2020-07-22T06:27:30.820Z] c9b1b535fdd9: Download complete [2020-07-22T06:27:30.820Z] ea15f1150254: Download complete [2020-07-22T06:27:30.820Z] 28c525ee5125: Verifying Checksum [2020-07-22T06:27:30.820Z] 28c525ee5125: Download complete [2020-07-22T06:27:31.453Z] 756a868c4378: Verifying Checksum [2020-07-22T06:27:31.453Z] 756a868c4378: Download complete [2020-07-22T06:27:31.453Z] 138eaada9080: Verifying Checksum [2020-07-22T06:27:31.453Z] 138eaada9080: Download complete [2020-07-22T06:27:31.453Z] c9b1b535fdd9: Pull complete [2020-07-22T06:27:31.453Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T06:27:31.453Z] 094b1ea09ed8: Download complete [2020-07-22T06:27:31.453Z] 0622d0fa9048: Verifying Checksum [2020-07-22T06:27:31.453Z] 0622d0fa9048: Download complete [2020-07-22T06:27:31.717Z] 2cc5ad85d9ab: Pull complete [2020-07-22T06:27:31.983Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T06:27:31.983Z] 41b27a9f41bf: Download complete [2020-07-22T06:27:33.371Z] 756a868c4378: Pull complete [2020-07-22T06:27:33.371Z] 444b2fc9a129: Pull complete [2020-07-22T06:27:33.371Z] ea15f1150254: Pull complete [2020-07-22T06:27:37.609Z] 41b27a9f41bf: Pull complete [2020-07-22T06:27:37.609Z] 28c525ee5125: Pull complete [2020-07-22T06:27:40.925Z] 094b1ea09ed8: Pull complete [2020-07-22T06:27:40.925Z] 138eaada9080: Pull complete [2020-07-22T06:27:40.925Z] 0622d0fa9048: Pull complete [2020-07-22T06:27:40.925Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T06:27:40.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:27:40.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T06:27:41.080Z] prd-centos7-docker-4c-2g-547 does not seem to be running inside a container [2020-07-22T06:27:41.115Z] $ 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-120 -v /w/workspace/foundry_device-virtual-go_PR-120:/w/workspace/foundry_device-virtual-go_PR-120:rw,z -v /w/workspace/foundry_device-virtual-go_PR-120@tmp:/w/workspace/foundry_device-virtual-go_PR-120@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T06:27:45.067Z] $ docker top 35ece74603ad06ad777683526cec904c31f83e77935c5c3427b71b2596a0dc13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T06:27:45.407Z] provisioning config files... [2020-07-22T06:27:45.420Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-120@tmp/config6430234589908507730tmp [Pipeline] { [Pipeline] echo [2020-07-22T06:27:45.528Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:27:45.850Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T06:27:45.876Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:27:46.200Z] ---> logs-deploy.sh [2020-07-22T06:27:46.200Z] + ARCHIVE_ARTIFACTS= [2020-07-22T06:27:46.200Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T06:27:46.200Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T06:27:46.200Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T06:27:46.200Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-120/1 [2020-07-22T06:27:46.200Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-120/1/ [2020-07-22T06:27:46.200Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-120/1 /w/workspace/foundry_device-virtual-go_PR-120 [2020-07-22T06:27:47.585Z] Archives upload complete. [2020-07-22T06:27:47.585Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-120/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-120/1/