Pull request #121 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9874cd4b40ae953ca19d22d52ca1217fc2280ce6+4d5f8ce0290f23e35ff78bafcbacaa37d533849c (df8a71997ff983c3599071f17f0189191c14728c) 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 12d02086ee3dc6ebabaf2c20041ebc308d679d46 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 12d02086ee3dc6ebabaf2c20041ebc308d679d46 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-121/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 12d02086ee3dc6ebabaf2c20041ebc308d679d46 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 12d02086ee3dc6ebabaf2c20041ebc308d679d46 # timeout=10 Commit message: "Merge pull request #217 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-724’ is offline Running on prd-centos7-docker-4c-2g-734 in /w/workspace/foundry_device-virtual-go_PR-121 [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-121 # 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/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4d5f8ce0290f23e35ff78bafcbacaa37d533849c into PR head commit 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/121/head:refs/remotes/origin/PR-121 # 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/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 Checking out Revision 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 (PR-121) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 Commit message: "fix: service fails when run with read-only root file system" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-23T16:03:18.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-23T16:03:19.192Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-23T16:03:19.421Z] ========================================================= [2020-07-23T16:03:19.421Z] EdgeX Global Pipelines Version Info [2020-07-23T16:03:19.421Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:03:22.874Z] ------------------- [2020-07-23T16:03:22.874Z] stable info: [2020-07-23T16:03:22.874Z] ------------------- [2020-07-23T16:03:22.875Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-23T16:03:22.875Z] Commit SHA: 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [2020-07-23T16:03:22.875Z] Message: update stable to v1.0.104 [2020-07-23T16:03:23.692Z] ------------------- [2020-07-23T16:03:23.692Z] experimental info: [2020-07-23T16:03:23.692Z] ------------------- [2020-07-23T16:03:23.692Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-23T16:03:23.692Z] Commit SHA: 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [2020-07-23T16:03:23.692Z] Message: update experimental to v1.0.104 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T16:03:26.489Z] + git log --format=format:%s -1 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [Pipeline] echo [2020-07-23T16:03:26.627Z] GIT_COMMIT: 9874cd4b40ae953ca19d22d52ca1217fc2280ce6, Commit Message: fix: service fails when run with read-only root file system [Pipeline] echo [2020-07-23T16:03:26.690Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:03:27.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:03:28.135Z] [2020-07-23T16:03:28.135Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:03:28.561Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:03:28.561Z] latest: Pulling from edgex-devops/git-semver [2020-07-23T16:03:28.561Z] 31603596830f: Pulling fs layer [2020-07-23T16:03:28.561Z] 2a8b12db71e7: Pulling fs layer [2020-07-23T16:03:28.561Z] 6ca5941a6612: Pulling fs layer [2020-07-23T16:03:28.561Z] ecc8261a40a4: Pulling fs layer [2020-07-23T16:03:28.561Z] ecc8261a40a4: Waiting [2020-07-23T16:03:28.893Z] 2a8b12db71e7: Verifying Checksum [2020-07-23T16:03:28.893Z] 2a8b12db71e7: Download complete [2020-07-23T16:03:28.893Z] 31603596830f: Verifying Checksum [2020-07-23T16:03:28.893Z] 31603596830f: Download complete [2020-07-23T16:03:29.638Z] 31603596830f: Pull complete [2020-07-23T16:03:29.638Z] 6ca5941a6612: Verifying Checksum [2020-07-23T16:03:29.638Z] 6ca5941a6612: Download complete [2020-07-23T16:03:29.638Z] ecc8261a40a4: Verifying Checksum [2020-07-23T16:03:29.638Z] ecc8261a40a4: Download complete [2020-07-23T16:03:29.638Z] 2a8b12db71e7: Pull complete [2020-07-23T16:03:31.349Z] 6ca5941a6612: Pull complete [2020-07-23T16:03:31.686Z] ecc8261a40a4: Pull complete [2020-07-23T16:03:31.686Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-23T16:03:31.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:03:31.686Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-23T16:03:32.004Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2020-07-23T16:03:32.251Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-121 -v /w/workspace/foundry_device-virtual-go_PR-121:/w/workspace/foundry_device-virtual-go_PR-121:rw,z -v /w/workspace/foundry_device-virtual-go_PR-121@tmp:/w/workspace/foundry_device-virtual-go_PR-121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-23T16:03:34.547Z] $ docker top 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-23T16:03:35.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T16:03:35.028Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T16:03:35.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T16:03:35.510Z] $ docker exec 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 ssh-agent [2020-07-23T16:03:35.918Z] SSH_AUTH_SOCK=/tmp/ssh-GAPAUHCQQXFe/agent.12 [2020-07-23T16:03:35.919Z] SSH_AGENT_PID=17 [2020-07-23T16:03:35.934Z] Running ssh-add (command line suppressed) [2020-07-23T16:03:36.306Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-121@tmp/private_key_4213977172036768097.key (/w/workspace/foundry_device-virtual-go_PR-121@tmp/private_key_4213977172036768097.key) [2020-07-23T16:03:36.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T16:03:36.994Z] + git describe --exact-match --tags HEAD [2020-07-23T16:03:36.994Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-23T16:03:37.055Z] $ docker exec --env ******** --env ******** 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 ssh-agent -k [2020-07-23T16:03:37.214Z] unset SSH_AUTH_SOCK; [2020-07-23T16:03:37.215Z] unset SSH_AGENT_PID; [2020-07-23T16:03:37.215Z] echo Agent pid 17 killed; [2020-07-23T16:03:37.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-23T16:03:37.526Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-23T16:03:37.527Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-23T16:03:37.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T16:03:37.629Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T16:03:37.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T16:03:37.931Z] $ docker exec 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 ssh-agent [2020-07-23T16:03:38.222Z] SSH_AUTH_SOCK=/tmp/ssh-SgqXxMLDg38X/agent.45 [2020-07-23T16:03:38.222Z] SSH_AGENT_PID=51 [2020-07-23T16:03:38.327Z] Running ssh-add (command line suppressed) [2020-07-23T16:03:38.478Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-121@tmp/private_key_1878427924536902956.key (/w/workspace/foundry_device-virtual-go_PR-121@tmp/private_key_1878427924536902956.key) [2020-07-23T16:03:38.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T16:03:38.998Z] + git semver init [2020-07-23T16:03:38.998Z] # -> Open(): unable to determine branch for HEAD [2020-07-23T16:03:38.998Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-121/.git [2020-07-23T16:03:38.998Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-121 [2020-07-23T16:03:38.998Z] # $SEMVER_REMOTE_NAME = origin [2020-07-23T16:03:38.998Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-23T16:03:38.998Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-23T16:03:38.998Z] # $SEMVER_BRANCH = PR-121 [2020-07-23T16:03:38.998Z] # $SEMVER_TEMP = /tmp/semver-309909511 [2020-07-23T16:03:38.998Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-07-23T16:03:39.472Z] # '/tmp/semver-309909511' -> '/w/workspace/foundry_device-virtual-go_PR-121/.semver' [2020-07-23T16:03:39.472Z] # -> Force: false [2020-07-23T16:03:39.472Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-121/.semver [Pipeline] } [2020-07-23T16:03:39.490Z] $ docker exec --env ******** --env ******** 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 ssh-agent -k [2020-07-23T16:03:39.730Z] unset SSH_AUTH_SOCK; [2020-07-23T16:03:39.732Z] unset SSH_AGENT_PID; [2020-07-23T16:03:39.732Z] echo Agent pid 51 killed; [2020-07-23T16:03:39.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-23T16:03:40.899Z] + git semver [Pipeline] } [2020-07-23T16:03:40.933Z] $ docker stop --time=1 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 [2020-07-23T16:03:42.409Z] $ docker rm -f 6b275456b30e4a257b6bc364d95eb896400571bd9c935a9c23fa737f2ab53602 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-23T16:03:44.422Z] Stashed 21 file(s) [Pipeline] echo [2020-07-23T16:03:44.441Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-07-23T16:03:44.547Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-23T16:04:00.273Z] Still waiting to schedule task [2020-07-23T16:04:00.273Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-23T16:04:00.307Z] Still waiting to schedule task [2020-07-23T16:04:00.307Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-23T16:05:43.661Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-736 in /w/workspace/foundry_device-virtual-go_PR-121 [Pipeline] { [Pipeline] ws [2020-07-23T16:05:43.798Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-07-23T16:05:49.102Z] using credential edgex-jenkins-ssh [2020-07-23T16:05:49.152Z] Cloning the remote Git repository [2020-07-23T16:05:49.152Z] Cloning with configured refspecs honoured and without tags [2020-07-23T16:05:49.211Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:05:49.330Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-07-23T16:05:49.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:05:49.406Z] > git --version # timeout=10 [2020-07-23T16:05:49.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:05:49.503Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:05:50.237Z] Fetching without tags [2020-07-23T16:05:50.727Z] Merging remotes/origin/master commit 4d5f8ce0290f23e35ff78bafcbacaa37d533849c into PR head commit 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:05:51.104Z] Merge succeeded, producing 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:05:51.104Z] Checking out Revision 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 (PR-121) [2020-07-23T16:05:50.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-23T16:05:50.170Z] > git config --add remote.origin.fetch +refs/pull/121/head:refs/remotes/origin/PR-121 # timeout=10 [2020-07-23T16:05:50.188Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:05:50.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-23T16:05:50.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:05:50.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:05:50.260Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:05:50.750Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:05:50.774Z] > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 [2020-07-23T16:05:50.901Z] > git remote # timeout=10 [2020-07-23T16:05:50.937Z] > git config --get remote.origin.url # timeout=10 [2020-07-23T16:05:50.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:05:50.998Z] > git merge 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 [2020-07-23T16:05:51.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-23T16:05:51.111Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:05:51.149Z] > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 [2020-07-23T16:05:55.362Z] Commit message: "fix: service fails when run with read-only root file system" [2020-07-23T16:05:55.411Z] > git --version # timeout=10 [2020-07-23T16:05:55.430Z] fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T16:05:56.654Z] ========================================================= [2020-07-23T16:05:56.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-23T16:05:56.654Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:05:57.777Z] + 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-23T16:05:58.765Z] Sending build context to Docker daemon 529.4kB [2020-07-23T16:05:58.765Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-23T16:05:58.765Z] Step 2/8 : FROM ${BASE} [2020-07-23T16:05:59.042Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-23T16:05:59.042Z] b538f80385f9: Pulling fs layer [2020-07-23T16:05:59.042Z] 74f711af9a0d: Pulling fs layer [2020-07-23T16:05:59.042Z] 99f96fe45779: Pulling fs layer [2020-07-23T16:05:59.042Z] fd7a069fd194: Pulling fs layer [2020-07-23T16:05:59.042Z] 66aa3694b03b: Pulling fs layer [2020-07-23T16:05:59.042Z] 170f70906a0f: Pulling fs layer [2020-07-23T16:05:59.042Z] ad7c5574e4b9: Pulling fs layer [2020-07-23T16:05:59.042Z] e772456be8f7: Pulling fs layer [2020-07-23T16:05:59.042Z] c890913d741a: Pulling fs layer [2020-07-23T16:05:59.042Z] 2480fcc9aa5a: Pulling fs layer [2020-07-23T16:05:59.042Z] 09adf4765672: Pulling fs layer [2020-07-23T16:05:59.042Z] fd7a069fd194: Waiting [2020-07-23T16:05:59.042Z] 66aa3694b03b: Waiting [2020-07-23T16:05:59.042Z] 170f70906a0f: Waiting [2020-07-23T16:05:59.042Z] ad7c5574e4b9: Waiting [2020-07-23T16:05:59.042Z] c890913d741a: Waiting [2020-07-23T16:05:59.042Z] 2480fcc9aa5a: Waiting [2020-07-23T16:05:59.042Z] e772456be8f7: Waiting [2020-07-23T16:05:59.042Z] 09adf4765672: Waiting [2020-07-23T16:05:59.042Z] 99f96fe45779: Verifying Checksum [2020-07-23T16:05:59.042Z] 99f96fe45779: Download complete [2020-07-23T16:05:59.042Z] 74f711af9a0d: Verifying Checksum [2020-07-23T16:05:59.042Z] 74f711af9a0d: Download complete [2020-07-23T16:05:59.042Z] 66aa3694b03b: Verifying Checksum [2020-07-23T16:05:59.042Z] 66aa3694b03b: Download complete [2020-07-23T16:05:59.042Z] 170f70906a0f: Verifying Checksum [2020-07-23T16:05:59.042Z] 170f70906a0f: Download complete [2020-07-23T16:05:59.042Z] b538f80385f9: Verifying Checksum [2020-07-23T16:05:59.042Z] b538f80385f9: Download complete [2020-07-23T16:06:00.033Z] b538f80385f9: Pull complete [2020-07-23T16:06:00.309Z] 74f711af9a0d: Pull complete [2020-07-23T16:06:00.918Z] 99f96fe45779: Pull complete [2020-07-23T16:06:01.913Z] ad7c5574e4b9: Verifying Checksum [2020-07-23T16:06:01.914Z] ad7c5574e4b9: Download complete [2020-07-23T16:06:01.914Z] c890913d741a: Download complete [2020-07-23T16:06:03.360Z] 2480fcc9aa5a: Download complete [2020-07-23T16:06:03.633Z] 09adf4765672: Verifying Checksum [2020-07-23T16:06:03.633Z] 09adf4765672: Download complete [2020-07-23T16:06:04.232Z] e772456be8f7: Verifying Checksum [2020-07-23T16:06:04.232Z] e772456be8f7: Download complete [2020-07-23T16:06:04.515Z] fd7a069fd194: Verifying Checksum [2020-07-23T16:06:04.515Z] fd7a069fd194: Download complete [2020-07-23T16:06:16.924Z] fd7a069fd194: Pull complete [2020-07-23T16:06:16.924Z] 66aa3694b03b: Pull complete [2020-07-23T16:06:16.924Z] 170f70906a0f: Pull complete [2020-07-23T16:06:20.329Z] ad7c5574e4b9: Pull complete [2020-07-23T16:06:25.754Z] e772456be8f7: Pull complete [2020-07-23T16:06:25.754Z] c890913d741a: Pull complete [2020-07-23T16:06:27.745Z] 2480fcc9aa5a: Pull complete [2020-07-23T16:06:28.021Z] 09adf4765672: Pull complete [2020-07-23T16:06:28.021Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-23T16:06:28.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-23T16:06:28.021Z] ---> 2248a725d1cf [2020-07-23T16:06:28.021Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-23T16:06:33.432Z] ---> Running in afc41e8a6f3c [2020-07-23T16:06:33.432Z] Removing intermediate container afc41e8a6f3c [2020-07-23T16:06:33.432Z] ---> 0e48f290c35b [2020-07-23T16:06:33.432Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T16:06:33.432Z] ---> Running in e2b73c6f4a55 [2020-07-23T16:06:36.061Z] Removing intermediate container e2b73c6f4a55 [2020-07-23T16:06:36.061Z] ---> d7f7f19a8740 [2020-07-23T16:06:36.061Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-23T16:06:36.061Z] ---> Running in 56ded9f5076a [2020-07-23T16:06:37.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-23T16:06:38.115Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-23T16:06:38.720Z] (1/14) Installing libmagic (5.38-r0) [2020-07-23T16:06:38.993Z] (2/14) Installing file (5.38-r0) [2020-07-23T16:06:38.993Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-23T16:06:38.993Z] (4/14) Installing g++ (9.3.0-r2) [2020-07-23T16:06:43.281Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-23T16:06:43.281Z] (6/14) Installing patch (2.7.6-r6) [2020-07-23T16:06:43.281Z] (7/14) Installing build-base (0.5-r2) [2020-07-23T16:06:43.281Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-23T16:06:43.281Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-23T16:06:43.281Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-23T16:06:43.867Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-23T16:06:43.867Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-23T16:06:44.135Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-23T16:06:44.135Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-23T16:06:44.405Z] Executing busybox-1.31.1-r16.trigger [2020-07-23T16:06:44.405Z] OK: 221 MiB in 53 packages [2020-07-23T16:06:48.714Z] Removing intermediate container 56ded9f5076a [2020-07-23T16:06:48.714Z] ---> 0cde0634c5ed [2020-07-23T16:06:48.714Z] Step 6/8 : WORKDIR /device-virtual-go [2020-07-23T16:06:48.714Z] ---> Running in 58333f984b32 [2020-07-23T16:06:49.310Z] Removing intermediate container 58333f984b32 [2020-07-23T16:06:49.311Z] ---> 2aa9f4a067ce [2020-07-23T16:06:49.311Z] Step 7/8 : COPY . . [2020-07-23T16:06:49.905Z] ---> 7996d21ecc30 [2020-07-23T16:06:49.905Z] Step 8/8 : RUN go mod download [2020-07-23T16:06:50.177Z] ---> Running in 5b1cba0cc24a [2020-07-23T16:06:51.477Z] Running on prd-centos7-docker-4c-2g-737 in /w/workspace/foundry_device-virtual-go_PR-121 [Pipeline] { [Pipeline] ws [2020-07-23T16:06:51.590Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-07-23T16:06:52.792Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-23T16:06:52.792Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-23T16:06:52.792Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-23T16:06:53.064Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-23T16:06:53.064Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-23T16:06:53.064Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-23T16:06:53.064Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-23T16:06:53.064Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-23T16:06:53.064Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-23T16:06:53.064Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-07-23T16:06:53.335Z] go: finding github.com/fatih/color v1.7.0 [2020-07-23T16:06:53.335Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-23T16:06:53.335Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-23T16:06:53.335Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-23T16:06:53.335Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-23T16:06:53.335Z] go: finding github.com/golang/snappy v0.0.1 [2020-07-23T16:06:53.335Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-23T16:06:53.335Z] go: finding github.com/google/uuid v1.1.0 [2020-07-23T16:06:53.335Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-23T16:06:53.335Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-23T16:06:53.335Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-23T16:06:53.335Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-23T16:06:53.605Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-23T16:06:53.877Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-23T16:06:53.877Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-23T16:06:53.877Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-23T16:06:53.877Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-23T16:06:53.877Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-23T16:06:53.877Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-23T16:06:53.877Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-23T16:06:53.877Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-23T16:06:53.877Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-23T16:06:53.877Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-23T16:06:53.877Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-23T16:06:54.150Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-23T16:06:54.150Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-23T16:06:54.150Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-23T16:06:54.150Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-23T16:06:54.150Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-23T16:06:54.150Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-23T16:06:54.150Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-23T16:06:54.150Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-23T16:06:54.150Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-23T16:06:54.150Z] go: finding github.com/posener/complete v1.1.1 [2020-07-23T16:06:54.150Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-07-23T16:06:54.150Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-23T16:06:54.422Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-23T16:06:54.422Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-23T16:06:54.422Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-23T16:06:54.422Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-23T16:06:54.422Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-23T16:06:54.422Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-23T16:06:54.422Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-23T16:06:54.422Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-23T16:06:54.422Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-07-23T16:06:54.422Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-23T16:06:54.422Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-23T16:06:54.695Z] go: finding modernc.org/b v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/db v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/file v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/fileutil v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/golex v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/internal v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/lldb v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/mathutil v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/ql v1.0.0 [2020-07-23T16:06:54.695Z] go: finding modernc.org/sortutil v1.0.0 [2020-07-23T16:06:54.972Z] go: finding modernc.org/strutil v1.0.0 [2020-07-23T16:06:54.972Z] go: finding modernc.org/zappy v1.0.0 [2020-07-23T16:07:04.299Z] using credential edgex-jenkins-ssh [2020-07-23T16:07:04.384Z] Cloning the remote Git repository [2020-07-23T16:07:04.384Z] Cloning with configured refspecs honoured and without tags [2020-07-23T16:07:04.504Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:07:05.131Z] Removing intermediate container 5b1cba0cc24a [2020-07-23T16:07:05.131Z] ---> 2348ada9f5dd [2020-07-23T16:07:05.131Z] Successfully built 2348ada9f5dd [2020-07-23T16:07:05.131Z] 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-23T16:07:06.048Z] + docker inspect -f . ci-base-image-arm64 [2020-07-23T16:07:06.048Z] . [2020-07-23T16:07:04.626Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-07-23T16:07:04.727Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:07:04.727Z] > git --version # timeout=10 [2020-07-23T16:07:04.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:07:04.907Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:07:06.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [Pipeline] withDockerContainer [2020-07-23T16:07:06.337Z] prd-ubuntu18.04-docker-arm64-4c-16g-736 does not seem to be running inside a container [2020-07-23T16:07:06.359Z] Fetching without tags [2020-07-23T16:07:06.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-23T16:07:06.892Z] Merging remotes/origin/master commit 4d5f8ce0290f23e35ff78bafcbacaa37d533849c into PR head commit 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:07:06.111Z] > git config --add remote.origin.fetch +refs/pull/121/head:refs/remotes/origin/PR-121 # timeout=10 [2020-07-23T16:07:06.225Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:07:06.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-07-23T16:07:06.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-07-23T16:07:06.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:07:06.386Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/121/head:refs/remotes/origin/PR-121 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:07:06.898Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:07:06.958Z] > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 [2020-07-23T16:07:07.204Z] > git remote # timeout=10 [2020-07-23T16:07:07.398Z] > git config --get remote.origin.url # timeout=10 [2020-07-23T16:07:07.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:07:07.513Z] > git merge 4d5f8ce0290f23e35ff78bafcbacaa37d533849c # timeout=10 [2020-07-23T16:07:07.672Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-23T16:07:07.780Z] Merge succeeded, producing 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:07:07.780Z] Checking out Revision 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 (PR-121) [2020-07-23T16:07:08.255Z] $ docker top 80ee0492efb56d6d65c0959299677759d8258ef4d91930ae7a649c60195cbda4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T16:07:07.825Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:07:07.883Z] > git checkout -f 9874cd4b40ae953ca19d22d52ca1217fc2280ce6 # timeout=10 [2020-07-23T16:07:09.720Z] + go version [2020-07-23T16:07:09.720Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-23T16:07:10.775Z] + make test [2020-07-23T16:07:10.775Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-23T16:07:11.762Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-07-23T16:07:13.603Z] Commit message: "fix: service fails when run with read-only root file system" [2020-07-23T16:07:13.922Z] > git --version # timeout=10 [2020-07-23T16:07:14.536Z] fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T16:07:16.611Z] ========================================================= [2020-07-23T16:07:16.611Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-23T16:07:16.611Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:07:18.823Z] + 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-23T16:07:19.946Z] Sending build context to Docker daemon 529.4kB [2020-07-23T16:07:19.946Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-23T16:07:19.946Z] Step 2/8 : FROM ${BASE} [2020-07-23T16:07:19.946Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-23T16:07:19.946Z] df20fa9351a1: Pulling fs layer [2020-07-23T16:07:19.946Z] ed8968b2872e: Pulling fs layer [2020-07-23T16:07:19.946Z] a92cc7c5fd73: Pulling fs layer [2020-07-23T16:07:19.946Z] 2dd03ba5bac4: Pulling fs layer [2020-07-23T16:07:19.946Z] 1e091d79d1de: Pulling fs layer [2020-07-23T16:07:19.946Z] 481702a1767f: Pulling fs layer [2020-07-23T16:07:19.946Z] f64a6f60c768: Pulling fs layer [2020-07-23T16:07:19.946Z] e78d2573fc39: Pulling fs layer [2020-07-23T16:07:19.946Z] e876d2f968b6: Pulling fs layer [2020-07-23T16:07:19.946Z] ce8a83651883: Pulling fs layer [2020-07-23T16:07:19.946Z] 07967f4d0e4b: Pulling fs layer [2020-07-23T16:07:19.946Z] 2dd03ba5bac4: Waiting [2020-07-23T16:07:19.946Z] 1e091d79d1de: Waiting [2020-07-23T16:07:19.946Z] 481702a1767f: Waiting [2020-07-23T16:07:19.946Z] f64a6f60c768: Waiting [2020-07-23T16:07:19.946Z] e78d2573fc39: Waiting [2020-07-23T16:07:19.946Z] e876d2f968b6: Waiting [2020-07-23T16:07:19.946Z] ce8a83651883: Waiting [2020-07-23T16:07:19.946Z] 07967f4d0e4b: Waiting [2020-07-23T16:07:20.425Z] a92cc7c5fd73: Download complete [2020-07-23T16:07:20.425Z] ed8968b2872e: Verifying Checksum [2020-07-23T16:07:20.425Z] ed8968b2872e: Download complete [2020-07-23T16:07:20.425Z] 1e091d79d1de: Verifying Checksum [2020-07-23T16:07:20.425Z] 1e091d79d1de: Download complete [2020-07-23T16:07:20.425Z] df20fa9351a1: Verifying Checksum [2020-07-23T16:07:20.425Z] df20fa9351a1: Download complete [2020-07-23T16:07:20.425Z] 481702a1767f: Verifying Checksum [2020-07-23T16:07:20.425Z] 481702a1767f: Download complete [2020-07-23T16:07:21.092Z] df20fa9351a1: Pull complete [2020-07-23T16:07:21.930Z] ed8968b2872e: Pull complete [2020-07-23T16:07:22.252Z] a92cc7c5fd73: Pull complete [2020-07-23T16:07:25.467Z] f64a6f60c768: Verifying Checksum [2020-07-23T16:07:25.467Z] f64a6f60c768: Download complete [2020-07-23T16:07:25.467Z] e876d2f968b6: Verifying Checksum [2020-07-23T16:07:25.467Z] e876d2f968b6: Download complete [2020-07-23T16:07:26.847Z] 2dd03ba5bac4: Verifying Checksum [2020-07-23T16:07:26.847Z] 2dd03ba5bac4: Download complete [2020-07-23T16:07:26.847Z] e78d2573fc39: Verifying Checksum [2020-07-23T16:07:26.847Z] e78d2573fc39: Download complete [2020-07-23T16:07:26.847Z] 07967f4d0e4b: Verifying Checksum [2020-07-23T16:07:26.847Z] 07967f4d0e4b: Download complete [2020-07-23T16:07:27.896Z] ce8a83651883: Verifying Checksum [2020-07-23T16:07:27.896Z] ce8a83651883: Download complete [2020-07-23T16:07:36.575Z] 2dd03ba5bac4: Pull complete [2020-07-23T16:07:36.901Z] 1e091d79d1de: Pull complete [2020-07-23T16:07:37.236Z] 481702a1767f: Pull complete [2020-07-23T16:07:44.032Z] f64a6f60c768: Pull complete [2020-07-23T16:07:50.153Z] e78d2573fc39: Pull complete [2020-07-23T16:07:50.421Z] e876d2f968b6: Pull complete [2020-07-23T16:07:50.767Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-07-23T16:07:50.768Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.807s coverage: 56.4% of statements [2020-07-23T16:07:51.042Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-23T16:07:53.083Z] ce8a83651883: Pull complete [2020-07-23T16:07:53.350Z] 07967f4d0e4b: Pull complete [2020-07-23T16:07:53.351Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-23T16:07:53.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-23T16:07:53.615Z] ---> 5d7c900382c6 [2020-07-23T16:07:53.615Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-23T16:07:54.213Z] ---> Running in 3ee3824b407d [2020-07-23T16:07:54.490Z] Removing intermediate container 3ee3824b407d [2020-07-23T16:07:54.490Z] ---> a79db4aed25c [2020-07-23T16:07:54.490Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T16:07:54.766Z] ---> Running in 192cc3fccab2 [2020-07-23T16:07:56.760Z] Removing intermediate container 192cc3fccab2 [2020-07-23T16:07:56.760Z] ---> 16e3396adc9b [2020-07-23T16:07:56.760Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-23T16:07:56.760Z] ---> Running in 471d1011f8a4 [2020-07-23T16:07:58.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-23T16:07:59.041Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-23T16:07:59.349Z] gofmt -l . [2020-07-23T16:07:59.350Z] [ "`gofmt -l .`" = "" ] [2020-07-23T16:07:59.350Z] ./bin/test-attribution-txt.sh [2020-07-23T16:07:59.795Z] (1/14) Installing libmagic (5.38-r0) [2020-07-23T16:07:59.795Z] (2/14) Installing file (5.38-r0) [2020-07-23T16:07:59.795Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-23T16:07:59.947Z] ./bin/test-go-mod-tidy.sh [2020-07-23T16:08:00.091Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] stash [2020-07-23T16:08:01.036Z] Stashed 1 file(s) [Pipeline] } [2020-07-23T16:08:01.050Z] $ docker stop --time=1 80ee0492efb56d6d65c0959299677759d8258ef4d91930ae7a649c60195cbda4 [2020-07-23T16:08:03.200Z] $ docker rm -f 80ee0492efb56d6d65c0959299677759d8258ef4d91930ae7a649c60195cbda4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-23T16:08:04.771Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-23T16:08:04.771Z] (6/14) Installing patch (2.7.6-r6) [2020-07-23T16:08:04.771Z] (7/14) Installing build-base (0.5-r2) [2020-07-23T16:08:04.771Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-23T16:08:04.771Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-23T16:08:04.771Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-23T16:08:05.089Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-23T16:08:05.089Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-23T16:08:05.089Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-23T16:08:05.400Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-23T16:08:05.400Z] Executing busybox-1.31.1-r16.trigger [2020-07-23T16:08:05.400Z] OK: 237 MiB in 53 packages [Pipeline] sh [2020-07-23T16:08:06.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T16:08:06.981Z] + ls -al . [2020-07-23T16:08:06.981Z] total 136 [2020-07-23T16:08:06.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 16:08 . [2020-07-23T16:08:06.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 16:05 .. [2020-07-23T16:08:06.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 16:05 .git [2020-07-23T16:08:06.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 16:05 .github [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 258 Jul 23 16:05 .gitignore [2020-07-23T16:08:06.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 16:05 .semver [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 6432 Jul 23 16:05 Attribution.txt [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 1826 Jul 23 16:05 Dockerfile [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 957 Jul 23 16:05 Dockerfile.build [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 683 Jul 23 16:05 Jenkinsfile [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 23 16:05 LICENSE [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 873 Jul 23 16:05 Makefile [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 3620 Jul 23 16:05 README.md [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 23 16:03 VERSION [2020-07-23T16:08:06.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 16:05 bin [2020-07-23T16:08:06.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 16:05 cmd [2020-07-23T16:08:06.981Z] -rw-r--r-- 1 jenkins jenkins 29142 Jul 23 16:07 coverage.out [2020-07-23T16:08:06.981Z] -rw-r--r-- 1 jenkins jenkins 855 Jul 23 16:07 go.mod [2020-07-23T16:08:06.981Z] -rw-r--r-- 1 jenkins jenkins 14894 Jul 23 16:08 go.sum [2020-07-23T16:08:06.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 16:05 internal [2020-07-23T16:08:06.981Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 23 16:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:08:07.363Z] + 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=9874cd4b40ae953ca19d22d52ca1217fc2280ce6 --label arch=arm64 --label version=0.0.0 . [2020-07-23T16:08:07.639Z] Sending build context to Docker daemon 575kB [2020-07-23T16:08:07.922Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-07-23T16:08:07.922Z] Step 2/21 : FROM ${BASE} AS builder [2020-07-23T16:08:07.922Z] ---> 2348ada9f5dd [2020-07-23T16:08:07.922Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-07-23T16:08:07.922Z] ---> Running in b3eab208972a [2020-07-23T16:08:08.521Z] Removing intermediate container b3eab208972a [2020-07-23T16:08:08.521Z] ---> aa26fcc5a8ca [2020-07-23T16:08:08.521Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T16:08:08.521Z] ---> Running in 842ee9589de0 [2020-07-23T16:08:09.113Z] Removing intermediate container 842ee9589de0 [2020-07-23T16:08:09.113Z] ---> 7988399c9a5d [2020-07-23T16:08:09.113Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-07-23T16:08:09.113Z] ---> Running in df92cad8a4c1 [2020-07-23T16:08:09.248Z] Removing intermediate container 471d1011f8a4 [2020-07-23T16:08:09.248Z] ---> 597d6001ea48 [2020-07-23T16:08:09.248Z] Step 6/8 : WORKDIR /device-virtual-go [2020-07-23T16:08:09.248Z] ---> Running in 4f8234b8b53d [2020-07-23T16:08:09.535Z] Removing intermediate container 4f8234b8b53d [2020-07-23T16:08:09.535Z] ---> 9644fa6ddc41 [2020-07-23T16:08:09.535Z] Step 7/8 : COPY . . [2020-07-23T16:08:09.712Z] Removing intermediate container df92cad8a4c1 [2020-07-23T16:08:09.712Z] ---> df7c2cb9de0a [2020-07-23T16:08:09.712Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T16:08:09.712Z] ---> Running in 326e4d684df3 [2020-07-23T16:08:10.551Z] ---> b8f0da8a4885 [2020-07-23T16:08:10.551Z] Step 8/8 : RUN go mod download [2020-07-23T16:08:10.551Z] ---> Running in 6e5425dc923e [2020-07-23T16:08:12.323Z] Removing intermediate container 326e4d684df3 [2020-07-23T16:08:12.323Z] ---> db8facfab2de [2020-07-23T16:08:12.323Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T16:08:12.606Z] ---> Running in 063c76d05215 [2020-07-23T16:08:13.997Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-23T16:08:13.997Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-23T16:08:13.997Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-23T16:08:13.997Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-23T16:08:13.997Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-23T16:08:13.997Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-23T16:08:13.997Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-23T16:08:13.997Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-23T16:08:13.997Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-23T16:08:13.997Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-07-23T16:08:13.997Z] go: finding github.com/fatih/color v1.7.0 [2020-07-23T16:08:13.997Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-23T16:08:13.997Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-23T16:08:13.997Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-23T16:08:13.997Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-23T16:08:13.997Z] go: finding github.com/golang/snappy v0.0.1 [2020-07-23T16:08:13.997Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-23T16:08:13.997Z] go: finding github.com/google/uuid v1.1.0 [2020-07-23T16:08:13.997Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-23T16:08:14.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-23T16:08:14.268Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-23T16:08:14.546Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-23T16:08:14.623Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-23T16:08:14.836Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-23T16:08:14.836Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-23T16:08:14.836Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-23T16:08:14.836Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-23T16:08:14.836Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-23T16:08:14.836Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-23T16:08:15.130Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-23T16:08:15.130Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-23T16:08:15.130Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-23T16:08:15.130Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-23T16:08:15.130Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-23T16:08:15.130Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-23T16:08:15.130Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-23T16:08:15.130Z] go: finding github.com/posener/complete v1.1.1 [2020-07-23T16:08:15.224Z] OK: 221 MiB in 53 packages [2020-07-23T16:08:15.425Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-07-23T16:08:15.425Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-23T16:08:15.425Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-23T16:08:15.425Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-23T16:08:15.425Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-23T16:08:15.425Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-23T16:08:15.425Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-23T16:08:15.692Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-23T16:08:15.692Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-23T16:08:15.692Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-23T16:08:15.692Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-07-23T16:08:15.692Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-23T16:08:15.692Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-23T16:08:15.692Z] go: finding modernc.org/b v1.0.0 [2020-07-23T16:08:15.692Z] go: finding modernc.org/db v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/file v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/fileutil v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/golex v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/internal v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/lldb v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/mathutil v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/ql v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/sortutil v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/strutil v1.0.0 [2020-07-23T16:08:15.973Z] go: finding modernc.org/zappy v1.0.0 [2020-07-23T16:08:16.657Z] Removing intermediate container 063c76d05215 [2020-07-23T16:08:16.657Z] ---> 8fa73b62b6dd [2020-07-23T16:08:16.657Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-07-23T16:08:16.657Z] ---> Running in b0a6e0c2b1a2 [2020-07-23T16:08:17.251Z] Removing intermediate container b0a6e0c2b1a2 [2020-07-23T16:08:17.251Z] ---> 44eba3744f98 [2020-07-23T16:08:17.251Z] Step 9/21 : COPY . . [2020-07-23T16:08:18.232Z] ---> 11f27f44f60b [2020-07-23T16:08:18.232Z] Step 10/21 : ARG MAKE='make build' [2020-07-23T16:08:18.232Z] ---> Running in 039d91ad63fd [2020-07-23T16:08:18.826Z] Removing intermediate container 039d91ad63fd [2020-07-23T16:08:18.826Z] ---> a5a6fef7ddd1 [2020-07-23T16:08:18.826Z] Step 11/21 : RUN $MAKE [2020-07-23T16:08:19.101Z] ---> Running in a5e25818119c [2020-07-23T16:08:20.528Z] 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-23T16:08:31.467Z] Removing intermediate container 6e5425dc923e [2020-07-23T16:08:31.467Z] ---> d34f549eebd0 [2020-07-23T16:08:31.467Z] Successfully built d34f549eebd0 [2020-07-23T16:08:31.467Z] 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 [2020-07-23T16:08:32.736Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-23T16:08:33.166Z] . [Pipeline] withDockerContainer [2020-07-23T16:08:33.672Z] prd-centos7-docker-4c-2g-737 does not seem to be running inside a container [2020-07-23T16:08:33.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-23T16:08:35.521Z] $ docker top bb9deb083baf7352d37d35467f97bb8257f1dfe398e0465373cf656a07c881e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T16:08:36.094Z] + go version [2020-07-23T16:08:36.375Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-23T16:08:37.149Z] + make test [2020-07-23T16:08:37.149Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-23T16:08:40.769Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-07-23T16:08:52.896Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-23T16:09:01.157Z] Removing intermediate container a5e25818119c [2020-07-23T16:09:01.158Z] ---> 283a3e69918c [2020-07-23T16:09:01.158Z] Step 12/21 : FROM alpine [2020-07-23T16:09:01.158Z] latest: Pulling from library/alpine [2020-07-23T16:09:01.428Z] b538f80385f9: Already exists [2020-07-23T16:09:01.428Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-23T16:09:01.428Z] Status: Downloaded newer image for alpine:latest [2020-07-23T16:09:01.428Z] ---> 62ee0e9f8440 [2020-07-23T16:09:01.428Z] Step 13/21 : ENV APP_PORT=49990 [2020-07-23T16:09:01.706Z] ---> Running in 8bba5f9aaa8e [2020-07-23T16:09:02.300Z] Removing intermediate container 8bba5f9aaa8e [2020-07-23T16:09:02.300Z] ---> cd457d454a1d [2020-07-23T16:09:02.300Z] Step 14/21 : EXPOSE $APP_PORT [2020-07-23T16:09:02.300Z] ---> Running in a2464ec0a743 [2020-07-23T16:09:02.571Z] Removing intermediate container a2464ec0a743 [2020-07-23T16:09:02.571Z] ---> 9ecd45cc371f [2020-07-23T16:09:02.571Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-07-23T16:09:04.534Z] ---> 834b5c27072f [2020-07-23T16:09:04.534Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-07-23T16:09:05.127Z] ---> 8fd92b871a9e [2020-07-23T16:09:05.127Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-07-23T16:09:05.719Z] ---> 48be792fceeb [2020-07-23T16:09:05.719Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-23T16:09:05.719Z] ---> Running in 1019a06bd4ea [2020-07-23T16:09:06.315Z] Removing intermediate container 1019a06bd4ea [2020-07-23T16:09:06.315Z] ---> 8d9cb01d338d [2020-07-23T16:09:06.315Z] Step 19/21 : LABEL arch=arm64 [2020-07-23T16:09:06.315Z] ---> Running in c28fc4cb6af3 [2020-07-23T16:09:06.910Z] Removing intermediate container c28fc4cb6af3 [2020-07-23T16:09:06.910Z] ---> f565f1862cf0 [2020-07-23T16:09:06.910Z] Step 20/21 : LABEL git_sha=9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:09:06.910Z] ---> Running in 49c77ba6155a [2020-07-23T16:09:07.501Z] Removing intermediate container 49c77ba6155a [2020-07-23T16:09:07.501Z] ---> bcc97c7ec6ba [2020-07-23T16:09:07.501Z] Step 21/21 : LABEL version=0.0.0 [2020-07-23T16:09:07.501Z] ---> Running in 6ecf6cd6732b [2020-07-23T16:09:08.095Z] Removing intermediate container 6ecf6cd6732b [2020-07-23T16:09:08.095Z] ---> 8315a4a27781 [2020-07-23T16:09:08.095Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-23T16:09:08.095Z] Successfully built 8315a4a27781 [2020-07-23T16:09:08.095Z] 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] } [2020-07-23T16:09:14.473Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-07-23T16:09:14.473Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.278s coverage: 56.4% of statements [2020-07-23T16:09:14.473Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-23T16:09:20.239Z] gofmt -l . [2020-07-23T16:09:20.239Z] [ "`gofmt -l .`" = "" ] [2020-07-23T16:09:20.239Z] ./bin/test-attribution-txt.sh [2020-07-23T16:09:21.285Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-23T16:09:23.278Z] Warning: overwriting stash ‘coverage-report’ [2020-07-23T16:09:23.989Z] Stashed 1 file(s) [Pipeline] } [2020-07-23T16:09:24.012Z] $ docker stop --time=1 bb9deb083baf7352d37d35467f97bb8257f1dfe398e0465373cf656a07c881e1 [2020-07-23T16:09:26.395Z] $ docker rm -f bb9deb083baf7352d37d35467f97bb8257f1dfe398e0465373cf656a07c881e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T16:09:27.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T16:09:28.191Z] + ls -al . [2020-07-23T16:09:28.191Z] total 108 [2020-07-23T16:09:28.191Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 23 16:09 . [2020-07-23T16:09:28.191Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 23 16:07 .. [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 6432 Jul 23 16:07 Attribution.txt [2020-07-23T16:09:28.191Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 23 16:07 bin [2020-07-23T16:09:28.191Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 23 16:07 cmd [2020-07-23T16:09:28.191Z] -rw-r--r--. 1 jenkins jenkins 29142 Jul 23 16:09 coverage.out [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 1826 Jul 23 16:07 Dockerfile [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 957 Jul 23 16:07 Dockerfile.build [2020-07-23T16:09:28.191Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 23 16:07 .git [2020-07-23T16:09:28.191Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 23 16:07 .github [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 258 Jul 23 16:07 .gitignore [2020-07-23T16:09:28.191Z] -rw-r--r--. 1 jenkins jenkins 855 Jul 23 16:09 go.mod [2020-07-23T16:09:28.191Z] -rw-r--r--. 1 jenkins jenkins 14894 Jul 23 16:09 go.sum [2020-07-23T16:09:28.191Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 23 16:07 internal [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 683 Jul 23 16:07 Jenkinsfile [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 23 16:07 LICENSE [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 873 Jul 23 16:07 Makefile [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 3620 Jul 23 16:07 README.md [2020-07-23T16:09:28.191Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 23 16:07 .semver [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 23 16:03 VERSION [2020-07-23T16:09:28.191Z] -rw-rw-r--. 1 jenkins jenkins 235 Jul 23 16:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:09:28.608Z] + 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=9874cd4b40ae953ca19d22d52ca1217fc2280ce6 --label arch=amd64 --label version=0.0.0 . [2020-07-23T16:09:28.883Z] Sending build context to Docker daemon 575kB [2020-07-23T16:09:28.883Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-07-23T16:09:28.883Z] Step 2/21 : FROM ${BASE} AS builder [2020-07-23T16:09:28.883Z] ---> d34f549eebd0 [2020-07-23T16:09:28.883Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-07-23T16:09:29.169Z] ---> Running in 70846cfce40f [2020-07-23T16:09:29.169Z] Removing intermediate container 70846cfce40f [2020-07-23T16:09:29.169Z] ---> 8fe8de5c6ef5 [2020-07-23T16:09:29.169Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T16:09:29.450Z] ---> Running in 8e6efb8060af [2020-07-23T16:09:29.723Z] Removing intermediate container 8e6efb8060af [2020-07-23T16:09:29.723Z] ---> 82a1405a55e9 [2020-07-23T16:09:29.723Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-07-23T16:09:29.723Z] ---> Running in fb8f3a1532f4 [2020-07-23T16:09:30.030Z] Removing intermediate container fb8f3a1532f4 [2020-07-23T16:09:30.030Z] ---> ca7316237913 [2020-07-23T16:09:30.030Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T16:09:30.030Z] ---> Running in 1b1889034bd8 [2020-07-23T16:09:32.057Z] Removing intermediate container 1b1889034bd8 [2020-07-23T16:09:32.057Z] ---> b5b99f6992fa [2020-07-23T16:09:32.057Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T16:09:32.057Z] ---> Running in 4f6a1a050b88 [2020-07-23T16:09:33.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-23T16:09:33.688Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-23T16:09:34.328Z] OK: 237 MiB in 53 packages [2020-07-23T16:09:34.956Z] Removing intermediate container 4f6a1a050b88 [2020-07-23T16:09:34.956Z] ---> 2088b4a13b8f [2020-07-23T16:09:34.956Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-07-23T16:09:34.956Z] ---> Running in 86d4b12cb8fa [2020-07-23T16:09:35.266Z] Removing intermediate container 86d4b12cb8fa [2020-07-23T16:09:35.266Z] ---> 405cd430b26a [2020-07-23T16:09:35.266Z] Step 9/21 : COPY . . [2020-07-23T16:09:35.899Z] ---> aeede025c487 [2020-07-23T16:09:35.899Z] Step 10/21 : ARG MAKE='make build' [2020-07-23T16:09:35.899Z] ---> Running in b984b240b4c8 [2020-07-23T16:09:35.899Z] Removing intermediate container b984b240b4c8 [2020-07-23T16:09:35.899Z] ---> f66f69241215 [2020-07-23T16:09:35.899Z] Step 11/21 : RUN $MAKE [2020-07-23T16:09:36.194Z] ---> Running in f61b9fd44f51 [2020-07-23T16:09:37.238Z] 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-23T16:09:59.811Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-23T16:10:03.387Z] Removing intermediate container f61b9fd44f51 [2020-07-23T16:10:03.387Z] ---> 23ddd4d8c848 [2020-07-23T16:10:03.387Z] Step 12/21 : FROM alpine [2020-07-23T16:10:03.387Z] latest: Pulling from library/alpine [2020-07-23T16:10:03.387Z] df20fa9351a1: Already exists [2020-07-23T16:10:03.387Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-23T16:10:03.387Z] Status: Downloaded newer image for alpine:latest [2020-07-23T16:10:03.387Z] ---> a24bb4013296 [2020-07-23T16:10:03.387Z] Step 13/21 : ENV APP_PORT=49990 [2020-07-23T16:10:03.387Z] ---> Running in 0cb4747ff5e6 [2020-07-23T16:10:03.679Z] Removing intermediate container 0cb4747ff5e6 [2020-07-23T16:10:03.679Z] ---> 7eeb2804f32d [2020-07-23T16:10:03.679Z] Step 14/21 : EXPOSE $APP_PORT [2020-07-23T16:10:03.679Z] ---> Running in 42fdb617b555 [2020-07-23T16:10:03.946Z] Removing intermediate container 42fdb617b555 [2020-07-23T16:10:03.946Z] ---> 154c335a8d5d [2020-07-23T16:10:03.946Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-07-23T16:10:04.897Z] ---> 2c90c9d774fd [2020-07-23T16:10:04.897Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-07-23T16:10:05.163Z] ---> 69b7ea2cde55 [2020-07-23T16:10:05.163Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-07-23T16:10:05.895Z] ---> f407bf11c5c0 [2020-07-23T16:10:05.895Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-23T16:10:05.895Z] ---> Running in f2c8930f83e9 [2020-07-23T16:10:05.895Z] Removing intermediate container f2c8930f83e9 [2020-07-23T16:10:05.895Z] ---> cd53dadc80e8 [2020-07-23T16:10:05.895Z] Step 19/21 : LABEL arch=amd64 [2020-07-23T16:10:05.895Z] ---> Running in 4ff0f0d1c075 [2020-07-23T16:10:06.296Z] Removing intermediate container 4ff0f0d1c075 [2020-07-23T16:10:06.296Z] ---> cc34ab8c239d [2020-07-23T16:10:06.296Z] Step 20/21 : LABEL git_sha=9874cd4b40ae953ca19d22d52ca1217fc2280ce6 [2020-07-23T16:10:06.296Z] ---> Running in a6727009b899 [2020-07-23T16:10:06.648Z] Removing intermediate container a6727009b899 [2020-07-23T16:10:06.648Z] ---> 36124212defd [2020-07-23T16:10:06.648Z] Step 21/21 : LABEL version=0.0.0 [2020-07-23T16:10:06.648Z] ---> Running in d27e7c1e3cb8 [2020-07-23T16:10:06.965Z] Removing intermediate container d27e7c1e3cb8 [2020-07-23T16:10:06.965Z] ---> b19e56971c03 [2020-07-23T16:10:06.965Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-23T16:10:06.965Z] Successfully built b19e56971c03 [2020-07-23T16:10:06.965Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-07-23T16:10:09.303Z] provisioning config files... [2020-07-23T16:10:09.330Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-121@tmp/config933009294697255442tmp [Pipeline] { [Pipeline] sh [2020-07-23T16:10:09.824Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-121@tmp/config933009294697255442tmp [2020-07-23T16:10:09.824Z] + curl -s https://codecov.io/bash [Pipeline] } [2020-07-23T16:10:10.567Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:10:13.582Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:10:14.342Z] ---> package-listing.sh [2020-07-23T16:10:14.342Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-23T16:10:14.342Z] ++ facter osfamily [2020-07-23T16:10:14.610Z] + OS_FAMILY=redhat [2020-07-23T16:10:14.610Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-121 [2020-07-23T16:10:14.610Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-23T16:10:14.610Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-23T16:10:14.610Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-23T16:10:14.610Z] + PACKAGES=/tmp/packages_start.txt [2020-07-23T16:10:14.610Z] + '[' /w/workspace/foundry_device-virtual-go_PR-121 ']' [2020-07-23T16:10:14.610Z] + PACKAGES=/tmp/packages_end.txt [2020-07-23T16:10:14.610Z] + case "${OS_FAMILY}" in [2020-07-23T16:10:14.610Z] + sort [2020-07-23T16:10:14.610Z] + rpm -qa [2020-07-23T16:10:21.386Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-23T16:10:21.386Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-23T16:10:21.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-23T16:10:21.386Z] + '[' /w/workspace/foundry_device-virtual-go_PR-121 ']' [2020-07-23T16:10:21.386Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-121/archives/ [2020-07-23T16:10:21.386Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-121/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:10:22.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:10:22.138Z] [2020-07-23T16:10:22.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:10:22.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:10:22.613Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-23T16:10:22.613Z] c9b1b535fdd9: Pulling fs layer [2020-07-23T16:10:22.613Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-23T16:10:22.613Z] 756a868c4378: Pulling fs layer [2020-07-23T16:10:22.613Z] 444b2fc9a129: Pulling fs layer [2020-07-23T16:10:22.613Z] ea15f1150254: Pulling fs layer [2020-07-23T16:10:22.613Z] 41b27a9f41bf: Pulling fs layer [2020-07-23T16:10:22.613Z] 28c525ee5125: Pulling fs layer [2020-07-23T16:10:22.613Z] 094b1ea09ed8: Pulling fs layer [2020-07-23T16:10:22.613Z] 138eaada9080: Pulling fs layer [2020-07-23T16:10:22.613Z] 0622d0fa9048: Pulling fs layer [2020-07-23T16:10:22.613Z] 41b27a9f41bf: Waiting [2020-07-23T16:10:22.613Z] 28c525ee5125: Waiting [2020-07-23T16:10:22.613Z] 094b1ea09ed8: Waiting [2020-07-23T16:10:22.613Z] 444b2fc9a129: Waiting [2020-07-23T16:10:22.613Z] ea15f1150254: Waiting [2020-07-23T16:10:22.613Z] 0622d0fa9048: Waiting [2020-07-23T16:10:22.613Z] 138eaada9080: Waiting [2020-07-23T16:10:22.613Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-23T16:10:22.613Z] 2cc5ad85d9ab: Download complete [2020-07-23T16:10:22.613Z] 444b2fc9a129: Verifying Checksum [2020-07-23T16:10:22.613Z] 444b2fc9a129: Download complete [2020-07-23T16:10:22.919Z] c9b1b535fdd9: Verifying Checksum [2020-07-23T16:10:22.919Z] c9b1b535fdd9: Download complete [2020-07-23T16:10:22.919Z] ea15f1150254: Verifying Checksum [2020-07-23T16:10:22.919Z] ea15f1150254: Download complete [2020-07-23T16:10:22.919Z] 28c525ee5125: Verifying Checksum [2020-07-23T16:10:22.919Z] 28c525ee5125: Download complete [2020-07-23T16:10:23.948Z] 756a868c4378: Verifying Checksum [2020-07-23T16:10:23.948Z] 756a868c4378: Download complete [2020-07-23T16:10:23.948Z] c9b1b535fdd9: Pull complete [2020-07-23T16:10:24.308Z] 138eaada9080: Verifying Checksum [2020-07-23T16:10:24.308Z] 138eaada9080: Download complete [2020-07-23T16:10:24.670Z] 094b1ea09ed8: Verifying Checksum [2020-07-23T16:10:24.670Z] 094b1ea09ed8: Download complete [2020-07-23T16:10:24.670Z] 0622d0fa9048: Verifying Checksum [2020-07-23T16:10:24.670Z] 0622d0fa9048: Download complete [2020-07-23T16:10:24.670Z] 2cc5ad85d9ab: Pull complete [2020-07-23T16:10:25.824Z] 41b27a9f41bf: Verifying Checksum [2020-07-23T16:10:25.824Z] 41b27a9f41bf: Download complete [2020-07-23T16:10:28.504Z] 756a868c4378: Pull complete [2020-07-23T16:10:28.833Z] 444b2fc9a129: Pull complete [2020-07-23T16:10:29.112Z] ea15f1150254: Pull complete [2020-07-23T16:10:37.731Z] 41b27a9f41bf: Pull complete [2020-07-23T16:10:37.731Z] 28c525ee5125: Pull complete [2020-07-23T16:10:42.335Z] 094b1ea09ed8: Pull complete [2020-07-23T16:10:44.402Z] 138eaada9080: Pull complete [2020-07-23T16:10:44.681Z] 0622d0fa9048: Pull complete [2020-07-23T16:10:44.681Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-23T16:10:44.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:10:44.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-23T16:10:45.438Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2020-07-23T16:10:45.625Z] $ 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-121 -v /w/workspace/foundry_device-virtual-go_PR-121:/w/workspace/foundry_device-virtual-go_PR-121:rw,z -v /w/workspace/foundry_device-virtual-go_PR-121@tmp:/w/workspace/foundry_device-virtual-go_PR-121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-23T16:10:48.934Z] $ docker top df2e2f928319fa113c3c8146df37fded4321403d04c90473a193b3e5baf07d54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-23T16:10:49.352Z] provisioning config files... [2020-07-23T16:10:49.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-121@tmp/config2657727916930598248tmp [Pipeline] { [Pipeline] echo [2020-07-23T16:10:49.478Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:10:49.842Z] ---> create-netrc.sh [Pipeline] echo [2020-07-23T16:10:49.880Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:10:50.321Z] ---> logs-deploy.sh [2020-07-23T16:10:50.321Z] + ARCHIVE_ARTIFACTS= [2020-07-23T16:10:50.321Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-23T16:10:50.321Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-23T16:10:50.321Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-23T16:10:50.321Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-121/1 [2020-07-23T16:10:50.321Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-121/1/ [2020-07-23T16:10:50.321Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-121/1 /w/workspace/foundry_device-virtual-go_PR-121 [2020-07-23T16:10:52.355Z] Archives upload complete. [2020-07-23T16:10:52.642Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-121/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-121/1/