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 [2020-08-31T19:37:04.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-31T19:37:04.727Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-31T19:37:04.931Z] ========================================================= [2020-08-31T19:37:04.931Z] EdgeX Global Pipelines Version Info [2020-08-31T19:37:04.931Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:37:06.344Z] ------------------- [2020-08-31T19:37:06.344Z] stable info: [2020-08-31T19:37:06.344Z] ------------------- [2020-08-31T19:37:06.344Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-31T19:37:06.344Z] Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf [2020-08-31T19:37:06.344Z] Message: update stable to v1.0.114 [2020-08-31T19:37:07.288Z] ------------------- [2020-08-31T19:37:07.288Z] experimental info: [2020-08-31T19:37:07.288Z] ------------------- [2020-08-31T19:37:07.288Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-31T19:37:07.288Z] Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf [2020-08-31T19:37:07.288Z] Message: update experimental to v1.0.114 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-08-31T19:37:07.874Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-08-31T19:37:07.994Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-08-31T19:37:08.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-08-31T19:37:08.213Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-08-31T19:37:08.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-08-31T19:37:08.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-08-31T19:37:08.564Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-08-31T19:37:08.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-08-31T19:37:08.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-08-31T19:37:08.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-08-31T19:37:09.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-08-31T19:37:09.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-08-31T19:37:09.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-08-31T19:37:09.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-08-31T19:37:09.486Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-08-31T19:37:09.588Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-08-31T19:37:09.693Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-08-31T19:37:09.802Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-08-31T19:37:09.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-08-31T19:37:10.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-08-31T19:37:10.148Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-08-31T19:37:10.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-08-31T19:37:10.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2020-08-31T19:37:10.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2020-08-31T19:37:10.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2020-08-31T19:37:11.034Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee911db3bea5cea451fe57246642e6a316de7245 [Pipeline] echo [2020-08-31T19:37:11.149Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee911db [Pipeline] echo [2020-08-31T19:37:11.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:37:11.985Z] + git log --format=format:%s -1 ee911db3bea5cea451fe57246642e6a316de7245 [Pipeline] echo [2020-08-31T19:37:12.062Z] GIT_COMMIT: ee911db3bea5cea451fe57246642e6a316de7245, Commit Message: refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125 [Pipeline] echo [2020-08-31T19:37:12.151Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:37:13.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:37:13.333Z] [2020-08-31T19:37:13.333Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:37:13.743Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:37:13.743Z] latest: Pulling from edgex-devops/git-semver [2020-08-31T19:37:13.743Z] 31603596830f: Pulling fs layer [2020-08-31T19:37:13.743Z] 2a8b12db71e7: Pulling fs layer [2020-08-31T19:37:13.743Z] 6ca5941a6612: Pulling fs layer [2020-08-31T19:37:13.743Z] ecc8261a40a4: Pulling fs layer [2020-08-31T19:37:13.743Z] ecc8261a40a4: Waiting [2020-08-31T19:37:13.743Z] 2a8b12db71e7: Download complete [2020-08-31T19:37:13.743Z] 31603596830f: Verifying Checksum [2020-08-31T19:37:13.743Z] 31603596830f: Download complete [2020-08-31T19:37:14.008Z] ecc8261a40a4: Verifying Checksum [2020-08-31T19:37:14.008Z] ecc8261a40a4: Download complete [2020-08-31T19:37:14.008Z] 6ca5941a6612: Verifying Checksum [2020-08-31T19:37:14.008Z] 6ca5941a6612: Download complete [2020-08-31T19:37:14.272Z] 31603596830f: Pull complete [2020-08-31T19:37:14.272Z] 2a8b12db71e7: Pull complete [2020-08-31T19:37:14.851Z] 6ca5941a6612: Pull complete [2020-08-31T19:37:15.112Z] ecc8261a40a4: Pull complete [2020-08-31T19:37:15.112Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-31T19:37:15.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:37:15.112Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-31T19:37:15.500Z] prd-centos7-docker-4c-2g-830 does not seem to be running inside a container [2020-08-31T19:37:15.551Z] $ 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 [2020-08-31T19:37:17.345Z] $ docker top 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-31T19:37:17.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-31T19:37:17.677Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-31T19:37:17.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-31T19:37:17.965Z] $ docker exec 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent [2020-08-31T19:37:18.138Z] SSH_AUTH_SOCK=/tmp/ssh-3M9uxh6OHqhh/agent.13 [2020-08-31T19:37:18.138Z] SSH_AGENT_PID=19 [2020-08-31T19:37:18.150Z] Running ssh-add (command line suppressed) [2020-08-31T19:37:18.268Z] 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) [2020-08-31T19:37:18.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-31T19:37:18.729Z] + git describe --exact-match --tags HEAD [2020-08-31T19:37:18.729Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-31T19:37:18.773Z] $ docker exec --env ******** --env ******** 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent -k [2020-08-31T19:37:18.884Z] unset SSH_AUTH_SOCK; [2020-08-31T19:37:18.885Z] unset SSH_AGENT_PID; [2020-08-31T19:37:18.885Z] echo Agent pid 19 killed; [2020-08-31T19:37:18.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-31T19:37:19.060Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-31T19:37:19.060Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-31T19:37:19.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-31T19:37:19.187Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-31T19:37:19.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-31T19:37:19.357Z] $ docker exec 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent [2020-08-31T19:37:19.513Z] SSH_AUTH_SOCK=/tmp/ssh-CEaCAMM9K3rO/agent.47 [2020-08-31T19:37:19.513Z] SSH_AGENT_PID=52 [2020-08-31T19:37:19.518Z] Running ssh-add (command line suppressed) [2020-08-31T19:37:19.631Z] 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) [2020-08-31T19:37:19.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-31T19:37:20.041Z] + git semver init [2020-08-31T19:37:20.041Z] # -> Open(): unable to determine branch for HEAD [2020-08-31T19:37:20.041Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-127/.git [2020-08-31T19:37:20.041Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-127 [2020-08-31T19:37:20.041Z] # $SEMVER_REMOTE_NAME = origin [2020-08-31T19:37:20.041Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-31T19:37:20.041Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-31T19:37:20.041Z] # $SEMVER_BRANCH = PR-127 [2020-08-31T19:37:20.041Z] # $SEMVER_TEMP = /tmp/semver-938360554 [2020-08-31T19:37:20.041Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-08-31T19:37:20.610Z] # '/tmp/semver-938360554' -> '/w/workspace/foundry_device-virtual-go_PR-127/.semver' [2020-08-31T19:37:20.610Z] # -> Force: false [2020-08-31T19:37:20.610Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-127/.semver [Pipeline] } [2020-08-31T19:37:20.632Z] $ docker exec --env ******** --env ******** 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 ssh-agent -k [2020-08-31T19:37:20.739Z] unset SSH_AUTH_SOCK; [2020-08-31T19:37:20.739Z] unset SSH_AGENT_PID; [2020-08-31T19:37:20.739Z] echo Agent pid 52 killed; [2020-08-31T19:37:20.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-31T19:37:21.379Z] + git semver [Pipeline] } [2020-08-31T19:37:21.414Z] $ docker stop --time=1 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 [2020-08-31T19:37:22.810Z] $ docker rm -f 55ff115a947ef870eb64e024b90c33091b7d11d71b15dd2bab18a33bce6209e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-31T19:37:23.499Z] Stashed 25 file(s) [Pipeline] echo [2020-08-31T19:37:23.519Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-08-31T19:37:23.656Z] 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-08-31T19:37:39.279Z] Still waiting to schedule task [2020-08-31T19:37:39.279Z] ‘prd-centos7-docker-4c-2g-213’ is offline [2020-08-31T19:37:39.305Z] Still waiting to schedule task [2020-08-31T19:37:39.305Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-31T19:39:26.919Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-832 in /w/workspace/foundry_device-virtual-go_PR-127 [Pipeline] { [Pipeline] ws [2020-08-31T19:39:26.996Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-08-31T19:39:32.048Z] using credential edgex-jenkins-ssh [2020-08-31T19:39:32.114Z] Cloning the remote Git repository [2020-08-31T19:39:32.114Z] Cloning with configured refspecs honoured and without tags [2020-08-31T19:39:32.149Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:39:32.250Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-08-31T19:39:33.168Z] Fetching without tags [2020-08-31T19:39:32.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:39:32.334Z] > git --version # timeout=10 [2020-08-31T19:39:32.354Z] > git --version # 'git version 2.17.1' [2020-08-31T19:39:32.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:39:32.423Z] > 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 [2020-08-31T19:39:33.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-08-31T19:39:33.084Z] > git config --add remote.origin.fetch +refs/pull/127/head:refs/remotes/origin/PR-127 # timeout=10 [2020-08-31T19:39:33.099Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:39:33.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-08-31T19:39:33.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:39:33.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:39:33.176Z] > 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 [2020-08-31T19:39:33.622Z] Merging remotes/origin/master commit 5dbeb2ee12038eac02127f3d491aa26679cb3e38 into PR head commit ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:39:33.828Z] Merge succeeded, producing ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:39:33.828Z] Checking out Revision ee911db3bea5cea451fe57246642e6a316de7245 (PR-127) [2020-08-31T19:39:33.628Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:39:33.654Z] > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 [2020-08-31T19:39:33.731Z] > git remote # timeout=10 [2020-08-31T19:39:33.747Z] > git config --get remote.origin.url # timeout=10 [2020-08-31T19:39:33.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:39:33.776Z] > git merge 5dbeb2ee12038eac02127f3d491aa26679cb3e38 # timeout=10 [2020-08-31T19:39:33.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-31T19:39:33.820Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:39:33.845Z] > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 [2020-08-31T19:39:38.078Z] Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125" [2020-08-31T19:39:38.130Z] > git --version # timeout=10 [2020-08-31T19:39:38.143Z] > git --version # 'git version 2.17.1' [2020-08-31T19:39:38.154Z] fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-31T19:39:39.373Z] ========================================================= [2020-08-31T19:39:39.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-31T19:39:39.373Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:39:40.583Z] + 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-08-31T19:39:41.577Z] Sending build context to Docker daemon 533kB [2020-08-31T19:39:41.577Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-31T19:39:41.577Z] Step 2/8 : FROM ${BASE} [2020-08-31T19:39:41.851Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-31T19:39:41.851Z] b538f80385f9: Pulling fs layer [2020-08-31T19:39:41.851Z] 74f711af9a0d: Pulling fs layer [2020-08-31T19:39:41.851Z] 99f96fe45779: Pulling fs layer [2020-08-31T19:39:41.851Z] fd7a069fd194: Pulling fs layer [2020-08-31T19:39:41.851Z] 66aa3694b03b: Pulling fs layer [2020-08-31T19:39:41.851Z] 170f70906a0f: Pulling fs layer [2020-08-31T19:39:41.851Z] ad7c5574e4b9: Pulling fs layer [2020-08-31T19:39:41.851Z] e772456be8f7: Pulling fs layer [2020-08-31T19:39:41.851Z] c890913d741a: Pulling fs layer [2020-08-31T19:39:41.851Z] 2480fcc9aa5a: Pulling fs layer [2020-08-31T19:39:41.851Z] 09adf4765672: Pulling fs layer [2020-08-31T19:39:41.851Z] fd7a069fd194: Waiting [2020-08-31T19:39:41.851Z] 66aa3694b03b: Waiting [2020-08-31T19:39:41.851Z] 170f70906a0f: Waiting [2020-08-31T19:39:41.851Z] ad7c5574e4b9: Waiting [2020-08-31T19:39:41.851Z] e772456be8f7: Waiting [2020-08-31T19:39:41.851Z] c890913d741a: Waiting [2020-08-31T19:39:41.851Z] 2480fcc9aa5a: Waiting [2020-08-31T19:39:41.851Z] 09adf4765672: Waiting [2020-08-31T19:39:41.851Z] 99f96fe45779: Verifying Checksum [2020-08-31T19:39:41.851Z] 99f96fe45779: Download complete [2020-08-31T19:39:41.851Z] 74f711af9a0d: Download complete [2020-08-31T19:39:41.851Z] 66aa3694b03b: Download complete [2020-08-31T19:39:41.851Z] 170f70906a0f: Verifying Checksum [2020-08-31T19:39:41.851Z] 170f70906a0f: Download complete [2020-08-31T19:39:41.851Z] b538f80385f9: Verifying Checksum [2020-08-31T19:39:42.836Z] b538f80385f9: Pull complete [2020-08-31T19:39:43.443Z] 74f711af9a0d: Pull complete [2020-08-31T19:39:43.718Z] 99f96fe45779: Pull complete [2020-08-31T19:39:44.698Z] ad7c5574e4b9: Verifying Checksum [2020-08-31T19:39:44.698Z] ad7c5574e4b9: Download complete [2020-08-31T19:39:44.698Z] c890913d741a: Download complete [2020-08-31T19:39:46.133Z] 2480fcc9aa5a: Verifying Checksum [2020-08-31T19:39:46.133Z] 09adf4765672: Verifying Checksum [2020-08-31T19:39:46.133Z] 09adf4765672: Download complete [2020-08-31T19:39:47.574Z] e772456be8f7: Verifying Checksum [2020-08-31T19:39:47.574Z] e772456be8f7: Download complete [2020-08-31T19:39:47.849Z] fd7a069fd194: Verifying Checksum [2020-08-31T19:39:47.849Z] fd7a069fd194: Download complete [2020-08-31T19:40:00.278Z] fd7a069fd194: Pull complete [2020-08-31T19:40:00.278Z] 66aa3694b03b: Pull complete [2020-08-31T19:40:00.278Z] 170f70906a0f: Pull complete [2020-08-31T19:40:02.900Z] ad7c5574e4b9: Pull complete [2020-08-31T19:40:07.221Z] e772456be8f7: Pull complete [2020-08-31T19:40:07.497Z] c890913d741a: Pull complete [2020-08-31T19:40:10.144Z] 2480fcc9aa5a: Pull complete [2020-08-31T19:40:10.443Z] 09adf4765672: Pull complete [2020-08-31T19:40:10.444Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-31T19:40:10.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-31T19:40:10.444Z] ---> 2248a725d1cf [2020-08-31T19:40:10.444Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-31T19:40:15.915Z] ---> Running in 4a230685dd38 [2020-08-31T19:40:15.915Z] Removing intermediate container 4a230685dd38 [2020-08-31T19:40:15.915Z] ---> 3df7cb2650f4 [2020-08-31T19:40:15.915Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:40:16.188Z] ---> Running in 1c6044ccb019 [2020-08-31T19:40:18.816Z] Removing intermediate container 1c6044ccb019 [2020-08-31T19:40:18.816Z] ---> 37e6a552724a [2020-08-31T19:40:18.816Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-31T19:40:19.091Z] ---> Running in 8a106b89cfb1 [2020-08-31T19:40:20.418Z] Running on prd-centos7-docker-4c-2g-834 in /w/workspace/foundry_device-virtual-go_PR-127 [Pipeline] { [Pipeline] ws [2020-08-31T19:40:20.511Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2020-08-31T19:40:20.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] checkout [2020-08-31T19:40:21.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-31T19:40:21.714Z] (1/14) Installing libmagic (5.38-r0) [2020-08-31T19:40:21.989Z] (2/14) Installing file (5.38-r0) [2020-08-31T19:40:22.262Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-31T19:40:22.262Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-31T19:40:23.045Z] using credential edgex-jenkins-ssh [2020-08-31T19:40:23.113Z] Cloning the remote Git repository [2020-08-31T19:40:23.113Z] Cloning with configured refspecs honoured and without tags [2020-08-31T19:40:23.145Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:40:23.214Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-08-31T19:40:23.902Z] Fetching without tags [2020-08-31T19:40:24.317Z] Merging remotes/origin/master commit 5dbeb2ee12038eac02127f3d491aa26679cb3e38 into PR head commit ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:40:23.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:40:23.358Z] > git --version # timeout=10 [2020-08-31T19:40:23.365Z] > git --version # 'git version 2.16.5' [2020-08-31T19:40:23.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:40:23.390Z] > 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 [2020-08-31T19:40:23.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-08-31T19:40:23.879Z] > git config --add remote.origin.fetch +refs/pull/127/head:refs/remotes/origin/PR-127 # timeout=10 [2020-08-31T19:40:23.885Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:40:23.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-08-31T19:40:23.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-08-31T19:40:23.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:40:23.914Z] > 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 [2020-08-31T19:40:24.326Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:40:24.332Z] > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 [2020-08-31T19:40:24.395Z] Merge succeeded, producing ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:40:24.395Z] Checking out Revision ee911db3bea5cea451fe57246642e6a316de7245 (PR-127) [2020-08-31T19:40:24.362Z] > git remote # timeout=10 [2020-08-31T19:40:24.368Z] > git config --get remote.origin.url # timeout=10 [2020-08-31T19:40:24.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:40:24.377Z] > git merge 5dbeb2ee12038eac02127f3d491aa26679cb3e38 # timeout=10 [2020-08-31T19:40:24.387Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-31T19:40:24.399Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:40:24.409Z] > git checkout -f ee911db3bea5cea451fe57246642e6a316de7245 # timeout=10 [2020-08-31T19:40:25.656Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-31T19:40:25.656Z] (6/14) Installing patch (2.7.6-r6) [2020-08-31T19:40:25.656Z] (7/14) Installing build-base (0.5-r2) [2020-08-31T19:40:25.945Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-31T19:40:25.945Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-31T19:40:25.945Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-31T19:40:26.220Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-31T19:40:26.492Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-31T19:40:26.492Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-31T19:40:26.492Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-31T19:40:26.763Z] Executing busybox-1.31.1-r16.trigger [2020-08-31T19:40:26.764Z] OK: 221 MiB in 53 packages [2020-08-31T19:40:28.011Z] Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#125" [2020-08-31T19:40:28.035Z] > git --version # timeout=10 [2020-08-31T19:40:28.041Z] > git --version # 'git version 2.16.5' [2020-08-31T19:40:28.049Z] fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-31T19:40:28.993Z] ========================================================= [2020-08-31T19:40:28.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-31T19:40:28.993Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:40:29.690Z] + 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-08-31T19:40:29.952Z] Sending build context to Docker daemon 533kB [2020-08-31T19:40:29.952Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-31T19:40:29.952Z] Step 2/8 : FROM ${BASE} [2020-08-31T19:40:29.952Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-31T19:40:29.952Z] df20fa9351a1: Pulling fs layer [2020-08-31T19:40:29.952Z] ed8968b2872e: Pulling fs layer [2020-08-31T19:40:29.952Z] a92cc7c5fd73: Pulling fs layer [2020-08-31T19:40:29.952Z] 2dd03ba5bac4: Pulling fs layer [2020-08-31T19:40:29.952Z] 1e091d79d1de: Pulling fs layer [2020-08-31T19:40:29.952Z] 481702a1767f: Pulling fs layer [2020-08-31T19:40:29.952Z] f64a6f60c768: Pulling fs layer [2020-08-31T19:40:29.952Z] e78d2573fc39: Pulling fs layer [2020-08-31T19:40:29.952Z] e876d2f968b6: Pulling fs layer [2020-08-31T19:40:29.952Z] ce8a83651883: Pulling fs layer [2020-08-31T19:40:29.952Z] 07967f4d0e4b: Pulling fs layer [2020-08-31T19:40:29.952Z] f64a6f60c768: Waiting [2020-08-31T19:40:29.952Z] e78d2573fc39: Waiting [2020-08-31T19:40:29.952Z] e876d2f968b6: Waiting [2020-08-31T19:40:29.952Z] ce8a83651883: Waiting [2020-08-31T19:40:29.952Z] 07967f4d0e4b: Waiting [2020-08-31T19:40:29.952Z] 2dd03ba5bac4: Waiting [2020-08-31T19:40:29.952Z] 1e091d79d1de: Waiting [2020-08-31T19:40:29.952Z] 481702a1767f: Waiting [2020-08-31T19:40:30.225Z] a92cc7c5fd73: Verifying Checksum [2020-08-31T19:40:30.225Z] a92cc7c5fd73: Download complete [2020-08-31T19:40:30.225Z] ed8968b2872e: Verifying Checksum [2020-08-31T19:40:30.225Z] ed8968b2872e: Download complete [2020-08-31T19:40:30.225Z] 1e091d79d1de: Verifying Checksum [2020-08-31T19:40:30.225Z] 1e091d79d1de: Download complete [2020-08-31T19:40:30.225Z] 481702a1767f: Download complete [2020-08-31T19:40:30.225Z] df20fa9351a1: Verifying Checksum [2020-08-31T19:40:30.225Z] df20fa9351a1: Download complete [2020-08-31T19:40:30.490Z] df20fa9351a1: Pull complete [2020-08-31T19:40:31.078Z] f64a6f60c768: Verifying Checksum [2020-08-31T19:40:31.078Z] f64a6f60c768: Download complete [2020-08-31T19:40:31.078Z] e876d2f968b6: Verifying Checksum [2020-08-31T19:40:31.078Z] e876d2f968b6: Download complete [2020-08-31T19:40:31.358Z] ed8968b2872e: Pull complete [2020-08-31T19:40:31.637Z] a92cc7c5fd73: Pull complete [2020-08-31T19:40:31.901Z] 2dd03ba5bac4: Verifying Checksum [2020-08-31T19:40:31.901Z] 2dd03ba5bac4: Download complete [2020-08-31T19:40:31.901Z] e78d2573fc39: Verifying Checksum [2020-08-31T19:40:31.901Z] e78d2573fc39: Download complete [2020-08-31T19:40:31.901Z] ce8a83651883: Verifying Checksum [2020-08-31T19:40:31.901Z] ce8a83651883: Download complete [2020-08-31T19:40:31.901Z] 07967f4d0e4b: Verifying Checksum [2020-08-31T19:40:31.901Z] 07967f4d0e4b: Download complete [2020-08-31T19:40:32.181Z] Removing intermediate container 8a106b89cfb1 [2020-08-31T19:40:32.181Z] ---> d3b3e8c899b7 [2020-08-31T19:40:32.181Z] Step 6/8 : WORKDIR /device-virtual-go [2020-08-31T19:40:32.181Z] ---> Running in d76c160de834 [2020-08-31T19:40:32.181Z] Removing intermediate container d76c160de834 [2020-08-31T19:40:32.181Z] ---> fd454ddf14a9 [2020-08-31T19:40:32.181Z] Step 7/8 : COPY . . [2020-08-31T19:40:32.779Z] ---> f59542dbd2b3 [2020-08-31T19:40:32.779Z] Step 8/8 : RUN go mod download [2020-08-31T19:40:33.052Z] ---> Running in 284f15d66d5e [2020-08-31T19:40:36.424Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-31T19:40:36.424Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-31T19:40:36.424Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-31T19:40:36.424Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-31T19:40:36.424Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-31T19:40:36.424Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-31T19:40:36.424Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-31T19:40:36.424Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-31T19:40:36.424Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-31T19:40:36.424Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-31T19:40:36.424Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-31T19:40:36.424Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-31T19:40:36.698Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-31T19:40:36.698Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-31T19:40:36.698Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-08-31T19:40:36.698Z] go: finding github.com/fatih/color v1.7.0 [2020-08-31T19:40:36.698Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-31T19:40:36.698Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-31T19:40:36.698Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-31T19:40:36.969Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-31T19:40:36.969Z] go: finding github.com/golang/snappy v0.0.1 [2020-08-31T19:40:36.969Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-31T19:40:36.969Z] go: finding github.com/google/uuid v1.1.0 [2020-08-31T19:40:36.969Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-31T19:40:36.969Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-31T19:40:36.969Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-31T19:40:37.241Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-31T19:40:37.515Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-31T19:40:37.788Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-31T19:40:37.788Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-31T19:40:37.788Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-31T19:40:37.788Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-31T19:40:37.788Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-31T19:40:37.788Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-31T19:40:37.788Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-31T19:40:38.057Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-31T19:40:38.328Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-31T19:40:38.328Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-31T19:40:38.328Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-31T19:40:38.328Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-31T19:40:38.328Z] go: finding github.com/posener/complete v1.1.1 [2020-08-31T19:40:38.328Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-08-31T19:40:38.328Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-31T19:40:38.527Z] 2dd03ba5bac4: Pull complete [2020-08-31T19:40:38.527Z] 1e091d79d1de: Pull complete [2020-08-31T19:40:38.527Z] 481702a1767f: Pull complete [2020-08-31T19:40:38.598Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-31T19:40:38.598Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-31T19:40:38.598Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-31T19:40:38.598Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-31T19:40:38.598Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-31T19:40:38.598Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-31T19:40:38.598Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-31T19:40:38.868Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-31T19:40:38.868Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-08-31T19:40:38.868Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-31T19:40:38.868Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-31T19:40:38.868Z] go: finding modernc.org/b v1.0.0 [2020-08-31T19:40:38.868Z] go: finding modernc.org/db v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/file v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/fileutil v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/golex v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/internal v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/lldb v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/mathutil v1.0.0 [2020-08-31T19:40:39.138Z] go: finding modernc.org/ql v1.0.0 [2020-08-31T19:40:39.411Z] go: finding modernc.org/sortutil v1.0.0 [2020-08-31T19:40:39.411Z] go: finding modernc.org/strutil v1.0.0 [2020-08-31T19:40:39.411Z] go: finding modernc.org/zappy v1.0.0 [2020-08-31T19:40:42.758Z] f64a6f60c768: Pull complete [2020-08-31T19:40:46.119Z] e78d2573fc39: Pull complete [2020-08-31T19:40:46.119Z] e876d2f968b6: Pull complete [2020-08-31T19:40:47.076Z] ce8a83651883: Pull complete [2020-08-31T19:40:47.337Z] 07967f4d0e4b: Pull complete [2020-08-31T19:40:47.337Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-31T19:40:47.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-31T19:40:47.337Z] ---> 5d7c900382c6 [2020-08-31T19:40:47.337Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-31T19:40:48.290Z] ---> Running in 6098e60dce65 [2020-08-31T19:40:48.290Z] Removing intermediate container 6098e60dce65 [2020-08-31T19:40:48.290Z] ---> 7b1629e8a248 [2020-08-31T19:40:48.290Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:40:48.290Z] ---> Running in 286424d3073c [2020-08-31T19:40:49.241Z] Removing intermediate container 286424d3073c [2020-08-31T19:40:49.241Z] ---> 38593377656f [2020-08-31T19:40:49.241Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-31T19:40:49.504Z] ---> Running in 201cbd9e282f [2020-08-31T19:40:49.578Z] Removing intermediate container 284f15d66d5e [2020-08-31T19:40:49.578Z] ---> c3a2fe864c84 [2020-08-31T19:40:49.578Z] Successfully built c3a2fe864c84 [2020-08-31T19:40:49.578Z] 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-08-31T19:40:50.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-31T19:40:50.514Z] + docker inspect -f . ci-base-image-arm64 [2020-08-31T19:40:50.514Z] . [Pipeline] withDockerContainer [2020-08-31T19:40:50.800Z] prd-ubuntu18.04-docker-arm64-4c-16g-832 does not seem to be running inside a container [2020-08-31T19:40:50.865Z] $ 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 [2020-08-31T19:40:51.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-31T19:40:51.286Z] (1/14) Installing libmagic (5.38-r0) [2020-08-31T19:40:51.547Z] (2/14) Installing file (5.38-r0) [2020-08-31T19:40:51.547Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-31T19:40:51.808Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-31T19:40:52.788Z] $ docker top e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-31T19:40:54.292Z] + go version [2020-08-31T19:40:54.292Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-31T19:40:55.362Z] + make test [2020-08-31T19:40:55.362Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-31T19:40:56.354Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-08-31T19:40:57.096Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-31T19:40:57.096Z] (6/14) Installing patch (2.7.6-r6) [2020-08-31T19:40:57.096Z] (7/14) Installing build-base (0.5-r2) [2020-08-31T19:40:57.096Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-31T19:40:57.096Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-31T19:40:57.096Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-31T19:40:57.356Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-31T19:40:57.356Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-31T19:40:57.617Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-31T19:40:57.617Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-31T19:40:57.895Z] Executing busybox-1.31.1-r16.trigger [2020-08-31T19:40:57.895Z] OK: 237 MiB in 53 packages [2020-08-31T19:41:01.209Z] Removing intermediate container 201cbd9e282f [2020-08-31T19:41:01.209Z] ---> 4cf5503a698f [2020-08-31T19:41:01.209Z] Step 6/8 : WORKDIR /device-virtual-go [2020-08-31T19:41:01.209Z] ---> Running in 39e88c98eb42 [2020-08-31T19:41:01.209Z] Removing intermediate container 39e88c98eb42 [2020-08-31T19:41:01.209Z] ---> e28db2b65463 [2020-08-31T19:41:01.209Z] Step 7/8 : COPY . . [2020-08-31T19:41:01.786Z] ---> 50ea69e9150d [2020-08-31T19:41:01.786Z] Step 8/8 : RUN go mod download [2020-08-31T19:41:02.050Z] ---> Running in 9e73cbefd9dc [2020-08-31T19:41:03.975Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-31T19:41:04.238Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-31T19:41:04.238Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-31T19:41:04.238Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-31T19:41:04.238Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-31T19:41:04.238Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-31T19:41:04.238Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-31T19:41:04.238Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-31T19:41:04.503Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-31T19:41:04.503Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-08-31T19:41:04.764Z] go: finding github.com/fatih/color v1.7.0 [2020-08-31T19:41:04.764Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-31T19:41:04.764Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-31T19:41:04.764Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-31T19:41:04.764Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-31T19:41:04.764Z] go: finding github.com/golang/snappy v0.0.1 [2020-08-31T19:41:04.764Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-31T19:41:05.027Z] go: finding github.com/google/uuid v1.1.0 [2020-08-31T19:41:05.027Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-31T19:41:05.027Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-31T19:41:05.027Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-31T19:41:05.027Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-31T19:41:05.027Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-31T19:41:05.027Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-31T19:41:05.289Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-31T19:41:05.550Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-31T19:41:05.550Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-31T19:41:05.550Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-31T19:41:05.550Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-31T19:41:05.550Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-31T19:41:05.550Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-31T19:41:05.550Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-31T19:41:05.811Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-31T19:41:05.811Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-31T19:41:05.811Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-31T19:41:05.811Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-31T19:41:05.811Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-31T19:41:05.811Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-31T19:41:05.811Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-31T19:41:06.073Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-31T19:41:06.073Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-31T19:41:06.073Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-31T19:41:06.073Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-31T19:41:06.073Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-31T19:41:06.073Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-31T19:41:06.073Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-31T19:41:06.336Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-31T19:41:06.336Z] go: finding github.com/posener/complete v1.1.1 [2020-08-31T19:41:06.336Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-08-31T19:41:06.336Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-31T19:41:06.336Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-31T19:41:06.336Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-31T19:41:06.336Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-31T19:41:06.600Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-31T19:41:06.600Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-31T19:41:06.600Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-31T19:41:06.600Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-31T19:41:06.600Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-31T19:41:06.600Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-08-31T19:41:06.600Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-31T19:41:06.861Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-31T19:41:06.861Z] go: finding modernc.org/b v1.0.0 [2020-08-31T19:41:06.861Z] go: finding modernc.org/db v1.0.0 [2020-08-31T19:41:06.861Z] go: finding modernc.org/file v1.0.0 [2020-08-31T19:41:06.861Z] go: finding modernc.org/fileutil v1.0.0 [2020-08-31T19:41:06.861Z] go: finding modernc.org/golex v1.0.0 [2020-08-31T19:41:06.861Z] go: finding modernc.org/internal v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/lldb v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/mathutil v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/ql v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/sortutil v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/strutil v1.0.0 [2020-08-31T19:41:07.128Z] go: finding modernc.org/zappy v1.0.0 [2020-08-31T19:41:17.181Z] Removing intermediate container 9e73cbefd9dc [2020-08-31T19:41:17.181Z] ---> 89425dd8074f [2020-08-31T19:41:17.181Z] Successfully built 89425dd8074f [2020-08-31T19:41:17.181Z] 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-08-31T19:41:18.164Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-31T19:41:18.164Z] . [Pipeline] withDockerContainer [2020-08-31T19:41:18.293Z] prd-centos7-docker-4c-2g-834 does not seem to be running inside a container [2020-08-31T19:41:18.337Z] $ 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 [2020-08-31T19:41:19.557Z] $ docker top fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-31T19:41:20.093Z] + go version [2020-08-31T19:41:20.093Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-31T19:41:20.424Z] + make test [2020-08-31T19:41:20.424Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-31T19:41:21.390Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-08-31T19:41:33.801Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-08-31T19:41:34.407Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.173s coverage: 56.4% of statements [2020-08-31T19:41:34.678Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-31T19:41:35.372Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-08-31T19:41:35.372Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.770s coverage: 56.4% of statements [2020-08-31T19:41:35.372Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-31T19:41:37.304Z] gofmt -l . [2020-08-31T19:41:37.305Z] [ "`gofmt -l .`" = "" ] [2020-08-31T19:41:37.305Z] ./bin/test-attribution-txt.sh [2020-08-31T19:41:38.268Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-31T19:41:38.908Z] Stashed 1 file(s) [Pipeline] } [2020-08-31T19:41:38.931Z] $ docker stop --time=1 fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 [2020-08-31T19:41:41.813Z] $ docker rm -f fc961a2a7604acc22a24b6f796d1a220e62fafba14b67312f75ac8e5e650bfe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:41:43.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-31T19:41:43.708Z] gofmt -l . [2020-08-31T19:41:43.708Z] [ "`gofmt -l .`" = "" ] [2020-08-31T19:41:43.708Z] ./bin/test-attribution-txt.sh [2020-08-31T19:41:43.708Z] ./bin/test-go-mod-tidy.sh [2020-08-31T19:41:43.723Z] + ls -al . [2020-08-31T19:41:43.723Z] total 108 [2020-08-31T19:41:43.723Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 31 19:41 . [2020-08-31T19:41:43.723Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 31 19:40 .. [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 5927 Aug 31 19:40 Attribution.txt [2020-08-31T19:41:43.723Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 31 19:40 bin [2020-08-31T19:41:43.723Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 31 19:40 cmd [2020-08-31T19:41:43.723Z] -rw-r--r--. 1 jenkins jenkins 29142 Aug 31 19:41 coverage.out [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 1834 Aug 31 19:40 Dockerfile [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 957 Aug 31 19:40 Dockerfile.build [2020-08-31T19:41:43.723Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 31 19:40 .git [2020-08-31T19:41:43.723Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 19:40 .github [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 258 Aug 31 19:40 .gitignore [2020-08-31T19:41:43.723Z] -rw-r--r--. 1 jenkins jenkins 855 Aug 31 19:41 go.mod [2020-08-31T19:41:43.723Z] -rw-r--r--. 1 jenkins jenkins 14894 Aug 31 19:41 go.sum [2020-08-31T19:41:43.723Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 31 19:40 internal [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 683 Aug 31 19:40 Jenkinsfile [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 31 19:40 LICENSE [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 873 Aug 31 19:40 Makefile [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 918 Aug 31 19:40 README.md [2020-08-31T19:41:43.723Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 31 19:40 .semver [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 31 19:37 VERSION [2020-08-31T19:41:43.723Z] -rw-rw-r--. 1 jenkins jenkins 235 Aug 31 19:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:41:44.076Z] + 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 . [2020-08-31T19:41:44.076Z] Sending build context to Docker daemon 578.6kB [2020-08-31T19:41:44.076Z] Step 1/22 : ARG BASE=golang:1.13-alpine [2020-08-31T19:41:44.076Z] Step 2/22 : FROM ${BASE} AS builder [2020-08-31T19:41:44.076Z] ---> 89425dd8074f [2020-08-31T19:41:44.076Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [Pipeline] stash [2020-08-31T19:41:44.338Z] ---> Running in 3b4a81cdd759 [2020-08-31T19:41:44.344Z] Warning: overwriting stash ‘coverage-report’ [2020-08-31T19:41:44.600Z] Removing intermediate container 3b4a81cdd759 [2020-08-31T19:41:44.600Z] ---> 9661b0112155 [2020-08-31T19:41:44.600Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:41:44.600Z] ---> Running in 008649dc51dc [2020-08-31T19:41:44.860Z] Removing intermediate container 008649dc51dc [2020-08-31T19:41:44.860Z] ---> adb9c6fca2c6 [2020-08-31T19:41:44.860Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-08-31T19:41:44.860Z] ---> Running in 93997b40879c [2020-08-31T19:41:44.860Z] Removing intermediate container 93997b40879c [2020-08-31T19:41:44.860Z] ---> d31a408d826a [2020-08-31T19:41:44.860Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:41:45.125Z] Stashed 1 file(s) [2020-08-31T19:41:45.127Z] ---> Running in 66d23d00ca4d [Pipeline] } [2020-08-31T19:41:45.108Z] $ docker stop --time=1 e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded [2020-08-31T19:41:46.074Z] Removing intermediate container 66d23d00ca4d [2020-08-31T19:41:46.074Z] ---> 088e697e5b8e [2020-08-31T19:41:46.074Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:41:46.074Z] ---> Running in 2b0b54ca976b [2020-08-31T19:41:46.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-31T19:41:47.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-31T19:41:47.478Z] OK: 237 MiB in 53 packages [2020-08-31T19:41:47.465Z] $ docker rm -f e1737138527aa0304a2eaa66568f58cbacbb98ea40430f1048bae5b758d12ded [2020-08-31T19:41:48.051Z] Removing intermediate container 2b0b54ca976b [2020-08-31T19:41:48.051Z] ---> 7f2f61d62b57 [2020-08-31T19:41:48.051Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-08-31T19:41:48.051Z] ---> Running in b1126223c160 [Pipeline] // withDockerContainer [Pipeline] } [2020-08-31T19:41:48.314Z] Removing intermediate container b1126223c160 [2020-08-31T19:41:48.314Z] ---> 78943b3a5f16 [2020-08-31T19:41:48.314Z] Step 9/22 : COPY . . [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:41:48.885Z] ---> 85bde1dc4308 [2020-08-31T19:41:48.885Z] Step 10/22 : ARG MAKE='make build' [2020-08-31T19:41:48.885Z] ---> Running in 6c8c2cf76647 [2020-08-31T19:41:49.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-31T19:41:49.145Z] Removing intermediate container 6c8c2cf76647 [2020-08-31T19:41:49.145Z] ---> fa26c6371dd8 [2020-08-31T19:41:49.145Z] Step 11/22 : RUN $MAKE [2020-08-31T19:41:49.145Z] ---> Running in a98004492816 [2020-08-31T19:41:49.415Z] 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-08-31T19:41:49.478Z] + ls -al . [2020-08-31T19:41:49.478Z] total 136 [2020-08-31T19:41:49.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:41 . [2020-08-31T19:41:49.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:39 .. [2020-08-31T19:41:49.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:39 .git [2020-08-31T19:41:49.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:39 .github [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 258 Aug 31 19:39 .gitignore [2020-08-31T19:41:49.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 .semver [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 5927 Aug 31 19:39 Attribution.txt [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 1834 Aug 31 19:39 Dockerfile [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 957 Aug 31 19:39 Dockerfile.build [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 683 Aug 31 19:39 Jenkinsfile [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 19:39 LICENSE [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 873 Aug 31 19:39 Makefile [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 918 Aug 31 19:39 README.md [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 19:37 VERSION [2020-08-31T19:41:49.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:39 bin [2020-08-31T19:41:49.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 cmd [2020-08-31T19:41:49.478Z] -rw-r--r-- 1 jenkins jenkins 29142 Aug 31 19:41 coverage.out [2020-08-31T19:41:49.478Z] -rw-r--r-- 1 jenkins jenkins 855 Aug 31 19:41 go.mod [2020-08-31T19:41:49.478Z] -rw-r--r-- 1 jenkins jenkins 14894 Aug 31 19:41 go.sum [2020-08-31T19:41:49.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:39 internal [2020-08-31T19:41:49.478Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 19:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:41:49.880Z] + 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 . [2020-08-31T19:41:50.170Z] Sending build context to Docker daemon 578.6kB [2020-08-31T19:41:50.170Z] Step 1/22 : ARG BASE=golang:1.13-alpine [2020-08-31T19:41:50.170Z] Step 2/22 : FROM ${BASE} AS builder [2020-08-31T19:41:50.170Z] ---> c3a2fe864c84 [2020-08-31T19:41:50.170Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-08-31T19:41:50.453Z] ---> Running in 781bb30cf113 [2020-08-31T19:41:51.048Z] Removing intermediate container 781bb30cf113 [2020-08-31T19:41:51.048Z] ---> b35d6d434fff [2020-08-31T19:41:51.048Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:41:51.048Z] ---> Running in 85659deabb44 [2020-08-31T19:41:51.650Z] Removing intermediate container 85659deabb44 [2020-08-31T19:41:51.650Z] ---> 5de4a37856f0 [2020-08-31T19:41:51.651Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-08-31T19:41:51.651Z] ---> Running in f090ce089e24 [2020-08-31T19:41:52.243Z] Removing intermediate container f090ce089e24 [2020-08-31T19:41:52.243Z] ---> c17bf1a25a37 [2020-08-31T19:41:52.243Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:41:52.243Z] ---> Running in 6f72954c5d7f [2020-08-31T19:41:54.859Z] Removing intermediate container 6f72954c5d7f [2020-08-31T19:41:54.859Z] ---> b4ee71bc11e2 [2020-08-31T19:41:54.859Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:41:55.134Z] ---> Running in 572c3a02622b [2020-08-31T19:41:56.568Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-31T19:41:57.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-31T19:41:57.757Z] OK: 221 MiB in 53 packages [2020-08-31T19:41:59.183Z] Removing intermediate container 572c3a02622b [2020-08-31T19:41:59.183Z] ---> c615c331ce98 [2020-08-31T19:41:59.183Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-08-31T19:41:59.183Z] ---> Running in 58e91cea3132 [2020-08-31T19:41:59.781Z] Removing intermediate container 58e91cea3132 [2020-08-31T19:41:59.781Z] ---> 23b45ca73292 [2020-08-31T19:41:59.781Z] Step 9/22 : COPY . . [2020-08-31T19:42:00.754Z] ---> 0685cfed38ea [2020-08-31T19:42:00.754Z] Step 10/22 : ARG MAKE='make build' [2020-08-31T19:42:01.028Z] ---> Running in 3dc6608457c4 [2020-08-31T19:42:01.301Z] Removing intermediate container 3dc6608457c4 [2020-08-31T19:42:01.301Z] ---> 0ad8d9bb8a79 [2020-08-31T19:42:01.301Z] Step 11/22 : RUN $MAKE [2020-08-31T19:42:01.576Z] ---> Running in 3b23d05804e6 [2020-08-31T19:42:01.755Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-31T19:42:03.014Z] 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-08-31T19:42:04.300Z] Removing intermediate container a98004492816 [2020-08-31T19:42:04.300Z] ---> 65dace7e4914 [2020-08-31T19:42:04.300Z] Step 12/22 : FROM alpine [2020-08-31T19:42:04.560Z] latest: Pulling from library/alpine [2020-08-31T19:42:04.820Z] df20fa9351a1: Already exists [2020-08-31T19:42:05.081Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-31T19:42:05.081Z] Status: Downloaded newer image for alpine:latest [2020-08-31T19:42:05.081Z] ---> a24bb4013296 [2020-08-31T19:42:05.081Z] Step 13/22 : ENV APP_PORT=49990 [2020-08-31T19:42:05.081Z] ---> Running in eaf801b6cf38 [2020-08-31T19:42:05.341Z] Removing intermediate container eaf801b6cf38 [2020-08-31T19:42:05.341Z] ---> 22bf26ed7a6a [2020-08-31T19:42:05.341Z] Step 14/22 : EXPOSE $APP_PORT [2020-08-31T19:42:05.341Z] ---> Running in d28c6ae2b6c1 [2020-08-31T19:42:05.601Z] Removing intermediate container d28c6ae2b6c1 [2020-08-31T19:42:05.601Z] ---> 89f241a88cc3 [2020-08-31T19:42:05.601Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-08-31T19:42:06.176Z] ---> 6ba6ebde2573 [2020-08-31T19:42:06.176Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-08-31T19:42:06.442Z] ---> da6cd229f800 [2020-08-31T19:42:06.442Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-08-31T19:42:06.442Z] ---> ba0b20bf1dd7 [2020-08-31T19:42:06.442Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-08-31T19:42:06.705Z] ---> Running in 194f07d37e4e [2020-08-31T19:42:06.705Z] Removing intermediate container 194f07d37e4e [2020-08-31T19:42:06.705Z] ---> 1c0472f76b38 [2020-08-31T19:42:06.705Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-31T19:42:06.705Z] ---> Running in 2c006b1320c4 [2020-08-31T19:42:06.968Z] Removing intermediate container 2c006b1320c4 [2020-08-31T19:42:06.968Z] ---> daabac9645ac [2020-08-31T19:42:06.968Z] Step 20/22 : LABEL arch=amd64 [2020-08-31T19:42:06.968Z] ---> Running in a1f4b674d570 [2020-08-31T19:42:07.235Z] Removing intermediate container a1f4b674d570 [2020-08-31T19:42:07.235Z] ---> 3a21ec6073fc [2020-08-31T19:42:07.235Z] Step 21/22 : LABEL git_sha=ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:42:07.235Z] ---> Running in 4ff983584382 [2020-08-31T19:42:07.497Z] Removing intermediate container 4ff983584382 [2020-08-31T19:42:07.497Z] ---> 3efaaa663150 [2020-08-31T19:42:07.497Z] Step 22/22 : LABEL version=0.0.0 [2020-08-31T19:42:07.497Z] ---> Running in 0baf5c4c2479 [2020-08-31T19:42:07.497Z] Removing intermediate container 0baf5c4c2479 [2020-08-31T19:42:07.497Z] ---> 70b4040a2eb4 [2020-08-31T19:42:07.497Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-31T19:42:07.497Z] Successfully built 70b4040a2eb4 [2020-08-31T19:42:08.069Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-31T19:42:35.401Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-31T19:42:45.551Z] Removing intermediate container 3b23d05804e6 [2020-08-31T19:42:45.551Z] ---> 3876f5cf4c99 [2020-08-31T19:42:45.551Z] Step 12/22 : FROM alpine [2020-08-31T19:42:45.551Z] latest: Pulling from library/alpine [2020-08-31T19:42:45.551Z] b538f80385f9: Already exists [2020-08-31T19:42:45.551Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-31T19:42:45.551Z] Status: Downloaded newer image for alpine:latest [2020-08-31T19:42:45.551Z] ---> 62ee0e9f8440 [2020-08-31T19:42:45.551Z] Step 13/22 : ENV APP_PORT=49990 [2020-08-31T19:42:45.823Z] ---> Running in d9cb1deeb175 [2020-08-31T19:42:46.097Z] Removing intermediate container d9cb1deeb175 [2020-08-31T19:42:46.097Z] ---> 412162c133c6 [2020-08-31T19:42:46.097Z] Step 14/22 : EXPOSE $APP_PORT [2020-08-31T19:42:46.372Z] ---> Running in 9c1d973f27f3 [2020-08-31T19:42:46.969Z] Removing intermediate container 9c1d973f27f3 [2020-08-31T19:42:46.969Z] ---> fb673be85271 [2020-08-31T19:42:46.969Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-08-31T19:42:48.402Z] ---> 2f20866541ac [2020-08-31T19:42:48.402Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-08-31T19:42:48.997Z] ---> ff8beeccd741 [2020-08-31T19:42:48.997Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-08-31T19:42:49.590Z] ---> 408fd8b79b41 [2020-08-31T19:42:49.590Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-08-31T19:42:49.864Z] ---> Running in 544664d42453 [2020-08-31T19:42:50.135Z] Removing intermediate container 544664d42453 [2020-08-31T19:42:50.135Z] ---> 8e84ff7a15d3 [2020-08-31T19:42:50.135Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-31T19:42:50.407Z] ---> Running in a1728dd4c169 [2020-08-31T19:42:50.678Z] Removing intermediate container a1728dd4c169 [2020-08-31T19:42:50.678Z] ---> 5ef46c991d12 [2020-08-31T19:42:50.678Z] Step 20/22 : LABEL arch=arm64 [2020-08-31T19:42:50.949Z] ---> Running in 57a8da5593f6 [2020-08-31T19:42:51.221Z] Removing intermediate container 57a8da5593f6 [2020-08-31T19:42:51.221Z] ---> 3f98b0cfee61 [2020-08-31T19:42:51.221Z] Step 21/22 : LABEL git_sha=ee911db3bea5cea451fe57246642e6a316de7245 [2020-08-31T19:42:51.493Z] ---> Running in d399a4581024 [2020-08-31T19:42:51.771Z] Removing intermediate container d399a4581024 [2020-08-31T19:42:51.771Z] ---> 612ae665f42f [2020-08-31T19:42:51.771Z] Step 22/22 : LABEL version=0.0.0 [2020-08-31T19:42:52.043Z] ---> Running in 480940137c7a [2020-08-31T19:42:52.638Z] Removing intermediate container 480940137c7a [2020-08-31T19:42:52.638Z] ---> 1f536493e4da [2020-08-31T19:42:52.638Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-31T19:42:52.638Z] Successfully built 1f536493e4da [2020-08-31T19:42:52.638Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-08-31T19:42:55.015Z] provisioning config files... [2020-08-31T19:42:55.041Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2081602614642595951tmp [Pipeline] { [Pipeline] sh [2020-08-31T19:42:55.458Z] + curl -s https://codecov.io/bash [2020-08-31T19:42:55.458Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2081602614642595951tmp [Pipeline] } [2020-08-31T19:42:55.743Z] 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-08-31T19:42:58.624Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:42:59.246Z] ---> package-listing.sh [2020-08-31T19:42:59.246Z] ++ facter osfamily [2020-08-31T19:42:59.246Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-31T19:42:59.246Z] + OS_FAMILY=redhat [2020-08-31T19:42:59.246Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-127 [2020-08-31T19:42:59.246Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-31T19:42:59.246Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-31T19:42:59.246Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-31T19:42:59.246Z] + PACKAGES=/tmp/packages_start.txt [2020-08-31T19:42:59.246Z] + '[' /w/workspace/foundry_device-virtual-go_PR-127 ']' [2020-08-31T19:42:59.246Z] + PACKAGES=/tmp/packages_end.txt [2020-08-31T19:42:59.246Z] + case "${OS_FAMILY}" in [2020-08-31T19:42:59.246Z] + rpm -qa [2020-08-31T19:42:59.246Z] + sort [2020-08-31T19:43:03.471Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-31T19:43:03.471Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-31T19:43:03.471Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-31T19:43:03.471Z] + '[' /w/workspace/foundry_device-virtual-go_PR-127 ']' [2020-08-31T19:43:03.471Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-127/archives/ [2020-08-31T19:43:03.471Z] + 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 [2020-08-31T19:43:04.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:43:04.555Z] [2020-08-31T19:43:04.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:43:04.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:43:04.936Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-31T19:43:04.936Z] c9b1b535fdd9: Pulling fs layer [2020-08-31T19:43:04.936Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-31T19:43:04.936Z] 756a868c4378: Pulling fs layer [2020-08-31T19:43:04.936Z] 444b2fc9a129: Pulling fs layer [2020-08-31T19:43:04.936Z] ea15f1150254: Pulling fs layer [2020-08-31T19:43:04.936Z] 41b27a9f41bf: Pulling fs layer [2020-08-31T19:43:04.936Z] 28c525ee5125: Pulling fs layer [2020-08-31T19:43:04.936Z] 094b1ea09ed8: Pulling fs layer [2020-08-31T19:43:04.936Z] 138eaada9080: Pulling fs layer [2020-08-31T19:43:04.936Z] 0622d0fa9048: Pulling fs layer [2020-08-31T19:43:04.936Z] 444b2fc9a129: Waiting [2020-08-31T19:43:04.936Z] ea15f1150254: Waiting [2020-08-31T19:43:04.936Z] 41b27a9f41bf: Waiting [2020-08-31T19:43:04.936Z] 28c525ee5125: Waiting [2020-08-31T19:43:04.936Z] 094b1ea09ed8: Waiting [2020-08-31T19:43:04.936Z] 138eaada9080: Waiting [2020-08-31T19:43:04.936Z] 0622d0fa9048: Waiting [2020-08-31T19:43:04.936Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-31T19:43:04.936Z] 2cc5ad85d9ab: Download complete [2020-08-31T19:43:04.936Z] 444b2fc9a129: Verifying Checksum [2020-08-31T19:43:04.936Z] 444b2fc9a129: Download complete [2020-08-31T19:43:04.936Z] c9b1b535fdd9: Verifying Checksum [2020-08-31T19:43:04.936Z] c9b1b535fdd9: Download complete [2020-08-31T19:43:04.936Z] ea15f1150254: Download complete [2020-08-31T19:43:04.936Z] 28c525ee5125: Verifying Checksum [2020-08-31T19:43:04.936Z] 28c525ee5125: Download complete [2020-08-31T19:43:05.207Z] 756a868c4378: Verifying Checksum [2020-08-31T19:43:05.207Z] 756a868c4378: Download complete [2020-08-31T19:43:05.477Z] c9b1b535fdd9: Pull complete [2020-08-31T19:43:05.477Z] 094b1ea09ed8: Verifying Checksum [2020-08-31T19:43:05.477Z] 094b1ea09ed8: Download complete [2020-08-31T19:43:05.477Z] 138eaada9080: Verifying Checksum [2020-08-31T19:43:05.477Z] 138eaada9080: Download complete [2020-08-31T19:43:05.477Z] 0622d0fa9048: Verifying Checksum [2020-08-31T19:43:05.477Z] 0622d0fa9048: Download complete [2020-08-31T19:43:06.052Z] 2cc5ad85d9ab: Pull complete [2020-08-31T19:43:06.052Z] 41b27a9f41bf: Verifying Checksum [2020-08-31T19:43:06.052Z] 41b27a9f41bf: Download complete [2020-08-31T19:43:07.442Z] 756a868c4378: Pull complete [2020-08-31T19:43:07.442Z] 444b2fc9a129: Pull complete [2020-08-31T19:43:07.704Z] ea15f1150254: Pull complete [2020-08-31T19:43:11.931Z] 41b27a9f41bf: Pull complete [2020-08-31T19:43:11.931Z] 28c525ee5125: Pull complete [2020-08-31T19:43:14.487Z] 094b1ea09ed8: Pull complete [2020-08-31T19:43:14.747Z] 138eaada9080: Pull complete [2020-08-31T19:43:15.009Z] 0622d0fa9048: Pull complete [2020-08-31T19:43:15.009Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-31T19:43:15.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:43:15.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-31T19:43:15.231Z] prd-centos7-docker-4c-2g-830 does not seem to be running inside a container [2020-08-31T19:43:15.281Z] $ 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 [2020-08-31T19:43:17.899Z] $ docker top 79afb2901cfd2164b63fe9d16bc7b4f526196418bd9789d6f93dab85f5f83d5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-31T19:43:18.250Z] provisioning config files... [2020-08-31T19:43:18.266Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-127@tmp/config2842559761690182230tmp [Pipeline] { [Pipeline] echo [2020-08-31T19:43:18.392Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:43:18.730Z] ---> create-netrc.sh [Pipeline] echo [2020-08-31T19:43:18.765Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:43:19.104Z] ---> logs-deploy.sh [2020-08-31T19:43:19.104Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-127/1 [2020-08-31T19:43:19.104Z] INFO: archiving workspace using pattern(s): [2020-08-31T19:43:20.500Z] Archives upload complete. [2020-08-31T19:43:20.500Z] INFO: archiving logs to Nexus