Pull request #127 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 venkata-subbareddyK for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 5dbeb2ee12038eac02127f3d491aa26679cb3e38 rather than ee911db3bea5cea451fe57246642e6a316de7245 Obtained Jenkinsfile from 5dbeb2ee12038eac02127f3d491aa26679cb3e38 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf 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 --version # 'git version 2.16.6' > 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf 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-127/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f17c8f7ddcfcae814424951d38f1611fe0b2aacf # timeout=10 Commit message: "Merge pull request #232 from ernestojeda/update-snap-agent-c" > 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 > git --version # 'git version 2.16.6' 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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-830 in /w/workspace/foundry_device-virtual-go_PR-127 [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-127 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/127/head:refs/remotes/origin/PR-127 # 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/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5dbeb2ee12038eac02127f3d491aa26679cb3e38 into PR head commit ee911db3bea5cea451fe57246642e6a316de7245 Merge succeeded, producing ee911db3bea5cea451fe57246642e6a316de7245 Checking out Revision ee911db3bea5cea451fe57246642e6a316de7245 (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # 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 5dbeb2ee12038eac02127f3d491aa26679cb3e38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:37:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:37:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:37:04 ========================================================= 19:37:04 EdgeX Global Pipelines Version Info 19:37:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:37:06 ------------------- 19:37:06 stable info: 19:37:06 ------------------- 19:37:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:37:06 Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf 19:37:06 Message: update stable to v1.0.114 19:37:07 ------------------- 19:37:07 experimental info: 19:37:07 ------------------- 19:37:07 Commited By: **** collab-it+edgex@linuxfoundation.org 19:37:07 Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf 19:37:07 Message: update experimental to v1.0.114 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:37:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:37:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:37:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 19:37:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 19:37:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee911db3bea5cea451fe57246642e6a316de7245 [Pipeline] echo 19:37:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee911db [Pipeline] echo 19:37:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:37:11 + git log --format=format:%s -1 ee911db3bea5cea451fe57246642e6a316de7245 [Pipeline] echo 19:37:12 GIT_COMMIT: ee911db3bea5cea451fe57246642e6a316de7245, Commit Message: refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125 [Pipeline] echo 19:37:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:37:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:37:13 19:37:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:37:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:37:13 latest: Pulling from edgex-devops/git-semver 19:37:13 31603596830f: Pulling fs layer 19:37:13 2a8b12db71e7: Pulling fs layer 19:37:13 6ca5941a6612: Pulling fs layer 19:37:13 ecc8261a40a4: Pulling fs layer 19:37:13 ecc8261a40a4: Waiting 19:37:13 2a8b12db71e7: Download complete 19:37:13 31603596830f: Verifying Checksum 19:37:13 31603596830f: Download complete 19:37:14 ecc8261a40a4: Verifying Checksum 19:37:14 ecc8261a40a4: Download complete 19:37:14 6ca5941a6612: Verifying Checksum 19:37:14 6ca5941a6612: Download complete 19:37:14 31603596830f: Pull complete 19:37:14 2a8b12db71e7: Pull complete 19:37:14 6ca5941a6612: Pull complete 19:37:15 ecc8261a40a4: Pull complete 19:37:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:37:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:37:15 prd-centos7-docker-4c-2g-830 does not seem to be running inside a container 19:37:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-127 -v /w/workspace/foundry_device-virtual-go_PR-127:/w/workspace/foundry_device-virtual-go_PR-127:rw,z -v /w/workspace/foundry_device-virtual-go_PR-127@tmp:/w/workspace/foundry_device-virtual-go_PR-127@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:10004/edgex-devops/git-semver:latest cat 19:37:17 $ docker top 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:37:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:37:17 [ssh-agent] Looking for ssh-agent implementation... 19:37:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:37:17 $ docker exec 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent 19:37:18 SSH_AUTH_SOCK=/tmp/ssh-3M9uxh6OHqhh/agent.13 19:37:18 SSH_AGENT_PID=19 19:37:18 Running ssh-add (command line suppressed) 19:37:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-127@tmp/private_key_311859532784687124.key (/w/workspace/foundry_device-virtual-go_PR-127@tmp/private_key_311859532784687124.key) 19:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:37:18 + git describe --exact-match --tags HEAD 19:37:18 fatal: No names found, cannot describe anything. [Pipeline] } 19:37:18 $ docker exec --env ******** --env ******** 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent -k 19:37:18 unset SSH_AUTH_SOCK; 19:37:18 unset SSH_AGENT_PID; 19:37:18 echo Agent pid 19 killed; 19:37:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:37:19 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:37:19 This usually means this commit has not been tagged. [Pipeline] sshagent 19:37:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:37:19 [ssh-agent] Looking for ssh-agent implementation... 19:37:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:37:19 $ docker exec 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent 19:37:19 SSH_AUTH_SOCK=/tmp/ssh-CEaCAMM9K3rO/agent.47 19:37:19 SSH_AGENT_PID=52 19:37:19 Running ssh-add (command line suppressed) 19:37:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-127@tmp/private_key_8395349704957615177.key (/w/workspace/foundry_device-virtual-go_PR-127@tmp/private_key_8395349704957615177.key) 19:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:37:20 + git semver init 19:37:20 # -> Open(): unable to determine branch for HEAD 19:37:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-127/.git 19:37:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-127 19:37:20 # $SEMVER_REMOTE_NAME = origin 19:37:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:37:20 # $SEMVER_USER_NAME = edgex-jenkins 19:37:20 # $SEMVER_BRANCH = PR-127 19:37:20 # $SEMVER_TEMP = /tmp/semver-938360554 19:37:20 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:37:20 # '/tmp/semver-938360554' -> '/w/workspace/foundry_device-virtual-go_PR-127/.semver' 19:37:20 # -> Force: false 19:37:20 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-127/.semver [Pipeline] } 19:37:20 $ docker exec --env ******** --env ******** 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent -k 19:37:20 unset SSH_AUTH_SOCK; 19:37:20 unset SSH_AGENT_PID; 19:37:20 echo Agent pid 52 killed; 19:37:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:37:21 + git semver [Pipeline] } 19:37:21 $ docker stop --time=1 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 19:37:22 $ docker rm -f 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:37:23 Stashed 25 file(s) [Pipeline] echo 19:37:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 19:37:23 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 19:37:39 Still waiting to schedule task 19:37:39 ‘prd-centos7-docker-4c-2g-213’ is offline 19:37:39 Still waiting to schedule task 19:37:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:39:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-832 in /w/workspace/foundry_device-virtual-go_PR-127 [Pipeline] { [Pipeline] ws 19:39:26 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:39:32 using credential edgex-jenkins-ssh 19:39:32 Cloning the remote Git repository 19:39:32 Cloning with configured refspecs honoured and without tags 19:39:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:39:32 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:39:33 Fetching without tags 19:39:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:39:32 > git --version # timeout=10 19:39:32 > git --version # 'git version 2.17.1' 19:39:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:39:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:39:33 > git config --add remote.origin.fetch +refs/pull/127/head:refs/remotes/origin/PR-127 # timeout=10 19:39:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:39:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:39:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:39:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:39:33 Merging remotes/origin/master commit 5dbeb2ee12038eac02127f3d491aa26679cb3e38 into PR head commit ee911db3bea5cea451fe57246642e6a316de7245 19:39:33 Merge succeeded, producing ee911db3bea5cea451fe57246642e6a316de7245 19:39:33 Checking out Revision ee911db3bea5cea451fe57246642e6a316de7245 (PR-127) 19:39:33 > git config core.sparsecheckout # timeout=10 19:39:33 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 19:39:33 > git remote # timeout=10 19:39:33 > git config --get remote.origin.url # timeout=10 19:39:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:33 > git merge 5dbeb2ee12038eac02127f3d491aa26679cb3e38 # timeout=10 19:39:33 > git rev-parse HEAD^{commit} # timeout=10 19:39:33 > git config core.sparsecheckout # timeout=10 19:39:33 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 19:39:38 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125" 19:39:38 > git --version # timeout=10 19:39:38 > git --version # 'git version 2.17.1' 19:39:38 fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:39:39 ========================================================= 19:39:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:39:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:39:40 + 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 . 19:39:41 Sending build context to Docker daemon 533kB 19:39:41 Step 1/8 : ARG BASE=golang:1.13-alpine 19:39:41 Step 2/8 : FROM ${BASE} 19:39:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:39:41 b538f80385f9: Pulling fs layer 19:39:41 74f711af9a0d: Pulling fs layer 19:39:41 99f96fe45779: Pulling fs layer 19:39:41 fd7a069fd194: Pulling fs layer 19:39:41 66aa3694b03b: Pulling fs layer 19:39:41 170f70906a0f: Pulling fs layer 19:39:41 ad7c5574e4b9: Pulling fs layer 19:39:41 e772456be8f7: Pulling fs layer 19:39:41 c890913d741a: Pulling fs layer 19:39:41 2480fcc9aa5a: Pulling fs layer 19:39:41 09adf4765672: Pulling fs layer 19:39:41 fd7a069fd194: Waiting 19:39:41 66aa3694b03b: Waiting 19:39:41 170f70906a0f: Waiting 19:39:41 ad7c5574e4b9: Waiting 19:39:41 e772456be8f7: Waiting 19:39:41 c890913d741a: Waiting 19:39:41 2480fcc9aa5a: Waiting 19:39:41 09adf4765672: Waiting 19:39:41 99f96fe45779: Verifying Checksum 19:39:41 99f96fe45779: Download complete 19:39:41 74f711af9a0d: Download complete 19:39:41 66aa3694b03b: Download complete 19:39:41 170f70906a0f: Verifying Checksum 19:39:41 170f70906a0f: Download complete 19:39:41 b538f80385f9: Verifying Checksum 19:39:42 b538f80385f9: Pull complete 19:39:43 74f711af9a0d: Pull complete 19:39:43 99f96fe45779: Pull complete 19:39:44 ad7c5574e4b9: Verifying Checksum 19:39:44 ad7c5574e4b9: Download complete 19:39:44 c890913d741a: Download complete 19:39:46 2480fcc9aa5a: Verifying Checksum 19:39:46 09adf4765672: Verifying Checksum 19:39:46 09adf4765672: Download complete 19:39:47 e772456be8f7: Verifying Checksum 19:39:47 e772456be8f7: Download complete 19:39:47 fd7a069fd194: Verifying Checksum 19:39:47 fd7a069fd194: Download complete 19:40:00 fd7a069fd194: Pull complete 19:40:00 66aa3694b03b: Pull complete 19:40:00 170f70906a0f: Pull complete 19:40:02 ad7c5574e4b9: Pull complete 19:40:07 e772456be8f7: Pull complete 19:40:07 c890913d741a: Pull complete 19:40:10 2480fcc9aa5a: Pull complete 19:40:10 09adf4765672: Pull complete 19:40:10 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 19:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:40:10 ---> 2248a725d1cf 19:40:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:40:15 ---> Running in 4a230685dd38 19:40:15 Removing intermediate container 4a230685dd38 19:40:15 ---> 3df7cb2650f4 19:40:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:16 ---> Running in 1c6044ccb019 19:40:18 Removing intermediate container 1c6044ccb019 19:40:18 ---> 37e6a552724a 19:40:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:40:19 ---> Running in 8a106b89cfb1 19:40:20 Running on prd-centos7-docker-4c-2g-834 in /w/workspace/foundry_device-virtual-go_PR-127 [Pipeline] { [Pipeline] ws 19:40:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 19:40:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] checkout 19:40:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:40:21 (1/14) Installing libmagic (5.38-r0) 19:40:21 (2/14) Installing file (5.38-r0) 19:40:22 (3/14) Installing libc-dev (0.7.2-r3) 19:40:22 (4/14) Installing g++ (9.3.0-r2) 19:40:23 using credential edgex-jenkins-ssh 19:40:23 Cloning the remote Git repository 19:40:23 Cloning with configured refspecs honoured and without tags 19:40:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:40:23 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:40:23 Fetching without tags 19:40:24 Merging remotes/origin/master commit 5dbeb2ee12038eac02127f3d491aa26679cb3e38 into PR head commit ee911db3bea5cea451fe57246642e6a316de7245 19:40:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:40:23 > git --version # timeout=10 19:40:23 > git --version # 'git version 2.16.5' 19:40:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:40:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:40:23 > git config --add remote.origin.fetch +refs/pull/127/head:refs/remotes/origin/PR-127 # timeout=10 19:40:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:40:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:40:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:40:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:40:24 > git config core.sparsecheckout # timeout=10 19:40:24 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 19:40:24 Merge succeeded, producing ee911db3bea5cea451fe57246642e6a316de7245 19:40:24 Checking out Revision ee911db3bea5cea451fe57246642e6a316de7245 (PR-127) 19:40:24 > git remote # timeout=10 19:40:24 > git config --get remote.origin.url # timeout=10 19:40:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:24 > git merge 5dbeb2ee12038eac02127f3d491aa26679cb3e38 # timeout=10 19:40:24 > git rev-parse HEAD^{commit} # timeout=10 19:40:24 > git config core.sparsecheckout # timeout=10 19:40:24 > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 19:40:25 (5/14) Installing fortify-headers (1.1-r0) 19:40:25 (6/14) Installing patch (2.7.6-r6) 19:40:25 (7/14) Installing build-base (0.5-r2) 19:40:25 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:40:25 (9/14) Installing libedit (20191231.3.1-r0) 19:40:25 (10/14) Installing openssh-client (8.3_p1-r0) 19:40:26 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:40:26 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:40:26 (13/14) Installing openssh-server (8.3_p1-r0) 19:40:26 (14/14) Installing openssh (8.3_p1-r0) 19:40:26 Executing busybox-1.31.1-r16.trigger 19:40:26 OK: 221 MiB in 53 packages 19:40:28 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125" 19:40:28 > git --version # timeout=10 19:40:28 > git --version # 'git version 2.16.5' 19:40:28 fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:40:28 ========================================================= 19:40:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:40:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:40:29 + 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 . 19:40:29 Sending build context to Docker daemon 533kB 19:40:29 Step 1/8 : ARG BASE=golang:1.13-alpine 19:40:29 Step 2/8 : FROM ${BASE} 19:40:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:40:29 df20fa9351a1: Pulling fs layer 19:40:29 ed8968b2872e: Pulling fs layer 19:40:29 a92cc7c5fd73: Pulling fs layer 19:40:29 2dd03ba5bac4: Pulling fs layer 19:40:29 1e091d79d1de: Pulling fs layer 19:40:29 481702a1767f: Pulling fs layer 19:40:29 f64a6f60c768: Pulling fs layer 19:40:29 e78d2573fc39: Pulling fs layer 19:40:29 e876d2f968b6: Pulling fs layer 19:40:29 ce8a83651883: Pulling fs layer 19:40:29 07967f4d0e4b: Pulling fs layer 19:40:29 f64a6f60c768: Waiting 19:40:29 e78d2573fc39: Waiting 19:40:29 e876d2f968b6: Waiting 19:40:29 ce8a83651883: Waiting 19:40:29 07967f4d0e4b: Waiting 19:40:29 2dd03ba5bac4: Waiting 19:40:29 1e091d79d1de: Waiting 19:40:29 481702a1767f: Waiting 19:40:30 a92cc7c5fd73: Verifying Checksum 19:40:30 a92cc7c5fd73: Download complete 19:40:30 ed8968b2872e: Verifying Checksum 19:40:30 ed8968b2872e: Download complete 19:40:30 1e091d79d1de: Verifying Checksum 19:40:30 1e091d79d1de: Download complete 19:40:30 481702a1767f: Download complete 19:40:30 df20fa9351a1: Verifying Checksum 19:40:30 df20fa9351a1: Download complete 19:40:30 df20fa9351a1: Pull complete 19:40:31 f64a6f60c768: Verifying Checksum 19:40:31 f64a6f60c768: Download complete 19:40:31 e876d2f968b6: Verifying Checksum 19:40:31 e876d2f968b6: Download complete 19:40:31 ed8968b2872e: Pull complete 19:40:31 a92cc7c5fd73: Pull complete 19:40:31 2dd03ba5bac4: Verifying Checksum 19:40:31 2dd03ba5bac4: Download complete 19:40:31 e78d2573fc39: Verifying Checksum 19:40:31 e78d2573fc39: Download complete 19:40:31 ce8a83651883: Verifying Checksum 19:40:31 ce8a83651883: Download complete 19:40:31 07967f4d0e4b: Verifying Checksum 19:40:31 07967f4d0e4b: Download complete 19:40:32 Removing intermediate container 8a106b89cfb1 19:40:32 ---> d3b3e8c899b7 19:40:32 Step 6/8 : WORKDIR /device-virtual-go 19:40:32 ---> Running in d76c160de834 19:40:32 Removing intermediate container d76c160de834 19:40:32 ---> fd454ddf14a9 19:40:32 Step 7/8 : COPY . . 19:40:32 ---> f59542dbd2b3 19:40:32 Step 8/8 : RUN go mod download 19:40:33 ---> Running in 284f15d66d5e 19:40:36 go: finding github.com/BurntSushi/toml v0.3.1 19:40:36 go: finding github.com/OneOfOne/xxhash v1.2.6 19:40:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:40:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:40:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:40:36 go: finding github.com/bgentry/speakeasy v0.1.0 19:40:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:40:36 go: finding github.com/davecgh/go-spew v1.1.1 19:40:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:40:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:40:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:40:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:40:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:40:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:40:36 go: finding github.com/edsrzf/mmap-go v1.0.0 19:40:36 go: finding github.com/fatih/color v1.7.0 19:40:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:40:36 go: finding github.com/go-kit/kit v0.8.0 19:40:36 go: finding github.com/go-logfmt/logfmt v0.4.0 19:40:36 go: finding github.com/go-stack/stack v1.8.0 19:40:36 go: finding github.com/golang/snappy v0.0.1 19:40:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:40:36 go: finding github.com/google/uuid v1.1.0 19:40:36 go: finding github.com/gorilla/mux v1.7.1 19:40:36 go: finding github.com/hashicorp/consul/api v1.1.0 19:40:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:40:37 go: finding github.com/hashicorp/errwrap v1.0.0 19:40:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:40:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:40:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:40:37 go: finding github.com/hashicorp/go-multierror v1.0.0 19:40:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:40:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:40:37 go: finding github.com/hashicorp/go-syslog v1.0.0 19:40:37 go: finding github.com/hashicorp/go-uuid v1.0.1 19:40:37 go: finding github.com/hashicorp/go.net v0.0.1 19:40:37 go: finding github.com/hashicorp/golang-lru v0.5.0 19:40:37 go: finding github.com/hashicorp/logutils v1.0.0 19:40:37 go: finding github.com/hashicorp/mdns v1.0.0 19:40:37 go: finding github.com/hashicorp/memberlist v0.1.3 19:40:37 go: finding github.com/hashicorp/serf v0.8.2 19:40:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:40:37 go: finding github.com/mattn/go-colorable v0.0.9 19:40:37 go: finding github.com/mattn/go-isatty v0.0.3 19:40:37 go: finding github.com/miekg/dns v1.0.14 19:40:37 go: finding github.com/mitchellh/cli v1.0.0 19:40:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:40:38 go: finding github.com/mitchellh/copystructure v1.0.0 19:40:38 go: finding github.com/mitchellh/go-homedir v1.0.0 19:40:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:40:38 go: finding github.com/mitchellh/gox v0.4.0 19:40:38 go: finding github.com/mitchellh/iochan v1.0.0 19:40:38 go: finding github.com/mitchellh/mapstructure v1.1.2 19:40:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:40:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:40:38 go: finding github.com/pelletier/go-toml v1.2.0 19:40:38 go: finding github.com/pkg/errors v0.8.1 19:40:38 go: finding github.com/pmezard/go-difflib v1.0.0 19:40:38 go: finding github.com/posener/complete v1.1.1 19:40:38 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 19:40:38 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:40:38 2dd03ba5bac4: Pull complete 19:40:38 1e091d79d1de: Pull complete 19:40:38 481702a1767f: Pull complete 19:40:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:40:38 go: finding github.com/stretchr/objx v0.1.0 19:40:38 go: finding github.com/stretchr/testify v1.5.1 19:40:38 go: finding github.com/ugorji/go v1.1.4 19:40:38 go: finding github.com/x448/float16 v0.8.4 19:40:38 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:40:38 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:40:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:40:38 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 19:40:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:40:38 go: finding gopkg.in/yaml.v2 v2.2.8 19:40:38 go: finding modernc.org/b v1.0.0 19:40:38 go: finding modernc.org/db v1.0.0 19:40:39 go: finding modernc.org/file v1.0.0 19:40:39 go: finding modernc.org/fileutil v1.0.0 19:40:39 go: finding modernc.org/golex v1.0.0 19:40:39 go: finding modernc.org/internal v1.0.0 19:40:39 go: finding modernc.org/lldb v1.0.0 19:40:39 go: finding modernc.org/mathutil v1.0.0 19:40:39 go: finding modernc.org/ql v1.0.0 19:40:39 go: finding modernc.org/sortutil v1.0.0 19:40:39 go: finding modernc.org/strutil v1.0.0 19:40:39 go: finding modernc.org/zappy v1.0.0 19:40:42 f64a6f60c768: Pull complete 19:40:46 e78d2573fc39: Pull complete 19:40:46 e876d2f968b6: Pull complete 19:40:47 ce8a83651883: Pull complete 19:40:47 07967f4d0e4b: Pull complete 19:40:47 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 19:40:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:40:47 ---> 5d7c900382c6 19:40:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:40:48 ---> Running in 6098e60dce65 19:40:48 Removing intermediate container 6098e60dce65 19:40:48 ---> 7b1629e8a248 19:40:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:48 ---> Running in 286424d3073c 19:40:49 Removing intermediate container 286424d3073c 19:40:49 ---> 38593377656f 19:40:49 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:40:49 ---> Running in 201cbd9e282f 19:40:49 Removing intermediate container 284f15d66d5e 19:40:49 ---> c3a2fe864c84 19:40:49 Successfully built c3a2fe864c84 19:40:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:40:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:40:50 + docker inspect -f . ci-base-image-arm64 19:40:50 . [Pipeline] withDockerContainer 19:40:50 prd-ubuntu18.04-docker-arm64-4c-16g-832 does not seem to be running inside a container 19:40:50 $ 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 ******** ci-base-image-arm64 cat 19:40:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:40:51 (1/14) Installing libmagic (5.38-r0) 19:40:51 (2/14) Installing file (5.38-r0) 19:40:51 (3/14) Installing libc-dev (0.7.2-r3) 19:40:51 (4/14) Installing g++ (9.3.0-r2) 19:40:52 $ docker top e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded -eo pid,comm [Pipeline] { [Pipeline] sh 19:40:54 + go version 19:40:54 go version go1.13.13 linux/arm64 [Pipeline] sh 19:40:55 + make test 19:40:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:40:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:40:57 (5/14) Installing fortify-headers (1.1-r0) 19:40:57 (6/14) Installing patch (2.7.6-r6) 19:40:57 (7/14) Installing build-base (0.5-r2) 19:40:57 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:40:57 (9/14) Installing libedit (20191231.3.1-r0) 19:40:57 (10/14) Installing openssh-client (8.3_p1-r0) 19:40:57 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:40:57 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:40:57 (13/14) Installing openssh-server (8.3_p1-r0) 19:40:57 (14/14) Installing openssh (8.3_p1-r0) 19:40:57 Executing busybox-1.31.1-r16.trigger 19:40:57 OK: 237 MiB in 53 packages 19:41:01 Removing intermediate container 201cbd9e282f 19:41:01 ---> 4cf5503a698f 19:41:01 Step 6/8 : WORKDIR /device-virtual-go 19:41:01 ---> Running in 39e88c98eb42 19:41:01 Removing intermediate container 39e88c98eb42 19:41:01 ---> e28db2b65463 19:41:01 Step 7/8 : COPY . . 19:41:01 ---> 50ea69e9150d 19:41:01 Step 8/8 : RUN go mod download 19:41:02 ---> Running in 9e73cbefd9dc 19:41:03 go: finding github.com/BurntSushi/toml v0.3.1 19:41:04 go: finding github.com/OneOfOne/xxhash v1.2.6 19:41:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:41:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:41:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:41:04 go: finding github.com/bgentry/speakeasy v0.1.0 19:41:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:41:04 go: finding github.com/davecgh/go-spew v1.1.1 19:41:04 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:41:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:41:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:41:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:41:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:41:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:41:04 go: finding github.com/edsrzf/mmap-go v1.0.0 19:41:04 go: finding github.com/fatih/color v1.7.0 19:41:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:41:04 go: finding github.com/go-kit/kit v0.8.0 19:41:04 go: finding github.com/go-logfmt/logfmt v0.4.0 19:41:04 go: finding github.com/go-stack/stack v1.8.0 19:41:04 go: finding github.com/golang/snappy v0.0.1 19:41:04 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:41:05 go: finding github.com/google/uuid v1.1.0 19:41:05 go: finding github.com/gorilla/mux v1.7.1 19:41:05 go: finding github.com/hashicorp/consul/api v1.1.0 19:41:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:41:05 go: finding github.com/hashicorp/errwrap v1.0.0 19:41:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:41:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:41:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:41:05 go: finding github.com/hashicorp/go-multierror v1.0.0 19:41:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:41:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:41:05 go: finding github.com/hashicorp/go-syslog v1.0.0 19:41:05 go: finding github.com/hashicorp/go-uuid v1.0.1 19:41:05 go: finding github.com/hashicorp/go.net v0.0.1 19:41:05 go: finding github.com/hashicorp/golang-lru v0.5.0 19:41:05 go: finding github.com/hashicorp/logutils v1.0.0 19:41:05 go: finding github.com/hashicorp/mdns v1.0.0 19:41:05 go: finding github.com/hashicorp/memberlist v0.1.3 19:41:05 go: finding github.com/hashicorp/serf v0.8.2 19:41:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:41:05 go: finding github.com/mattn/go-colorable v0.0.9 19:41:05 go: finding github.com/mattn/go-isatty v0.0.3 19:41:05 go: finding github.com/miekg/dns v1.0.14 19:41:05 go: finding github.com/mitchellh/cli v1.0.0 19:41:05 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:41:05 go: finding github.com/mitchellh/copystructure v1.0.0 19:41:05 go: finding github.com/mitchellh/go-homedir v1.0.0 19:41:05 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:41:06 go: finding github.com/mitchellh/gox v0.4.0 19:41:06 go: finding github.com/mitchellh/iochan v1.0.0 19:41:06 go: finding github.com/mitchellh/mapstructure v1.1.2 19:41:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:41:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:41:06 go: finding github.com/pelletier/go-toml v1.2.0 19:41:06 go: finding github.com/pkg/errors v0.8.1 19:41:06 go: finding github.com/pmezard/go-difflib v1.0.0 19:41:06 go: finding github.com/posener/complete v1.1.1 19:41:06 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 19:41:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:41:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:41:06 go: finding github.com/stretchr/objx v0.1.0 19:41:06 go: finding github.com/stretchr/testify v1.5.1 19:41:06 go: finding github.com/ugorji/go v1.1.4 19:41:06 go: finding github.com/x448/float16 v0.8.4 19:41:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:41:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:41:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:41:06 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 19:41:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:41:06 go: finding gopkg.in/yaml.v2 v2.2.8 19:41:06 go: finding modernc.org/b v1.0.0 19:41:06 go: finding modernc.org/db v1.0.0 19:41:06 go: finding modernc.org/file v1.0.0 19:41:06 go: finding modernc.org/fileutil v1.0.0 19:41:06 go: finding modernc.org/golex v1.0.0 19:41:06 go: finding modernc.org/internal v1.0.0 19:41:07 go: finding modernc.org/lldb v1.0.0 19:41:07 go: finding modernc.org/mathutil v1.0.0 19:41:07 go: finding modernc.org/ql v1.0.0 19:41:07 go: finding modernc.org/sortutil v1.0.0 19:41:07 go: finding modernc.org/strutil v1.0.0 19:41:07 go: finding modernc.org/zappy v1.0.0 19:41:17 Removing intermediate container 9e73cbefd9dc 19:41:17 ---> 89425dd8074f 19:41:17 Successfully built 89425dd8074f 19:41:17 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 19:41:18 + docker inspect -f . ci-base-image-x86_64 19:41:18 . [Pipeline] withDockerContainer 19:41:18 prd-centos7-docker-4c-2g-834 does not seem to be running inside a container 19:41:18 $ 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 ******** ci-base-image-x86_64 cat 19:41:19 $ docker top fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:41:20 + go version 19:41:20 go version go1.13.13 linux/amd64 [Pipeline] sh 19:41:20 + make test 19:41:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:41:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:41:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:41:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.173s coverage: 56.4% of statements 19:41:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:41:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:41:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.770s coverage: 56.4% of statements 19:41:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:41:37 gofmt -l . 19:41:37 [ "`gofmt -l .`" = "" ] 19:41:37 ./bin/test-attribution-txt.sh 19:41:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 19:41:38 Stashed 1 file(s) [Pipeline] } 19:41:38 $ docker stop --time=1 fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 19:41:41 $ docker rm -f fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:41:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:41:43 gofmt -l . 19:41:43 [ "`gofmt -l .`" = "" ] 19:41:43 ./bin/test-attribution-txt.sh 19:41:43 ./bin/test-go-mod-tidy.sh 19:41:43 + ls -al . 19:41:43 total 108 19:41:43 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 31 19:41 . 19:41:43 drwxrwxr-x. 4 jenkins jenkins 28 Aug 31 19:40 .. 19:41:43 -rw-rw-r--. 1 jenkins jenkins 5927 Aug 31 19:40 Attribution.txt 19:41:43 drwxrwxr-x. 2 jenkins jenkins 64 Aug 31 19:40 bin 19:41:43 drwxrwxr-x. 3 jenkins jenkins 32 Aug 31 19:40 cmd 19:41:43 -rw-r--r--. 1 jenkins jenkins 29142 Aug 31 19:41 coverage.out 19:41:43 -rw-rw-r--. 1 jenkins jenkins 1834 Aug 31 19:40 Dockerfile 19:41:43 -rw-rw-r--. 1 jenkins jenkins 957 Aug 31 19:40 Dockerfile.build 19:41:43 drwxrwxr-x. 8 jenkins jenkins 179 Aug 31 19:40 .git 19:41:43 drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 19:40 .github 19:41:43 -rw-rw-r--. 1 jenkins jenkins 258 Aug 31 19:40 .gitignore 19:41:43 -rw-r--r--. 1 jenkins jenkins 855 Aug 31 19:41 go.mod 19:41:43 -rw-r--r--. 1 jenkins jenkins 14894 Aug 31 19:41 go.sum 19:41:43 drwxrwxr-x. 3 jenkins jenkins 20 Aug 31 19:40 internal 19:41:43 -rw-rw-r--. 1 jenkins jenkins 683 Aug 31 19:40 Jenkinsfile 19:41:43 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 31 19:40 LICENSE 19:41:43 -rw-rw-r--. 1 jenkins jenkins 873 Aug 31 19:40 Makefile 19:41:43 -rw-rw-r--. 1 jenkins jenkins 918 Aug 31 19:40 README.md 19:41:43 drwxrwxr-x. 3 jenkins jenkins 58 Aug 31 19:40 .semver 19:41:43 -rw-rw-r--. 1 jenkins jenkins 5 Aug 31 19:37 VERSION 19:41:43 -rw-rw-r--. 1 jenkins jenkins 235 Aug 31 19:40 version.go [Pipeline] isUnix [Pipeline] sh 19:41:44 + 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=ee911db3bea5cea451fe57246642e6a316de7245 --label arch=amd64 --label version=0.0.0 . 19:41:44 Sending build context to Docker daemon 578.6kB 19:41:44 Step 1/22 : ARG BASE=golang:1.13-alpine 19:41:44 Step 2/22 : FROM ${BASE} AS builder 19:41:44 ---> 89425dd8074f 19:41:44 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [Pipeline] stash 19:41:44 ---> Running in 3b4a81cdd759 19:41:44 Warning: overwriting stash ‘coverage-report’ 19:41:44 Removing intermediate container 3b4a81cdd759 19:41:44 ---> 9661b0112155 19:41:44 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:41:44 ---> Running in 008649dc51dc 19:41:44 Removing intermediate container 008649dc51dc 19:41:44 ---> adb9c6fca2c6 19:41:44 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:41:44 ---> Running in 93997b40879c 19:41:44 Removing intermediate container 93997b40879c 19:41:44 ---> d31a408d826a 19:41:44 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:41:45 Stashed 1 file(s) 19:41:45 ---> Running in 66d23d00ca4d [Pipeline] } 19:41:45 $ docker stop --time=1 e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded 19:41:46 Removing intermediate container 66d23d00ca4d 19:41:46 ---> 088e697e5b8e 19:41:46 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:41:46 ---> Running in 2b0b54ca976b 19:41:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:41:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:41:47 OK: 237 MiB in 53 packages 19:41:47 $ docker rm -f e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded 19:41:48 Removing intermediate container 2b0b54ca976b 19:41:48 ---> 7f2f61d62b57 19:41:48 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:41:48 ---> Running in b1126223c160 [Pipeline] // withDockerContainer [Pipeline] } 19:41:48 Removing intermediate container b1126223c160 19:41:48 ---> 78943b3a5f16 19:41:48 Step 9/22 : COPY . . [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:41:48 ---> 85bde1dc4308 19:41:48 Step 10/22 : ARG MAKE='make build' 19:41:48 ---> Running in 6c8c2cf76647 19:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:41:49 Removing intermediate container 6c8c2cf76647 19:41:49 ---> fa26c6371dd8 19:41:49 Step 11/22 : RUN $MAKE 19:41:49 ---> Running in a98004492816 19:41:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:41:49 + ls -al . 19:41:49 total 136 19:41:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:41 . 19:41:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:39 .. 19:41:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:39 .git 19:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:39 .github 19:41:49 -rw-rw-r-- 1 jenkins jenkins 258 Aug 31 19:39 .gitignore 19:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 .semver 19:41:49 -rw-rw-r-- 1 jenkins jenkins 5927 Aug 31 19:39 Attribution.txt 19:41:49 -rw-rw-r-- 1 jenkins jenkins 1834 Aug 31 19:39 Dockerfile 19:41:49 -rw-rw-r-- 1 jenkins jenkins 957 Aug 31 19:39 Dockerfile.build 19:41:49 -rw-rw-r-- 1 jenkins jenkins 683 Aug 31 19:39 Jenkinsfile 19:41:49 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 19:39 LICENSE 19:41:49 -rw-rw-r-- 1 jenkins jenkins 873 Aug 31 19:39 Makefile 19:41:49 -rw-rw-r-- 1 jenkins jenkins 918 Aug 31 19:39 README.md 19:41:49 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 19:37 VERSION 19:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:39 bin 19:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 cmd 19:41:49 -rw-r--r-- 1 jenkins jenkins 29142 Aug 31 19:41 coverage.out 19:41:49 -rw-r--r-- 1 jenkins jenkins 855 Aug 31 19:41 go.mod 19:41:49 -rw-r--r-- 1 jenkins jenkins 14894 Aug 31 19:41 go.sum 19:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 internal 19:41:49 -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 19:39 version.go [Pipeline] isUnix [Pipeline] sh 19:41:49 + 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=ee911db3bea5cea451fe57246642e6a316de7245 --label arch=arm64 --label version=0.0.0 . 19:41:50 Sending build context to Docker daemon 578.6kB 19:41:50 Step 1/22 : ARG BASE=golang:1.13-alpine 19:41:50 Step 2/22 : FROM ${BASE} AS builder 19:41:50 ---> c3a2fe864c84 19:41:50 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:41:50 ---> Running in 781bb30cf113 19:41:51 Removing intermediate container 781bb30cf113 19:41:51 ---> b35d6d434fff 19:41:51 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:41:51 ---> Running in 85659deabb44 19:41:51 Removing intermediate container 85659deabb44 19:41:51 ---> 5de4a37856f0 19:41:51 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:41:51 ---> Running in f090ce089e24 19:41:52 Removing intermediate container f090ce089e24 19:41:52 ---> c17bf1a25a37 19:41:52 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:41:52 ---> Running in 6f72954c5d7f 19:41:54 Removing intermediate container 6f72954c5d7f 19:41:54 ---> b4ee71bc11e2 19:41:54 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:41:55 ---> Running in 572c3a02622b 19:41:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:41:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:41:57 OK: 221 MiB in 53 packages 19:41:59 Removing intermediate container 572c3a02622b 19:41:59 ---> c615c331ce98 19:41:59 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:41:59 ---> Running in 58e91cea3132 19:41:59 Removing intermediate container 58e91cea3132 19:41:59 ---> 23b45ca73292 19:41:59 Step 9/22 : COPY . . 19:42:00 ---> 0685cfed38ea 19:42:00 Step 10/22 : ARG MAKE='make build' 19:42:01 ---> Running in 3dc6608457c4 19:42:01 Removing intermediate container 3dc6608457c4 19:42:01 ---> 0ad8d9bb8a79 19:42:01 Step 11/22 : RUN $MAKE 19:42:01 ---> Running in 3b23d05804e6 19:42:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:42:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:42:04 Removing intermediate container a98004492816 19:42:04 ---> 65dace7e4914 19:42:04 Step 12/22 : FROM alpine 19:42:04 latest: Pulling from library/alpine 19:42:04 df20fa9351a1: Already exists 19:42:05 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:42:05 Status: Downloaded newer image for alpine:latest 19:42:05 ---> a24bb4013296 19:42:05 Step 13/22 : ENV APP_PORT=49990 19:42:05 ---> Running in eaf801b6cf38 19:42:05 Removing intermediate container eaf801b6cf38 19:42:05 ---> 22bf26ed7a6a 19:42:05 Step 14/22 : EXPOSE $APP_PORT 19:42:05 ---> Running in d28c6ae2b6c1 19:42:05 Removing intermediate container d28c6ae2b6c1 19:42:05 ---> 89f241a88cc3 19:42:05 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:42:06 ---> 6ba6ebde2573 19:42:06 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:42:06 ---> da6cd229f800 19:42:06 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:42:06 ---> ba0b20bf1dd7 19:42:06 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:42:06 ---> Running in 194f07d37e4e 19:42:06 Removing intermediate container 194f07d37e4e 19:42:06 ---> 1c0472f76b38 19:42:06 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:42:06 ---> Running in 2c006b1320c4 19:42:06 Removing intermediate container 2c006b1320c4 19:42:06 ---> daabac9645ac 19:42:06 Step 20/22 : LABEL arch=amd64 19:42:06 ---> Running in a1f4b674d570 19:42:07 Removing intermediate container a1f4b674d570 19:42:07 ---> 3a21ec6073fc 19:42:07 Step 21/22 : LABEL git_sha=ee911db3bea5cea451fe57246642e6a316de7245 19:42:07 ---> Running in 4ff983584382 19:42:07 Removing intermediate container 4ff983584382 19:42:07 ---> 3efaaa663150 19:42:07 Step 22/22 : LABEL version=0.0.0 19:42:07 ---> Running in 0baf5c4c2479 19:42:07 Removing intermediate container 0baf5c4c2479 19:42:07 ---> 70b4040a2eb4 19:42:07 [Warning] One or more build-args [ARCH] were not consumed 19:42:07 Successfully built 70b4040a2eb4 19:42:08 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] } 19:42:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:42:45 Removing intermediate container 3b23d05804e6 19:42:45 ---> 3876f5cf4c99 19:42:45 Step 12/22 : FROM alpine 19:42:45 latest: Pulling from library/alpine 19:42:45 b538f80385f9: Already exists 19:42:45 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:42:45 Status: Downloaded newer image for alpine:latest 19:42:45 ---> 62ee0e9f8440 19:42:45 Step 13/22 : ENV APP_PORT=49990 19:42:45 ---> Running in d9cb1deeb175 19:42:46 Removing intermediate container d9cb1deeb175 19:42:46 ---> 412162c133c6 19:42:46 Step 14/22 : EXPOSE $APP_PORT 19:42:46 ---> Running in 9c1d973f27f3 19:42:46 Removing intermediate container 9c1d973f27f3 19:42:46 ---> fb673be85271 19:42:46 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:42:48 ---> 2f20866541ac 19:42:48 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:42:48 ---> ff8beeccd741 19:42:48 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:42:49 ---> 408fd8b79b41 19:42:49 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:42:49 ---> Running in 544664d42453 19:42:50 Removing intermediate container 544664d42453 19:42:50 ---> 8e84ff7a15d3 19:42:50 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:42:50 ---> Running in a1728dd4c169 19:42:50 Removing intermediate container a1728dd4c169 19:42:50 ---> 5ef46c991d12 19:42:50 Step 20/22 : LABEL arch=arm64 19:42:50 ---> Running in 57a8da5593f6 19:42:51 Removing intermediate container 57a8da5593f6 19:42:51 ---> 3f98b0cfee61 19:42:51 Step 21/22 : LABEL git_sha=ee911db3bea5cea451fe57246642e6a316de7245 19:42:51 ---> Running in d399a4581024 19:42:51 Removing intermediate container d399a4581024 19:42:51 ---> 612ae665f42f 19:42:51 Step 22/22 : LABEL version=0.0.0 19:42:52 ---> Running in 480940137c7a 19:42:52 Removing intermediate container 480940137c7a 19:42:52 ---> 1f536493e4da 19:42:52 [Warning] One or more build-args [ARCH] were not consumed 19:42:52 Successfully built 1f536493e4da 19:42:52 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 19:42:55 provisioning config files... 19:42:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2081602614642595951tmp [Pipeline] { [Pipeline] sh 19:42:55 + curl -s https://codecov.io/bash 19:42:55 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2081602614642595951tmp [Pipeline] } 19:42:55 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 19:42:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:42:59 ---> package-listing.sh 19:42:59 ++ facter osfamily 19:42:59 ++ tr '[:upper:]' '[:lower:]' 19:42:59 + OS_FAMILY=redhat 19:42:59 + workspace=/w/workspace/foundry_device-virtual-go_PR-127 19:42:59 + START_PACKAGES=/tmp/packages_start.txt 19:42:59 + END_PACKAGES=/tmp/packages_end.txt 19:42:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:42:59 + PACKAGES=/tmp/packages_start.txt 19:42:59 + '[' /w/workspace/foundry_device-virtual-go_PR-127 ']' 19:42:59 + PACKAGES=/tmp/packages_end.txt 19:42:59 + case "${OS_FAMILY}" in 19:42:59 + rpm -qa 19:42:59 + sort 19:43:03 + '[' -f /tmp/packages_start.txt ']' 19:43:03 + '[' -f /tmp/packages_end.txt ']' 19:43:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:43:03 + '[' /w/workspace/foundry_device-virtual-go_PR-127 ']' 19:43:03 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-127/archives/ 19:43:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-127/archives/ [Pipeline] isUnix [Pipeline] sh 19:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:04 19:43:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:04 alpine: Pulling from edgex-lftools-log-publisher 19:43:04 c9b1b535fdd9: Pulling fs layer 19:43:04 2cc5ad85d9ab: Pulling fs layer 19:43:04 756a868c4378: Pulling fs layer 19:43:04 444b2fc9a129: Pulling fs layer 19:43:04 ea15f1150254: Pulling fs layer 19:43:04 41b27a9f41bf: Pulling fs layer 19:43:04 28c525ee5125: Pulling fs layer 19:43:04 094b1ea09ed8: Pulling fs layer 19:43:04 138eaada9080: Pulling fs layer 19:43:04 0622d0fa9048: Pulling fs layer 19:43:04 444b2fc9a129: Waiting 19:43:04 ea15f1150254: Waiting 19:43:04 41b27a9f41bf: Waiting 19:43:04 28c525ee5125: Waiting 19:43:04 094b1ea09ed8: Waiting 19:43:04 138eaada9080: Waiting 19:43:04 0622d0fa9048: Waiting 19:43:04 2cc5ad85d9ab: Verifying Checksum 19:43:04 2cc5ad85d9ab: Download complete 19:43:04 444b2fc9a129: Verifying Checksum 19:43:04 444b2fc9a129: Download complete 19:43:04 c9b1b535fdd9: Verifying Checksum 19:43:04 c9b1b535fdd9: Download complete 19:43:04 ea15f1150254: Download complete 19:43:04 28c525ee5125: Verifying Checksum 19:43:04 28c525ee5125: Download complete 19:43:05 756a868c4378: Verifying Checksum 19:43:05 756a868c4378: Download complete 19:43:05 c9b1b535fdd9: Pull complete 19:43:05 094b1ea09ed8: Verifying Checksum 19:43:05 094b1ea09ed8: Download complete 19:43:05 138eaada9080: Verifying Checksum 19:43:05 138eaada9080: Download complete 19:43:05 0622d0fa9048: Verifying Checksum 19:43:05 0622d0fa9048: Download complete 19:43:06 2cc5ad85d9ab: Pull complete 19:43:06 41b27a9f41bf: Verifying Checksum 19:43:06 41b27a9f41bf: Download complete 19:43:07 756a868c4378: Pull complete 19:43:07 444b2fc9a129: Pull complete 19:43:07 ea15f1150254: Pull complete 19:43:11 41b27a9f41bf: Pull complete 19:43:11 28c525ee5125: Pull complete 19:43:14 094b1ea09ed8: Pull complete 19:43:14 138eaada9080: Pull complete 19:43:15 0622d0fa9048: Pull complete 19:43:15 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:43:15 prd-centos7-docker-4c-2g-830 does not seem to be running inside a container 19:43:15 $ 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-127 -v /w/workspace/foundry_device-virtual-go_PR-127:/w/workspace/foundry_device-virtual-go_PR-127:rw,z -v /w/workspace/foundry_device-virtual-go_PR-127@tmp:/w/workspace/foundry_device-virtual-go_PR-127@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:10003/edgex-lftools-log-publisher:alpine cat 19:43:17 $ docker top 79afb2901cfd2164b63fe9d16bc7b4f526196418bd9789d6f93dab85f5f83d5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:18 provisioning config files... 19:43:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2842559761690182230tmp [Pipeline] { [Pipeline] echo 19:43:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:43:18 ---> create-netrc.sh [Pipeline] echo 19:43:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:43:19 ---> logs-deploy.sh 19:43:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-127/1 19:43:19 INFO: archiving workspace using pattern(s): 19:43:20 Archives upload complete. 19:43:20 INFO: archiving logs to Nexus